Good day all. I have been messing around with BT4 for a few months now, and managed to code my own script.
I looked at a few other scripts for ideas etc but here they are finally...
Its very simple and primitive, but does make life a bit simpler with scans
First Script is ScanMe.sh
Code:#!/bin/bash # Script for scanning with Nmap # Default scan is set to -sS -sV -O -f # Tested on BT4 R2 # By VulcanX # Ver 1 # ASCII ScanMe.sh echo ' _ _ _ _ _ _ _ _ _ / \ / \ / \ / \ / \ / \ / \ / \ / \ ( S | c | a | n | M | e ) ( . ) ( s | h ) \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ \_/ by VulcanX | 2010-12-13 ' # Get target IP Address echo -n -e '\E[30;42m'"Name of IP List"; tput sgr0 read IP # Execute Nmap command with output to /root/nmapscans/scanme*ip*.txt xterm -fg green2 -bg black -e "nmap -sS -sV -O -f -oN 'scanme'$IP'.txt' '$IP'" &The second one scans a list of IP's as opposed to just one. I hope you find these useful and obviously you can select the scan you want with -t paranoid and -v -v etc, but thats purely up to you.Code:#!/bin/bash # Script for scanning a list of IP Addresses with Nmap # Default scan is set to -sS -sV -O -f -iL LIST -oN Output # Tested on BT4 R2 # By VulcanX # Ver 1 # ASCII ScanList.sh echo ' _ _ _ _ |. __|_ _|_ _\(_(_|| |||_\ | ._\| | by VulcanX | 2010-12-13 ' # Get list name *located in the same folder as the script* echo -n -e '\E[30;42m'"Name of IP List"; tput sgr0 read LIST # Execute Nmap command with output to scanme*listname* xterm -fg green2 -bg black -e "nmap -sS -sV -O -f -oN 'scanme'$LIST'' -iL '$LIST'" &
Hope this helps you and please let me know of any errors etc.