* feat(.pre-commit-config.yaml): add/increase maxkb argument to check-added-large-files
* docs(README.md): update InfluxDB version requirement and add execution image * style(scan.py): update log message format * feat(img): add bb_execution.png image file
This commit is contained in:
parent
6450f84a38
commit
747ad486ee
4 changed files with 4 additions and 3 deletions
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
<img src="img/bb_execution.png" alt="command line execution of bronzeburner showing various open ports and details for an ip address">
|
||||
|
||||
## FAQ
|
||||
|
||||
|
|
|
@ -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):
|
||||
|
|
BIN
img/bb_execution.png
Normal file
BIN
img/bb_execution.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 655 KiB |
Loading…
Reference in a new issue