I have been stuck on the section Exploiting XSS in websockets in the module “MODERN WEB EXPLOITATION TECHNIQUES” where I have to obtain the admin user’s cookie.
I have a working payload and when I send the payload to the local machine with document.domain I can see the domain, but it does not work with document.cookie because some firewall is preventing me from exfiltrating the cookie.