Skip to content

Instantly share code, notes, and snippets.

@randomh4ck
randomh4ck / ghidra.py
Created October 26, 2022 16:38 — forked from liba2k/ghidra.py
Script to run Ghidra from the command line including automatic analysis and lunching Ghidra for existing projects.
#!/usr/bin/env python3
import os
import sys
import click
import subprocess
import tempfile
import itertools as IT
import select
from time import sleep
@randomh4ck
randomh4ck / sed cheatsheet
Created November 7, 2022 20:40 — forked from ssstonebraker/sed cheatsheet
Sed Cheatsheet
FILE SPACING:
# double space a file
sed G
# double space a file which already has blank lines in it. Output file
# should contain no more than one blank line between lines of text.
sed '/^$/d;G'