websploit icon indicating copy to clipboard operation
websploit copied to clipboard

(Error13) permission denied

Open AnonymousUser0911 opened this issue 2 years ago • 4 comments

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

AnonymousUser0911 avatar Jan 15 '22 05:01 AnonymousUser0911

Hi, run Websploit as root

f4rih avatar Feb 09 '22 18:02 f4rih

Yes , I too tried that but still showing this error

On Thu, Feb 10, 2022, 12:26 AM f4rih @.***> wrote:

Hi, run Websploit as root

— Reply to this email directly, view it on GitHub https://github.com/websploit/websploit/issues/78#issuecomment-1034090713, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT6QKT2BFV532DX624OAXLU2K2GNANCNFSM5MAQJ3TA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

AnonymousUser0911 avatar Feb 10 '22 00:02 AnonymousUser0911

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

ayushkmr2009 avatar Feb 20 '22 13:02 ayushkmr2009

┌──(kali㉿localhost)-[~] └─$ uname -a Linux localhost 4.9.117+ #2 SMP PREEMPT Tue Jan 18 23:49:31 CST 2022 aarch64 GNU/Linux

┌──(kali㉿localhost)-[~] └─$ I got this error message

On Sun, Feb 20, 2022, 7:12 PM Elite-Eagle @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/websploit/websploit/issues/78#issuecomment-1046241046, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUT6QKXBN6CHGJF3NFKD7UDU4DVVJANCNFSM5MAQJ3TA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

AnonymousUser0911 avatar Feb 20 '22 15:02 AnonymousUser0911