From c2624d165a50ccbe68f3641a9dcae2fe8fdde628 Mon Sep 17 00:00:00 2001 From: DAProgs Date: Wed, 11 Mar 2026 19:07:24 -0400 Subject: [PATCH] adding versioning --- portspoof_py/__init__.py | 2 +- portspoof_py/admin.py | 4 ++++ pyproject.toml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/portspoof_py/__init__.py b/portspoof_py/__init__.py index 34ba2fb..b18d460 100644 --- a/portspoof_py/__init__.py +++ b/portspoof_py/__init__.py @@ -1,2 +1,2 @@ """portspoof_py — asyncio Python rewrite of the portspoof TCP honeypot.""" -__version__ = '1.0.0' +__version__ = '2603.1' diff --git a/portspoof_py/admin.py b/portspoof_py/admin.py index d934696..cdb2c61 100644 --- a/portspoof_py/admin.py +++ b/portspoof_py/admin.py @@ -18,6 +18,7 @@ from pathlib import Path from typing import Optional, Tuple from urllib.parse import parse_qs, urlparse +from . import __version__ from .config import Config from .geo import country as _geo_country from .notifier import Notifier @@ -308,6 +309,7 @@ tr:hover td { background: #1c2128; } margin-left: 6px; vertical-align: middle; } .empty { color: #8b949e; font-style: italic; padding: 8px 0; } +.footer { color: #484f58; font-size: 11px; margin-top: 24px; } .link-btn { background: none; border: none; color: #58a6ff; padding: 0; font-family: inherit; font-size: inherit; cursor: pointer; @@ -379,6 +381,7 @@ _HTML = """\ {conn_rows} + """ @@ -518,6 +521,7 @@ async def _render_dashboard(stats: Stats, cfg: Config) -> str: top_ports_rows=port_rows, recent_count=len(recent), conn_rows=conn_rows, + version=__version__, ) diff --git a/pyproject.toml b/pyproject.toml index d9428e5..3bdac38 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi" [project] name = "portspoof-py" -version = "1.0.0" +version = "2603.1" description = "Python asyncio rewrite of the portspoof TCP honeypot" readme = "README.md" requires-python = ">=3.11"