Skip to content

codesoap/hp2url

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hp2url is a small helper for the httpipe format. It takes httpipe via standard input and prints the correlating URL for each line to standard output.

This is useful if you want to want to investigate httpipe output further, using your browser, curl, or other tools that don't work with httpipe. Keep in mind that the HTTP method, headers and payload will be absent in a URL.

Examples

$ echo '{"host":"test.com","req":"GET /foo HTTP/1.1\\r\\nHost: test.com\\r\\n\\r\\n"}' | hp2url
https://test.com/foo

$ echo "foo\nbar\nbaz" | pfuzz -w - -u "http://test.com:1234/FUZZ" | hp2url
http://test.com:1234/foo
http://test.com:1234/bar
http://test.com:1234/baz

$ # Open extracted URLs in your browser:
$ pfuzz -u "http://test.com" | hp2url | xargs firefox

About

Convert httpipe to URLs

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages