Skip to content

Instantly share code, notes, and snippets.

@gskachkov
gskachkov / change_first_symbol.wat
Created January 12, 2018 07:40
Change value in first symbol
(module
(import "imp" "log" (func $log (param i32 i32)))
(memory (import "imp" "mem") 1)
(func $writeHi
(i32.store8
(i32.const 0)
(i32.const 72)
)
i32.const 0
i32.const 5
@mgeeky
mgeeky / pickle-payload.py
Last active May 9, 2024 12:50
Python's Pickle Remote Code Execution payload template.
#!/usr/bin/python
#
# Pickle deserialization RCE payload.
# To be invoked with command to execute at it's first parameter.
# Otherwise, the default one will be used.
#
import cPickle
import sys
import base64