From 5cb1d322a176113a353ad9de8dab309043e32587 Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Wed, 22 Apr 2026 22:25:42 -0600 Subject: [PATCH] wqebhooky final,lky --- README.md | 7 ++++++- dreammaker.sh | 13 +++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 652cac5..6334ca0 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/dreammaker.sh b/dreammaker.sh index 19511c7..ddebe1e 100644 --- a/dreammaker.sh +++ b/dreammaker.sh @@ -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 }")