-1
# -*- coding: utf-8 -*-
# coding: utf-8
import sys
import os
import time
b = 'sudo tshark -i eth0 -R “tcp contains “attack”” -T fields -e ip.src -a duration:60>output.txt'
a = os.popen(b)
time.sleep(32)
f = open('output.txt','r')
text = 'IP address of attacker is'
print (text), f.read()
f.close
을 실행하는 동안 : 그 오류가 발생하는 이유오류 파이썬 코드를
tshark: "�" was unexpected in this context.
이 제발 도와주세요 당신에게
감사합니다
init.lua에서 disable_lua = true를 변경했지만 오류가 계속 발생합니다. tshark : " "가이 컨텍스트에서 예기치 않게 발생했습니다. 도와주세요. – Sunny