Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- print q(
- +-----------------------+
- | SMB PTS v3 |
- +-----------------------+
- );
- print "IP => ";$ip=<STDIN>;chomp($ip);
- while(1){
- print q(
- Choose :-
- 1 - information about a target .
- 2 - enumerate the shares .
- 3 - Lookup about a target .
- 4 - access Windows shares.
- ----------------------------
- 5 - connect to the IPC$
- 6 - Brute Force Share Enumeration
- 7 - Dump Share Enumeration
- 8 - SMB Cracker
- > );$do=<STDIN>;chomp($do);
- if($do=='1'){system("nbtstat -A $ip");}
- if($do=='2'){system("NET VIEW $ip");}
- if($do=='3'){system("nmblookup –A $ip");}
- if($do=='4'){system("smbclient -L //$ip -N");}
- if($do=='5'){system("net use \\$ip\IPC$ '' /u:''");}
- if($do=='6'){system("enum4linux -s /usr/share/enum4linux/share-list.txt $ip");}
- if($do=='7'){system("python /usr/share/doc/python-impacket-doc/examples/samrdump.py $ip");}
- if($do=='8'){system("nmap -script=smb-brute $ip");}
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement