Comparer
This is a handy utility for performing a visual "diff" between any two items of data, such as pairs of similar HTTP messages.
Assumption:
You have already solved the "Insecure Direct Object References" challenge of Security Shepherd.
Steps:
- Assuming that you have completed the first challenge only, i.e., "Insecure Direct Object References", click on the "Get Next Challenge" button.  
- You should see "Poor Data Validation" challenge.  
- Enter - 123in the input field labled as "Enter a Number".
- Ensure that intercept mode is enabled in Burp.  
- Click on "Submit Number" button. 
- Send the intercepted request to Repeater.  
- Click on "Go" button.  
- Modify the request by changing the value of "userdata" parameter to - abc.
- Click on "Go" button.  
- Right-click on the response and select "Send to Comparer".  
- Click on the back arrow to see the previously triggered request.  
- Right-click on the response and select "Send to Comparer".  
- Switch to the "Comparer" tab. 
- Select the first item to compare. 
- Select the second item to compare.  
- Click on the button labeled as "Words", to compare the two selected items word-by-word.  
- Go to "Proxy" > "Intercept" tab. 
- Modify the value of "userdata" input parameter to a negative value, e.g., - -123 
- Click on "Forward" button. 
- Turn off interception mode by clicking on the "Intercept is on" button.  
- Go to "Proxy" > "HTTP history" tab. 
- Identify the request that you just modified, and select it in the history window.  
- Click on "Edited request" sub-tab to see the modified request.  
- Click on "Response" sub-tab to see the response to the modified request.  
- In Firefox, click on "Copy to clipboard" button.  
- Paste the copied value into the result key input box, and click on "Submit" button.  
- You should see a success message on the screen.  
Last updated
Was this helpful?
