For education and research purpose, I need to inject a cookie value into my browser to allow me login indirectly (without entering the user name and password).
I collected traffic during a login session using Wireshark. I have the cookie value. I want to inject it to login to the same website used during the login when the Wireshark was collecting the traffic (including the cookie).
How can I inject the cookie into my Firefox browser? The value looks like (where I replaced letters and numbers with xxx):
Cookie: FN_cookie_accept-20180525=true; PHPSESSID=xx; glt_3_xxx=yy
EDIT:
Please note that I could not find an answer in this post. If you see it answers my question, please provide steps (how to do this in steps?)?
document.cookies
?FN_cookie_accept
,PHPSESSID
and whatever the last set of xxxs replaces) gets a newdocument.cookies
line in the console.document.cookie ="FN_cookie_accept-20180525=true; PHPSESSID=xx; glt_3_xxx=yy"
But I did not log in?