tool high top pi

This commit is contained in:
2026-04-23 02:19:52 -06:00
parent 20aeefdc91
commit df4aa95a21
+9 -8
View File
@@ -4,9 +4,9 @@ set -e # faiulure is not tolerated here
### CO:1C:6A is phone in bt pair mode
### 71:D9:79 is com,mon for testyin
vendor_ids=('1C' '71:D9:79' '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ΣЯ]"
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\")"
@@ -21,18 +21,19 @@ send_discord_webhook() {
while true; do #infinite loop
# scan for those vendor ids
blescan=$(eval "bluetoothctl -t 10 scan on | awk '{print \$3}' | grep ${vendor_ids[@]/#/-e } ")
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
done
fi
# cryptsetup erase <device> # ion case you wanna nuke ur shit lmao
## these options are powerful, silent, fast, aND RIsky
# poweroff --poweroff --force --no-wall # --no-sync
sleep 1
else
sleep 1
fi
# sleep 1
# else
# sleep 1
# fi
done