diff options
Diffstat (limited to 'Debian.md')
| -rw-r--r-- | Debian.md | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/Debian.md b/Debian.md new file mode 100644 index 0000000..3a85ba5 --- /dev/null +++ b/Debian.md @@ -0,0 +1,71 @@ +# Prerequisites : +- Add missing dependencies +```bash +sudo apt remove neovim -y +sudo apt update -y +sudo apt upgrade -y +sudo reboot +sudo apt install scdaemon vim htop tmux pass pass-extension-otp git-crypt pinentry-tty -y +git clone https://git.sr.ht/~a14m/.rc ~/.rc +ln -sf ~/.rc/.bashrc ~/.bashrc + +sudo ln -sf /usr/bin/pinentry-tty /usr/local/bin/pinentry-tty +sudo ln -sf /usr/bin/pinentry-curses /usr/local/bin/pinentry-curses +ln -sf ~/.rc/.gnupg/gpg.conf ~/.gnupg/gpg.conf +``` + +# Installation : +## Essentials +```bash +ln -sf ~/.rc/.editorconfig ~/.editorconfig +ln -sf ~/.rc/.inputrc ~/.inputrc +ln -sf ~/.rc/.screenrc ~/.screenrc +ln -sf ~/.rc/.tmux.conf ~/.tmux.conf + +ln -sf ~/.rc/.gitconfig ~/.gitconfig +ln -sf ~/.rc/.gitconfig.work.inc ~/.gitconfig.work.inc +ln -sf ~/.rc/.gitignore_global ~/.gitignore_global + +mkdir -p ~/.ssh + +mkdir -p ~/.config/htop +ln -sf ~/.rc/.config/htop/htoprc ~/.config/htop/htoprc +cd ~/.rc +git remote remove origin +git remote add origin [email protected]:~a14m/.rc +``` + +## ParrotOS (extras) +```bash +# Allow ssh into the machine +curl https://meta.sr.ht/~a14m.keys > ~/.ssh/authorized_keys +sudo ln -sf ~/.rc/etc/ssh/sshd_config /etc/ssh/sshd_config +sudo systemctl enable ssh + +# Setup extra PenTools +## SecLists +git clone https://github.com/danielmiessler/SecLists.git ~/SecLists +sudo mv ~/SecLists /usr/share/ + +## Arsenal +git clone https://github.com/Orange-Cyberdefense/arsenal.git ~/arsenal +sudo mv ~/arsenal /usr/share/ +cd /usr/share/arsenal/ +python3 -m pip install -r requirements.txt + +## searchsploit +sudo git clone https://github.com/offensive-security/exploitdb.git /opt/exploitdb +sudo ln -sf /opt/exploitdb/searchsploit /usr/local/bin/searchsploit +cp -n /opt/exploitdb/.searchsploit_rc ~/ + +## ffuf +sudo apt install ffuf -y + +## dotdotpwn.pl +git clone https://github.com/wireghoul/dotdotpwn.git ~/dotdotpwn +sudo mv ~/dotdotpwn /opt/ + +## Thefuck +sudo pip3 install thefuck +``` + |
