Compare commits

..

No commits in common. "8064512e6ac368ba016e8aebf8e462c02bd0912e" and "c8e587ef483c431d9d93851c214cd13714b3bb06" have entirely different histories.

2 changed files with 29 additions and 45 deletions

View File

@ -4,6 +4,12 @@
# 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)
@ -23,8 +29,7 @@ I'm working on a compatibility with CentOS and other distribution.
## Software
- Sublime Text
- Obsidian
- Chrome (+Extension: Dark Reader, FoxyProxy, WappAnalyser, Hack-Tools, Bitwarden)
- Terminator
- Chrome (+Extension: Dark Reader, FoxyProxy, WappAnalyser, Hack-Tools)
- FFUF
- PWNcat
- Chisel
@ -43,12 +48,7 @@ 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 .`
- OpenVPN (command: `vpn [file.ovpn]`)
- Pwncat (command: `pwncat [port]`)
## Automation
- SSH keygen
- Open Sublime-Text (command : `sublime`) -> To open Sublime-Text in current folder : `sublime .`
# 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,13 +79,6 @@ 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
@ -96,38 +89,32 @@ software() {
sudo apt install nuclei -y >/dev/null 2>&1
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
printf ${RED}"[x] Missing Go, skipping install of Fuff, Chisel and Nuclei...\n"
else
printf ${ITALIC_LIGHT_CYAN}"[~] ffuf is already installed, skipping...\n"
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
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"
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
fi
if ! command -v pip &> /dev/null; then
printf ${GREEN}"[+] pip\n"
sudo apt install python-pip -y
fi
if ! command -v pwncat-cs &> /dev/null; then
printf ${GREEN}"[+] pwncat-cs\n"
sudo pip install pwncat-cs >/dev/null 2>&1
printf ${RED}"[x] Missing Pip, skipping install of PwnCat...\n"
else
printf ${ITALIC_LIGHT_CYAN}"[~] pwncat-cs is already installed, skipping...\n"
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
}
@ -183,9 +170,6 @@ aliascmd() {
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
}
@ -199,7 +183,7 @@ printf "${YELLOW}
/_/ \___/_/ /_/_/ \____/\____/_/____/
---------------------------------------------
v1.2 - ${ITALIC}https://github.com/d3vyce/pentools \n
v1.1 - ${ITALIC}https://github.com/d3vyce/pentools \n
"
printf ${YELLOW}"[*]${BLUE} What do you want to install?\n"