mirror of
https://github.com/d3vyce/PenTools.git
synced 2025-07-04 19:08:20 +02:00
Compare commits
1 Commits
c8e587ef48
...
v1.1
Author | SHA1 | Date | |
---|---|---|---|
8008001995 |
35
pentools.sh
35
pentools.sh
@ -79,26 +79,26 @@ software() {
|
|||||||
"external_update_url": "https://clients2.google.com/service/update2/crx"
|
"external_update_url": "https://clients2.google.com/service/update2/crx"
|
||||||
}' > /opt/google/chrome/extensions/cmbndhnoonmghfofefkcccljbkdpamhi.json
|
}' > /opt/google/chrome/extensions/cmbndhnoonmghfofefkcccljbkdpamhi.json
|
||||||
|
|
||||||
printf ${GREEN}"[+] terminator\n"
|
|
||||||
sudo apt install terminator -y >/dev/null 2>&1
|
|
||||||
|
|
||||||
printf ${GREEN}"[+] sshuttle\n"
|
printf ${GREEN}"[+] sshuttle\n"
|
||||||
sudo apt install sshuttle -y >/dev/null 2>&1
|
sudo apt install sshuttle >/dev/null 2>&1
|
||||||
|
|
||||||
printf ${GREEN}"[+] nuclei\n"
|
printf ${GREEN}"[+] nuclei\n"
|
||||||
sudo apt install nuclei -y >/dev/null 2>&1
|
sudo apt install nuclei >/dev/null 2>&1
|
||||||
|
|
||||||
if ! command -v go &> /dev/null; then
|
if ! command -v go &> /dev/null
|
||||||
|
then
|
||||||
printf ${RED}"[x] Missing Go, skipping install of Fuff, Chisel and Nuclei...\n"
|
printf ${RED}"[x] Missing Go, skipping install of Fuff, Chisel and Nuclei...\n"
|
||||||
else
|
else
|
||||||
if ! command -v ffuf &> /dev/null; then
|
if ! command -v ffuf &> /dev/null
|
||||||
|
then
|
||||||
printf ${GREEN}"[+] ffuf\n"
|
printf ${GREEN}"[+] ffuf\n"
|
||||||
go install github.com/ffuf/ffuf@latest >/dev/null 2>&1
|
go install github.com/ffuf/ffuf@latest >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
printf ${ITALIC_LIGHT_CYAN}"[~] ffuf is already installed, skipping...\n"
|
printf ${ITALIC_LIGHT_CYAN}"[~] ffuf is already installed, skipping...\n"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v chisel &> /dev/null; then
|
if ! command -v chisel &> /dev/null
|
||||||
|
then
|
||||||
printf ${GREEN}"[+] chisel\n"
|
printf ${GREEN}"[+] chisel\n"
|
||||||
go install github.com/jpillora/chisel@latest >/dev/null 2>&1
|
go install github.com/jpillora/chisel@latest >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
@ -106,10 +106,12 @@ software() {
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! command -v pip &> /dev/null; then
|
if ! command -v pip &> /dev/null
|
||||||
|
then
|
||||||
printf ${RED}"[x] Missing Pip, skipping install of PwnCat...\n"
|
printf ${RED}"[x] Missing Pip, skipping install of PwnCat...\n"
|
||||||
else
|
else
|
||||||
if ! command -v pwncat-cs &> /dev/null; then
|
if ! command -v pwncat-cs &> /dev/null
|
||||||
|
then
|
||||||
printf ${GREEN}"[+] pwncat-cs\n"
|
printf ${GREEN}"[+] pwncat-cs\n"
|
||||||
sudo pip install pwncat-cs >/dev/null 2>&1
|
sudo pip install pwncat-cs >/dev/null 2>&1
|
||||||
else
|
else
|
||||||
@ -167,9 +169,6 @@ aliascmd() {
|
|||||||
printf ${GREEN}"[+] sublime\n"
|
printf ${GREEN}"[+] sublime\n"
|
||||||
echo "alias sublime='/opt/sublime_text/sublime_text'" >> ~/.bash_aliases
|
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
|
|
||||||
|
|
||||||
echo "# https://github.com/d3vyce/pentools" >> ~/.bash_aliases
|
echo "# https://github.com/d3vyce/pentools" >> ~/.bash_aliases
|
||||||
source ~/.bash_aliases
|
source ~/.bash_aliases
|
||||||
}
|
}
|
||||||
@ -201,9 +200,6 @@ PWD=$(pwd)
|
|||||||
read -p "${BLUE}Target [${YELLOW}$PWD${BLUE}]: ${YELLOW}" TARGET
|
read -p "${BLUE}Target [${YELLOW}$PWD${BLUE}]: ${YELLOW}" TARGET
|
||||||
TARGET=${TARGET:-$PWD}
|
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
|
case $CHOICE in
|
||||||
1)
|
1)
|
||||||
wordlist
|
wordlist
|
||||||
@ -231,10 +227,3 @@ case $CHOICE in
|
|||||||
printf "${RED}[x] Select an option between 1 and 6"
|
printf "${RED}[x] Select an option between 1 and 6"
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
|
Reference in New Issue
Block a user