Instantly share code, notes, and snippets.

Embed
What would you like to do?
Extract POST parameter (here javax.faces.ViewState) from files with saved HTTP requests
grep javax.faces.ViewState POSTs.xml | perl -mURI::Escape -ne '/javax\.faces\.ViewState=(.*?)&/; print URI::Escape::uri_unescape($1); print "\n"' | sort -u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment