Merge pull request #130 from raildex1/scratch

Add ScratchABit & ScratchABlock
This commit is contained in:
Yan 2017-04-24 19:49:15 -07:00 committed by GitHub
commit c6a7e1ac31
5 changed files with 40 additions and 0 deletions

View file

@ -40,6 +40,8 @@ Installers for the following tools are included:
| binary | [ropper](https://github.com/sashs/Ropper) | Another gadget finder. | <!--tool--><!--test-->
| binary | [rp++](https://github.com/0vercl0k/rp) | Another gadget finder. | <!--tool--><!--test-->
| binary | [rr](http://rr-project.org) | Record and Replay Debugging Framework | <!--tool--><!--test-->
| binary | [scratchabit](https://github.com/pfalcon/ScratchABit) | Easily retargetable and hackable interactive disassembler | <!--tool--><!--test-->
| binary | [scratchablock](https://github.com/pfalcon/ScratchABlock) | Yet another crippled decompiler project | <!--tool--><!--test-->
| binary | [shellnoob](https://github.com/reyammer/shellnoob) | Shellcode writing helper. | <!--tool--><!--test-->
| binary | [shellsploit](https://github.com/b3mb4m/shellsploit-framework) | Shellcode development kit. | <!--tool--><!--test-->
| binary | [snowman](https://github.com/yegord/snowman) | Cross-architecture decompiler. | <!--tool--><!--test-->

8
scratchabit/install Executable file
View file

@ -0,0 +1,8 @@
#!/bin/bash -ex
git clone --recursive https://github.com/pfalcon/ScratchABit
mkdir -p bin
cd bin
ln -s ../ScratchABit/ScratchABit.py ./scratchabit.py
cd ..

22
scratchablock/install Executable file
View file

@ -0,0 +1,22 @@
#!/bin/bash -ex
#move to ctftools virtual env - warning you'll have to activate the
#virtualenv to use the scripts unless you install the pypl packages
#outside the venv for Python 3
source ctf-tools-venv-activate3
pip install --upgrade nose
pip install --upgrade pyyaml
git clone --recursive https://github.com/pfalcon/ScratchABlock
mkdir -p bin
cd bin
ln -s ../ScratchABlock/apply_xform.py ./scratchablock-apply_xform.py
ln -s ../ScratchABlock/asmprinter.py ./scratchablock-asmprinter.py
ln -s ../ScratchABlock/dump_c.py ./scratchablock-dump_c.py
ln -s ../ScratchABlock/funcdb_dot.py ./scratchablock-funcdb_dot.py
ln -s ../ScratchABlock/funcdb_util.py ./scratchablock-funcdb_util.py
ln -s ../ScratchABlock/make_callgraph.sh ./scratchablock-make_callgraph.sh
ln -s ../ScratchABlock/parse_asm.py ./scratchablock-parse_asm.py
cd ..

View file

@ -0,0 +1,4 @@
#!/bin/bash -ex
apt-get update
apt-get install -y python3-dev

4
scratchablock/uninstall Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash -ex
ctf-tools-pip3 uninstall -y nose || true
ctf-tools-pip3 uninstall -y pyyaml || true