TCP 80, 443: HTTP(S)

The Hypertext Transfer Protocol is an application protocol for distributed, collaborative, hypermedia information systems.

-- Wikipedia

Enumeration/Webserver scanning

Information gathering

443/https

-> Check SSL certificate for hostnames and email addresses

General

Check headers

curl -i <ip>

Follow redirection

curl -i -L <ip>

Check links

curl <ip> -s -L | grep "title\|href" | sed -e 's/^[[:space:]]*//'

Identify technologies used

Get response

Terminal/Text-based browsers

URL brute force

See Enumeration/Webserver scanning

Scrape website

Scrapes a website to generate password list from words, found there

-> Mutate list using John the Ripper (JTR)

.htaccess

Brute force

Sign SSL certificate

  • Got private key from vsftpd backdoor php shell (ca.key)

  • Export certificate from Firefox (ca.crt)

-> Firefox -> Preferences -> Search certificates -> Import "client.p12", Import "ca.crt" (trust)

Troubleshooting

  • No permission to file, but to folder? -> re-create file!

Heartbleed

Check

Exploits

Shellshock

Check

Exploit

Apache2

Debian: /etc/apache2/ CentOS: /etc/httpd/

Interesting files:

Find document root:

Last updated