PiKarma icon indicating copy to clipboard operation
PiKarma copied to clipboard

Error when Starting

Open Andr705 opened this issue 5 years ago • 7 comments

hello my dear, using kali and installed as perinstructions but when starting got below:

sh: 1: iwconfig: not found Traceback (most recent call last): File "PiKarma.py", line 153, in sniff_channel_hop(iface) File "PiKarma.py", line 59, in sniff_channel_hop sniff(iface=iface, count=4, prn=air_scan) File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 570, in sniff s = L2socket(type=ETH_P_ALL, *arg, **karg) File "/usr/lib/python2.7/dist-packages/scapy/arch/linux.py", line 459, in init self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) File "/usr/lib/python2.7/socket.py", line 191, in init _sock = _realsocket(family, type, proto) socket.error: [Errno 1] Operation not permitted

even start with sudo no matter any suggestions pls.

p.s. seems Python version require 3.0 ?

Andr705 avatar Dec 17 '18 18:12 Andr705

Hi,

which system do you use? I guess the iwconfig command does not work.

besimaltnok avatar Dec 18 '18 07:12 besimaltnok

Hello , same thinking on first look but start commend in terminal working fine. I'm using Kali Linux last addition on Lenovo X-220 and trying on HP Pavilion 6820 but unfo same result.

only ideas as using shell Cinamon with NOT-root user but trying to start yrs programm at ROOT terminal not help.

tkx for help & ideas

Andr705 avatar Dec 18 '18 08:12 Andr705

Hi,

Can you send to me output of "iwconfig" as normally? for wireless interface

besimaltnok avatar Dec 18 '18 10:12 besimaltnok

sudo iwconfig wwan0 no wireless extensions.

wlan0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=15 dBm
Retry short limit:7 RTS thr:off Fragment thr:off Encryption key:off Power Management:off

eth0 no wireless extensions.

lo no wireless extensions.

wlan1 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated Tx-Power=30 dBm
Retry short long limit:2 RTS thr:off Fragment thr:off Encryption key:off Power Management:off

Andr705 avatar Dec 18 '18 18:12 Andr705

sudo airmon-ng

PHY Interface Driver Chipset

phy0 wlan0 iwlwifi Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34) phy1 wlan1 rt2800usb Ralink Technology, Corp. RT2870/RT3070

Andr705 avatar Dec 18 '18 18:12 Andr705

hope it will help to find solution tkx vm in advance

Andr705 avatar Dec 18 '18 18:12 Andr705

Using usb realtek 88xxau Rasp. 3b Debian Bullseye, same issue on kali Linux

admin@rasp:~/PiKarma $ python PiKarma.py -h File "/home/admin/PiKarma/PiKarma.py", line 92 print colored("\033[1m[*] KARMA Attack activity detected.", 'magenta', attrs=['reverse', 'blink']) ^ SyntaxError: invalid syntax

wald1972 avatar Jan 01 '23 23:01 wald1972