summaryrefslogtreecommitdiff
path: root/extract_64.sh
diff options
context:
space:
mode:
authorBrett Weiland <brett_weiland@bpcspace.com>2020-12-12 15:58:41 -0600
committerBrett Weiland <brett_weiland@bpcspace.com>2020-12-12 15:58:41 -0600
commitc9f44615e78db425febfdc3b601b90d2a3df7456 (patch)
tree496a733a07d29c6c134766829c7cb6936010d6c8 /extract_64.sh
new file: all_rop/badchars.zip
new file: all_rop/badchars32.zip new file: all_rop/badchars_armv5.zip new file: all_rop/badchars_mipsel.zip new file: all_rop/callme.zip new file: all_rop/callme32.zip new file: all_rop/callme_armv5.zip new file: all_rop/callme_mipsel.zip new file: all_rop/fluff.zip new file: all_rop/fluff32.zip new file: all_rop/fluff_armv5.zip new file: all_rop/fluff_mipsel.zip new file: all_rop/pivot.zip new file: all_rop/pivot32.zip new file: all_rop/pivot_armv5.zip new file: all_rop/pivot_mipsel.zip new file: all_rop/ret2csu.zip new file: all_rop/ret2csu_armv5.zip new file: all_rop/ret2csu_mipsel.zip new file: all_rop/ret2win.zip new file: all_rop/ret2win32.zip new file: all_rop/ret2win_armv5.zip new file: all_rop/ret2win_mipsel.zip new file: all_rop/split.zip new file: all_rop/split32.zip new file: all_rop/split_armv5.zip new file: all_rop/split_mipsel.zip new file: all_rop/write4.zip new file: all_rop/write432.zip new file: all_rop/write4_armv5.zip new file: all_rop/write4_mipsel.zip new file: extract_64.sh new file: x86_64/badchars/badchars new file: x86_64/badchars/flag.txt new file: x86_64/badchars/libbadchars.so new file: x86_64/callme/callme new file: x86_64/callme/encrypted_flag.dat new file: x86_64/callme/key1.dat new file: x86_64/callme/key2.dat new file: x86_64/callme/libcallme.so new file: x86_64/fluff/flag.txt new file: x86_64/fluff/fluff new file: x86_64/fluff/libfluff.so new file: x86_64/pivot/flag.txt new file: x86_64/pivot/libpivot.so new file: x86_64/pivot/pivot new file: x86_64/ret2csu/encrypted_flag.dat new file: x86_64/ret2csu/key.dat new file: x86_64/ret2csu/libret2csu.so new file: x86_64/ret2csu/ret2csu new file: x86_64/ret2win/flag.txt new file: x86_64/ret2win/ret2win new file: x86_64/split/flag.txt new file: x86_64/split/split new file: x86_64/write4/flag.txt new file: x86_64/write4/libwrite4.so new file: x86_64/write4/write4
Diffstat (limited to 'extract_64.sh')
-rwxr-xr-xextract_64.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/extract_64.sh b/extract_64.sh
new file mode 100755
index 0000000..f725d7b
--- /dev/null
+++ b/extract_64.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+mkdir x86_64
+for file in $(find all_rop -type f -name "*zip" -printf "%f\n" | grep --invert -E "^\w*(32|_armv5|mipsel)"); do
+ short_file=$(echo $file | sed -E 's/.zip//g')
+ mkdir x86_64/$short_file
+ unzip all_rop/$file -d x86_64/$short_file
+done