Skip to content

Commit

Permalink
chore: update setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
the-soloist committed Apr 2, 2024
1 parent 701a5ad commit cfacdfe
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,27 +23,14 @@ function sync-git-repo() {

### init ###

mkdir -p ./config/tmux/plugins
mkdir -p ./config/tmux/themes
mkdir -p ./config/tmux/{plugins,themes}
mkdir -p ./deps/python-package
mkdir -p ./docker/tools/gdb/plugins
mkdir -p ./share
mkdir -p ./share/tools
mkdir -p ./ssh
echo "REPLACE THIS FILE" >./ssh/authorized_keys

### download ###

# @ python package
pushd ./deps/python-package >/dev/null
sync-git-repo https://github.com/the-soloist/pwn-toolkit pwnkit
popd >/dev/null

# @ tools
pushd ./docker/tools/ >/dev/null
sync-git-repo https://github.com/matrix1001/glibc-all-in-one
sync-git-repo https://github.com/niklasb/libc-database
sync-git-repo https://github.com/NixOS/patchelf
popd >/dev/null
### download(private) ###

# @ gdb plugins
pushd ./docker/tools/gdb/plugins/ >/dev/null
Expand All @@ -54,6 +41,8 @@ sync-git-repo https://github.com/longld/peda
sync-git-repo https://github.com/scwuaptx/Pwngdb
popd

### download(shared) ###

# @ tmux plugins
pushd ./config/tmux/plugins/ >/dev/null
sync-git-repo https://github.com/thewtex/tmux-mem-cpu-load
Expand All @@ -68,6 +57,18 @@ pushd ./config/tmux/themes/ >/dev/null
sync-git-repo https://github.com/dracula/tmux tmux-dracula
popd >/dev/null

# @ python package
pushd ./deps/python-package/ >/dev/null
sync-git-repo https://github.com/the-soloist/pwn-toolkit pwnkit
popd >/dev/null

# @ tools
pushd ./deps/tools/ >/dev/null
sync-git-repo https://github.com/NixOS/patchelf
sync-git-repo https://github.com/matrix1001/glibc-all-in-one
sync-git-repo https://github.com/niklasb/libc-database
popd >/dev/null

### compile ###

# @ tmux-mem-cpu-load
Expand Down

0 comments on commit cfacdfe

Please sign in to comment.