netprober 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -9
- package/dist/netprober.bundled.mjs +36 -36
- package/images/1.png +0 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -2,9 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
# 🔍 netprober
|
|
4
4
|
|
|
5
|
-
**
|
|
6
|
-
|
|
7
|
-
DNS resolution · Port 443 · ICMP ping · HTTPS curl · CIDR sweep
|
|
5
|
+
**Concurrent Host/IP Prober with custom DNS resolution, port scanning, ping and curl support**
|
|
8
6
|
|
|
9
7
|

|
|
10
8
|
|
|
@@ -13,8 +11,10 @@ DNS resolution · Port 443 · ICMP ping · HTTPS curl · CIDR sweep
|
|
|
13
11
|
- **Live terminal summary** — progress bar, stats, and per-IP results update in real time
|
|
14
12
|
- **CIDR expansion** — sweep entire subnets like `10.0.0.0/24` natively
|
|
15
13
|
- **Concurrent probing** — tunable worker pool, non-blocking by default
|
|
16
|
-
- **Multiple check modes** — port
|
|
14
|
+
- **Multiple check modes** — multi port, ICMP ,ping, and HTTPS curl independently toggled
|
|
17
15
|
- **Structured output** — results written to separate files as they land, no waiting
|
|
16
|
+
- **Support ip v4&v6**
|
|
17
|
+
- **Detect Providers**
|
|
18
18
|
|
|
19
19
|
---
|
|
20
20
|
|
|
@@ -41,7 +41,7 @@ netprober --help
|
|
|
41
41
|
|
|
42
42
|
---
|
|
43
43
|
|
|
44
|
-
### Run directly with Bun
|
|
44
|
+
### Run directly with Bun
|
|
45
45
|
|
|
46
46
|
> Requires [Bun](https://bun.sh) — install it first
|
|
47
47
|
|
|
@@ -82,7 +82,7 @@ netprober [options]
|
|
|
82
82
|
| ----------------------- | -------------------------------- | ---------------- |
|
|
83
83
|
| `-i, --input <file>` | Input hosts file | `hosts.txt` |
|
|
84
84
|
| `--output-ping <file>` | Ping-up IPs output file | `ping_up.txt` |
|
|
85
|
-
| `--output-ports <file>` |
|
|
85
|
+
| `--output-ports <file>` | Open ports IPs output file | `ports_open.txt` |
|
|
86
86
|
| `-r, --resolver <ip>` | DNS resolver to use | `127.0.0.1` |
|
|
87
87
|
| `-c, --concurrency <n>` | Concurrent workers | `10` |
|
|
88
88
|
| `-t, --timeout <s>` | Per-check timeout in seconds | `5` |
|
|
@@ -90,6 +90,7 @@ netprober [options]
|
|
|
90
90
|
| `--ping` | Enable ICMP ping checks | `false` |
|
|
91
91
|
| `--curl` | Enable HTTPS curl checks | `false` |
|
|
92
92
|
| `-v, --verbose` | Show all IPs, not just live ones | `false` |
|
|
93
|
+
| `-p, --ports` | ports (e.g. 80,443,8000-8100) | `443` |
|
|
93
94
|
|
|
94
95
|
---
|
|
95
96
|
|
|
@@ -110,9 +111,15 @@ https://target.com/path ← URLs are sanitized automatically
|
|
|
110
111
|
## ⚡ Examples
|
|
111
112
|
|
|
112
113
|
```bash
|
|
113
|
-
# Basic — port 443 probe only
|
|
114
|
+
# Basic — port 443(default) probe only
|
|
114
115
|
netprober -i hosts.txt
|
|
115
116
|
|
|
117
|
+
# Scan with multiport
|
|
118
|
+
netprober -i hosts.txt -p 443,8080,80,2080,2053
|
|
119
|
+
|
|
120
|
+
# Also can use range for ports(from 80 to 90)
|
|
121
|
+
netprober -i hosts.txt -p 80-90
|
|
122
|
+
|
|
116
123
|
# With ping + curl, using Google's DNS, 25 workers
|
|
117
124
|
netprober --ping --curl -r 8.8.8.8 -c 25
|
|
118
125
|
|
|
@@ -123,7 +130,7 @@ netprober -v --curl -t 3
|
|
|
123
130
|
netprober -i ranges.txt --curl -c 50
|
|
124
131
|
|
|
125
132
|
# Custom output files
|
|
126
|
-
netprober -i targets.txt -o live.txt --output-ports
|
|
133
|
+
netprober -i targets.txt -o live.txt --output-ports open_ports.txt
|
|
127
134
|
```
|
|
128
135
|
|
|
129
136
|
---
|
|
@@ -133,7 +140,7 @@ netprober -i targets.txt -o live.txt --output-ports open443.txt
|
|
|
133
140
|
| File | Contents |
|
|
134
141
|
| ---------------- | ------------------------------------------------- |
|
|
135
142
|
| `ping_up.txt` | IPs responding to ICMP ping _(requires `--ping`)_ |
|
|
136
|
-
| `ports_open.txt` | IPs with
|
|
143
|
+
| `ports_open.txt` | IPs with open ports |
|
|
137
144
|
|
|
138
145
|
All files are written **in real time** as results come in — no waiting for the run to finish.
|
|
139
146
|
|