Comments (8)
hey @workfast108, to replace multiple values within one request, set all of the values you want replaced within the "Base Replacement" table. Each replacement in the "Base Replacement" table will be applied to the request at the same time. Afterwords, AutoRepeater will make a new request for each replacement set within the "Replacements" with every replacement in the "Base Replacement" table already applied. This should allow you to replace multiple headers and cookies at the same time.
Thanks,
Justin
from autorepeater.
OMG ,Honestly your quick response, just humble me, you are great Bro. please let me juz give you example of what i wanna do here: Please what is the Best Match Up to use in this scenario
I need to Replace to Cooke Value and One Header Value all at once, i mean at one time how do i set the Base Replacement and the second Replacement
In the Header Side: i want to Replace
Header Name Header Value
X-CSRF-Token: 91053b50cfc2e0ee0
inside the Cookie
cookie name Cookie value
Workfast_website= 2a23c7487acb7467c406235adf57
cookie Name Cookie value
csrf_token_website= 91053b50cfc2e0ee
i want to Replace all the above cases with
Header name Header Value
X-CSRF-Token: c5c047284d2b51f
======================================================
Cookie Name Cookie Value
workfast_website= cafef35317e0b1b89b65199
Cookie name Cookie Value
csrf_token_website= c5c047284d2b51fa041822b9e2
Thank You
from autorepeater.
hey @workfast108,
If I'm understanding correctly, you'd want something along the lines of:
Base Replacements
Type: Request Header
Match: X-CSRF-Token: 91053b50cfc2e0ee0
Replace: X-CSRF-Token: c5c047284d2b51f
Type: Match Cookie Name, Replace Value
Match: Workfast_website
Replace: cafef35317e0b1b89b65199
Type: Match Cookie Name, Replace Value
Match: csrf_token_website
Replace: c5c047284d2b51fa041822b9e2
Replacements
You don't need to specify any replacements here if you only want to change those three values, however, any additional replacements here will create new requests with the modifications from above applied.
Thanks,
Justin
from autorepeater.
@justinmoore-ncc Thank You for Everything, it worked Perfectly well, Please i have this last Question to ask you , it as to do with ID's , assuming ID's is in the URL Parameters, and i have some ID's as a Post request body Parameter's as well.
suppose (1) URL is like PUT /users/459461979/ and i want to replace it with " PUT /users/411839370/
and (2) the Post request body , i have things like ,"user_id":459461979, and what to replace it with " "user_id: 411839370
what "Type" combination Best Suit the URL scenario and what "Type" Combination Best Suit the Post body request Parameter?
Thank You
Dere Sewa
from autorepeater.
Hey @workfast108,
The following replacement will replace all instances of "459461979" with "411839370".
Base Replacements
Type: Request String
Match: 459461979
Replace: 411839370
Which: Replace All
Thanks,
Justin
from autorepeater.
@justinmoore-ncc Thanks for your great response i appreciate
Warm regards
Dere Sewa
from autorepeater.
@workfast108 no problem, I'm happy to help.
from autorepeater.
Hi @justinmoore
I have a situation where I need to use - match parameter name and replace its value .
For example I have GET request like this: GET https://exmple.com?dateStart=xyzee
Now when I use - match parameter name and replace its value and set parameter name as dateStart and value as superman
Autorepeater just works perfectly fine : https://exmple.com?dateStart=superman
Now the problem is
I have a post request in which there is json body like this
{"userId":"US-DG46","dateStart":"2022-03-20","dateEnd":"2022-04-20"}
Now for the same above condition autorepeater doenot replace value of dateStart in json body parameter.
How can I achive this . Please help !
Thanks you
from autorepeater.
Related Issues (20)
- Add an option to arrange the conditions and payloads by creating a simple buttons
- Add an option to perform multiple actions in one click such as delete or duplicate
- [Feature Request] Add condition in logs for Resp. Len. Diffing HOT 1
- Messed up colors with Darcula theme in v2020.4 HOT 2
- Possible to perform a series of action
- Autorepeater stops working on adding a log filter with response length greater than 0
- Condition about file extension doesn't work. HOT 6
- Releases
- http2 issues. HOT 4
- Post Parameter Replace
- Replace Param Value in Post
- Not working with servers using HTTP/2
- Ability to copy & paste Rules
- .
- Importing rules
- Replace All
- Autorepeater not working for json body parameters replacement HOT 1
- Top menu gone missing in newer versions of BurpSuite HOT 4
- Excessive resource consumption
- Plugins often get stuck HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from autorepeater.