diff --git a/README.md b/README.md index 685df95..e8972a6 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # miasm-extended-tests + Extended tests for Miasm # Binaries # - [ls_x64/](ls_x64/): `ls` and its dependencies from Ubuntu 18.04.2 LTS +- [shellcode_x86](shellcode_x86/) : `chmod /etc/shadow` and `exec` shellcodes diff --git a/shellcode_x86/chmod b/shellcode_x86/chmod new file mode 100644 index 0000000..8b34765 Binary files /dev/null and b/shellcode_x86/chmod differ diff --git a/shellcode_x86/exec b/shellcode_x86/exec new file mode 100644 index 0000000..2e73039 Binary files /dev/null and b/shellcode_x86/exec differ diff --git a/shellcode_x86/run.sh b/shellcode_x86/run.sh new file mode 100755 index 0000000..dcdb5a4 --- /dev/null +++ b/shellcode_x86/run.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +MIASM_DIR="$1" + +python $MIASM_DIR/example/jitter/simu_sc_linux.py -- chmod +python $MIASM_DIR/example/jitter/simu_sc_linux.py -- exec