Advertisement
Guest User

Untitled

a guest
Apr 11th, 2017
386
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. SMB/rtc/microsoft-ds
  2. smbclient -L 192.168.1.111 -U administrator -N
  3. -make smb fileshare login request as -U parameter without attempting password to try enumerating sharenames, servers and workgroups
  4. nmap -sV -p 445 --script=smb-enum-domains,smb-enum-groups,smb-enum-processes,smb-enum-sessions,smb-enum-shares,smb-enum-users 192.168.1.128
  5. -run nmap smb enumeration scripts
  6. smbclient //192.168.1.111/sharename -U administrator -N
  7. -try connecting samba session without known password
  8. smbmount "\\\\samba1\\customers" -U rtg2t -c 'mount /customers -u 500 -g 100'
  9. mount
  10. smb: \> commands
  11. ls -list directory files
  12. dir -list directory files
  13. cd dirname -change directory
  14. get filename -download file
  15. put filename -upload file
  16.  
  17.  
  18. nbtscan 192.168.1.0/24
  19. nmblookup -A 10.11.1.10
  20. -status return <03> is currently logged-in user
  21. enum4linux -a 127.0.0.1
  22. smbget -R smb://127.0.0.1/dir
  23. smbpasswd
  24. smbmap
  25. smbcontrol
  26. smbcacls
  27. smbmount //198.168.1.1/share /mnt/here -o user=uname,password=pword
  28. mount -t cifs -o user=uname,password=pword //198.168.1.1/share /mnt/here
  29.  
  30. nmap -p 445 --script smb-os-discovery 192.168.1.0/24
  31. nmap -sV -p 445 --script smb-brute 192.168.1.101
  32.  
  33. RPC
  34. rpcclient 10.11.1.1 -U=username
  35. getusernameAccount Name: Guest, Authority Name: TEST01
  36. lsaenumsidfound
  37. lookupsids S-1-5-21-1004336348-854245398-725345543-501
  38. rpcinfo -p 192.168.0.50
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement