Skip to content

Instantly share code, notes, and snippets.

@kategray
Created April 24, 2019 16:30
Show Gist options
  • Save kategray/9f9d4396ec101a32f6e3420722fad8af to your computer and use it in GitHub Desktop.
Save kategray/9f9d4396ec101a32f6e3420722fad8af to your computer and use it in GitHub Desktop.
Interview notes

Tools

Starting script

DOMAIN='codebykate.com'
HOST='codebykate.com'
PROTO='https'
APP_PATH='/'
IP=`dig +short ${HOST}`
# Go down the list, gathering what information we can and saving it to a log.

# Identify what plugins BlindElephant can use (in case we need them later)
cat <<EOF

##
## Blind Elephant
##
EOF

# BlindElephant.py --updateDB
# BlindElephant.py --list

# Start by gathering local information
cat <<EOF

##
## ARP Scan
##
EOF
# arp-scan -l

# Look for other hosts on the same domain
cat <<EOF

##
## Blind Elephant
##
EOF
# dnsrecon -d "${DOMAIN}" -D /usr/share/wordlists/dnsmap.txt -t std --xml dnsrecon.xml

# Identify versions on open ports, starting with common ports (as we expect a webapp)
cat <<EOF

##
## AMAP
##
EOF
# amap -bqv ${IP} 80 443 8443 8080 3306 5432

# Portscanning, in case that misses something
cat <<EOF

##
## NMAP
##
EOF
# nmap -v -A -sV ${IP}

cat <<EOF

##
## Skipfish
##
EOF

skipfish -o skipfish "${PROTO}://${HOST}${APP_PATH}"
xdg-open skipfish/index.html

Automated Atacking

  • Skipfish
  • OSWAP-ZAP

Identification

  • Blind Elephant (generic webapp identifier)

Servers

Apache

apache-users (checking userdirs)

Frameworks

JBOSS
  • jboss-autopwn

Apps

Wordpress

  • wpscan

Joomla

  • joomscan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment