Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thomaspatzke/c3ef3f630b6ced34fb18 to your computer and use it in GitHub Desktop.
Save thomaspatzke/c3ef3f630b6ced34fb18 to your computer and use it in GitHub Desktop.
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