Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@Kali:~/Desktop/Password Script# sudo python ./Swiss_SMB.py Cola 'Password' 192.168.88.120-130
- Parameters:
- user: Cola
- pass: Password
- range: 192.168.88.120-130
- Prompt: run with the following? [Y/n] Y
- -- running ping sweep:
- ---- 192.168.88.129 is up
- ---- 192.168.88.130 is up
- ---- 192.168.88.128 is up
- ---- total alive: 3
- -------- scanning 192.168.88.129 for smb shares
- smbclient -L 192.168.88.129 -p 445 -U='Cola%Password' 2>/dev/null; printf $?; printf ' status'
- Sharename Type Comment
- --------- ---- -------
- ADMIN$ Disk Remote Admin
- C Disk
- C$ Disk Default share
- IPC$ IPC Remote IPC
- SMB Folder Disk
- SMBFolder Disk
- Users Disk
- Connection to 192.168.88.129 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
- NetBIOS over TCP disabled -- no workgroup available
- 1 status
- -------- no shares found for: 192.168.88.129
- -------- scanning 192.168.88.130 for smb shares
- smbclient -L 192.168.88.130 -p 445 -U='Cola%Password' 2>/dev/null; printf $?; printf ' status'
- Sharename Type Comment
- --------- ---- -------
- ADMIN$ Disk Remote Admin
- C Disk
- C$ Disk Default share
- IPC$ IPC Remote IPC
- SMB Folder Disk
- Users Disk
- Connection to 192.168.88.130 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
- NetBIOS over TCP disabled -- no workgroup available
- 1 status
- -------- no shares found for: 192.168.88.130
- -------- scanning 192.168.88.128 for smb shares
- smbclient -L 192.168.88.128 -p 445 -U='Cola%Password' 2>/dev/null; printf $?; printf ' status'
- Connection to 192.168.88.128 failed (Error NT_STATUS_CONNECTION_REFUSED)
- 1 status
- -------- no shares found for: 192.168.88.128
- ---- total shares found: 0
- ---- time:4.68721795082 secs
- -- done!
- root@Kali:~/Desktop/Password Script#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement