Skip to content

Instantly share code, notes, and snippets.

View 641i130's full-sized avatar
Rewrite it in rust!

Caret 641i130

Rewrite it in rust!
View GitHub Profile
NSG650 / WindowFocusLogger.c
Last active June 11, 2024 10:06
Logs which processes have received window focus
#include <stdio.h>
#include <Windows.h>
VOID CALLBACK WinEventProcHook(HWINEVENTHOOK hWinEventHook, DWORD event, HWND hwnd,
LONG idObject, LONG idChild, DWORD idEventThread, DWORD dwmsEventTime) {
DWORD ProcessId = 0;
if (GetWindowThreadProcessId(hwnd, &ProcessId) != 0) {
if (ProcessHandle != (HANDLE)(-1)) {
char buffer[MAX_PATH] = {0};
mttaggart / electron-versions.csv
Last active November 18, 2023 03:15
app_name repo electron_version vulnerable
1Password None 25.8.1 FALSE
3CX Desktop App 19.0.8 TRUE
5EClient None
Abstract None
Account Surfer None
Advanced REST Client ^17.0.0 TRUE
Aedron Shrine None
Aeon 23.2.0 TRUE
Saren-Arterius /
Last active May 2, 2024 07:44
Install Waydroid on Steam Deck (As of 2024-03-16)
cage -- bash -c 'wlr-randr --output X11-1 --custom-mode 1280x800; sleep 1; sudo /usr/local/bin/waydroid-helper & waydroid show-full-ui'
NatoBoram / Public IPFS
Last active June 18, 2024 07:11
The complete guide to hosting a public IPFS gateway

Hosting a public IPFS gateway

This guide assumes that you've used ssh before. If not, then you must read How to Set Up SSH Keys.

I'm also going to assume you've used ipfs before. If not, then take some time to discover IPFS with IPFS Desktop, IPFS Companion and go-ipfs!

Get a host

A public IPFS gateway can be hosted at home or on the cloud.

sixels / Arch Secure Laptop
Last active February 15, 2024 01:01 — forked from Th3Whit3Wolf/Arch Secure Laptop
My install instruction for a secure Arch Linux (sway) laptop workstation

What's Cool

  • Encrypted root partition
    • AES-256 bit cipher
    • Argon2id variant for PBKDF
    • Sha3-512 bit hash
  • rEFInd bootloader
    • With dreary theme
    • Optimal Settings (optimized for aesthetics, and boot time)
  • Boot into backups thanks to refind-btrfs
imneonizer /
Last active January 3, 2023 04:12
Using Android as HD webcam
export ANDROID_SERIAL=`adb devices -l | grep -i oneplus | awk '{print $1}'`
export HOST_PORT=8080
export IPWEBCAM_PORT=8080
export V4L2_DEVICE=/dev/video0
function start_screen_mirror(){
if [ ! `pgrep scrcpy` ];then
Pldare / aes.cs
Created August 10, 2021 01:46
vroid web view vrm decrypt
using System;
using System.Security.Cryptography;
using System.IO;
using System.IO.Compression;
namespace Vroid
class Vroiddec
static void Main(string[] args)
forensicmike / Colors.js
Created July 12, 2021 14:06
Add colors to your frida script
const colors = {
colorize: (str, cc) => `\x1b${cc}${str}\x1b[0m`,
red: str => colors.colorize(str, '[31m'),
green: str => colors.colorize(str, '[32m'),
yellow: str => colors.colorize(str, '[33m'),
blue: str => colors.colorize(str, '[34m'),
cyan: str => colors.colorize(str, '[36m'),
white: str => colors.colorize(str, '[37m'),
ZipFile /
Last active June 7, 2024 09:06
Pixiv OAuth Flow

Retrieving Auth Token

  1. Run the command:

    python login

    This will open the browser with Pixiv login page.

irdanish11 / Installing miniconda on raspberry
Last active April 18, 2024 16:02
Installing miniconda on raspberry pi4-b