Jump to content
escalation666

ftp toolz v1.5

Recommended Posts

Posted

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.gz

tcl: wget http://downloads.sourceforge.net/tcl/tcl8.4.15-src.tar.gz

pe care il veti instala cu toate headerele private...pentru ca mai tarziu va da eroare daca nu faceti asta

make install-private-headers

expect: wget http://expect.nist.gov/expect.tar.gz

scan.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 :P

ftp.sh:


#!/usr/bin/bash
echo "----------------------------------------------------------------------"
echo "---------------------------ftp toolz v1.5--------------------------"
echo "-----------------------------by 35c666---------------------------"
echo "------------greetz to all memberz at rstcenter.com-----------"
echo "-----------------------------------------------------------------------"
if [ $# != 1 ]; then
echo "Usage: $0 ip"
exit 1
fi
echo "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.txt
echo "Working for you master....acuma stai linistit si te relaxeaza :)"
cat iprange.txt | awk '$0!~/^$/ {print $0}' > ttemp
mv ttemp iprange.txt
nmap -sV -p21 -P0 -iL iprange.txt -oX tezt.xml >/dev/null
scan.pl --xml tezt.xml > tezt.log
grep -n "ftp" tezt.log | cut -f1 -d: > temp.txt
while read line
do
linee=$line-6
awk NR==$linee tezt.log | awk '{ print $2 }' | awk /[0-9]/ >> listaip.txt
done <temp.txt

while read line
do
linee=$line-7
awk NR==$linee tezt.log | awk '{ print $2 }' >> listaip.txt
cat listaip.txt | awk '$0!~/^$/ {print $0}' > test
mv test listaip.txt
done <temp.txt
echo "IP-uri gasite:"
wc -l listaip.txt | awk '{print $1}'
while read line
do
echo $line >> ftp.txt
ftp.exp $line | awk /230/ >> ftp.txt
done <listaip.txt

echo "Vezi rezultatele in fisierul ftp.txt"
rm tezt.log
rm tezt.xml
rm listaip.txt
rm temp.txt

si ftp.exp:


#!/usr/bin/expect


set site [lindex $argv 0]
spawn ftp $site
expect "Name"
send "anonymous\r"
expect "Password:"
send "eu@hell.com\r"
send "quit\r"
expect eof

si bineinteles chmod +x ftp.sh si chmod +x ftp.exp

si cateva rezultate obtinute aseara:

66.66.82.103

230 Anonymous user logged in.

66.66.93.172

230 User logged in, proceed.

66.66.96.145

230 Logged on

66.66.121.255

230 Anonymous user logged in

66.66.130.102

230 Login successful.

66.66.138.61

230 Guest login ok, access restrictions apply.

66.66.188.153

230 Anonymous user logged in.

66.67.34.7

230 Anonymous user logged in.

66.67.48.11

230 Login successful.

66.67.49.166 --> la asta se poate uploada

230 Anonymous user logged in

66.67.58.38

230 Anonymous login ok, restrictions apply.

66.67.96. --> interesant

230 User logged in, proceed.

66.67.99.36

230 Anonymous user logged in.

66.67.101.194

230 Login successful. Have fun.

66.67.117.101

230 User logged in, proceed.

66.67.120.94 --> interesant

230 Anonymous user logged in

66.67.122.14

230 FTP Server Ready

66.67.124.246

230 Anonymous user logged in.

66.67.126.67

230-Welcome to Hewdiddy FTP

66.67.136.97

230 Anonymous user logged in

66.67.136.184 --> interesant

230 Anonymous user logged in.

66.67.137.236 --> niste muzik

230-Feel free to poke around. Take what you like.

66.67.171.110

230 User anonymous logged in.

66.67.181.120

230 Anonymous user logged in.

66.67.186.243

230 Anonymous user logged in.

230-Guest logged in.

230 You are allowed 165 minutes of use for this session.

66.67.214.185

230 Anonymous user logged in.

66.67.219.32

230

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...