-
Notifications
You must be signed in to change notification settings - Fork 8
Description
.---..-. .-,-,---,---.-. .-,---. .-. .-.
( .-._| \| |(| .-| .-'\ \ / /| .-.\| \| |
(_) \ | | (_| `-| `-. \ 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