Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cpeth
· 9y ago · 0 comments
Couldn't you just pipe a response file to netcat running on 80?
cat response.html | nc -lp 80
Comments
[–]
gchaincl
9y ago
That's what I used to do :P, one of the features that httplab offer, is that you can inspect the request
[–]
susam
9y ago
Or redirect the standard input of netcat to the response file.
nc -lp 80 < response.html
[–]
mstade
9y ago
Today I learned something fantastic, thank you! :o)
[–]
spinningarrow
9y ago
What'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
9y ago
I think nc -l 80 should do it
[–]
hoodoof
9y ago
Not if you want a UI.