|
|
@ -276,10 +276,11 @@ class ServerPanel(wx.Panel):
|
|
|
|
if str(TEST_FILE.iloc[i, 4]).find("TIME_WAIT") >= 0 or str(TEST_FILE.iloc[i, 4]).find("FIN_WAIT_2") >= 0:
|
|
|
|
if str(TEST_FILE.iloc[i, 4]).find("TIME_WAIT") >= 0 or str(TEST_FILE.iloc[i, 4]).find("FIN_WAIT_2") >= 0:
|
|
|
|
continue
|
|
|
|
continue
|
|
|
|
idx = 0
|
|
|
|
idx = 0
|
|
|
|
for ip in settings["badips"]:
|
|
|
|
for app in settings["badapps"]:
|
|
|
|
#fprint(pid)
|
|
|
|
#fprint(pid)
|
|
|
|
idx = i
|
|
|
|
idx = i
|
|
|
|
if str(TEST_FILE.iloc[i, 3]).find(ip) >= 0 and str(TEST_FILE.iloc[i, 4]).find("TIME_WAIT") < 0: # "bad" pid, highlight in red at the top
|
|
|
|
if TEST_FILE.iloc[i, 5] == app: # "bad" pid, highlight in red at the top
|
|
|
|
|
|
|
|
fprint("BAD APP UI: " + str(app))
|
|
|
|
idx = self.list_ctrl.InsertItem(0, TEST_FILE.iloc[i, 0])
|
|
|
|
idx = self.list_ctrl.InsertItem(0, TEST_FILE.iloc[i, 0])
|
|
|
|
self.list_ctrl.SetItemBackgroundColour(idx, wx.Colour(200, 51, 51))
|
|
|
|
self.list_ctrl.SetItemBackgroundColour(idx, wx.Colour(200, 51, 51))
|
|
|
|
break
|
|
|
|
break
|
|
|
|