krackattack-all-zero-tk-key icon indicating copy to clipboard operation
krackattack-all-zero-tk-key copied to clipboard

AttributeError: MitmChannelBased instance has no attribute 'run'

Open KanG00 opened this issue 3 years ago • 11 comments

After running command:

sudo ./krack_all_zero_tk.py wlan0 wlan1 eth0 "xxx" -t xx:xx:xx:xx:xx:xx

I get this error:

`WARNING: Failed to execute tcpdump. Check it is installed and in the PATH

===[ KRACK Attacks against Linux/Android by Lucas Woody ]===

Traceback (most recent call last): File "./krack_all_zero_tk.py", line 593, in attack.run(strict_echo_test=args.strict_echo_test) File "./krack_all_zero_tk.py", line 513, in run self.mitmconfig.run() AttributeError: MitmChannelBased instance has no attribute 'run' [23:15:48] Closing hostapd and cleaning up ...`

KanG00 avatar Mar 30 '21 23:03 KanG00

hello @KanG00 , did u solve ur problem? if 'yes' then plz send me the solution,thanks.

taleen98 avatar May 07 '21 11:05 taleen98

After running command:

sudo ./krack_all_zero_tk.py wlan0 wlan1 eth0 "xxx" -t xx:xx:xx:xx:xx:xx

I get this error:

`WARNING: Failed to execute tcpdump. Check it is installed and in the PATH

===[ KRACK Attacks against Linux/Android by Lucas Woody ]===

Traceback (most recent call last): File "./krack_all_zero_tk.py", line 593, in attack.run(strict_echo_test=args.strict_echo_test) File "./krack_all_zero_tk.py", line 513, in run self.mitmconfig.run() AttributeError: MitmChannelBased instance has no attribute 'run' [23:15:48] Closing hostapd and cleaning up ...`

Did you install tcpdump?

Real96 avatar May 22 '21 02:05 Real96

hello @Real96 , @taleen98 ,Did u solve the error posted by @KanG00 . I am getting same error. Could you help me. @lucascouto .Hello luca,please help

maneshthankappan avatar Jun 14 '21 12:06 maneshthankappan

hello @Real96 , @taleen98 ,Did u solve the error posted by @KanG00 . I am getting same error. Could you help me. @lucascouto .Hello luca,please help

Did you install tcpdump?

Real96 avatar Jun 14 '21 12:06 Real96

@Real96. thank you for ur instant reply. yes I have installed tcpdump. I am a PhD student working on Channel MitM and experiment KRACK attacks.because of these errors, i cannot move forward. could you send me an email to me "[email protected]". Hoping ur email.

maneshthankappan avatar Jun 14 '21 12:06 maneshthankappan

@Real96. thank you for ur instant reply. yes I have installed tcpdump. I am a PhD student working on Channel MitM and experiment KRACK attacks.because of these errors, i cannot move forward. could you send me an email to me "[email protected]". Hoping ur email.

I did the attack one year ago and to make it work i had to downgrade Scapy version to 2.3.3. This was the only problem i was getting. I never got the tcpdump problem, but as the error says, you should have tcpdump installed and also in the path. Also i don't think it is so much necessary, tcpdump is needed to dump the packets, i think you can just use wireshark or something else. If this can help you, i also used an old kali release

Real96 avatar Jun 14 '21 12:06 Real96

@Real96 .Thank u so much. ok. Should I check path of tcpdump? My scapy version is 2.4.2. Should I try downgrade? by the by.million thank that you considered my error. I have just followed u on twitter, could u foloow me back, so that I can discuss some of my doubts. with hope....

maneshthankappan avatar Jun 14 '21 12:06 maneshthankappan

@Real96 .Thank u so much. ok. Should I check path of tcpdump? My scapy version is 2.4.2. Should I try downgrade? by the by.million thank that you considered my error. I have just followed u on twitter, could u foloow me back, so that I can discuss some of my doubts. with hope....

I wrote you there!

Real96 avatar Jun 14 '21 12:06 Real96

Downgrade Scapy and it should work.

nolsie avatar Jun 14 '21 16:06 nolsie

Downgrade Scapy and it should work.

Yeah, 2.3.3 made it work for me

Real96 avatar Jun 14 '21 16:06 Real96

@nolsie, thank you for responding. I have contacted @Real96 . He gave me instructions. I am working on it.once solved .I will post here. Thanks again.

maneshthankappan avatar Jun 15 '21 13:06 maneshthankappan