@fanboynz/network-scanner 1.0.77 → 1.0.78
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 +17 -0
- package/nwss.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -349,6 +349,23 @@ node nwss.js --max-concurrent 12 --cleanup-interval 300 -o rules.txt
|
|
|
349
349
|
|
|
350
350
|
---
|
|
351
351
|
|
|
352
|
+
## INSTALL
|
|
353
|
+
|
|
354
|
+
# (Ubuntu as example). NOTE: Use Chrome and not Chromium for best compatibility.
|
|
355
|
+
|
|
356
|
+
# Add Google's signing key
|
|
357
|
+
wget -q -O - https://dl.google.com/linux/linux_signing_key.pub | sudo gpg --dearmor -o /usr/share/keyrings/googlechrome-linux-keyring.gpg
|
|
358
|
+
|
|
359
|
+
# Add Google Chrome repository
|
|
360
|
+
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
|
|
361
|
+
|
|
362
|
+
# Update and install
|
|
363
|
+
sudo apt update
|
|
364
|
+
sudo apt install google-chrome-stable
|
|
365
|
+
|
|
366
|
+
# dig & whois (needed for network checks)
|
|
367
|
+
sudo apt install bind9-dnsutils whois
|
|
368
|
+
|
|
352
369
|
## Notes
|
|
353
370
|
|
|
354
371
|
- If both `firstParty: 0` and `thirdParty: 0` are set for a site, it will be skipped.
|
package/nwss.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// === Network scanner script (nwss.js) v1.0.
|
|
1
|
+
// === Network scanner script (nwss.js) v1.0.78 ===
|
|
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.78'; // 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.78",
|
|
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": {
|