#!/usr/bin/python3 # -*- coding: utf-8 -*- import mod_python from fonctions import baseHTML, connexionBD def index(req): req.content_type="text/html" content=str() #sql part conn=connexionBD() cur=conn.cursor() sql="select * from paquet;" cur.execute(sql) conn.commit() data=cur.fetchall() conn.close() #sql part #takes every lines from the select for i in data : content+=("""
Heure | Protocole | IP Source | IP Destination | Port Source | Port Destination |
---|