From 5e7d446f792a5fba71606a71f6398e249446b1c7 Mon Sep 17 00:00:00 2001 From: clyhtsuriva Date: Thu, 21 May 2020 09:18:58 +0200 Subject: Beaucoup de changements --- www/html/affiche-tab.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'www/html/affiche-tab.py') diff --git a/www/html/affiche-tab.py b/www/html/affiche-tab.py index 83512dc..e36c997 100644 --- a/www/html/affiche-tab.py +++ b/www/html/affiche-tab.py @@ -18,14 +18,14 @@ def index(req): data=cur.fetchall() conn.close() - for i in data: + for i in data : content+=("""""" + """""" + str(i[1]) + """""" + """""" + str(i[2]) + """""" + -"""""" + str(i[3]) + """""" + -"""""" + lien('destination.py?ip=' + str(i[4]), str(i[4])) + """""" + -"""""" + str(i[5]) + """""" + -"""""" + str(i[6]) + """""" + +"""""" + lien('ip_source.py?ip=' + str(i[3]), str(i[3])) + """""" + +"""""" + lien('ip_destination.py?ip=' + str(i[4]), str(i[4])) + """""" + +"""""" + lien('port_source.py?port=' + str(i[5]), str(i[5])) + """""" + +"""""" + lien('port_destination.py?port=' + str(i[6]), str(i[6])) + """""" + """""") req.write(""" -- cgit v1.2.3