Skip to content

Instantly share code, notes, and snippets.

@c1b3rh4ck c1b3rh4ck/net.sh
Created Mar 18, 2011

Embed
What would you like to do?
PoC bash Scripting
#!/bin/bash
for webservmethod in GET POST PUT TRACE CONNECT OPTIONS PROPFIND;
do
printf "$webservmethod " ;
printf "$webservmethod /HTTP/1.1\nHost:$1\n\n " |nc -q 1 $1 80 |grep "HTTP/1.1"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.