mirror of
https://github.com/zardus/ctf-tools
synced 2024-11-10 08:24:12 +00:00
add seccomp-tools
This commit is contained in:
parent
f986af55fb
commit
7ee664a0dc
2 changed files with 28 additions and 0 deletions
|
@ -43,6 +43,7 @@ Installers for the following tools are included:
|
|||
| 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 | [seccomp-tools](https://github.com/david942j/seccomp-tools) | Provides powerful tools for seccomp analysis | <!--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-->
|
||||
|
|
27
seccomp-tools/install
Normal file
27
seccomp-tools/install
Normal file
|
@ -0,0 +1,27 @@
|
|||
#!/bin/bash -ex
|
||||
|
||||
gem install --user-install seccomp-tools
|
||||
|
||||
GEM_BIN_PATH=$(gem environment | grep "USER INSTALL" | awk -F ': ' '{ print $2 }')/bin
|
||||
|
||||
MAGIC="# ctf-tools: gem install"
|
||||
for f in ~/.bashrc ~/.zshrc; do
|
||||
if [[ -e "$f" ]]; then
|
||||
if ! grep "$MAGIC" "$f" >/dev/null 2>&1; then
|
||||
cat >> "$f" << EOF
|
||||
$MAGIC
|
||||
export PATH=\$PATH:$GEM_BIN_PATH
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
done
|
||||
|
||||
f=~/.config/fish/config.fish
|
||||
if [[ -e "$f" ]]; then
|
||||
if ! grep "$MAGIC" "$f" >/dev/null 2>&1; then
|
||||
cat >> "$f" << EOF
|
||||
$MAGIC
|
||||
set -x PATH \$PATH $GEM_BIN_PATH
|
||||
EOF
|
||||
fi
|
||||
fi
|
Loading…
Reference in a new issue