Using Burp to Hack Cookies and Manipulate Sessions
Using Burp to Brute Force a Login Page :
- Set Up Burp Suite
- Ensure Burp is configured with your browser.
- In Burp Proxy, turn "Intercept Off" and visit the login page.
- Capture the Login Request
- Enable "Intercept On" in Burp Proxy.
- Enter random credentials and submit the login form.
- Burp captures the request.
- Send Request to Intruder
- Right-click the captured request → "Send to Intruder".
- Go to the Intruder tab → "Positions".
- Select username and password as payload positions.
- Set Attack Type to "Cluster bomb".
- Configure Payloads
- In the "Payloads" tab:▪ Set Payload Set 1 (username) → Enter possible usernames.
- Set Payload Set 2 (password) → Enter possible passwords.
- Click "Start Attack".
- Analyze Results
- Sort results by Length and Status.
- Identify successful login attempts.
- Verify Success
- Use the discovered credentials to log in manually.
Additional Considerations :
- Account Lockout: Some sites lock accounts after multiple failed attempts.
- Verbose Error Messages: Errors revealing if a username exists can help attackers.
- Burp Scanner: Automate scanning for authentication vulnerabilities.
Steps :
-
First open this page , after doing the intercept off then login by giving username: user : password : user.

-
intercept on → refresh the page → then send to repeater
-
send this to repeater

-
click on SEND

-
edit the uid form 23 to 1

-
show response in browser

-
copy the link and open in the browser

- Now you are logged in as admin.
- now you logged in through user but you got acces to admin account through this process,
