Underc0de

Foros Generales => Dudas y pedidos generales => Mensaje iniciado por: Blest777 en Marzo 03, 2016, 04:50:30 AM

Título: No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: Blest777 en Marzo 03, 2016, 04:50:30 AM
Hola. Estoy tratando de instalar este programa en Ubuntu:

$ git clone https://github.com/P0cL4bs/3vilTwinAttacker.git
$ cd 3vilTwinAttacker
$ sudo chmod +x installer.sh
$ sudo ./installer.sh --install

Se instala todo bien, pero cuando quiero ejecutarlo para abrirlo con:

python 3vilTwinAttacker.py

Me tira el siguiente error:

blest@blest-VPCEE3WFX:~/3vilTwinAttacker$ python 3vilTwinAttacker.py
python: can't open file '3vilTwinAttacker.py': [Errno 2] No such file or directory

Que estoy haciendo mal? como puedo solucionar esto?

Gracias de antemano
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: backd0r en Marzo 03, 2016, 05:41:44 AM
No tienes permitido ver enlaces. Registrate o Entra a tu cuenta
Hola. Estoy tratando de instalar este programa en Ubuntu:

$ git clone https://github.com/P0cL4bs/3vilTwinAttacker.git
$ cd 3vilTwinAttacker
$ sudo chmod +x installer.sh
$ sudo ./installer.sh --install

Se instala todo bien, pero cuando quiero ejecutarlo para abrirlo con:

python 3vilTwinAttacker.py

Me tira el siguiente error:

blest@blest-VPCEE3WFX:~/3vilTwinAttacker$ python 3vilTwinAttacker.py
python: can't open file '3vilTwinAttacker.py': [Errno 2] No such file or directory

Que estoy haciendo mal? como puedo solucionar esto?

Gracias de antemano


Hola Blest777, el archivo que estas llamado para ejecutar no existe, 
hace un momento la instalé y no se llama igual a como la tienes tu, seguí tus pasos.
La herramienta es Wifi-Pumpkin.. para correr la interfaz es exactamente como lo hace
solo que con el nombre del archivo que es: wifi-pumpkin.py, asegurate de tener
todos los requerimientos para poder correrla.

Tú código seria algo así:
blest@blest-VPCEE3WFX:~/3vilTwinAttacker$ python wifi-pumpkin.py
En caso de no poderlo ejecutar dale permisos con chmod +x wifi-pumpkin.py

Saludos.
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: Blest777 en Marzo 03, 2016, 04:32:17 PM
root@blest-VPCEE3WFX:~# cd 3vilTwinAttacker
root@blest-VPCEE3WFX:~/3vilTwinAttacker# ls
CHANGELOG        Icons         Logs     Proxy             Settings
CONTRIBUTING.md  installer.sh  Modules  README.md         Templates
Core             LICENSE       Plugins  requirements.txt  wifi-pumpkin.py
root@blest-VPCEE3WFX:~/3vilTwinAttacker# chmod +x wifi-pumpkin.py
root@blest-VPCEE3WFX:~/3vilTwinAttacker# python wifi-pumpkin.py
Traceback (most recent call last):
  File "wifi-pumpkin.py", line 5, in <module>
    from Core.Main import Initialize
  File "/root/3vilTwinAttacker/Core/Main.py", line 3, in <module>
    from Proxy import *
  File "/root/3vilTwinAttacker/Proxy/htmlinjector.py", line 1, in <module>
    from Plugin import PluginProxy
  File "/root/3vilTwinAttacker/Proxy/Plugin.py", line 2, in <module>
    from Core.Utils import setup_logger
  File "/root/3vilTwinAttacker/Core/Utils.py", line 8, in <module>
    from BeautifulSoup import BeautifulSoup
ImportError: No module named BeautifulSoup

(http://s11.postimg.org/ht5t85xmr/Screenshot_from_2016_03_04_02_02_27.png)

Como solucionar esos errores?
Gracias de antemano
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: backd0r en Marzo 04, 2016, 03:16:41 AM
Desde la terminal y dentro de la carpeta de los archivos utiliza este comando:

pip install -r requirements.txt

Me dices que tal te va, saludos.
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: Blest777 en Marzo 04, 2016, 02:58:22 PM
Muchisimas gracias, lo pude instalar. El problema era con python. Ahora hay otro problema, no se conecta el Fake AP desde mi celular, dice:

Prueba01
Obtaining IP addresss...


(http://s9.postimg.org/8zi4inin3/Screenshot_from_2016_03_04_17_35_33.png)

blest@blest-VPCEE3WFX:~$  iw list
Wiphy phy1
   max # scan SSIDs: 4
   max scan IEs length: 2257 bytes
   Retry short limit: 7
   Retry long limit: 4
   Coverage class: 0 (up to 0m)
   Device supports RSN-IBSS.
   Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP (00-0f-ac:4)
      * 00-0f-ac:10
      * GCMP (00-0f-ac:8)
      * 00-0f-ac:9
   Available Antennas: TX 0 RX 0
   Supported interface modes:
       * IBSS
       * managed
       * AP
       * AP/VLAN
       * WDS
       * monitor
       * mesh point
   Band 1:
      Capabilities: 0x172
         HT20/HT40
         Static SM Power Save
         RX Greenfield
         RX HT20 SGI
         RX HT40 SGI
         RX STBC 1-stream
         Max AMSDU length: 3839 bytes
         No DSSS/CCK HT40
      Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      Minimum RX AMPDU time spacing: 2 usec (0x04)
      HT RX MCS rate indexes supported: 0-7, 32
      TX unequal modulation not supported
      HT TX Max spatial streams: 1
      HT TX MCS rate indexes supported may differ
      Bitrates (non-HT):
         * 1.0 Mbps
         * 2.0 Mbps (short preamble supported)
         * 5.5 Mbps (short preamble supported)
         * 11.0 Mbps (short preamble supported)
         * 6.0 Mbps
         * 9.0 Mbps
         * 12.0 Mbps
         * 18.0 Mbps
         * 24.0 Mbps
         * 36.0 Mbps
         * 48.0 Mbps
         * 54.0 Mbps
      Frequencies:
         * 2412 MHz [1] (30.0 dBm)
         * 2417 MHz [2] (30.0 dBm)
         * 2422 MHz [3] (30.0 dBm)
         * 2427 MHz [4] (30.0 dBm)
         * 2432 MHz [5] (30.0 dBm)
         * 2437 MHz [6] (30.0 dBm)
         * 2442 MHz [7] (30.0 dBm)
         * 2447 MHz [8] (30.0 dBm)
         * 2452 MHz [9] (30.0 dBm)
         * 2457 MHz [10] (30.0 dBm)
         * 2462 MHz [11] (30.0 dBm)
         * 2467 MHz [12] (disabled)
         * 2472 MHz [13] (disabled)
         * 2484 MHz [14] (disabled)
   Supported commands:
       * new_interface
       * set_interface
       * new_key
       * start_ap
       * new_station
       * new_mpath
       * set_mesh_config
       * set_bss
       * authenticate
       * associate
       * deauthenticate
       * disassociate
       * join_ibss
       * join_mesh
       * set_tx_bitrate_mask
       * frame
       * frame_wait_cancel
       * set_wiphy_netns
       * set_channel
       * set_wds_peer
       * probe_client
       * set_noack_map
       * register_beacons
       * start_p2p_device
       * set_mcast_rate
       * Unknown command (104)
       * connect
       * disconnect
   Supported TX frame types:
       * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
   Supported RX frame types:
       * IBSS: 0x40 0xb0 0xc0 0xd0
       * managed: 0x40 0xd0
       * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * mesh point: 0xb0 0xc0 0xd0
       * P2P-client: 0x40 0xd0
       * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * P2P-device: 0x40 0xd0
   software interface modes (can always be added):
       * AP/VLAN
       * monitor
   valid interface combinations:
       * #{ AP, mesh point } <= 8,
         total <= 8, #channels <= 1
   HT Capability overrides:
       * MCS: ff ff ff ff ff ff ff ff ff ff
       * maximum A-MSDU length
       * supported channel width
       * short GI for 40 MHz
       * max A-MPDU length exponent
       * min MPDU start spacing
   Device supports TX status socket option.
   Device supports HT-IBSS.
   Device supports SAE with AUTHENTICATE command
   Device supports low priority scan.
   Device supports scan flush.
   Device supports AP scan.
   Device supports per-vif TX power setting
   Driver supports a userspace MPM
Wiphy phy0
   max # scan SSIDs: 4
   max scan IEs length: 2257 bytes
   Retry short limit: 7
   Retry long limit: 4
   Coverage class: 0 (up to 0m)
   Device supports RSN-IBSS.
   Device supports AP-side u-APSD.
   Device supports T-DLS.
   Supported Ciphers:
      * WEP40 (00-0f-ac:1)
      * WEP104 (00-0f-ac:5)
      * TKIP (00-0f-ac:2)
      * CCMP (00-0f-ac:4)
      * 00-0f-ac:10
      * GCMP (00-0f-ac:8)
      * 00-0f-ac:9
      * CMAC (00-0f-ac:6)
      * 00-0f-ac:13
      * 00-0f-ac:11
      * 00-0f-ac:12
   Available Antennas: TX 0x1 RX 0x3
   Configured Antennas: TX 0x1 RX 0x3
   Supported interface modes:
       * IBSS
       * managed
       * AP
       * AP/VLAN
       * WDS
       * monitor
       * mesh point
       * P2P-client
       * P2P-GO
   Band 1:
      Capabilities: 0x11ce
         HT20/HT40
         SM Power Save disabled
         RX HT40 SGI
         TX STBC
         RX STBC 1-stream
         Max AMSDU length: 3839 bytes
         DSSS/CCK HT40
      Maximum RX AMPDU length 65535 bytes (exponent: 0x003)
      Minimum RX AMPDU time spacing: 8 usec (0x06)
      HT TX/RX MCS rate indexes supported: 0-7
      Bitrates (non-HT):
         * 1.0 Mbps
         * 2.0 Mbps (short preamble supported)
         * 5.5 Mbps (short preamble supported)
         * 11.0 Mbps (short preamble supported)
         * 6.0 Mbps
         * 9.0 Mbps
         * 12.0 Mbps
         * 18.0 Mbps
         * 24.0 Mbps
         * 36.0 Mbps
         * 48.0 Mbps
         * 54.0 Mbps
      Frequencies:
         * 2412 MHz [1] (30.0 dBm)
         * 2417 MHz [2] (30.0 dBm)
         * 2422 MHz [3] (30.0 dBm)
         * 2427 MHz [4] (30.0 dBm)
         * 2432 MHz [5] (30.0 dBm)
         * 2437 MHz [6] (30.0 dBm)
         * 2442 MHz [7] (30.0 dBm)
         * 2447 MHz [8] (30.0 dBm)
         * 2452 MHz [9] (30.0 dBm)
         * 2457 MHz [10] (30.0 dBm)
         * 2462 MHz [11] (30.0 dBm)
         * 2467 MHz [12] (disabled)
         * 2472 MHz [13] (disabled)
         * 2484 MHz [14] (disabled)
   Supported commands:
       * new_interface
       * set_interface
       * new_key
       * start_ap
       * new_station
       * new_mpath
       * set_mesh_config
       * set_bss
       * authenticate
       * associate
       * deauthenticate
       * disassociate
       * join_ibss
       * join_mesh
       * remain_on_channel
       * set_tx_bitrate_mask
       * frame
       * frame_wait_cancel
       * set_wiphy_netns
       * set_channel
       * set_wds_peer
       * tdls_mgmt
       * tdls_oper
       * probe_client
       * set_noack_map
       * register_beacons
       * start_p2p_device
       * set_mcast_rate
       * channel_switch
       * Unknown command (104)
       * connect
       * disconnect
   Supported TX frame types:
       * IBSS: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * managed: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * AP: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * AP/VLAN: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * mesh point: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-client: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-GO: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
       * P2P-device: 0x00 0x10 0x20 0x30 0x40 0x50 0x60 0x70 0x80 0x90 0xa0 0xb0 0xc0 0xd0 0xe0 0xf0
   Supported RX frame types:
       * IBSS: 0x40 0xb0 0xc0 0xd0
       * managed: 0x40 0xd0
       * AP: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * AP/VLAN: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * mesh point: 0xb0 0xc0 0xd0
       * P2P-client: 0x40 0xd0
       * P2P-GO: 0x00 0x20 0x40 0xa0 0xb0 0xc0 0xd0
       * P2P-device: 0x40 0xd0
   software interface modes (can always be added):
       * AP/VLAN
       * monitor
   valid interface combinations:
       * #{ managed } <= 2048, #{ AP, mesh point } <= 8, #{ P2P-client, P2P-GO } <= 1,
         total <= 2048, #channels <= 1, STA/AP BI must match
       * #{ WDS } <= 2048,
         total <= 2048, #channels <= 1, STA/AP BI must match
   HT Capability overrides:
       * MCS: ff ff ff ff ff ff ff ff ff ff
       * maximum A-MSDU length
       * supported channel width
       * short GI for 40 MHz
       * max A-MPDU length exponent
       * min MPDU start spacing
   Device supports TX status socket option.
   Device supports HT-IBSS.
   Device supports SAE with AUTHENTICATE command
   Device supports low priority scan.
   Device supports scan flush.
   Device supports AP scan.
   Device supports per-vif TX power setting
   P2P GO supports CT window setting
   Driver supports a userspace MPM
   Device supports active monitor (which will ACK incoming frames)
   Driver/device bandwidth changes during BSS lifetime (AP/GO mode)


Nunca se llega a conectar. Que estoy haciendo mal?
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: backd0r en Marzo 05, 2016, 07:41:08 AM
Podrías intentar conectar y desconectar a la red desde tu celular varias veces, tarda un poco en conectarse al internet, en tu captura parece que no tienes problemas con el adaptador de red ni nada y con los datos que mandaste se supone que si es compatible, no sé.. ¿tú ubuntu es VM?
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: Blest777 en Marzo 05, 2016, 01:27:26 PM
Hola backd0r

Mi ubuntu esta instalado en la PC, no estoy corriendo en VM.

No se si es que algo esta mal configurado. Fijate en la imagen del terminar, creo que hay errores... Nunca se conecta el Fake AP en mi celular, he intentado muchisimas veces:

(http://s22.postimg.org/3qb78rrm9/Screenshot_from_2016_03_05_16_09_41.png)
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: backd0r en Marzo 06, 2016, 03:14:47 AM
Instalaste todas las dependencias del archivo requirements.txt? otra cosa Wifi-Pumpkin funciona mejor en maquina virtual, tienes que conectar a tu red la pc y con la tarjeta de red USB lanzar el Fake AP.

Las mejores VM para wifi-pumpkin son Kali-Linux, Wifislax, Parrot si no mal recuerdo, los errores que te aparecen son sobre la tarjeta de red, utilizas una tarjeta de red USB o utilizas la tarjeta de red interna? Tu conexión en internet debe de ser de tu tarjeta de red wlanX y hacer la conexión local con ethX para que pueda conectarse a internet en el FakeAP, quizás por eso sigue apareciendo obteniendo IP. 
Título: Re:No puedo instalar 3viltwinattacker-v-0-6-4 (Ubuntu)
Publicado por: Blest777 en Marzo 07, 2016, 10:01:27 PM
Instalé todas las dependencias del archivo requirements.txt. Tenía Kali Linux 2.0 en mi laptop, pero lo desintalé. Era demasiado inestable y me vivía tirando errores por cualquier cosa. Lo reinstalé 3 veces y como quiera seguían los problemas y problemas. Hasta que me cansé e instalé Ubuntu. Mi laptop tiene una antena usb Alfa Atheros AWUS036NEH. Perdón por mi ignorancia, pero no se a que refieres en este punto "Tu conexión en internet debe de ser de tu tarjeta de red wlanX y hacer la conexión local con ethX". Soy nuevo en esto y me falta muchisimo por aprender.

Gracias por tú tiempo :)