File tree 2 files changed +28
-0
lines changed
2 files changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ Installers for the following tools are included:
27
27
| binary | [ hongfuzz] ( https://github.com/google/honggfuzz ) | A general-purpose, easy-to-use fuzzer with interesting analysis options. | <!-- tool--> <!-- test-->
28
28
| binary | [ libheap] ( https://github.com/cloudburst/libheap ) | gdb python library for examining the glibc heap (ptmalloc) | <!-- tool--> <!-- no-test-->
29
29
| binary | [ miasm] ( https://github.com/cea-sec/miasm ) | Reverse engineering framework in Python. | <!-- tool--> <!-- test-->
30
+ | binary | [ one_gadget] ( https://github.com/david942j/one_gadget ) | Magic gadget search for libc. | <!-- tool--> <!-- test-->
30
31
| binary | [ panda] ( https://github.com/moyix/panda ) | Platform for Architecture-Neutral Dynamic Analysis. | <!-- tool--> <!-- no-test-->
31
32
| binary | [ pathgrind] ( https://github.com/codelion/pathgrind ) | Path-based, symbolically-assisted fuzzer. | <!-- tool--> <!-- failing-->
32
33
| binary | [ peda] ( https://github.com/longld/peda ) | Enhanced environment for gdb. | <!-- tool--> <!-- test-->
Original file line number Diff line number Diff line change
1
+ #! /bin/bash -ex
2
+
3
+ gem install --user-install one_gadget
4
+
5
+ GEM_BIN_PATH=$( gem environment | grep " USER INSTALL" | awk -F ' : ' ' { print $2 }' ) /bin
6
+
7
+ MAGIC=" # ctf-tools: gem install"
8
+ for f in ~ /.bashrc ~ /.zshrc; do
9
+ if [[ -e " $f " ]]; then
10
+ if ! grep " $MAGIC " " $f " > /dev/null 2>&1 ; then
11
+ cat >> " $f " << EOF
12
+ $MAGIC
13
+ export PATH=\$ PATH:$GEM_BIN_PATH
14
+ EOF
15
+ fi
16
+ fi
17
+ done
18
+
19
+ f=~ /.config/fish/config.fish
20
+ if [[ -e " $f " ]]; then
21
+ if ! grep " $MAGIC " " $f " > /dev/null 2>&1 ; then
22
+ cat >> " $f " << EOF
23
+ $MAGIC
24
+ set -x PATH \$ PATH $GEM_BIN_PATH
25
+ EOF
26
+ fi
27
+ fi
You can’t perform that action at this time.
0 commit comments