Wednesday, January 25, 2017

Sprunger (pipe and use stdin as parameter to form parameter using curl)

alias sprunge="curl -A 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0' -F 'sprunge=<-' http://sprunge.us 2> /dev/null"

To copy url to clipboard

alias sprunge="curl -A 'Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0' -F 'sprunge=<-' http://sprunge.us 2> /dev/null | xsel -b; xsel -ob"

echo "test" | sprunge

Ctrl + V Sprunge Form

No comments:

Blog Archive