INNER CODE UNIT · Python

recent

yashab-cyber/HackGpt · workbench/server.py:164

    def recent(self):
        with closing(sqlite3.connect(self.path)) as connection:
            rows = connection.execute(
                "SELECT content FROM reports ORDER BY started DESC LIMIT 50"
            ).fetchall()
        result = []
        for row in rows:
            report = json.loads(row[0])
            if verify_integrity(report):
                result.append(
                    {
                        k: report[k]
                        for k in (
                            "id",
                            "started_at",
                            "target",
                            "mode",
                            "status",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…