Skip to content

Commit

Permalink
Update Search_Viewer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
G3et authored Nov 12, 2023
1 parent 0124272 commit 0daa99b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Search_Viewer.py
Original file line number Diff line number Diff line change
Expand Up @@ -905,7 +905,7 @@ def zoomeye_threadSend(self, search):
self.zoomeye_server = []
self.zoomeye_timestamp = []
self.zoomeye_city = []
self.zoomeye_isp = []
#self.zoomeye_isp = []
self.zoomeye_app = []
try:
if code == 60000:
Expand All @@ -918,7 +918,7 @@ def zoomeye_threadSend(self, search):
server = match['portinfo']['extrainfo']
timestamp = match['timestamp']
city = match['geoinfo']['city']['names']['en']
isp = match['geoinfo']['isp']
#isp = match['geoinfo']['isp']
app = match['portinfo']['app']

row = self.zoomeye_tab.rowCount() # 获取所有列
Expand All @@ -931,8 +931,8 @@ def zoomeye_threadSend(self, search):
item2.setText(str(server))
item3 = QTableWidgetItem()
item3.setText(str(city))
item4 = QTableWidgetItem()
item4.setText(str(isp))
#item4 = QTableWidgetItem()
#item4.setText(str(isp))
item5 = QTableWidgetItem()
item5.setText(str(app))
item6 = QTableWidgetItem()
Expand All @@ -944,7 +944,7 @@ def zoomeye_threadSend(self, search):
self.zoomeye_tab.setItem(row, 1, item1)
self.zoomeye_tab.setItem(row, 2, item2)
self.zoomeye_tab.setItem(row, 3, item3)
self.zoomeye_tab.setItem(row, 4, item4)
#self.zoomeye_tab.setItem(row, 4, item4)
self.zoomeye_tab.setItem(row, 5, item5)
self.zoomeye_tab.setItem(row, 6, item6)
self.zoomeye_tab.setItem(row, 7, item8)
Expand All @@ -953,7 +953,7 @@ def zoomeye_threadSend(self, search):
self.zoomeye_port.append(port)
self.zoomeye_server.append(server)
self.zoomeye_city.append(city)
self.zoomeye_isp.append(isp)
#self.zoomeye_isp.append(isp)
self.zoomeye_app.append(app)
self.zoomeye_org.append(org)
self.zoomeye_timestamp.append(timestamp)
Expand Down Expand Up @@ -1592,4 +1592,4 @@ def Censys_export_1(self):
app.setWindowIcon(QIcon(':/E:/favicon.ico'))
gui = LoginGui()
gui.show()
app.exec_()
app.exec_()

0 comments on commit 0daa99b

Please sign in to comment.