From 8a792e1e589984db40d41a31f790e00b35e2f216 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sun, 26 Apr 2026 18:54:04 -0600 Subject: [PATCH] made demo sh --- .../BASH_Script_Linux/DREAMMAKER-DEMO.sh | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 implementations/BASH_Script_Linux/DREAMMAKER-DEMO.sh diff --git a/implementations/BASH_Script_Linux/DREAMMAKER-DEMO.sh b/implementations/BASH_Script_Linux/DREAMMAKER-DEMO.sh new file mode 100644 index 0000000..d4a4428 --- /dev/null +++ b/implementations/BASH_Script_Linux/DREAMMAKER-DEMO.sh @@ -0,0 +1,40 @@ +#!/bin/bash +set -e # faiulure is not tolerated here +## easy to add ids~ +### CO:1C:6A is phone in bt pair mode +### 71:D9:79 is common for testyin +### O1 is common and easier +vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03') +webhook_file="/usr/share/DREAMMAKER/.discord_url" +tag_file="/usr/share/DREAMMAKER/.discord_tag" +username='[DЯΣΛMMΛKΣЯ]' + +send_discord_webhook() { + webhook_url="$(cat \"$webhook_file\")" + tag="$(cat \"$tag_file\")" + + # send the webhook post + curl -sS -X POST \ + -H "Content-Type: application/json" \ + -d "{\"username\":\"$username\",\"content\":\"$1 $tag\"}" \ + "$webhook_url" +} + +while true; do #infinite loop + # scan for those vendor ids + blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/-e }") + + if [ -n "$blescan" ]; then + # LE detected poweroff to cryptdisk and notify + # alert spammmm + for((i=0;i<10;i++)); do + # send_discord_webhook "FUZZ!!!" & # fork task to background to run more faster + echo -e "\e[32m\n\nSAW ONE JUST NOW AT `date`\n\n\e[0m" + sleep 5 + + # cryptsetup erase # ion case you wanna nuke ur shit lmao + ## these options are powerful, silent, fast, aND RIsky + # poweroff --poweroff --force --no-wall # --no-sync + done + fi +done \ No newline at end of file