1. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Добрый день возникает ошибка что я делаю не так?
    ОС Linux mint 18.02 Cinnamon

    Code:
    iisus@robot ~ $ sudo su
    [sudo] password for iisus:
    robot iisus # iwconfig
    wlp3s0  IEEE 802.11  ESSID:eek:ff/any 
      Mode:Managed  Access Point: Not-Associated  Tx-Power=20 dBm  
      Retry short limit:7  RTS thr:eek:ff  Fragment thr:eek:ff
      Encryption key:eek:ff
      Power Management:eek:ff
      
    eno1  no wireless extensions.
    
    lo  no wireless extensions.
    
    robot iisus # ifconfig wlp3s0 down
    robot iisus # iwconfig
    wlp3s0  IEEE 802.11  ESSID:eek:ff/any 
      Mode:Managed  Access Point: Not-Associated  Tx-Power=20 dBm  
      Retry short limit:7  RTS thr:eek:ff  Fragment thr:eek:ff
      Encryption key:eek:ff
      Power Management:eek:ff
      
    eno1  no wireless extensions.
    
    lo  no wireless extensions.
    
    robot iisus # iwconfig wlp3s0 mode monitor
    robot iisus # iwconfig
    wlp3s0  IEEE 802.11  Mode:Monitor  Tx-Power=20 dBm  
      Retry short limit:7  RTS thr:eek:ff  Fragment thr:eek:ff
      Power Management:eek:ff
      
    eno1  no wireless extensions.
    
    lo  no wireless extensions.
    
    robot iisus # ifconfig wlp3s0 up
    robot iisus # wifite -i wlp3s0
    
      .;'  `;,  
    .;'  ,;'  `;,  `;,  WiFite v2 (r87)
    .;'  ,;'  ,;'  `;,  `;,  `;, 
    ::  ::  :  ( )  :  ::  ::  automated wireless auditor
    ':.  ':.  ':. /_\ ,:'  ,:'  ,:' 
    ':.  ':.  /___\  ,:'  ,:'  designed for Linux
      ':.  /_____\  ,:'  
      /  \  
    
    [+] set interface :wlp3s0
    
    [!] the program reaver is required for WPS attacks
      available at http://code.google.com/p/reaver-wps
    [!] the program tshark is not required, but is recommended
    [!] the program pyrit is not required, but is recommended
    [!] the program cowpatty is not required, but is recommended
    
    [+] scanning for wireless devices...
    [+] initializing scan (wlp3s0), updates at 1 sec intervals, CTRL+C when ready.
    [0:00:00] scanning wireless networks. 0 targets and 0 clients found  
    [!] ERROR!
     
    #1 ildar86, 12 Nov 2017
    Last edited by a moderator: 14 Nov 2017
  2. penguinz

    penguinz New Member

    Joined:
    31 Oct 2017
    Messages:
    6
    Likes Received:
    0
    Reputations:
    0
    У тебя не установлены необходимые программы. Для пентеста лучше используй kali linux.
     
  3. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Какие программы? Kali linux нужно второй ОС устанавливать. Пробовал в live режиме загрузиться не видет сеть wifi. Kali последний. Вроде все необходимые программы устанавливал.
     
  4. user100

    user100 Moderator

    Joined:
    24 Dec 2011
    Messages:
    4,810
    Likes Received:
    18,420
    Reputations:
    377
    reaver не установлен-видно из лога
    А установлен ли пакет программ aircrack-ng вопрос - к Вам.
     
    _________________________
  5. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    aircrack-ng установлен как reaver установить?
     
  6. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    reaver-1.4 скачал как установить?
     
  7. user100

    user100 Moderator

    Joined:
    24 Dec 2011
    Messages:
    4,810
    Likes Received:
    18,420
    Reputations:
    377
    _________________________
  8. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Code:
     iisus@robot ~/Рабочий стол/Soft/Linux/reaver-1.4/src $ sudo ./configure $ make
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: $
    configure: WARNING: you should use --build, --host, --target
    checking for $-gcc... no
    checking for gcc... gcc
    checking whether the C compiler works... no
    configure: error: in `/home/iisus/Рабочий стол/Soft/Linux/reaver-1.4/src':
    configure: error: C compiler cannot create executables
    See `config.log' for more details.
    
    Теперь что не так не понятно.
     
  9. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    iisus@robot ~/Рабочий стол/Soft/Linux/reaver-1.4/src $ sudo apt-get install gcc
    Чтение списков пакетов… Готово
    Построение дерева зависимостей
    Чтение информации о состоянии… Готово
    Уже установлен пакет gcc самой новой версии (4:5.3.1-1ubuntu1).
    Следующие пакеты устанавливались автоматически и больше не требуются:
    icedax libcdio-utils libiso9660-8
    Для их удаления используйте «sudo apt autoremove».
    обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 4 пакетов не обновлено.
     
  10. VasiliyP

    VasiliyP Elder - Старейшина

    Joined:
    30 Aug 2011
    Messages:
    365
    Likes Received:
    676
    Reputations:
    11
    Code:
    sudo apt -y install build-essential libpcap-dev
    cd ~/Рабочий стол/Soft/Linux/reaver-1.4/src
    ./configure && make && sudo make install
    
     
    ildar86 and hydra like this.
  11. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Откуда Вы узнали что именно эти пакеты нужно установить?
     
  12. VasiliyP

    VasiliyP Elder - Старейшина

    Joined:
    30 Aug 2011
    Messages:
    365
    Likes Received:
    676
    Reputations:
    11
    README.md прочитал.
     
  13. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Установил эти пакеты
    Настраивается пакет build-essential (12.1ubuntu2) …
    Настраивается пакет libpcap0.8-dev (1.7.4-2) …
    Настраивается пакет libpcap-dev (1.7.4-2) …

    Но все равно не устанавливается
    iisus@robot ~/Рабочий стол/Soft/Linux/reaver-1.4/src $ ./configure $ make
    configure: WARNING: you should use --build, --host, --target
    configure: WARNING: invalid host type: $
    configure: WARNING: you should use --build, --host, --target
    checking for $-gcc... no
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for pcap_open_live in -lpcap... no
    error: pcap library not found!

    Как быть?
     
  14. VasiliyP

    VasiliyP Elder - Старейшина

    Joined:
    30 Aug 2011
    Messages:
    365
    Likes Received:
    676
    Reputations:
    11
    это - неправильно:
    ./configure $ make
    как правильно - см. выше.
     
  15. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    INSTALLATION

    Reaver is only supported on the Linux platform, requires the libpcap and libsqlite3 libraries, and
    can be built and installed by running:

    $ ./configure
    $ make
    # make install

    Прочитал README.
    iisus@robot ~/Рабочий стол/Soft/Linux/reaver-1.4/src $ ./configure
    checking for gcc... gcc
    checking whether the C compiler works... yes
    checking for C compiler default output file name... a.out
    checking for suffix of executables...
    checking whether we are cross compiling... no
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking for pcap_open_live in -lpcap... no
    error: pcap library not found!
    Что не так??????????
     
  16. VasiliyP

    VasiliyP Elder - Старейшина

    Joined:
    30 Aug 2011
    Messages:
    365
    Likes Received:
    676
    Reputations:
    11
    Вот что не так.
    reaver не видит libpcap-dev. Если она вообще установлена.
    Попробуйте reaver поставить так:
    sudo apt -y install reaver
     
  17. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Установил через apt
    robot iisus # wifite -i wlp3s0

    .;' `;,
    .;' ,;' `;, `;, WiFite v2 (r87)
    .;' ,;' ,;' `;, `;, `;,
    :: :: : ( ) : :: :: automated wireless auditor
    ':. ':. ':. /_\ ,:' ,:' ,:'
    ':. ':. /___\ ,:' ,:' designed for Linux
    ':. /_____\ ,:'
    / \

    [+] set interface :wlp3s0

    [!] the program tshark is not required, but is recommended
    [!] the program pyrit is not required, but is recommended
    [!] the program cowpatty is not required, but is recommended

    [+] scanning for wireless devices...
    [!] could not find wireless interface "wlp3s0" in monitor mode
    [+] enabling monitor mode on wlp3s0... done
    [+] initializing scan (mon0), updates at 1 sec intervals, CTRL+C when ready.
    [0:00:00] scanning wireless networks. 0 targets and 0 clients found
    [!] ERROR!
    Теперь другие пакеты устанавливать?
     
  18. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Как установить cowpatty??? Через apt-get не устанавливается.
    robot iisus # wifite -i wlp3s0

    .;' `;,
    .;' ,;' `;, `;, WiFite v2 (r87)
    .;' ,;' ,;' `;, `;, `;,
    :: :: : ( ) : :: :: automated wireless auditor
    ':. ':. ':. /_\ ,:' ,:' ,:'
    ':. ':. /___\ ,:' ,:' designed for Linux
    ':. /_____\ ,:'
    / \

    [+] set interface :wlp3s0

    [!] the program cowpatty is not required, but is recommended

    [+] scanning for wireless devices...
    [!] could not find wireless interface "wlp3s0" in monitor mode
    [+] enabling monitor mode on wlp3s0... done
    [+] initializing scan (mon0), updates at 1 sec intervals, CTRL+C when ready.
    [0:00:00] scanning wireless networks. 0 targets and 0 clients found
    [!] ERROR!


    [!] no targets found!
    [!] you may need to wait for targets to show up.

    [+] disabling monitor mode on mon0... done
    [+] quitting

    robot iisus # sudo apt-get install cowpatty
    Чтение списков пакетов… Готово
    Построение дерева зависимостей
    Чтение информации о состоянии… Готово
    E: Не удалось найти пакет cowpatty
     
  19. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Установил все что нужно теперь все равно ошибка из-за чего так?
    robot cowpatty-4.6 # wifite -i wlp3s0

    .;' `;,
    .;' ,;' `;, `;, WiFite v2 (r87)
    .;' ,;' ,;' `;, `;, `;,
    :: :: : ( ) : :: :: automated wireless auditor
    ':. ':. ':. /_\ ,:' ,:' ,:'
    ':. ':. /___\ ,:' ,:' designed for Linux
    ':. /_____\ ,:'
    / \

    [+] set interface :wlp3s0

    [+] scanning for wireless devices...
    [+] initializing scan (wlp3s0), updates at 1 sec intervals, CTRL+C when ready.
    [0:00:00] scanning wireless networks. 0 targets and 0 clients found
    [!] ERROR!
    [!] wifite is unable to generate airodump-ng output files
    [!] you may want to disconnect/reconnect your wifi device
    [+] quitting

    robot cowpatty-4.6 #
     
  20. ildar86

    ildar86 New Member

    Joined:
    21 Aug 2017
    Messages:
    31
    Likes Received:
    0
    Reputations:
    0
    Отключился от сети. И теперь такая ошибка вернее ни какой.
    robot iisus # wifite -i wlp3s0

    .;' `;,
    .;' ,;' `;, `;, WiFite v2 (r87)
    .;' ,;' ,;' `;, `;, `;,
    :: :: : ( ) : :: :: automated wireless auditor
    ':. ':. ':. /_\ ,:' ,:' ,:'
    ':. ':. /___\ ,:' ,:' designed for Linux
    ':. /_____\ ,:'
    / \

    [+] set interface :wlp3s0

    [+] scanning for wireless devices...
    [+] initializing scan (wlp3s0), updates at 1 sec intervals, CTRL+C when ready.
    [0:00:00] scanning wireless networks. 0 targets and 0 clients found
    [!] ERROR!