assetnote / kiterunner

Contextual Content Discovery Tool
GNU Affero General Public License v3.0
2.59k stars 288 forks source link

--proxy global support #14

Open Regala opened 3 years ago

Regala commented 3 years ago

Hey! Wondering if the --proxy option could be supported globally. This would assist tremendously when testing in conjunction with Burp.

Thank you 💚

minight commented 3 years ago

I think this would be a good feature to add. It may increase the allocations in our result hotloop, however it may be something that the user acknowledges it may slow down the application.

@Regala, a few questions for the usecase you intend for:

For implementation, a simple implementation might be a post-request hook like the current PrintResults is.

There are a few concerns prior to implementing this that need to be ironed out:

Regala commented 3 years ago

Hey @minight 😊

do you only want (non-wildcard) results to go through the proxy? or all requests

I would say non-wildcard. However, I could see -v debug (or alternative) forcing all requests to be proxied.

would you still use the feature if it caused scanning to run at 50% speed. Is the feature a higher priority than the speed of the scanning?

Definitely! I believe this is something people already assume is going to happen using some kind of middle man.

Thanks 💙

joswr1ght commented 1 year ago

Following up on @Regala's notes, I would also take advantage of a global --proxy option! Thanks!

deruke commented 1 year ago

I agree with the illustrious @joswr1ght , I often need to proxy to modify requests to contain authorization headers when I do content discovery.

BreakfastSerial commented 1 year ago

Proxying would be very welcome! For some pentest engagements, we need to keep a log of all requests and sometimes dynamically modify the requests via the proxy.