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

(Error13) permission denied #78

Open
AnonymousUser0911 opened this issue Jan 15, 2022 · 4 comments
Open

(Error13) permission denied #78

AnonymousUser0911 opened this issue Jan 15, 2022 · 4 comments

Comments

@AnonymousUser0911
Copy link

wsf > arp_spoof > execute
Traceback (most recent call last):
File "/usr/local/bin/websploit", line 33, in
sys.exit(load_entry_point('websploit==4.0.4', 'console_scripts', 'websploit')())
File "/usr/local/lib/python3.9/dist-packages/websploit-4.0.4-py3.9.egg/websploit/websploit.py", line 74, in start_wsf
Main().cmdloop()
File "/usr/lib/python3.9/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.9/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.9/dist-packages/websploit-4.0.4-py3.9.egg/websploit/websploit.py", line 35, in do_use
module.cmdloop()
File "/usr/lib/python3.9/cmd.py", line 138, in cmdloop
stop = self.onecmd(line)
File "/usr/lib/python3.9/cmd.py", line 217, in onecmd
return func(arg)
File "/usr/local/lib/python3.9/dist-packages/websploit-4.0.4-py3.9.egg/websploit/modules/arp_spoof.py", line 24, in do_execute
self._spoof(target=self.parameters['target'], getway=self.parameters['gateway'])
File "/usr/local/lib/python3.9/dist-packages/websploit-4.0.4-py3.9.egg/websploit/modules/arp_spoof.py", line 37, in _spoof
target_mac = get_mac(ip=target)
File "/usr/local/lib/python3.9/dist-packages/websploit-4.0.4-py3.9.egg/websploit/core/utils/tools.py", line 7, in get_mac
ans, _ = srp(Ether(dst='ff:ff:ff:ff:ff:ff')/ARP(pdst=ip), timeout=3, verbose=0)
File "/usr/lib/python3/dist-packages/scapy/sendrecv.py", line 552, in srp
s = conf.L2socket(promisc=promisc, iface=iface,
File "/usr/lib/python3/dist-packages/scapy/arch/linux.py", line 398, in init
self.ins = socket.socket(socket.AF_PACKET, socket.SOCK_RAW, socket.htons(type)) # noqa: E501
File "/usr/lib/python3.9/socket.py", line 232, in init
_socket.socket.init(self, family, type, proto, fileno)
PermissionError: [Errno 13] Permission denied
I got this error ,how to solve it
Please solve it

@f4rih
Copy link
Owner

f4rih commented Feb 9, 2022

Hi, run Websploit as root

@AnonymousUser0911
Copy link
Author

AnonymousUser0911 commented Feb 10, 2022 via email

@ayushkmr2009
Copy link

use command uname -a and tell me what does it outputs

@AnonymousUser0911
Copy link
Author

AnonymousUser0911 commented Feb 20, 2022 via email

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