projectdiscovery/proxify

Option "-http-addr" is not working in replay

juanmera opened this issue · 1 comments

Proxify version:

This is actually for the replay tool but the current version of proxify is 0.0.8

Current Behavior:

replay -output logs -http-addr ":10080" is returning the error [FTL] Could not listen and serve: listen tcp :80: bind: permission denied

Expected Behavior:

replay -output logs -http-addr ":10080" should listen on port 10080

Steps To Reproduce:

  1. Run replay -output logs -http-addr ":10080"
  2. See error [FTL] Could not listen and serve: listen tcp :80: bind: permission denied

Anything else:

In https://github.com/projectdiscovery/proxify/blob/master/cmd/replay/replay.go#L88 the ":80" is hardcoded but options.HTTPListenerAddress should be used.

@juanmera thank you for flagging this, this is now fixed in the dev version.