Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding the --proxy option so as to debug requests #1

Open
mailler0xa opened this issue Feb 20, 2024 · 1 comment
Open

adding the --proxy option so as to debug requests #1

mailler0xa opened this issue Feb 20, 2024 · 1 comment

Comments

@mailler0xa
Copy link

Hello, I have been trying to debug the requests to figure out how to proxy the requests through burpsuite yet I can't get it quite right. Is it possible to give me pointers on how to do it?

Regards.

@grampae
Copy link
Owner

grampae commented Mar 7, 2024

Yeah of course, so you can add the following within the script assuming your Burp is running on 8080
proxies = { 'http': 'http://127.0.0.1:8080', 'https': 'http://127.0.0.1:8080' }

Then anywhere requests is used for example
r = s.post(url1, headers=sheaders, data=sdata, verify=False, allow_redirects=False, timeout=10)
you can add "proxies=proxies" so it will look like.
r = s.post(url1, headers=sheaders, data=sdata, verify=False, allow_redirects=False, timeout=10, proxies=proxies)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants