Skip to content

scapy issue when starting websploit.py #8

@madding1602

Description

@madding1602

Hi everyone. I'm trying to use websploit on Kali Linux. I do python websploit.py (I have python 2.7 installed through pyenv). When I tried the first time to do it, it gave me the error:

└─$ python websploit.py
Traceback (most recent call last):
File "websploit.py", line 55, in
from modules import arp_poisoner
File "/home/madding/Descargas/websploit/modules/arp_poisoner.py", line 11, in
from scapy.all import *
ImportError: No module named scapy.all

after installing scapy by getting from the repo and doing python setup.py install, I try to execute again, but get the next error:

ERROR: Loading module scapy.layers.mspac
Traceback (most recent call last):
File "/home/madding/.pyenv/versions/2.7.18/lib/python2.7/site-packages/scapy-2.5.0-py2.7.egg/scapy/main.py", line 156, in _load
mod = importlib.import_module(module)
File "/home/madding/.pyenv/versions/2.7.18/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/madding/.pyenv/versions/2.7.18/lib/python2.7/site-packages/scapy-2.5.0-py2.7.egg/scapy/layers/mspac.py", line 482, in
class CLAIM_ENTRY(NDRPacket):
File "/home/madding/.pyenv/versions/2.7.18/lib/python2.7/site-packages/scapy-2.5.0-py2.7.egg/scapy/layers/mspac.py", line 486, in CLAIM_ENTRY
NDRInt3264EnumField("Type", 0, CLAIM_TYPE),
File "/home/madding/.pyenv/versions/2.7.18/lib/python2.7/site-packages/scapy-2.5.0-py2.7.egg/scapy/layers/dcerpc.py", line 1102, in init
_NDREnumField(*args, **kwargs), align=(2, 4)
File "/home/madding/.pyenv/versions/2.7.18/lib/python2.7/site-packages/scapy-2.5.0-py2.7.egg/scapy/fields.py", line 2467, in init
keys = list(enum) # type: ignore
TypeError: 'type' object is not iterable

After that, Websplout opens, but I'm not sure it's going to go okay. How can I fix this error?

TIA

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions