Created
March 8, 2017 19:08
-
-
Save kmayer/8bd38102ce183a8f85131d0cceb31757 to your computer and use it in GitHub Desktop.
Instant web proxy server
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby -r webrick/httpproxy -e 's = WEBrick::HTTPProxyServer.new(:Port => 9999, :RequestCallback => Proc.new{|req,res| puts req.request_line, req.raw_header}); trap("INT"){s.shutdown}; s.start' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
make public