mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-14 19:55:19 +00:00
Merge branch 'master' into patch-3
This commit is contained in:
commit
500fa3be75
8
.github/workflows/lint_python.yml
vendored
8
.github/workflows/lint_python.yml
vendored
@ -5,7 +5,9 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
- run: pip install --upgrade pip wheel
|
||||
- run: pip install bandit black codespell flake8 flake8-bugbear flake8-return
|
||||
flake8-comprehensions isort mypy pytest pyupgrade safety
|
||||
@ -15,9 +17,9 @@ jobs:
|
||||
- run: flake8 --ignore=E124,E128,E225,E251,E302,R502,R503,W291,W293,W605
|
||||
--max-complexity=11 --max-line-length=265 --show-source --statistics .
|
||||
- run: isort --check-only --profile black . || true
|
||||
- run: pip install -r requirements.txt || pip install --editable . || pip install . || true
|
||||
- run: pip install -r requirement.txt || pip install -r requirements.txt || pip install --editable . || pip install . || true
|
||||
- run: mkdir --parents --verbose .mypy_cache
|
||||
- run: mypy --ignore-missing-imports --install-types --non-interactive . || true
|
||||
- run: mypy --ignore-missing-imports --install-types --non-interactive .
|
||||
- run: pytest . || true
|
||||
- run: pytest --doctest-modules . || true
|
||||
- run: shopt -s globstar && pyupgrade --py36-plus **/*.py || true
|
||||
|
@ -70,7 +70,8 @@
|
||||
- [Striker](https://github.com/s0md3v/Striker)
|
||||
- [SecretFinder (like API & etc)](https://github.com/m4ll0k/SecretFinder)
|
||||
- [Find Info Using Shodan](https://github.com/m4ll0k/Shodanfy.py)
|
||||
- [Port Scanner - rang3r](https://github.com/floriankunushevci/rang3r)
|
||||
- [Port Scanner - rang3r (Python 2.7)](https://github.com/floriankunushevci/rang3r)
|
||||
- [Port Scanner - Ranger Reloaded (Python 3+)](https://github.com/joeyagreco/ranger-reloaded)
|
||||
- [Breacher](https://github.com/s0md3v/Breacher)
|
||||
### Wordlist Generator
|
||||
- [Cupp](https://github.com/Mebus/cupp.git)
|
||||
|
@ -3,7 +3,7 @@ import re
|
||||
|
||||
from core import HackingTool
|
||||
from core import HackingToolsCollection
|
||||
from main import all_tools
|
||||
from hackingtool import all_tools
|
||||
|
||||
|
||||
def sanitize_anchor(s):
|
||||
|
@ -105,13 +105,13 @@ if __name__ == "__main__":
|
||||
if not os.path.exists(archive):
|
||||
os.mkdir(archive)
|
||||
os.chdir(archive)
|
||||
all_tools = AllTools()
|
||||
all_tools.show_options()
|
||||
AllTools().show_options()
|
||||
|
||||
# If not Linux and probably Windows
|
||||
elif system() == "Windows":
|
||||
print(
|
||||
"\033[91m Please Run This Tool On A Debian System For Best Results " "\e[00m")
|
||||
r"\033[91m Please Run This Tool On A Debian System For Best Results\e[00m"
|
||||
)
|
||||
sleep(2)
|
||||
webbrowser.open_new_tab("https://tinyurl.com/y522modc")
|
||||
|
||||
|
85
install.sh
85
install.sh
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
clear
|
||||
|
||||
BLACK='\e[30m'
|
||||
@ -26,11 +29,8 @@ echo " ███ █▀ ███ █▀ ████████
|
||||
echo " ▀ ▀ ";
|
||||
|
||||
echo -e "${BLUE} https://github.com/Z4nzu/hackingtool ${NC}"
|
||||
|
||||
echo -e "${RED} [!] This Tool Must Run As ROOT [!]${NC}"
|
||||
echo ""
|
||||
echo -e ${CYAN} "Select Best Option : "
|
||||
echo ""
|
||||
echo -e "${RED} [!] This Tool Must Run As ROOT [!]${NC}\n"
|
||||
echo -e ${CYAN} "Select Best Option : \n"
|
||||
echo -e "${WHITE} [1] Kali Linux / Parrot-Os (apt)"
|
||||
echo -e "${WHITE} [2] Arch Linux (pacman)" # added arch linux support because of feature request #231
|
||||
echo -e "${WHITE} [0] Exit "
|
||||
@ -42,15 +42,15 @@ if [ $choice == 1 ] || [ $choice == 2 ]; then
|
||||
echo "[*] Checking Internet Connection .."
|
||||
wget -q --tries=10 --timeout=20 --spider https://google.com
|
||||
if [[ $? == 0 ]]; then
|
||||
echo -e ${BLUE}"[✔] Loading ... "
|
||||
if [ $choice == 1 ]; then
|
||||
sudo apt-get update && apt-get upgrade
|
||||
sudo apt-get install python3-pip
|
||||
elif [ $choice == 2 ]; then # added arch linux support because of feature request #231
|
||||
sudo pacman -Suy
|
||||
sudo pacman -S python-pip
|
||||
sudo pacman -S yay
|
||||
fi
|
||||
echo -e ${BLUE}"[✔] Loading ... "
|
||||
if [ $choice == 1 ]; then
|
||||
sudo apt-get update -y && apt-get upgrade -y
|
||||
sudo apt-get install python3-pip -y
|
||||
elif [ $choice == 2 ]; then # added arch linux support because of feature request #231
|
||||
sudo pacman -Suy
|
||||
sudo pacman -S python-pip yay
|
||||
fi
|
||||
|
||||
echo "[✔] Checking directories..."
|
||||
if [ -d "$INSTALL_DIR" ]; then
|
||||
echo "[!] A Directory hackingtool Was Found.. Do You Want To Replace It ? [y/n]:" ;
|
||||
@ -61,45 +61,36 @@ if [ $choice == 1 ] || [ $choice == 2 ]; then
|
||||
exit
|
||||
fi
|
||||
fi
|
||||
echo "[✔] Installing ...";
|
||||
echo "";
|
||||
sudo git clone https://github.com/Z4nzu/hackingtool.git "$INSTALL_DIR";
|
||||
echo "#!/bin/bash
|
||||
python3 $INSTALL_DIR/hackingtool.py" '${1+"$@"}' > hackingtool;
|
||||
sudo chmod +x hackingtool;
|
||||
sudo cp hackingtool /usr/bin/;
|
||||
rm hackingtool;
|
||||
echo "";
|
||||
echo "[✔] Trying to installing Requirements ..."
|
||||
if [ $choice == 1 ]; then
|
||||
sudo pip3 install lolcat
|
||||
sudo apt-get install -y figlet
|
||||
sudo pip3 install boxes
|
||||
sudo apt-get install boxes
|
||||
sudo pip3 install flask
|
||||
sudo pip3 install requests
|
||||
elif [ $choice == 2 ]; then # added arch linux support because of feature request #231
|
||||
sudo pip3 install lolcat
|
||||
sudo pacman -S figlet
|
||||
sudo pip3 install boxes
|
||||
yay -S boxes --noconfirm
|
||||
sudo pip3 install flask
|
||||
sudo pip3 install requests
|
||||
fi
|
||||
|
||||
echo "[✔] Installing ...\n";
|
||||
sudo git clone https://github.com/Z4nzu/hackingtool.git "$INSTALL_DIR";
|
||||
echo "#!/bin/bash
|
||||
python3 $INSTALL_DIR/hackingtool.py" '${1+"$@"}' > hackingtool;
|
||||
sudo chmod +x hackingtool;
|
||||
sudo cp hackingtool /usr/bin/ && rm hackingtool;
|
||||
|
||||
echo "\n[✔] Trying to installing Requirements ..."
|
||||
if [ $choice == 1 ]; then
|
||||
sudo pip3 install lolcat boxes flask requests
|
||||
sudo apt-get install -y figlet
|
||||
elif [ $choice == 2 ]; then # added arch linux support because of feature request #231
|
||||
sudo pip3 install lolcat boxes flask requests
|
||||
yay -S boxes --noconfirm
|
||||
sudo pacman -S figlet
|
||||
fi
|
||||
|
||||
else
|
||||
echo -e $RED "Please Check Your Internet Connection ..!!"
|
||||
fi
|
||||
|
||||
if [ -d "$INSTALL_DIR" ]; then
|
||||
echo "";
|
||||
echo "[✔] Successfully Installed !!! ";
|
||||
echo "";
|
||||
echo "";
|
||||
echo -e $ORANGE " [+]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[+]"
|
||||
echo " [+] [+]"
|
||||
echo -e $ORANGE " [+] ✔✔✔ Now Just Type In Terminal (hackingtool) ✔✔✔ [+]"
|
||||
echo " [+] [+]"
|
||||
echo -e $ORANGE " [+]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[+]"
|
||||
echo "[✔] Successfully Installed !!! \n\n";
|
||||
echo -e $ORANGE " [+]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[+]"
|
||||
echo " [+] [+]"
|
||||
echo -e $ORANGE " [+] ✔✔✔ Now Just Type In Terminal (hackingtool) ✔✔✔ [+]"
|
||||
echo " [+] [+]"
|
||||
echo -e $ORANGE " [+]+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++[+]"
|
||||
else
|
||||
echo "[✘] Installation Failed !!! [✘]";
|
||||
exit
|
||||
|
@ -8,10 +8,10 @@ from core import HackingToolsCollection
|
||||
class Autopsy(HackingTool):
|
||||
TITLE = "Autopsy"
|
||||
DESCRIPTION = "Autopsy is a platform that is used by Cyber Investigators.\n" \
|
||||
"[!] Works in any Os\n" \
|
||||
"[!] Recover Deleted Files from any OS & MEdia \n" \
|
||||
"[!] Works in any OS\n" \
|
||||
"[!] Recover Deleted Files from any OS & Media \n" \
|
||||
"[!] Extract Image Metadata"
|
||||
RUN_COMMANDS = "sudo autopsy"
|
||||
RUN_COMMANDS = ["sudo autopsy"]
|
||||
|
||||
def __init__(self):
|
||||
super(Autopsy, self).__init__(installable = False)
|
||||
|
@ -32,13 +32,13 @@ class HiddenEye(HackingTool):
|
||||
TITLE = "HiddenEye"
|
||||
DESCRIPTION = "Modern Phishing Tool With Advanced Functionality And " \
|
||||
"Multiple Tunnelling Services \n" \
|
||||
"\t [!]https://github.com/DarkSecDevelopers/HiddenEye"
|
||||
"\t [!]https://github.com/Morsmalleo/HiddenEye"
|
||||
INSTALL_COMMANDS = [
|
||||
"sudo git clone https://github.com/DarkSecDevelopers/HiddenEye.git ;sudo chmod 777 HiddenEye",
|
||||
"sudo git clone https://github.com/Morsmalleo/HiddenEye.git ;sudo chmod 777 HiddenEye",
|
||||
"cd HiddenEye;sudo pip3 install -r requirements.txt;sudo pip3 install requests;pip3 install pyngrok"
|
||||
]
|
||||
RUN_COMMANDS = ["cd HiddenEye;sudo python3 HiddenEye.py"]
|
||||
PROJECT_URL = "https://github.com/DarkSecDevelopers/HiddenEye"
|
||||
PROJECT_URL = "https://github.com/Morsmalleo/HiddenEye.git"
|
||||
|
||||
|
||||
class Evilginx2(HackingTool):
|
||||
|
Loading…
Reference in New Issue
Block a user