Skip to content

Instantly share code, notes, and snippets.

View 0xdreadnaught's full-sized avatar

dreadnaught 0xdreadnaught

View GitHub Profile
@0xdreadnaught
0xdreadnaught / smb-enum.csv
Last active February 19, 2020 16:34
SMB Enumeration
Command Question
enum4linux <target-ip> Any share, user, domain info?
enum4linux -a <target-ip> Any share, user, domain info?, Password policy?
smbmap -H <target-ip> Any share info?, What are the permissions?
smbmap -H <target-ip> -R Able to list files?, Any files of interest?
smbmap -H <target-ip> -d <domain> -u <username> -p <passwqord> Any new rights?
smbmap -H <target-ip> -R -d <domain> -u <username> -p <password> Any new files?
smbclient -L //<target-ip> Any share, user, domain info?
nmap --script smb-enum-shares -p 139,445 <target-ip> Any share info?
nmap --script *smb*vuln* <target-ip> Any positive vuln results?
@0xdreadnaught
0xdreadnaught / rpc-enum.csv
Last active February 19, 2020 17:39
RPC Enumeration
Command Question
rpcclient -U "" <target-ip> What commands can I run?
rpcclient -U "" -command=srvinfo <target-ip> Server versions: https://en.wikipedia.org/wiki/Comparison_of_Microsoft_Windows_versions
rpcclient -U "" -command=enumdomusers -N <target-ip> What can I do with these accounts?
rpcclient -U "" -command=enumprivs -N <target-ip> Can I list privs? What can I do with them?
rpcclient -U "" -command=netshareenum -N <target-ip> Any network shares available?
@0xdreadnaught
0xdreadnaught / nfs-enum.csv
Last active February 19, 2020 16:16
NFS Enumeration
Command Question
showmount -e <target> Do I have mount access to any shares?
@0xdreadnaught
0xdreadnaught / ldap-enum.csv
Last active February 19, 2020 16:17
LDAP Enumeration
Command Question
ldapsearch -h <target> -p <port> -x -s base Server information disclosed? User information disclosed?
ldapsearch -H ldap://<target>:<port> -x -b"<base-here>" Server information disclosed? User information disclosed?
@0xdreadnaught
0xdreadnaught / ftp-enum.csv
Last active February 19, 2020 16:17
FTP Enumeration
Command Question
ftp <target> <port> Server information disclosed? Anonymous login possible? Am I able to acces directory listings? Can I Put/Get files?e What commands do I have access to?
nc <target> <port> Server information disclosed? What commands do I have access to?
telnet <target> <port> Server information disclosed? What commands do I have access to?
@0xdreadnaught
0xdreadnaught / http-enum.csv
Last active February 19, 2020 17:42
HTTP Enumeration
Command Question
nikto -h http://<target>:<port>/ Any files or vulns?
curl -v http://<target>/ Any server information in the headers?
dirbuster/gobuster/dirb Any hidden webapps or files?
nmap -sV -A -p<server port> <target> Server version disclosed?
Page Source Able to identify webapp via info in page source?
Burp Any interesting data being passed?