Skip to content

Instantly share code, notes, and snippets.

View fiddyschmitt's full-sized avatar

Fidel Perez-Smith fiddyschmitt

  • Brisbane, Australia
View GitHub Profile
// ----------------------------------------------------------------------------
// <auto-generated>
// This is autogenerated code by CppSharp.
// Do not edit this file or all your changes will be lost after re-generation.
// </auto-generated>
// ----------------------------------------------------------------------------
using System;
using System.Runtime.InteropServices;
using System.Security;
@fiddyschmitt
fiddyschmitt / gist:2ff72b7203855e085cc2862ff49841fa
Last active March 13, 2024 23:53
Mount or Extract Bitlocker image
--Raw image to VHD
./VBoxManage convertdd nvme1n1p4.img nvme1n1p4.vhd --format VHD
or
./qemu-img.exe convert -f raw -O vpc "vme1n1p4.img" "nvme1n1p4-qemu.vhd"
--To remove bitlocker
Turn off left & right indiciator lights
Fn + shift + / + down arrow
Check battery
Fn + \
Reconnect 2.4 GHz
Long press Fn+4
iconfinder.com
https://game-icons.net/
https://www.iso.org/obp/ui/#iso:pub:PUB400008:en
https://iconbuddy.app/
https://win98icons.alexmeub.com/
Download Windows iso
Download Rufus
Run Rufus
Select drive (if not listed, click 'Show advanced drive properties' -> Tick 'List USB Hard Drives')
Click 'SELECT' and choose the iso
Image option -> Windows To Go
Partition scheme -> leave as default (GPT)
Target system -> leave as default (UEFI (non CSM))
@fiddyschmitt
fiddyschmitt / gist:167df3bde63d288458168e18787ce19e
Last active November 29, 2023 05:59
Windows Filtering Platform
//list filters
netsh wfp show filter
https://github.com/zodiacon/WFPExplorer
//Info
https://scorpiosoftware.net/2022/12/25/introduction-to-the-windows-filtering-platform/
https://leanpub.com/windowskernelprogrammingsecondedition
C:\Program Files\Wireshark
//remove VLAN tags
editcap -F pcap -L -C 12:4 "packets.pcap" "packets-1.pcap"
//change source & destination IPs
C:\Portable\bittwist-win-2.0\src
./bittwiste -I "packets-1.pcap" -O "packets-2.pcap" -T ip -s 192.168.1.1 -d 192.168.1.50
@fiddyschmitt
fiddyschmitt / gist:216258e3ce164106500814d7cc6e7638
Created October 11, 2023 01:31
Block/adjust DNS use of an application
ForceBindIP
Memory faulty?
Run memtest86
SSD faulty?
//Read-write test (non-destructive)
badblocks -nsv /dev/device -o badblocks.txt
CPU overheating / thermal paste not effective?
Check temperature with Coretemp