Skip to content

Instantly share code, notes, and snippets.

@reanimat0r
reanimat0r / dump.py
Created March 7, 2026 23:37 — forked from Demonslay335/dump.py
Dumps a PE from VirtualAlloc/VirtualProtect
import os
import sys
import time
import winappdbg
import traceback
class MyEventHandler(winappdbg.EventHandler):
last_alloc_memory = 0
@reanimat0r
reanimat0r / gen_id.py
Created March 7, 2026 23:27 — forked from Demonslay335/gen_id.py
DarkSide Ransomware ID Generation
import zlib, sys
def get_id(mac):
mac = int(mac, 16).to_bytes(6, 'big')
return checksum(mac, True)
def checksum(input, compression=False):
v3 = zlib.crc32(input, 0xDEADBEEF)
v4 = zlib.crc32(input, v3)
@reanimat0r
reanimat0r / abbr.fish
Created November 8, 2025 05:40 — forked from kenchou/abbr.fish
fish abbr
# 注:fish v3.6.0+ abbr 不再设置为 Universal
# 升级 fish 注意需清除 $__fish_config_dir/fish_variables (一般为 ~/.config/fish/fish_variables) 中旧的变量
# (MacOS) application
abbr android 'open -a Android\ Studio'
abbr anki 'open -a anki'
abbr boop 'open -a boop'
abbr ff 'open -a firefox'
abbr filezilla 'open -a filezilla'
abbr haroopad 'open -a haroopad'
@reanimat0r
reanimat0r / config.fish
Created November 8, 2025 05:22 — forked from karolyi/config.fish
My fish-shell settings
# Path to Oh My Fish install.
set -q XDG_DATA_HOME
and set -gx OMF_PATH "$XDG_DATA_HOME/omf"
or set -gx OMF_PATH "$HOME/.local/share/omf"
# Customize Oh My Fish configuration path.
#set -gx OMF_CONFIG /Users/laszlokarolyi/.config/omf
# Reload user_abbreviations by executing:
. ~/.config/fish/abbreviations/fish_user_abbreviations.fish
@reanimat0r
reanimat0r / config.fish
Created November 8, 2025 05:20 — forked from juliavdkris/config.fish
Fish config (aliases n some other shit)
# Text editor
abbr -a -g m micro
alias hex='hx'
abbr -a -g hx helix
abbr -a -g v nvim
export EDITOR=nvim
export MANPAGER='nvim +Man!'
export BROWSER=librewolf
export NNN_PLUG='z:autojump;f:finder;o:fzopen;d:diffs'
@reanimat0r
reanimat0r / win2ix.md
Created October 1, 2025 16:52 — forked from carlessanagustin/win2ix.md
Windows and Unix command line equivalents
Windows command Unix command Notes
set env Set on Windows prints a list of all environment variables. For individual environment variables, set is the same as echo $ on Unix.
set Path export $PATH Print the value of the environment variable using set in Windows.
set PROJ -- result: PROJ=c:\project
echo %PROJ% echo $PROJ result: c:\project

|

@reanimat0r
reanimat0r / gist:317e00de4b79442c3e244decd40e264c
Created March 22, 2025 21:36 — forked from sgergely/gist:3793166
Midnight Commander Keyboard Shortcuts for Mac OSX
----- Esc -----
Quick change directory: Esc + c
Quick change directory history: Esc + c and then Esc + h
Quick change directory previous entry: Esc + c and then Esc + p
Command line history: Esc + h
Command line previous command: Esc + p
View change: Esc + t (each time you do this shortcut a new directory view will appear)
Print current working directory in command line: Esc + a
Switch between background command line and MC: Ctrl + o
Search/Go to directory in active panel: Esc + s / Ctrl + s then start typing directory name
@reanimat0r
reanimat0r / DisableBigSurMonterey.sh
Created January 10, 2025 05:37 — forked from gopsmith/DisableBigSurMonterey.sh
Disable Big Sur and Monterey services
#!/bin/zsh
# CREDITS: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
# Big Sur revision by b0gdanw https://gist.github.com/b0gdanw/40d000342dd1ba4d892ad0bdf03ae6ea
# TEMPORARILY disabling (e.g. STOPPING via 'bootout') unwanted services on macOS 11 Big Sur and macOS 12 Monterey:
# This version is for a special boot that optimizes for real-time music performance and streaming video.
# Due to the read-only system volume introduced with macOS Catalina, this script can NOT be run in Recovery mode's Terminal.
# For my purposes I leave WiFi enabled, for streaming video to a local router with no internet connection.
@reanimat0r
reanimat0r / DisableBigSur.sh
Created January 10, 2025 05:15 — forked from b0gdanw/DisableBigSur.sh
Disable Big Sur services
#!/bin/zsh
#Credit: Original idea and script disable.sh by pwnsdx https://gist.github.com/pwnsdx/d87b034c4c0210b988040ad2f85a68d3
#Disabling unwanted services on macOS 11 Big Sur (11) and macOS Monterey (12)
#Disabling SIP is required ("csrutil disable" from Terminal in Recovery)
#Modifications are written in /private/var/db/com.apple.xpc.launchd/ disabled.plist and disabled.501.plist
# user
TODISABLE=()