DarkStorm Needs more testing
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
REM The script will open the Terminal,
|
||||
REM execute the nmap command to scan for open ports,
|
||||
REM run nikto for web server vulnerability scanning,
|
||||
REM Runs Zap to test for Network vulerabilities
|
||||
REM Performs directory and file brute-forcing with gobuster and password files
|
||||
REM must store password file on Desktop and name it "common.txt"
|
||||
|
||||
|
||||
|
||||
REM nmap, nikto, and gobuster can all be downloaded using homebrew/terminal
|
||||
REM command 'brew install nmap && brew install nikto && brew install gobuster'
|
||||
|
||||
|
||||
REM Download the OWASP ZAP.app file from the official OWASP ZAP website
|
||||
|
||||
|
||||
REM nikto command will not execute if you don't have the correct port assigned!
|
||||
REM verify that the web server is indeed running on an open port
|
||||
REM as indicated by the Nmap scan, before using the code!
|
||||
|
||||
REM To use this script, replace <13.371.118.34 with target_ip>
|
||||
REM with the IP address of the target system you want to test,
|
||||
REM replace
|
||||
|
||||
REM Open the Terminal application on your macOS.
|
||||
REM Run the following command: sudo mkdir /etc/resolver
|
||||
REM This will create the /etc/resolver directory needed to randomize DNS request.
|
||||
|
||||
REM Author: Narsty
|
||||
REM Title: DarkStorm bruteforce
|
||||
REM Target: MacOS
|
||||
REM Version: 1.0
|
||||
REM Category: Execution
|
||||
|
||||
DELAY 1000
|
||||
GUI SPACE
|
||||
DELAY 500
|
||||
STRING terminal
|
||||
DELAY 500
|
||||
ENTER
|
||||
DELAY 1000
|
||||
STRING nmap -p 1-1000 -T4 -Pn 13.371.118.34
|
||||
ENTER
|
||||
DELAY 7000
|
||||
STRING nikto -h 13.371.118.34 -p <Open port # goes here>
|
||||
ENTER
|
||||
DELAY 7000
|
||||
STRING /Applications/OWASP\ ZAP.app/Contents/Java/zap.sh -cmd -quickurl http://13.371.118.34 -quickout ~/Desktop/quick_scan_results.html
|
||||
ENTER
|
||||
DELAY 7000
|
||||
STRING tshark -i en0 -w ~/Desktop/capture.pcap
|
||||
ENTER
|
||||
DELAY 7000
|
||||
STRING gobuster dir -u http://13.371.118.34 -w ~/Desktop/common.txt -t 50 -q
|
||||
ENTER
|
||||
Reference in New Issue
Block a user