community-scripts icon indicating copy to clipboard operation
community-scripts copied to clipboard

Script to solve burp labs or for bug bounty

Open timruff opened this issue 2 years ago • 10 comments

Just simple script to add IP random to X-Forwarded-For: in Header request. For section HTTP Sender

timruff avatar May 17 '23 09:05 timruff

Would be good to mention the original script, maybe it can be removed too since the HTTP Sender applies to fuzzer messages as well.

thc202 avatar May 17 '23 09:05 thc202

I can't get random_x_forwarded_for_ip.js to work in Fuzzer HTTP processor. In the fuzzer the script does not appear, in the response the x-forwarded-for-ip does not appear. The only way to do it was the script I put.

timruff avatar May 17 '23 09:05 timruff

I'm sorry, I just understood how to use the random_x_forwarded_for_ip.js script, I see how why my script is not necessary. Thanks for the time spent on the problem.

timruff avatar May 17 '23 11:05 timruff

It's the other way around, this script supersedes the other script and why was suggesting to remove the other script, though both cover their own use cases.

thc202 avatar May 17 '23 11:05 thc202

I made some correction and integrated the multiple payloads management.

timruff avatar May 20 '23 13:05 timruff

Why are more and more files being added to this PR?

kingthorin avatar Jun 05 '23 19:06 kingthorin

To address the DCO requirement you'll need to sign-off the commit(s):

  • https://github.com/zaproxy/zaproxy/blob/main/CONTRIBUTING.md#developer-certificate-of-origin
  • https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---signoff

kingthorin avatar Jun 05 '23 19:06 kingthorin

I'm doing courses on zap proxy to do burp suite labs with zap proxy. I need to make scripts to fix labs or bounty bugs. I don't know much about git hub it my first contribution on other project with github.

timruff avatar Jun 05 '23 20:06 timruff

Okay that makes more sense I guess. They're all useful. Might want to tweak the title/subject and maybe make it draft (until you've included everything you're thinking of).

kingthorin avatar Jun 05 '23 20:06 kingthorin

It's going to be really hard for us to review this and move it along if you don't pick a "line in the sand".

You can always create another branch or something for future contribs.

kingthorin avatar Jul 25 '23 17:07 kingthorin