5 ms·
Show HN: HTTPLab – An interactive web server
- the_greyd 10y agoHeh This is pretty cool.
- int0x2e 10y agoThis is really cool. Any plans for HTTPS support? This could be a really powerful tool for network based reverse engineering (even more so if there was support for predefined request-response pairs so more elaborate cases could be done)
- gchaincl 10y agodefinitively: https://github.com/gchaincl/httplab/issues/4 https://github.com/gchaincl/httplab/issues/4 can u elaborate on the predefined request-response case?
- jkbr 10y agoLooks like a great tool for ad hoc testing of HTTP clients. Exactly what I often need during development of the client you use in the demo :)
- gchaincl 10y ago:P
- TheSmoke 10y agogood job. a similar tool called wuzz [0] was released like a month ago. [0] https://github.com/asciimoo/wuzz/ https://github.com/asciimoo/wuzz/
- thehardsphere 10y agoThe README for HTTPLab says it is heavily inspired by wuzz.
- abecedarius 10y agoI think I've heard of something like this as an Emacs mode. Does that exist?
- TheSmoke 10y agoit does! love it too. https://github.com/pashky/restclient.el https://github.com/pashky/restclient.el
- yousif_s 10y agoI was looking for something like this a couple of days back. Looks cool.
- cpeth 10y agoCouldn't you just pipe a response file to netcat running on 80? cat response.html | nc -lp 80
- mstade 10y agoToday I learned something fantastic, thank you! :o)
- hoodoof 10y agoNot if you want a UI.
- gchaincl 10y agoThat's what I used to do :P, one of the features that httplab offer, is that you can inspect the request
- susam 10y agoOr redirect the standard input of netcat to the response file. nc -lp 80 < response.html
- spinningarrow 10y agoWhat's the correct command for BSD nc (on macOS)? For the `-l` option, the manual says "It is an error to use this option in conjunction with the -p, -s, or -z options".
- gchaincl 10y agoI think nc -l 80 should do it
- kaustubhvp 10y agothis is pretty impressive. can you add HTTPS support please.
- gchaincl 10y agoI'll work on it here: https://github.com/gchaincl/httplab/issues/4 https://github.com/gchaincl/httplab/issues/4
- donaldihunter 10y agoAnother related tool is mitmproxy https://mitmproxy.org/ https://mitmproxy.org/
- raesene6 10y agoIf your use cases allow for graphical apps, there's a couple that are heavily used by the web app. security testing community and have quite a bit of useful functionality for inspecting/modifying HTTP(s) requests. OWASP ZAP Proxy - https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Project https://www.owasp.org/index.php/OWASP_Zed_Attack_Proxy_Proje... Burp Suite - https://portswigger.net/ https://portswigger.net/
- chmln 10y agoFor those who'd like a GUI instead of tabbing fields, I'm a big fan of Insomnia. [1] https://insomnia.rest https://insomnia.rest
- boundlessdreamz 10y agoBut insomnia is a http client. This is a server. Also insomnia is more expensive than Paw and is also subscription based. There is also Postman - https://chrome.google.com/webstore/detail/postman/fhbjgbiflinjbdggehcddcbncdddomop?hl=en https://chrome.google.com/webstore/detail/postman/fhbjgbifli... which is also a great tool and free too.