Skip to content

Instantly share code, notes, and snippets.

@v-p-b
v-p-b / ls-test.json
Last active January 4, 2025 20:00
ls-test.json
{"version": 1, "content": {"sha256": "430cdef8f363efe8b7fe0ce4af583b202b77d89f0ded08e3b77ac6aca0a0b304", "functions": [{"address": "00104000", "name": "_DT_INIT", "node_count": 3}, {"address": "00104020", "name": "FUN_00104020", "node_count": 2}, {"address": "001046e0", "name": "FUN_001046e0", "node_count": 0}, {"address": "001046e5", "name": "FUN_001046e5", "node_count": 0}, {"address": "001046ea", "name": "FUN_001046ea", "node_count": 0}, {"address": "001046ef", "name": "FUN_001046ef", "node_count": 0}, {"address": "001046f4", "name": "FUN_001046f4", "node_count": 0}, {"address": "001046f9", "name": "FUN_001046f9", "node_count": 0}, {"address": "001046fe", "name": "FUN_001046fe", "node_count": 0}, {"address": "00104703", "name": "FUN_00104703", "node_count": 0}, {"address": "00104708", "name": "FUN_00104708", "node_count": 0}, {"address": "0010470d", "name": "FUN_0010470d", "node_count": 0}, {"address": "00104712", "name": "caseD_b", "node_count": 0}, {"address": "00104717", "name": "FUN_00104717", "node_co
@v-p-b
v-p-b / fscan.json
Last active January 4, 2025 08:29
fscan.json
{"edges": [{"source": "BB75a7ea1f0", "target": "BB75a7ea2df", "attributes": {"type": "consequence"}}, {"source": "BB75a7ea1f0", "target": "BB75a7ea28a", "attributes": {"type": "alternative"}}, {"source": "BB75a7ea28a", "target": "BB75a7ea2c2", "attributes": {"type": "consequence"}}, {"source": "BB75a7ea28a", "target": "BB75a7ea29d", "attributes": {"type": "alternative"}}, {"source": "BB75a7ea29d", "target": "BB75a7ea2c2", "attributes": {"type": "consequence"}}, {"source": "BB75a7ea29d", "target": "BB75a7ea2a3", "attributes": {"type": "alternative"}}, {"source": "BB75a7ea2a3", "target": "BB75a7ea2c2", "attributes": {"type": "alternative"}}, {"source": "BB75a7ea2c2", "target": "BB75a7ea2d8", "attributes": {"type": "alternative"}}, {"source": "BB75a7ea2d8", "target": "BB75a7f60f4", "attributes": {"type": "regular"}}, {"source": "BB75a7ea2df", "target": "BB75a7ea2fb", "attributes": {"type": "consequence"}}, {"source": "BB75a7ea2df", "target": "BB75a7ea2f3", "attributes": {"type": "alternative"}}, {"source": "BB75
@v-p-b
v-p-b / FUN_0010a8a0.json
Last active January 1, 2025 21:04
FUN_0010a8a0.json
{
"edges": [
{
"source": "BB0010a8a0",
"target": "BB0010a8f0",
"attributes": {
"type": "consequence"
}
},
{
@v-p-b
v-p-b / diff.txt
Created November 6, 2024 14:42
ghidra_docs 11.2 to 11.2.1
Files /var/www/ghidra_docs/GHIDRA_VERSION and /tmp/ghidra_docs/GHIDRA_VERSION differ
Files /var/www/ghidra_docs/javadoc/ghidra/app/util/opinion/DyldCacheProgramBuilder.html and /tmp/ghidra_docs/javadoc/ghidra/app/util/opinion/DyldCacheProgramBuilder.html differ
Files /var/www/ghidra_docs/javadoc/ghidra/app/util/opinion/MachoPrelinkProgramBuilder.html and /tmp/ghidra_docs/javadoc/ghidra/app/util/opinion/MachoPrelinkProgramBuilder.html differ
Files /var/www/ghidra_docs/javadoc/ghidra/app/util/opinion/MachoProgramBuilder.html and /tmp/ghidra_docs/javadoc/ghidra/app/util/opinion/MachoProgramBuilder.html differ
Files /var/www/ghidra_docs/javadoc/ghidra/pcode/exec/PcodeFrame.html and /tmp/ghidra_docs/javadoc/ghidra/pcode/exec/PcodeFrame.html differ
Files /var/www/ghidra_docs/javadoc/index-all.html and /tmp/ghidra_docs/javadoc/index-all.html differ
Files /var/www/ghidra_docs/javadoc/member-search-index.js and /tmp/ghidra_docs/javadoc/member-search-index.js differ
@v-p-b
v-p-b / ImportGhidraProject2Eclipse.md
Last active July 10, 2024 16:54
Import existing Ghidra project to Eclipse

Import Existing Ghidra Project to Eclipse

⚠️ Since Ghidra 11.1 the GhidraDev plugin has an Import feature, you can just use that!

Prerequisites

  • Working Eclipse installation
  • Installed GhidraDev extension in Eclipse
@v-p-b
v-p-b / exchange-ssrf-fileleak.py
Last active December 7, 2023 20:13
ZDI-CAN-22101 / ZDI-23-1581 - Exchange SSRF PoC exploit with response retrieval for Burp Suite
# -*- coding: utf-8 -*-
from burp import IBurpExtender
from burp import IHttpListener
import json
# ZDI-CAN-22101 / ZDI-23-1581 - Exchange SSRF PoC exploit with response retrieval for Burp Suite
# by buherator, original research by Piotr Bazydło (@chudypb)
#
@v-p-b
v-p-b / csv2textile.py
Last active September 17, 2024 09:01
CSV to Textile with Python Tabulate
import csv
import sys
import tabulate # https://pypi.org/project/tabulate/
with open(sys.argv[1], newline='') as csvfile:
reader = csv.DictReader(csvfile)
print(tabulate.tabulate(reader, tablefmt="textile", headers="keys"))
@v-p-b
v-p-b / kaitai-dump-offsets.py
Created April 16, 2023 10:34
Dump substructure offsets from objects parsed by Kaitai Struct
# This function recurively traverses a KaitaiStruct objects and dumps the offsets of the substructures encountered.
#
# This is similar to how the WebIDE points you to specific substructers in the parsed tree when you click on some
# byte in the hex editor.
# Unfortunately I couldn't use any IDE tools for this capability, because [JavaScript sucks](https://github.com/kaitai-io/kaitai_struct/issues/183)
# You should generate the Kaitai parser with the `--read-pos` command line option
# The behavior is documented with this issue: https://github.com/kaitai-io/kaitai_struct/issues/331
import string
Randall Munroe - Mi lenne, ha?
ISBN: 978-963-293-368-9
Athenaeum Kiadó, 2014.
Változatlan utánnyomás, 2
Felelős szerkesztő: Kónya Orsolya
Felelős vezető: Tóth Béláné
Fordította: Varga Krisztina
16. oldal: "A rejtélyes [csen]d bizonyára megzavarná őket"
Typo