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

[Modules/Windows] Crashing on start scapy modules #432

Closed
gpotter2 opened this issue Jan 1, 2017 · 1 comment
Closed

[Modules/Windows] Crashing on start scapy modules #432

gpotter2 opened this issue Jan 1, 2017 · 1 comment

Comments

@gpotter2
Copy link
Member

gpotter2 commented Jan 1, 2017

Following roadmap #399

While testing stuff on every scapy file, i've noticed out that some modules were not working at all (crashing) when importing.
Here's my list:

Windows only:

  • modules.VoIP:
>>> from scapy.modules.voip import *
Traceback (most recent call last):
  File "Z:\github\scapy\scapy\modules\voip.py", line 15, in <module>
    from fcntl import fcntl
ImportError: No module named fcntl
  • contrib.ppi_geotag.py
>>> from scapy.contrib.ppi_geotag import *
Traceback (most recent call last):
  File "Z:\github\scapy\scapy\contrib\ppi_geotag.py", line 338, in <module>
    Fixed6_4Field("Altitude_g", None),   GPSTime_Field("GPSTime", None),
  File "Z:\github\scapy\scapy\contrib\ppi_geotag.py", line 193, in __init__
    return LETimeField.__init__(self, name, default, strf="%a, %d %b %Y %H:%M:%S UTC")
  File "Z:\github\scapy\scapy\contrib\ppi_geotag.py", line 174, in __init__
    self.delta = time.mktime(epoch) - time.mktime(time.gmtime(0))
OverflowError: mktime argument out of range
@gpotter2 gpotter2 changed the title [Modules] Outdated, crashing scapy modules [Modules/Windows] Crashing on start scapy modules Jan 1, 2017
@gpotter2
Copy link
Member Author

Both fixed

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

1 participant