scan ports with havn

This commit is contained in:
Malin Freeborn 2025-05-24 23:27:06 +02:00
parent b7a79951c5
commit 556dba6f29
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

25
networking/port_scan.md Normal file
View File

@ -0,0 +1,25 @@
---
title: "Port Scan"
tags: [ "networking" ]
repo: 'https://github.com/mrjackwills/havn/'
---
`havn` scans ports.
It's not in many repos, but if you can `cargo install havn`.
```sh
havn -h
havn -a
domain=splint.rs
havn -p 19-90 ${domain}
```
That last command doesn't work reliably, so increase the number of retries (`-r`), or decrease concurrent requests (`-c`).
```sh
havn -p 19-443 -r 6 ${domain}
havn -p 1-1000 -c 500 -r 5 ${domain}
```