Aloha POS hacks
How to Scan for Vulnerable Ports
In this tutorial, we'll write a short script that does exactly what Max Vision was doing and send a report with every IP address of the vulnerable system.Step 1: Open a Text Editor
To create our script, we need to open a text editor. Any of the Linux text editors will work; vi, emacs, gedit (in the GNOME), Kate, or KWrite. In this guide, we'll use the KWrite editor built into BackTrack5v3 KDE. We simply type in a terminal:We can name our script anything, but I have chosen to call it globalportscan.sh.This will open a blank file editor for our script.Step 2: Create the Script
Now we need to type the following lines in our script file.The required opening of all BASH scripts.- nmap -sT 74.125.225.0/24 -p 5505 -oG aloha
- cat aloha | grep open > alohaopen
- cat alohaopen | cut -f2 -d ":" | cut -f1 -d "(" > alohavuln