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