Skip to content

Instantly share code, notes, and snippets.

View suidroot's full-sized avatar

Ben Mason suidroot

View GitHub Profile
@suidroot
suidroot / ida_rename_address.py
Created April 18, 2022 20:24
IDA function REnamer by Address
import idaapi
import idautils
import idc
# Function_Name,Address
lines = '''function_name,12023345'''
def do_rename(l):
splitted = l.split(',')
straddr = splitted[1]
@suidroot
suidroot / webex-ctrl.scpt
Created November 3, 2021 17:13
Webex Controller
tell application "System Events"
tell process "Webex Meetings"
activate
if exists (window "Webex") then
set window_name to "Webex"
end if
if exists (window "Cisco Webex Meetings") then
set window_name to "Cisco Webex Meetings"
end if
#!/bin/bash
#
#
FILE_LOCATION="$HOME/SynologyDrive/Drive/Documents/Police Logs"
TEMP_LOCATION="$HOME/Temp/PPD-DOWNLOADS-$(date +%Y%m%d%H%M)"
#
### Daily Media Logs
# https://www.portlandmaine.gov/739/Daily-Media-Logs
DAYS_OF_WEEK=("monday" "tuesday" "wednesday" "thursday" "friday" "saturday" "sunday")
MEDIA_LOG_URLS=("https://www.portlandmaine.gov/DocumentCenter/View/2263"
@suidroot
suidroot / dflate-pdf-decode.py
Created December 29, 2020 20:42
PDF Deflate Extractor
import re
import zlib
pdf = open("Receipt.pdf", "rb").read()
stream = re.compile(b'.*?FlateDecode.*?stream(.*?)endstream', re.S)
counter = 0
for s in re.findall(stream,pdf):
print("---------------------- " + str(counter) + "---------- ")
@suidroot
suidroot / lr-original-backup.sh
Created July 13, 2020 20:40
Backup backup (rsync) original image from from Adobe Lightroom CC databse
#!/bin/sh
#
# Backup Rawfiles from Lightroom CC Database
#
# LR Database Path
SRCPATH="$HOME/Pictures/Lightroom Library.lrlibrary/xxx/originals"
DSTPATH="/Volumes/MyPictures"
# Dry Run enabled
#RSYNCPARAMS="-ruvn --progress"
@suidroot
suidroot / ghidra_builder.sh
Created June 22, 2020 22:25
Ghidra Script Deployment Automation
#!/bin/sh
GHIDRA_SCRIPTS="$HOME/test/ghidra_scripts"
GHIDRA_TEMP="ghidra_temp"
declare -a REPOS=(
"https://github.com/AllsafeCyberSecurity/LazyGhidra"
"https://github.com/reb311ion/replica"
"https://github.com/schlafwandler/ghidra_ExportToX64dbg"
@suidroot
suidroot / decoder.py
Created May 16, 2020 21:26
Bank Statement Decoder
import png
import struct
def print_list(thelist, quantity):
if (quantity == 0):
quantity = len(thelist)
#print ("Decimal: ", end="")
#for i in range(0, quantity):

Keybase proof

I hereby claim:

  • I am suidroot on github.
  • I am suidroot (https://keybase.io/suidroot) on keybase.
  • I have a public key ASCyZo21ScngWPsiLWLf3bNhMteyMMpJaSfroNYvz3mHMgo

To claim this, I am signing this object:

@suidroot
suidroot / gist:1107f4046147d456ff8f12a5acb9ce19
Created September 7, 2017 13:17
Sigrok Build Ubuntu Package list
sudo apt-get install libzip-dev libqtglib-2.0-0 libglib2.0-dev libusb-dev libglibmm-2.4-dev libusb-1.0-0-dev python-gobject-2-dev doxygen python-dev swig python-gobject-2-dev python-gi-dev python3-dev check cmake libboost-system-dev libboost-serialization-dev libboost-filesystem-dev sdcc-libraries sdcc
@suidroot
suidroot / gist:f1c2ae24badd68c8617d
Last active January 4, 2016 03:48
RTL-SDR decoder links
https://github.com/mutability/dump978 -
https://github.com/bemasher/rtlamr - Smart Meter
https://github.com/antirez/dump1090 - ADSB Decoder
https://github.com/Evrytania/LTE-Cell-Scanner
https://github.com/EliasOenal/multimon-ng
https://github.com/gat3way/rtl_acars_ng