netprober 1.2.1 → 1.4.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 +12 -14
- package/dist/netprober.bundled.mjs +37 -37
- 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,7 +11,7 @@ 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
|
|
18
16
|
|
|
19
17
|
---
|
|
@@ -82,7 +80,7 @@ netprober [options]
|
|
|
82
80
|
| ----------------------- | -------------------------------- | ---------------- |
|
|
83
81
|
| `-i, --input <file>` | Input hosts file | `hosts.txt` |
|
|
84
82
|
| `--output-ping <file>` | Ping-up IPs output file | `ping_up.txt` |
|
|
85
|
-
| `--output-ports <file>` |
|
|
83
|
+
| `--output-ports <file>` | Open ports IPs output file | `ports_open.txt` |
|
|
86
84
|
| `-r, --resolver <ip>` | DNS resolver to use | `127.0.0.1` |
|
|
87
85
|
| `-c, --concurrency <n>` | Concurrent workers | `10` |
|
|
88
86
|
| `-t, --timeout <s>` | Per-check timeout in seconds | `5` |
|
|
@@ -110,9 +108,15 @@ https://target.com/path ← URLs are sanitized automatically
|
|
|
110
108
|
## ⚡ Examples
|
|
111
109
|
|
|
112
110
|
```bash
|
|
113
|
-
# Basic — port 443 probe only
|
|
111
|
+
# Basic — port 443(default) probe only
|
|
114
112
|
netprober -i hosts.txt
|
|
115
113
|
|
|
114
|
+
# Scan with multiport
|
|
115
|
+
netprober -i hosts.txt -p 443,8080,80,2080,2053
|
|
116
|
+
|
|
117
|
+
# Also can use range for ports(from 80 to 90)
|
|
118
|
+
netprober -i hosts.txt -p 80-90
|
|
119
|
+
|
|
116
120
|
# With ping + curl, using Google's DNS, 25 workers
|
|
117
121
|
netprober --ping --curl -r 8.8.8.8 -c 25
|
|
118
122
|
|
|
@@ -123,7 +127,7 @@ netprober -v --curl -t 3
|
|
|
123
127
|
netprober -i ranges.txt --curl -c 50
|
|
124
128
|
|
|
125
129
|
# Custom output files
|
|
126
|
-
netprober -i targets.txt -o live.txt --output-ports
|
|
130
|
+
netprober -i targets.txt -o live.txt --output-ports open_ports.txt
|
|
127
131
|
```
|
|
128
132
|
|
|
129
133
|
---
|
|
@@ -133,18 +137,12 @@ netprober -i targets.txt -o live.txt --output-ports open443.txt
|
|
|
133
137
|
| File | Contents |
|
|
134
138
|
| ---------------- | ------------------------------------------------- |
|
|
135
139
|
| `ping_up.txt` | IPs responding to ICMP ping _(requires `--ping`)_ |
|
|
136
|
-
| `ports_open.txt` | IPs with
|
|
140
|
+
| `ports_open.txt` | IPs with open ports |
|
|
137
141
|
|
|
138
142
|
All files are written **in real time** as results come in — no waiting for the run to finish.
|
|
139
143
|
|
|
140
144
|
---
|
|
141
145
|
|
|
142
|
-
## Acknowledgements
|
|
143
|
-
|
|
144
|
-
Provider list sourced from: [Expen1/MonPing](https://github.com/Expen1/MonPing/blob/ac17f7726aacb8d27f6181e9b12ea3d16f758320/monping.py#L53)
|
|
145
|
-
|
|
146
|
-
---
|
|
147
|
-
|
|
148
146
|
## 📄 License
|
|
149
147
|
|
|
150
148
|
MIT © [maanimis](https://github.com/maanimis)
|