r/Hacking_Tutorials • u/Potential-Couple-745 • 12d ago
Question Beginner web hacking: trace a login request from start to finish
Here’s a small exercise if you’re getting started with web security: follow what happens between clicking “Log in” and opening your account page.
Use a local practice app with a test account.
- Open Chrome DevTools → Network. Enable Preserve log so requests stay visible when the page changes.
- Try one incorrect password, then the correct one. Find the requests created by those two attempts.
- Inspect what your browser sent. Check the URL, HTTP method and submitted fields under Headers and Payload. Can you identify where the username and password were sent?
- Compare the responses. Look at the status codes, response bodies and headers. What actually changed between the failed and successful login?
- Open your account or profile page. Inspect the request that retrieves your account information. Look for a
CookieorAuthorizationheader. What is the browser sending to identify your session?
Write down the flow in three sentences: what you submitted, what the server returned, and how later requests carry your login.
Understanding that flow gives you something concrete to investigate when you start studying authentication and session vulnerabilities.
What small exercise helped web security make sense to you?
153
Upvotes
8
u/murd0xxx 12d ago
These are the right kind of posts to be posted here. Challenges are a good idea!
1
u/ThePervertBryan 11d ago
I’m not a specialist but I would love to teach my students a bit about security just like this. Any good starting points for age 16 and up, like first steps in Cybersecurity? I really like this.
3
u/Secret_Midnight_9499 12d ago
Literally writing this down now so I can remember to try it later!
1
u/Oak-Tree0 10d ago
Commenting here to come to it later
1
u/Sad_Box27 10d ago
Très sympa, merci
1
u/dphil90 9d ago
Love it
1
u/VirginGhost1909 9d ago
Thanks for this
1
u/Good-Vehicle5424 7d ago
Can you hack insta?
1
u/profusev3get4ble 7d ago
Tracking that exact login request flow using headers really made session cookie hijacking finally click.
1
u/SmallWolverine1584 6d ago
Que buena! ;)