Skip to content

Instantly share code, notes, and snippets.

@deliciouskek
deliciouskek / bluetooth_scan_addresses.sh
Created April 5, 2016 02:05
bluetooth_scan_addresses.sh
#!\bin\sh
# bluetooth_scan_addresses.sh
timout=1
while read line
do
echo $line; hcitool name $line
done < matches.txt
@deliciouskek
deliciouskek / MACFINDER.SH
Last active March 22, 2016 00:16
MAC FINDER UBERTOOTH
#!\bin\sh
#requires perl
#requires manuf.txt available from wireshark
#requires last 4 octets of mac address available from Ubertooth-scan
#use responsibly and don't use for any unauthorized purposes
#based in part on code from http://stackoverflow.com/questions/36119396/bash-script-passes-variable-that-is-a-hex-number-to-a-perl-regex-search-to-match?noredirect=1#comment59878958_36119396
read -p "Enter Third and Fourth and Fifth and Sixth Octet Here (AB:CD:EF:12) " STR
octet6=$(echo $STR | cut -c 1-11)
@deliciouskek
deliciouskek / hexcount.sh
Last active March 16, 2016 00:54
hexcount.sh
#!/bin/sh
#
# hexcount - POSIX Shell script to count from $1 to $2 in hex
# modified from user "Jens" answer found at http://stackoverflow.com/questions/5517500/simple-shell-script-for-generating-hex-numbers-of-a-certain-range
# maximum digits of $1 and $2.
# Example: hexcount.sh 0000 FFFF
FROM=$1 TO=$2
if test ${#FROM} -gt ${#TO}; then
FORMAT="0x%0${#FROM}X\n"
#echo “0x0110“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0110
#echo “0x0111“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0111
#echo “0x0112“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0112
#echo “0x0113“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0113
#echo “0x0114“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0114
#echo “0x0115“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0115
#echo “0x0116“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0116
#echo “0x0117“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0117
#echo “0x0118“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0118
#echo “0x0119“; gatttool $BLE2 -b $BLE1 --char-read -a 0x0119
@deliciouskek
deliciouskek / blefuzzV21.sh
Last active May 21, 2024 08:52
BLE Fuzzer V2.1
#!\bin\sh
#
# Bluetooth Low Energy Fuzzer Version 2.1
# code by @delciouskek (Jordan H.)
#
# Greetings to @DA_667, Lesley Carhart (@hacksforpancakes), #allcatpack, Jayson E. Street, @lojikil
# @anarchistdalek, @cryptoishard, @metalgearreynrd, @lnxdork, @7th_protocol, @m3atshi3ld, @savagememes,
# @tribl_a2k, @grubthor, @skoomapipe, @t3h_arch3r, @livebeef, @zawarudad, @fuckcrunchroll, @sonichu1,
# @rustlay, @myhaxorninja, @mywhiteninja, @tsundereranger, Dan Aleksander (@havetilfive), @yokalli,
# @epikmani, @apexcybertwat, @genxmedia, @ra6bit, @detinspector, @teridax, @mcrealname, @mo0ty,
@deliciouskek
deliciouskek / blefuzzV1.sh
Last active March 16, 2016 01:04
BLE Fuzzer V1
#!\bin\sh
#
# Bluetooth Low Energy Fuzzer Version 1.0
# code by @deliciouskek (Jordan H.)
#
# Greetings to @DA_667, Lesley Carhart (@hacksforpancakes), #allcatpack, Jayson E. Street, @lojikil
# @anarchistdalek, @cryptoishard, @metalgearreynrd, @lnxdork, @7th_protocol, @m3atshi3ld, @savagememes,
# @tribl_a2k, @grubthor, @skoomapipe, @t3h_arch3r, @livebeef, @zawarudad, @fuckcrunchroll, @sonichu1,
# @rustlay, @myhaxorninja, @mywhiteninja, @tsundereranger, Dan Aleksander (@havetilfive), @yokalli,
# @epikmani, @apexcybertwat, @genxmedia, @ra6bit, @detinspector, @teridax, @mcrealname, @mo0ty,