wqebhooky final,lky

This commit is contained in:
2026-04-22 22:25:42 -06:00
parent 4d8aa10f13
commit 5cb1d322a1
2 changed files with 13 additions and 7 deletions
+6 -1
View File
@@ -8,6 +8,11 @@ shut down and lock (or destory) your box if cops are detected nearby!
- Axon bodycamera
## Install
**Requires cryptsetup and bluetoothctl**
make your discord webhook and discord tag files
1. $HOME/.discord_url
2. $HOME/.discord_tag
then instasll
```bash
bash install_dreammaker.sh
```
@@ -16,7 +21,7 @@ bash install_dreammaker.sh
1. BIG Thanks to [OSINTI4L](https://github.com/OSINTI4L/) for making the first verison of this!
## Todo
1. make webhook work without geeraleesssss(in progress)
1. ~~make webhook work without geeraleesssss(in progress)~~
2. sanity checks
3. test with available btle devices
1. sniff with nrf chip
+7 -6
View File
@@ -2,20 +2,21 @@
set -e # faiulure is not tolerated here
## easy to add ids~
vendor_ids=('00:25:DF' '00:58:28' '00:C0:D4' '84:70:03')
webhook_file="/home/princesspi/.discord_url"
tag_file="/home/princesspi/.discord_tag"
username="[DЯΣΛMMΛKΣЯ]"
send_discord_webhook() {
username="[DЯΣΛMMΛKΣЯ]"
webhook_url="$(cat /home/princesspi/.discord_url)"
tag="$(cat /home/princesspi/.discord_tag)"
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\":\"FUZZASZZZZ ${tag}\"}" \
-d "{\"username\":\"$username\",\"content\":\"$1 FUZZASZZZZ ${tag}\"}" \
"$webhook_url"
}
send_discord_webhook
while true; do #infinite loop
# scan for those vendor ids
blescan=$(bluetoothctl -t 5 scan on | awk '{print $3}' | grep "${vendor_ids[@]/#/-e }")