Compare commits

21 Commits

Author SHA1 Message Date
8064512e6a Update version 2023-02-16 13:11:47 -05:00
6f86da5a58 Update README 2023-02-16 13:06:25 -05:00
8a1387b9a0 Add go/pip install if missing 2023-02-16 13:03:35 -05:00
3de4bcab1f Add Bitwarden 2023-02-16 12:50:39 -05:00
901cd51ff4 Add openvpn alias 2023-02-15 15:59:38 -05:00
c8e587ef48 Add pwncat alias 2023-02-15 15:57:15 -05:00
f11ffe337f Simplify if statement 2023-02-15 15:50:51 -05:00
8ad487d77c Fix apt install 2023-02-15 15:48:47 -05:00
bcb9145d5b Add terminator 2023-02-15 15:48:30 -05:00
92595c03a5 Add ssh key generation options 2023-02-15 15:46:52 -05:00
82c2f91490 Update nuclei install 2023-02-11 06:35:55 -05:00
26480cad16 Update version 2023-02-11 06:06:20 -05:00
5a0b979b28 Update content lsit 2023-02-11 06:04:56 -05:00
1b0fe8fc01 update Readme 2023-02-11 06:01:16 -05:00
43a549c1ea Fix bug & add bash_aliases file check 2023-02-11 06:01:05 -05:00
02194a66eb Add rush install 2023-02-11 05:42:32 -05:00
5a80546285 Add sshuttle 2023-02-11 05:38:08 -05:00
306f0b01ca Update printf 2023-02-11 05:37:31 -05:00
4a722df494 Add new go software 2023-02-11 05:36:17 -05:00
ac7e898f8b Add obsidian 2023-02-11 05:33:38 -05:00
4e67ec5a2b Add wordlist 2023-02-11 05:33:17 -05:00
2 changed files with 67 additions and 40 deletions

View File

@ -4,12 +4,6 @@
# Quick Start
Before running the script make sure you have `go`, `pip` and `rust` installed.
```bash
# https://phoenixnap.com/kb/debian-install-go
sudo apt install python-pip # pip
curl https://sh.rustup.rs -sSf | sh # rust
```
To run the script use the following command:
```Bash
bash <(curl -L https://github.com/d3vyce/PenTools/releases/latest/download/pentools.sh)
@ -29,7 +23,8 @@ I'm working on a compatibility with CentOS and other distribution.
## Software
- Sublime Text
- Obsidian
- Chrome (+Extension: Dark Reader, FoxyProxy, WappAnalyser, Hack-Tools)
- Chrome (+Extension: Dark Reader, FoxyProxy, WappAnalyser, Hack-Tools, Bitwarden)
- Terminator
- FFUF
- PWNcat
- Chisel
@ -48,7 +43,12 @@ I'm working on a compatibility with CentOS and other distribution.
## Alias
- Python server file in pentools folder (command: `filesrv`)
- Open Sublime-Text (command : `sublime`) -> To open Sublime-Text in current folder : `sublime .`
- Open Sublime-Text (command: `sublime`) -> To open Sublime-Text in current folder : `sublime .`
- OpenVPN (command: `vpn [file.ovpn]`)
- Pwncat (command: `pwncat [port]`)
## Automation
- SSH keygen
# Contribute to the project
To participate in the project, you can propose new implementations of tools/binary/software/... via issues or merge request.

View File

@ -79,45 +79,56 @@ software() {
"external_update_url": "https://clients2.google.com/service/update2/crx"
}' > /opt/google/chrome/extensions/cmbndhnoonmghfofefkcccljbkdpamhi.json
printf ${GREEN}"[+] Chrome Extension: Bitwarden\n"
sudo touch /opt/google/chrome/extensions/nngceckbapebfimnlniiiahkandclblb.json
sudo chmod 646 /opt/google/chrome/extensions/nngceckbapebfimnlniiiahkandclblb.json
sudo echo '{
"external_update_url": "https://clients2.google.com/service/update2/crx"
}' > /opt/google/chrome/extensions/nngceckbapebfimnlniiiahkandclblb.json
printf ${GREEN}"[+] terminator\n"
sudo apt install terminator -y >/dev/null 2>&1
printf ${GREEN}"[+] sshuttle\n"
sudo apt install sshuttle >/dev/null 2>&1
sudo apt install sshuttle -y >/dev/null 2>&1
printf ${GREEN}"[+] nuclei\n"
sudo apt install nuclei >/dev/null 2>&1
sudo apt install nuclei -y >/dev/null 2>&1
if ! command -v go &> /dev/null
then
printf ${RED}"[x] Missing Go, skipping install of Fuff, Chisel and Nuclei...\n"
else
if ! command -v ffuf &> /dev/null
then
if ! command -v go &> /dev/null; then
printf ${GREEN}"[+] go\n"
wget https://go.dev/dl/go1.20.1.linux-amd64.tar.gz >/dev/null 2>&1
sudo tar -C /usr/local -xzf go1.20.1.linux-amd64.tar.gz >/dev/null 2>&1
rm go1.20.1.linux-amd64.tar.gz
echo 'export PATH=$PATH:/usr/local/go/bin' >> ~/.profile
source ~/.profile
fi
if ! command -v ffuf &> /dev/null; then
printf ${GREEN}"[+] ffuf\n"
go install github.com/ffuf/ffuf@latest >/dev/null 2>&1
else
printf ${ITALIC_LIGHT_CYAN}"[~] ffuf is already installed, skipping...\n"
fi
if ! command -v chisel &> /dev/null
then
if ! command -v chisel &> /dev/null; then
printf ${GREEN}"[+] chisel\n"
go install github.com/jpillora/chisel@latest >/dev/null 2>&1
else
printf ${ITALIC_LIGHT_CYAN}"[~] chisel is already installed, skipping...\n"
fi
if ! command -v pip &> /dev/null; then
printf ${GREEN}"[+] pip\n"
sudo apt install python-pip -y
fi
if ! command -v pip &> /dev/null
then
printf ${RED}"[x] Missing Pip, skipping install of PwnCat...\n"
else
if ! command -v pwncat-cs &> /dev/null
then
if ! command -v pwncat-cs &> /dev/null; then
printf ${GREEN}"[+] pwncat-cs\n"
sudo pip install pwncat-cs >/dev/null 2>&1
else
printf ${ITALIC_LIGHT_CYAN}"[~] pwncat-cs is already installed, skipping...\n"
fi
fi
}
tools() {
@ -169,6 +180,12 @@ aliascmd() {
printf ${GREEN}"[+] sublime\n"
echo "alias sublime='/opt/sublime_text/sublime_text'" >> ~/.bash_aliases
printf ${GREEN}"[+] pwncat [port]\n"
echo "alias sublime='sudo pwncat-cs --listen --port '" >> ~/.bash_aliases
printf ${GREEN}"[+] openvpn [file.ovpn]\n"
echo "alias sublime='sudo openvpn '" >> ~/.bash_aliases
echo "# https://github.com/d3vyce/pentools" >> ~/.bash_aliases
source ~/.bash_aliases
}
@ -182,7 +199,7 @@ printf "${YELLOW}
/_/ \___/_/ /_/_/ \____/\____/_/____/
---------------------------------------------
v1.1 - ${ITALIC}https://github.com/d3vyce/pentools \n
v1.2 - ${ITALIC}https://github.com/d3vyce/pentools \n
"
printf ${YELLOW}"[*]${BLUE} What do you want to install?\n"
@ -200,6 +217,9 @@ PWD=$(pwd)
read -p "${BLUE}Target [${YELLOW}$PWD${BLUE}]: ${YELLOW}" TARGET
TARGET=${TARGET:-$PWD}
read -p "${BLUE}Do you want to generate SSH key? (y/n) [${YELLOW}y${BLUE}]: ${YELLOW}" SSH_GEN
SSH_GEN=${SSH_GEN:-y}
case $CHOICE in
1)
wordlist
@ -227,3 +247,10 @@ case $CHOICE in
printf "${RED}[x] Select an option between 1 and 6"
;;
esac
if [ SSH_GEN -eq 'y' ]; then
printf ${GREEN}"[+] Creation of your ssh key pair...\n"
ssh-keygen -q -t rsa -N '' -f ~/.ssh/id_rsa >/dev/null 2>&1
printf "${ITALIC_LIGHT_CYAN}"
cat ~/.ssh/id_rsa.pub
fi