예제 #1
0
def parse_live():
    try:
        do_parse("device")
    finally:
        cleanups.cleanup()
예제 #2
0
def parse_pcap():
    try:
        do_parse("file")
    finally:
        cleanups.cleanup()
예제 #3
0
def signal_handler(signal, frame):
    print("Canceled, stopping....", file=sys.stderr)
    cleanups.cleanup()
    sys.exit(0)
예제 #4
0
파일: __main__.py 프로젝트: MUYUSY/httpcap
def parse_live():
    try:
        parse_("device")
    finally:
        cleanups.cleanup()
예제 #5
0
파일: __main__.py 프로젝트: MUYUSY/httpcap
def parse_pcap():
    try:
        parse_("file")
    finally:
        cleanups.cleanup()
예제 #6
0
파일: __main__.py 프로젝트: MUYUSY/httpcap
def signal_handler(signal, frame):
    print("Canceled, stopping....", file=sys.stderr)
    cleanups.cleanup()
    sys.exit(0)