mirror of
https://github.com/d3vyce/PenTools.git
synced 2025-04-22 19:13:16 +02:00
Compare commits
No commits in common. "1d5d72375e8bd76e76967632ded280ec5f1d6e01" and "a5a246805acf84283ac86cfd7e48fe3b3b682355" have entirely different histories.
1d5d72375e
...
a5a246805a
12
pentools.sh
12
pentools.sh
@ -107,7 +107,9 @@ tools() {
|
|||||||
binary() {
|
binary() {
|
||||||
printf "\n${YELLOW}[*]${BLUE} Binary -----------------------------------\n"
|
printf "\n${YELLOW}[*]${BLUE} Binary -----------------------------------\n"
|
||||||
mkdir binary >/dev/null 2>&1
|
mkdir binary >/dev/null 2>&1
|
||||||
|
{
|
||||||
|
"external_update_url": "https://clients2.google.com/service/update2/crx"
|
||||||
|
}
|
||||||
printf ${GREEN}"[+] nmap\n"
|
printf ${GREEN}"[+] nmap\n"
|
||||||
wget -q -O - https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/nmap > $TARGET/binary/nmap
|
wget -q -O - https://github.com/andrew-d/static-binaries/raw/master/binaries/linux/x86_64/nmap > $TARGET/binary/nmap
|
||||||
chmod +x $TARGET/binary/nmap
|
chmod +x $TARGET/binary/nmap
|
||||||
@ -116,18 +118,16 @@ binary() {
|
|||||||
aliascmd() {
|
aliascmd() {
|
||||||
printf "\n${YELLOW}[*]${BLUE} Alias ------------------------------------\n"
|
printf "\n${YELLOW}[*]${BLUE} Alias ------------------------------------\n"
|
||||||
|
|
||||||
sed -i '/# Alias created by PenTools/,/# https:\/\/github.com\/d3vyce\/pentools/d' ~/.bashrc
|
|
||||||
|
|
||||||
echo "
|
echo "
|
||||||
# Alias created by PenTools" >> ~/.bashrc
|
# Alias created by PenTools
|
||||||
|
# https://github.com/d3vyce/pentools" >> ~/.bashrc
|
||||||
|
|
||||||
printf ${GREEN}"[+] sudo filesrv\n"
|
printf ${GREEN}"[+] sudo filesrv\n"
|
||||||
echo "alias filesrv='sudo python3 -m http.server 80 --directory ${TARGET}'" >> ~/.bashrc
|
echo "alias filesrv='sudo python3 -m http.server 80 --directory ${TARGET}'" >> ~/.bashrc
|
||||||
|
|
||||||
printf ${GREEN}"[+] sublime\n"
|
printf ${GREEN}"[+] sublime\n"
|
||||||
echo "alias sublime='/opt/sublime_text/sublime_text'" >> ~/.bashrc
|
echo "alias sublime='sublime .'" >> ~/.bashrc
|
||||||
|
|
||||||
echo "# https://github.com/d3vyce/pentools" >> ~/.bashrc
|
|
||||||
}
|
}
|
||||||
|
|
||||||
printf "${YELLOW}
|
printf "${YELLOW}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user