m0ar 3:11aM ricihnggg
This commit is contained in:
@@ -21,6 +21,7 @@ header="\n\n${pink} ____ ______ _______ _______ _______ _______ _______
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
echo -e "$header"
|
echo -e "$header"
|
||||||
|
echo "Listening for police..."
|
||||||
|
|
||||||
send_discord_webhook() {
|
send_discord_webhook() {
|
||||||
webhook_url="$(cat \"$webhook_file\")"
|
webhook_url="$(cat \"$webhook_file\")"
|
||||||
|
|||||||
@@ -21,6 +21,7 @@ header="\n\n${pink} ____ ______ _______ _______ _______ _______ _______
|
|||||||
|
|
||||||
clear
|
clear
|
||||||
echo -e "$header"
|
echo -e "$header"
|
||||||
|
echo "Listening for police..."
|
||||||
|
|
||||||
send_discord_webhook() {
|
send_discord_webhook() {
|
||||||
webhook_url="$(cat \"$webhook_file\")"
|
webhook_url="$(cat \"$webhook_file\")"
|
||||||
|
|||||||
@@ -2,17 +2,38 @@ import asyncio
|
|||||||
from bleak import BleakScanner, BleakError
|
from bleak import BleakScanner, BleakError
|
||||||
from datetime import datetime
|
from datetime import datetime
|
||||||
import requests
|
import requests
|
||||||
|
from rich import print
|
||||||
|
import os
|
||||||
|
|
||||||
webhook_url = "https://discord.com/api/webhooks/1403525015818862602/frakefakefake" # replace with your actual webhook URL
|
webhook_url = "https://discord.com/api/webhooks/1403525015818862602/frakefakefake" # replace with your actual webhook URL
|
||||||
discord_tag_role = "<@&1369280290203373670>" # replace with your actual Discord role ID (.\@rolename to get it)
|
discord_tag_role = "<@&1369280290203373670>" # replace with your actual Discord role ID (.\@rolename to get it)
|
||||||
|
|
||||||
|
header = """
|
||||||
|
|
||||||
|
|
||||||
|
[magenta] ____ ______ _______ _______ _______ _______ _______ _______ _ _______ _______ ____
|
||||||
|
( __)( __ \\ ( ____ )( ____ \\( ___ )( )( )( ___ )| \\ /\\( ____ \\( ____ )(__ )
|
||||||
|
| ( | ( \\ )| ( )|| ( \\/| ( ) || () () || () () || ( ) || \\ / /| ( \\/| ( )| ) |
|
||||||
|
| | | | ) || (____)|| (__ | (___) || || || || || || || (___) || (_/ / | (__ | (____)| | |
|
||||||
|
| | | | | || __)| __) | ___ || |(_)| || |(_)| || ___ || _ ( | __) | __) | |
|
||||||
|
| | | | ) || (\\ ( | ( | ( ) || | | || | | || ( ) || ( \\ \\ | ( | (\\ ( | |
|
||||||
|
| (__ | (__/ )| ) \\ \\__| (____/\\| ) ( || ) ( || ) ( || ) ( || / \\ \\| (____/\\| ) \\ \\__ __) |
|
||||||
|
(____)(______/ |/ \\__/(_______/|/ \\||/ \\||/ \\||/ \\||_/ \\/(_______/|/ \\__/(____)
|
||||||
|
|
||||||
|
|
||||||
|
[/magenta]https://github.com/[magenta]PrincessPi3[/magenta]
|
||||||
|
|
||||||
|
|
||||||
|
"""
|
||||||
# bunch of random prefixes for testing
|
# bunch of random prefixes for testing
|
||||||
VENDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03', 'C0:1C:6A', '01', '02', '03', '04', '05', '06', '07', '08', '09', '0B', '77', '99', '0A', '0B', '0C', '0D', '0E', '0F', 'AB', 'C0']
|
VENDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03', 'C0:1C:6A', '01', '02', '03', '04', '05', '06', '07', '08', '09', '0B', '77', '99', '0A', '0B', '0C', '0D', '0E', '0F', 'AB', 'C0']
|
||||||
# live
|
# live
|
||||||
# NDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03']
|
# VNDOR_PREFIXES = ['00:25:DF', '00:58:28', '00:C0:D4', '84:70:03']
|
||||||
|
|
||||||
async def main():
|
async def main():
|
||||||
print("Scanning for BLE devices...")
|
os.system('cls' if os.name == 'nt' else 'clear') # clear the console
|
||||||
|
print(header)
|
||||||
|
print("Scanning forPolice...")
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
devices = await BleakScanner.discover()
|
devices = await BleakScanner.discover()
|
||||||
|
|||||||
Reference in New Issue
Block a user