Enumeration
Google Dorks
"Info:<url>"
site:<url>
site:<url> -inurl:https
site:<url> -filetype: .
site:<url> filetype:Log allintext:"username" "password"
site:<url> ext:pdfSocial media
<query> @<facebook|twitter|linkedin...>Specific dorks
SOAP WSDL file
inurl:wsdl
filetype:wsdlSQL Dump
"index of" "database.sql.zip" FTP server
intitle:”index of” inurl:ftpWordpress admin page
intitle:"Index of" wp-admin                 Apache2
intitle:"Apache2 Ubuntu Default Page: It works" PHPMyAdmin
"Index of" inurl:phpmyadmin JIRA/Kibana
inurl:Dashboard.jspa intext:"Atlassian Jira Project Management Software"
inurl:app/kibana intext:Loading KibanacPanel password reset
inurl:_cpanel/forgotpwdSite analysis
WhatWeb
Advanced web scanner and spider tool. Download from here.
whatweb -v <url>                     #standard scan
whatweb -v -a3 <url>                 #aggressive scan
whatweb -v <url> -u <user>:<pass>    #basic authUse with proxy
whatweb -v <url> --proxy <url> --proxy-user <user>:<pass>Plugins
whatweb -l                #list all plugins
whatweb -I <keyword>      #search by keyword and show detailed description
whatweb --dorks=<plugin>  #list google dorks used by the plugin
whatweb -i <plugin> <url> #use the specified plugin during scanNikto
nikto -host <site url> -port <port> -maxtime <max time for scan>
nikto -host <site url> -port <port> -dbcheckCheck for page formats
index.html    #static
index.php     #PHP
index.asp     #IIS
index.aspx    #IIS
index.do      #JSP based
index.jsp     #JSP basedDumping certificates
openssl s_client -connect <ip>
openssl x509 -in <file>.pem -text #pretty print certificate Create own certificate
Create and sign a certificate from a given Certificate Authority and private .pem key. After creation import the certificate in your browser.
openssl genrsa -out <name>.key 2048
openssl -req -new -key <name>.key -out <cert>.csr
openssl x509 -req -in <cert>.csr -CA <cert authority> -CAkey <remote key>.key -CAcreateSerial -days 1024 -sha256 -o <file>.pem
openssl pkcs12 -export -out <file>.pfx -in <file>.pem -inkey <name>.key -certfile <remote cert>.certSOAP Services
SOAP services expose a WSDL file that can reveal all the possible calls and relative parameters that can be executed on the server. This can allow an attacker to execute arbitrary calls to server-side services to tamper or destroy data
In order to find the definition file try appending the following payloads to the service url
<url>?wsdl
<url>.wsdl
<url>?disco    #ASP.NET
<url>.disco    #ASP.NETSome public web services may have their WSDL file accessible by visiting soapclient.com
Git repository
If you happen to find a .git folder on a server, you can dump all the files in the repository even if not directly accessible (403 error) with the following tool: https://github.com/arthaud/git-dumper
python3 git-dumper.py <url> <local folder>Last updated