mirror of https://github.com/n1nj4sec/pupy.git
Add scapy to pupysh search path
This commit is contained in:
parent
1a3ad7bb60
commit
90c0efaca1
|
@ -29,6 +29,7 @@ import traceback
|
|||
import argparse
|
||||
import os
|
||||
import os.path
|
||||
import sys
|
||||
import network.conf
|
||||
|
||||
from pupylib import PupyServer
|
||||
|
@ -39,6 +40,10 @@ from pupylib import __version__
|
|||
|
||||
from network.lib.igd import IGDClient, UPNPError
|
||||
|
||||
sys.path.append(
|
||||
os.path.join(os.path.abspath(os.path.dirname(__file__)), 'external', 'scapy')
|
||||
)
|
||||
|
||||
def print_version():
|
||||
print("Pupy - %s"%(__version__))
|
||||
|
||||
|
|
Loading…
Reference in New Issue