@fanboynz/network-scanner 1.0.78 → 1.0.79
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 +13 -5
- package/nwss.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -351,20 +351,28 @@ node nwss.js --max-concurrent 12 --cleanup-interval 300 -o rules.txt
|
|
|
351
351
|
|
|
352
352
|
## INSTALL
|
|
353
353
|
|
|
354
|
-
|
|
354
|
+
#### (Ubuntu as example). NOTE: Use Chrome and not Chromium for best compatibility.
|
|
355
355
|
|
|
356
|
-
|
|
356
|
+
#### Add Google's signing key
|
|
357
|
+
```
|
|
357
358
|
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/googlechrome-linux-keyring.gpg
|
|
359
|
+
```
|
|
358
360
|
|
|
359
|
-
|
|
361
|
+
#### Add Google Chrome repository
|
|
362
|
+
```
|
|
360
363
|
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/googlechrome-linux-keyring.gpg] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list
|
|
364
|
+
```
|
|
361
365
|
|
|
362
|
-
|
|
366
|
+
#### Update and install
|
|
367
|
+
```
|
|
363
368
|
sudo apt update
|
|
364
369
|
sudo apt install google-chrome-stable
|
|
370
|
+
```
|
|
365
371
|
|
|
366
|
-
|
|
372
|
+
#### dig & whois (needed for network checks)
|
|
373
|
+
```
|
|
367
374
|
sudo apt install bind9-dnsutils whois
|
|
375
|
+
```
|
|
368
376
|
|
|
369
377
|
## Notes
|
|
370
378
|
|
package/nwss.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// === Network scanner script (nwss.js) v1.0.
|
|
1
|
+
// === Network scanner script (nwss.js) v1.0.79 ===
|
|
2
2
|
|
|
3
3
|
// puppeteer for browser automation, fs for file system operations, psl for domain parsing.
|
|
4
4
|
// const pLimit = require('p-limit'); // Will be dynamically imported
|
|
@@ -123,7 +123,7 @@ const { navigateWithRedirectHandling, handleRedirectTimeout } = require('./lib/r
|
|
|
123
123
|
const { monitorBrowserHealth, isBrowserHealthy } = require('./lib/browserhealth');
|
|
124
124
|
|
|
125
125
|
// --- Script Configuration & Constants ---
|
|
126
|
-
const VERSION = '1.0.
|
|
126
|
+
const VERSION = '1.0.79'; // Script version
|
|
127
127
|
|
|
128
128
|
// get startTime
|
|
129
129
|
const startTime = Date.now();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fanboynz/network-scanner",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.79",
|
|
4
4
|
"description": "A Puppeteer-based network scanner for analyzing web traffic, generating adblock filter rules, and identifying third-party requests. Features include fingerprint spoofing, Cloudflare bypass, content analysis with curl/grep, and multiple output formats.",
|
|
5
5
|
"main": "nwss.js",
|
|
6
6
|
"scripts": {
|