Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when Starting #2

Open
Andr705 opened this issue Dec 17, 2018 · 7 comments
Open

Error when Starting #2

Andr705 opened this issue Dec 17, 2018 · 7 comments

Comments

@Andr705
Copy link

Andr705 commented Dec 17, 2018

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 ?

@besimaltnok
Copy link
Member

Hi,

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

@Andr705
Copy link
Author

Andr705 commented Dec 18, 2018

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

@besimaltnok
Copy link
Member

Hi,

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

@Andr705
Copy link
Author

Andr705 commented Dec 18, 2018

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
Copy link
Author

Andr705 commented Dec 18, 2018

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
Copy link
Author

Andr705 commented Dec 18, 2018

hope it will help to find solution
tkx vm in advance

@wald1972
Copy link

wald1972 commented Jan 1, 2023

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants