diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05c5e64..b23e8d7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,6 +6,7 @@ repos: - id: end-of-file-fixer - id: check-yaml - id: check-added-large-files + args: ['--maxkb=1024'] - repo: https://github.com/asottile/reorder_python_imports rev: v3.9.0 hooks: diff --git a/README.md b/README.md index 19433c4..8c05709 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ Unfortunately, this means several useful libraries are yet incompatible (e.g., u ### Requirements & Recommendations - [RustScan](https://github.com/RustScan/RustScan) (required, in $PATH) -- [InfluxDB](https://github.com/influxdata/influxdb) (required) +- [InfluxDB 2.x](https://github.com/influxdata/influxdb) (required) - [Grafana](https://github.com/grafana/grafana) (optional, recommended) - Docker (recommended) @@ -80,7 +80,7 @@ example execution below. ## Example -TBD +command line execution of bronzeburner showing various open ports and details for an ip address ## FAQ diff --git a/bronzeburner/scan.py b/bronzeburner/scan.py index 6afea30..49f4e97 100644 --- a/bronzeburner/scan.py +++ b/bronzeburner/scan.py @@ -30,7 +30,7 @@ async def parse_output_line(db: InfluxDB, line: str) -> None: logger.warning(f"Found {len(port_entries)} ports for {host_ip}") for p in parsed_ports: logger.info( - f"{host_ip}:{p.port} is {p.state} ({p.protocol}) with service {p.service}, version ({p.version}), and rpc_info ({p.rpc_info})" + f"{host_ip}:{p.port} is {p.state} ({p.protocol}) with service ({p.service}), version ({p.version}), and rpc_info ({p.rpc_info})" ) if await db.insert(host_ip, parsed_ports): diff --git a/img/bb_execution.png b/img/bb_execution.png new file mode 100644 index 0000000..9d82490 Binary files /dev/null and b/img/bb_execution.png differ