Skip to content

Instantly share code, notes, and snippets.


Bryce Sheehan ctrl-freak

View GitHub Profile
ctrl-freak /
Created Jul 24, 2020
Modifying Android APK and Resign on Windows
ctrl-freak /
Created Jul 15, 2020
TP-Link TL-WN722N v2 Monitor Mode
sudo apt update
sudo apt install bc
sudo rmmod r8188eu.ko
git clone
cd rtl8188eus
sudo -i
echo "blacklist r8188eu.ko" > "/etc/modprobe.d/realtek.conf"
ctrl-freak /
Last active May 8, 2021
Install Kali Nethunter on Nexus 7 (2012) (grouper, talapia)


The Nexus 7 (2012) tablet is no longer supported by Offensive Security; I didn't have any luck with kernel/kali distributions, so attempted upgrading.


  • Installing Open GApps slows the device to a crawl, haven't been able to install an app without the device freezing (though may need to let it sort itself out for longer)
  • Attempted to avoid GApps by installing a browser from APK (via adb)
ctrl-freak /
Last active Jul 2, 2020
Install and PostgreSQL on Docker on Oracle Cloud Ubuntu, protected by Auth0
# This is a string of commands, not a developed script.
# Set a password to be used for the PostgreSQL authentication
# Create Instance
# Attach Block Storage
# Add a public IP to the NIC
# Edit the Instance > Virtual Cloud Network > Security Lists > Default Security Lists
ctrl-freak / gist:d0cef2cc0d88cb3ed64bd6fc0d08fb0d
Created Aug 30, 2019
Disable Adobe Reader XI Protected Mode at Startup Keyboard Shortcuts
View gist:d0cef2cc0d88cb3ed64bd6fc0d08fb0d
Security (Enhanced)
Enable Protected Mode at startup
ctrl-freak / homelab.txt
Last active Dec 23, 2020
Homelab Software
View homelab.txt
Greenplum (Massively Parallel Postgres for Analytics)
Vagrant (Development Environments Made Easy)
Odoo (Open Source ERP and CRM)
Apache Hadoop
ctrl-freak / removesophos.ps1
Created Aug 1, 2019
Sophos Endpoint Removal Script
View removesophos.ps1
#Sophos Endpoint Removal Script
#Usage examples:
# .\removesophos.ps1 # Just logs all messages to screen and file.
# .\removesophos.ps1 -Remove YES # Removes all Sophos components and logs all messages to screen and file.
# .\removesophos.ps1 -Password 1234567 -Remove YES # Password will be provided to SEDCli.exe if TP is on and SEDCLi.exe exists.
# .\removesophos.ps1 -ErrorOnly YES # Only print items that exist (errors) on screen. Still logs all to file.
ctrl-freak / procura-hacc-mds-letters-of-name.sql
Created Jan 16, 2018
Procura HACC MDS Statistical Linkage Key SQL SELECT
View procura-hacc-mds-letters-of-name.sql
-- Government of Western Australia
-- Department of Health
-- HACC – Minimum Data Set
View fizzbuzz.php
$check = array(
3 => 'Fizz',
5 => 'Buzz',
for ($i = 1; $i <= 100; $i++) {
$output = '';
ctrl-freak / screenshot.bat
Created Aug 2, 2017
Pull Screenshot from Android through ADB with DateTime Filename
View screenshot.bat
@echo off
rem %I if running in Command Prompt, %%I is for batch
for /f "tokens=2 delims==" %%I in ('wmic os get localdatetime /format:list') do @set datetime=%%I
set datetime=%datetime:~0,8%-%datetime:~8,6%
set filename=screen_%datetime%.png