Skip to content

Error using python APP in Xubuntu 16.04 #1

@dcialdella

Description

@dcialdella
          .---..-. .-,-,---,---.-.   .-,---. .-. .-.
         ( .-._|  \| |(| .-| .-'\ \ / /| .-.\|  \| |
        (_) \  |   | (_| `-| `-. \ V / | |-' |   | |
        _  \ \ | |\  | | .-| .-'  ) /  | |--'| |\  |
       ( `-'  )| | |)| | | | |   (_)   | |   | | |)|
        `----' /(  (_`-)\| )\|         /(    /(  (_)
              (__)    (__)(__)        (__)  (__)

[---] SniffVPN - Traffic monitor for your VPN [---]
[---] Created by: Alvaro Nunez (toolsprods) [---]
[---] Version: 0.1 [---]
[---] Codename: 'Alfa Version' [---]
[---] Follow me on GitHub: github.com/toolsprods/ [---]

[] Running server at 10.8.0.1:8000...
[
] Can see statics and logs at 10.8.0.1:8000/panel

Traceback (most recent call last):
File "SniffVPN.py", line 113, in
main()
File "SniffVPN.py", line 109, in main
sniff(iface=interface, prn=packet, count=count)
File "/usr/lib/python2.7/dist-packages/scapy/sendrecv.py", line 586, in sniff
r = prn(p)
File "SniffVPN.py", line 79, in packet
iporig=getOriginalIP(ipsrc)
File "SniffVPN.py", line 94, in getOriginalIP
return ipOrig[2].split(':')[0]
UnboundLocalError: local variable 'ipOrig' referenced before assignment

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