From a1383359e02dd1fed6ebe466e78397abb42c35bc Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sat, 8 Nov 2025 15:40:45 +0100 Subject: Clean up readmes --- Debian.md | 74 ++++++++++++++++++++++++++++----------------------------------- 1 file changed, 33 insertions(+), 41 deletions(-) (limited to 'Debian.md') diff --git a/Debian.md b/Debian.md index a88f1d3..aa7fdd7 100644 --- a/Debian.md +++ b/Debian.md @@ -1,10 +1,8 @@ -# ParrotOS -```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 +# Extras + +## ParrotOS +```bash # Setup extra PenTools ## SecLists git clone https://github.com/danielmiessler/SecLists.git ~/SecLists @@ -27,44 +25,38 @@ 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 ``` -# Extras : -## Essentials -- 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 +## TailsOS -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 -``` +## GPG restore smart key -- Configure rc files ```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 git@git.sr.ht:~a14m/.rc +$ zbarcam -1 --raw > key.asc +$ gpg --import key.asc +$ gpg --edit-key --expert +gpg> trust +gpg> keytocard +Really move the primary key? (y/N) y +Please select where to store the key: + (1) Signature key + (3) Authentication key +Your selection? 1 +... +gpg> key 1 +gpg> keytocard +Please select where to store the key: + (2) Encryption key +Your selection? 2 +... +gpg> key 1 +gpg> key 2 +gpg> keytocard +Please select where to store the key: + (3) Authentication key +Your selection? 3 +... + +gpg> quit +Save changes? (y/N) y ``` -- cgit v1.2.3