Skip to content

Instantly share code, notes, and snippets.

View trevor229's full-sized avatar

Trevor M. trevor229

  • USA, Illinois
View GitHub Profile
#!/bin/bash
# TL,DR
# This program determines which .pcap files contain valid, crackable handshakes.
# This script converts pcaps collected by pwnagotchi and converts them to hccapx files using hashcat.
# If there is useful (crackable) handshake information collected,
# those APs are written to a file and displayed to the user for later cracking.
# Requirements:
# cap2hccapx.bin is needed to convert pcaps to Hashcat .hccapx files
@trevor229
trevor229 / ambient_aprs.py
Created July 25, 2021 08:49
Script for using the Ambient Weather API to upload data to APRS/CWOP
# Ambient Weather API APRS/CWOP upload script from this thread https://www.wxforum.net/index.php?topic=36181.0
# Originally written by uajqq and Ron B.
# Modified by me (trevor229) for amateur radio use (added a few new variables)
# Be aware there are apparently some issues with the coordinates not being rounded properly in some cases. Read the thread above for more info. It works fine for me though.
# When using this script, make sure it is not running more than once per 5 minutes, as CWOP requests.
import os
from socket import *
from datetime import datetime, time
@trevor229
trevor229 / list_installed_programs.bat
Last active May 23, 2020 16:30
List installed programs in Windows
:: Quick and easy way of listing installed programs using WMIC. Requires being run as administrator.
:: https://github.com/trevor229
@echo off
set outputDir=C:\
:: Date format by default is MM/DD/YYYY, use %_%DATE:~7,2%DATE:~4,2%_%DATE:~10,4% for DD/MM/YYYY
set fileName=InstalledPrograms_%DATE:~4,2%_%DATE:~7,2%_%DATE:~10,4%
net session >nul 2>&1
@trevor229
trevor229 / learnbinarybyhex.txt
Created December 2, 2019 06:54
Learn Binary by Converting Text to Hexadecimal
Hexadecimal Letters | Hex Characters in Binary
A=41 a=61 0=0000
B=42 b=62 1=0001
C=43 c=63 2=0010
D=44 d=64 3=0011
E=45 e=65 4=0100
F=46 f=66 5=0101
G=47 g=67 6=0110
H=48 h=68 7=0111
@trevor229
trevor229 / format_disk_diskpart.bat
Last active July 26, 2024 23:52
Diskpart Automation Script
:: Windows diskpart batchfile for easily formatting, creating a primary partition with a label, and attaching the disk to user defined values
:: https://github.com/trevor229
@echo off
net session >nul 2>&1
if %errorLevel% == 0 (
goto :drive_handler
) else (
@echo Failure: Script must be run as Administrator.
pause