[Web Exploitation] HTTP(S) :-
<aside> π‘ Needed for communication between webserver and client, an intermediary protocol.
</aside>
<aside> π‘ HTTP = TCP request + specific headers to identify protocols
</aside>
Cookies :-
<aside> π‘ Since HTTPS is a stateless request (canβt identify between if you sent the request or someone else did) we need cookies to identify users and their access levels (eg: normal users, admin, etc.).
</aside>
<aside> π‘ Cookies stored on local machine - is a tiny piece of data - their name and values are arbitrary.
</aside>
<aside> π‘ Made up of 11 components but we need to know only 2(name-value).
</aside>
<aside> π‘ We can take the cookie value and decode them to a non-arbitrary JavaScript object like JSON.
</aside>
<aside> π‘ After decoding it and changing the values/parameters to a higher level or as per the attacker we can encode it again and pass the cookie value and perform a refresh on the page.
</aside>
Questions :-
2-5 questions are alright easy but 6,7 faced problems as monitor.html was not opening on the login page after changing cookie value.