@fanboynz/network-scanner 2.0.29 → 2.0.30

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.
Files changed (3) hide show
  1. package/lib/fingerprint.js +38 -27
  2. package/nwss.js +110 -37
  3. package/package.json +1 -1
@@ -59,7 +59,7 @@ const PRECOMPILED_MOCKS = Object.freeze({
59
59
  postMessage: () => {},
60
60
  disconnect: () => {}
61
61
  }),
62
- getManifest: () => Object.freeze({ name: "Chrome", version: "141.0.0.0" }),
62
+ getManifest: () => Object.freeze({ name: "Chrome", version: "142.0.0.0" }),
63
63
  getURL: (path) => `chrome-extension://invalid/${path}`,
64
64
  id: undefined
65
65
  }),
@@ -89,22 +89,15 @@ const BUILT_IN_PROPERTIES = new Set([
89
89
  ]);
90
90
 
91
91
  // User agent collections with latest versions
92
- const USER_AGENT_COLLECTIONS = {
93
- chrome: [
94
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",
95
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36",
96
- "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"
97
- ],
98
- firefox: [
99
- "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0",
100
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0",
101
- "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"
102
- ],
103
- safari: [
104
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15",
105
- "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.6 Safari/605.1.15"
106
- ]
107
- };
92
+ const USER_AGENT_COLLECTIONS = Object.freeze(new Map([
93
+ ['chrome', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"],
94
+ ['chrome_mac', "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"],
95
+ ['chrome_linux', "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"],
96
+ ['firefox', "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0"],
97
+ ['firefox_mac', "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0"],
98
+ ['firefox_linux', "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"],
99
+ ['safari', "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/18.6 Safari/605.1.15"]
100
+ ]));
108
101
 
109
102
  // Timezone configuration with offsets
110
103
  const TIMEZONE_CONFIG = {
@@ -366,8 +359,7 @@ async function applyUserAgentSpoofing(page, siteConfig, forceDebug, currentUrl)
366
359
  // Validate page state before injection
367
360
  if (!(await validatePageForInjection(page, currentUrl, forceDebug))) return;
368
361
 
369
- const selectedUserAgents = USER_AGENT_COLLECTIONS[siteConfig.userAgent.toLowerCase()];
370
- const ua = selectedUserAgents ? selectedUserAgents[Math.floor(Math.random() * selectedUserAgents.length)] : null;
362
+ const ua = USER_AGENT_COLLECTIONS.get(siteConfig.userAgent.toLowerCase());
371
363
 
372
364
  if (ua) {
373
365
  await page.setUserAgent(ua);
@@ -512,7 +504,10 @@ async function applyUserAgentSpoofing(page, siteConfig, forceDebug, currentUrl)
512
504
  'phantomjs', '_Selenium_IDE_Recorder', 'callSelenium', '_selenium',
513
505
  '__phantomas', '__selenium_evaluate', '__driver_unwrapped',
514
506
  'webdriver-evaluate', '__webdriverFunc', 'driver-evaluate', '__driver-evaluate', '__selenium-evaluate',
515
- 'spawn', 'emit', 'Buffer', 'domAutomation', 'domAutomationController'
507
+ 'spawn', 'emit', 'Buffer', 'domAutomation', 'domAutomationController',
508
+ 'cdc_adoQpoasnfa76pfcZLmcfl_JSON', 'cdc_adoQpoasnfa76pfcZLmcfl_Object',
509
+ 'cdc_adoQpoasnfa76pfcZLmcfl_Proxy', 'cdc_adoQpoasnfa76pfcZLmcfl_Reflect',
510
+ '$cdc_asdjflasutopfhvcZLmcfl_', '$chrome_asyncScriptInfo', '__$webdriverAsyncExecutor'
516
511
  ];
517
512
 
518
513
  automationProps.forEach(prop => {
@@ -541,7 +536,7 @@ async function applyUserAgentSpoofing(page, siteConfig, forceDebug, currentUrl)
541
536
  }),
542
537
  getManifest: () => ({
543
538
  name: "Chrome",
544
- version: "141.0.0.0",
539
+ version: "142.0.0.0",
545
540
  manifest_version: 3,
546
541
  description: "Chrome Browser"
547
542
  }),
@@ -1075,12 +1070,28 @@ async function applyUserAgentSpoofing(page, siteConfig, forceDebug, currentUrl)
1075
1070
  // Font fingerprinting protection
1076
1071
  //
1077
1072
  safeExecute(() => {
1078
- // Standardize available fonts to common system fonts
1079
- const standardFonts = [
1080
- 'Arial', 'Helvetica', 'Times New Roman', 'Times', 'Courier New', 'Courier',
1081
- 'Verdana', 'Georgia', 'Palatino', 'Garamond', 'Bookman', 'Comic Sans MS',
1082
- 'Trebuchet MS', 'Arial Black', 'Impact', 'Tahoma', 'Lucida Console'
1083
- ];
1073
+ // OS-specific font profiles for better realism
1074
+ const getOSFonts = (userAgent) => {
1075
+ if (userAgent.includes('Windows') || userAgent.includes('Win')) {
1076
+ return ['Arial', 'Times New Roman', 'Courier New', 'Verdana', 'Tahoma', 'Trebuchet MS', 'Georgia', 'Impact', 'Comic Sans MS', 'Segoe UI'];
1077
+ } else if (userAgent.includes('Macintosh') || userAgent.includes('Mac OS X')) {
1078
+ return ['Arial', 'Times New Roman', 'Courier New', 'Helvetica', 'Times', 'Courier', 'Verdana', 'Georgia', 'Palatino', 'San Francisco'];
1079
+ } else {
1080
+ return ['Arial', 'Times New Roman', 'Courier New', 'Liberation Sans', 'Liberation Serif', 'DejaVu Sans', 'Ubuntu'];
1081
+ }
1082
+ };
1083
+ const standardFonts = getOSFonts(navigator.userAgent);
1084
+
1085
+ // CRITICAL: Block font enumeration
1086
+ if (document.fonts) {
1087
+ Object.defineProperty(document.fonts, 'values', {
1088
+ value: () => standardFonts.map(font => ({ family: font, style: 'normal', weight: '400' }))[Symbol.iterator]()
1089
+ });
1090
+ Object.defineProperty(document.fonts, 'forEach', {
1091
+ value: (callback) => standardFonts.forEach((font, i) => callback({ family: font, style: 'normal', weight: '400' }, i))
1092
+ });
1093
+ Object.defineProperty(document.fonts, 'size', { get: () => standardFonts.length });
1094
+ }
1084
1095
 
1085
1096
  // Intercept font availability detection
1086
1097
  if (document.fonts && document.fonts.check) {
package/nwss.js CHANGED
@@ -1,4 +1,4 @@
1
- // === Network scanner script (nwss.js) v2.0.28 ===
1
+ // === Network scanner script (nwss.js) v2.0.29 ===
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
@@ -89,9 +89,9 @@ const CONCURRENCY_LIMITS = Object.freeze({
89
89
 
90
90
  // V8 Optimization: Use Map for user agent lookups instead of object
91
91
  const USER_AGENTS = Object.freeze(new Map([
92
- ['chrome', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"],
93
- ['chrome_mac', "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"],
94
- ['chrome_linux', "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/141.0.0.0 Safari/537.36"],
92
+ ['chrome', "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"],
93
+ ['chrome_mac', "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"],
94
+ ['chrome_linux', "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36"],
95
95
  ['firefox', "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:144.0) Gecko/20100101 Firefox/144.0"],
96
96
  ['firefox_mac', "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:144.0) Gecko/20100101 Firefox/144.0"],
97
97
  ['firefox_linux', "Mozilla/5.0 (X11; Linux x86_64; rv:144.0) Gecko/20100101 Firefox/144.0"],
@@ -143,7 +143,7 @@ const { navigateWithRedirectHandling, handleRedirectTimeout } = require('./lib/r
143
143
  const { monitorBrowserHealth, isBrowserHealthy, isQuicklyResponsive, performGroupWindowCleanup, performRealtimeWindowCleanup, trackPageForRealtime, updatePageUsage, cleanupPageBeforeReload } = require('./lib/browserhealth');
144
144
 
145
145
  // --- Script Configuration & Constants ---
146
- const VERSION = '2.0.28'; // Script version
146
+ const VERSION = '2.0.29'; // Script version
147
147
 
148
148
  // get startTime
149
149
  const startTime = Date.now();
@@ -1965,14 +1965,14 @@ function setupFrameHandling(page, forceDebug) {
1965
1965
  }
1966
1966
 
1967
1967
  await page.setExtraHTTPHeaders({
1968
- 'Sec-CH-UA': '"Chromium";v="141", "Not=A?Brand";v="24", "Google Chrome";v="141"',
1968
+ 'Sec-CH-UA': '"Chromium";v="142", "Not=A?Brand";v="24", "Google Chrome";v="142"',
1969
1969
  'Sec-CH-UA-Platform': `"${platform}"`,
1970
1970
  'Sec-CH-UA-Platform-Version': `"${platformVersion}"`,
1971
1971
  'Sec-CH-UA-Mobile': '?0',
1972
1972
  'Sec-CH-UA-Arch': `"${arch}"`,
1973
1973
  'Sec-CH-UA-Bitness': '"64"',
1974
- 'Sec-CH-UA-Full-Version': '"141.0.7390.55"',
1975
- 'Sec-CH-UA-Full-Version-List': '"Chromium";v="141.0.7390.55", "Not=A?Brand";v="24.0.0.0", "Google Chrome";v="141.0.7390.55"'
1974
+ 'Sec-CH-UA-Full-Version': '"142.0.7444,69"',
1975
+ 'Sec-CH-UA-Full-Version-List': '"Chromium";v="142.0.7444,69", "Not=A?Brand";v="24.0.0.0", "Google Chrome";v="142.0.7444,69"'
1976
1976
  });
1977
1977
  }
1978
1978
  } catch (fingerprintErr) {
@@ -3560,21 +3560,39 @@ function setupFrameHandling(page, forceDebug) {
3560
3560
  }
3561
3561
  }
3562
3562
 
3563
- // Hang detection for debugging concurrency issues
3564
- let currentBatchInfo = { batchStart: 0, batchSize: 0 };
3565
- const hangDetectionInterval = setInterval(() => {
3566
- // Only show hang detection messages in debug mode
3567
- if (forceDebug) {
3568
- const currentBatch = Math.floor(currentBatchInfo.batchStart / RESOURCE_CLEANUP_INTERVAL) + 1;
3569
- const totalBatches = Math.ceil(totalUrls / RESOURCE_CLEANUP_INTERVAL);
3570
- console.log(formatLogMessage('debug', `[HANG CHECK] Processed: ${processedUrlCount}/${totalUrls} URLs, Batch: ${currentBatch}/${totalBatches}, Current batch size: ${currentBatchInfo.batchSize}`));
3571
- console.log(formatLogMessage('debug', `[HANG CHECK] URLs since cleanup: ${urlsSinceLastCleanup}, Recent failures: ${results.slice(-3).filter(r => !r.success).length}/3`));
3572
- }
3573
- }, 30000); // Check every 30 seconds
3563
+ // Enhanced hang detection with browser restart recovery
3564
+ let currentBatchInfo = { batchStart: 0, batchSize: 0 };
3565
+ let lastProcessedCount = 0;
3566
+ let hangCheckCount = 0;
3567
+ let forceRestartFlag = false; // Flag to trigger restart on next iteration
3568
+
3569
+ const hangDetectionInterval = setInterval(() => {
3570
+ if (forceDebug) {
3571
+ const currentBatch = Math.floor(currentBatchInfo.batchStart / RESOURCE_CLEANUP_INTERVAL) + 1;
3572
+ const totalBatches = Math.ceil(totalUrls / RESOURCE_CLEANUP_INTERVAL);
3573
+ console.log(formatLogMessage('debug', `[HANG CHECK] Processed: ${processedUrlCount}/${totalUrls} URLs, Batch: ${currentBatch}/${totalBatches}, Current batch size: ${currentBatchInfo.batchSize}`));
3574
+ console.log(formatLogMessage('debug', `[HANG CHECK] URLs since cleanup: ${urlsSinceLastCleanup}, Recent failures: ${results.slice(-3).filter(r => !r.success).length}/3`));
3575
+
3576
+ // Check progress and trigger browser restart if hung
3577
+ if (processedUrlCount === lastProcessedCount) {
3578
+ hangCheckCount++;
3579
+ console.log(formatLogMessage('warn', `[HANG CHECK] No progress for ${hangCheckCount * 30}s`));
3580
+ if (hangCheckCount >= 5) {
3581
+ console.log(formatLogMessage('error', `[HANG CHECK] Hung for 2.5 minutes. Triggering emergency browser restart.`));
3582
+ forceRestartFlag = true; // Set flag instead of exiting
3583
+ hangCheckCount = 0; // Reset counter for next cycle
3584
+ }
3585
+ } else {
3586
+ hangCheckCount = 0;
3587
+ }
3588
+ lastProcessedCount = processedUrlCount;
3589
+ }
3590
+ }, 30000);
3574
3591
 
3575
- // Process URLs in batches to maintain concurrency while allowing browser restarts
3576
- let siteGroupIndex = 0;
3577
- for (let batchStart = 0; batchStart < totalUrls; batchStart += RESOURCE_CLEANUP_INTERVAL) {
3592
+ // Process URLs in batches with exception handling
3593
+ let siteGroupIndex = 0;
3594
+ try {
3595
+ for (let batchStart = 0; batchStart < totalUrls; batchStart += RESOURCE_CLEANUP_INTERVAL) {
3578
3596
  const batchEnd = Math.min(batchStart + RESOURCE_CLEANUP_INTERVAL, totalUrls);
3579
3597
  const currentBatch = allTasks.slice(batchStart, batchEnd);
3580
3598
 
@@ -3603,14 +3621,22 @@ function setupFrameHandling(page, forceDebug) {
3603
3621
  hasCriticalErrors ||
3604
3622
  urlsSinceLastCleanup > RESOURCE_CLEANUP_INTERVAL * 0.9 // Very close to cleanup limit
3605
3623
  )) {
3606
- healthCheck = await monitorBrowserHealth(browser, {}, {
3607
- siteIndex: Math.floor(batchStart / RESOURCE_CLEANUP_INTERVAL),
3608
- totalSites: Math.ceil(totalUrls / RESOURCE_CLEANUP_INTERVAL),
3609
- urlsSinceCleanup: urlsSinceLastCleanup,
3610
- cleanupInterval: RESOURCE_CLEANUP_INTERVAL,
3611
- forceDebug,
3612
- silentMode
3613
- });
3624
+ try {
3625
+ healthCheck = await Promise.race([
3626
+ monitorBrowserHealth(browser, {}, {
3627
+ siteIndex: Math.floor(batchStart / RESOURCE_CLEANUP_INTERVAL),
3628
+ totalSites: Math.ceil(totalUrls / RESOURCE_CLEANUP_INTERVAL),
3629
+ urlsSinceCleanup: urlsSinceLastCleanup,
3630
+ cleanupInterval: RESOURCE_CLEANUP_INTERVAL,
3631
+ forceDebug,
3632
+ silentMode
3633
+ }),
3634
+ new Promise((_, reject) => setTimeout(() => reject(new Error('Health check timeout')), 30000))
3635
+ ]);
3636
+ } catch (healthError) {
3637
+ console.log(formatLogMessage('warn', `[HEALTH CHECK] Timeout, assuming restart needed`));
3638
+ healthCheck = { shouldRestart: true, reason: 'Health check timeout' };
3639
+ }
3614
3640
  } else if (forceDebug && urlsSinceLastCleanup > 10) {
3615
3641
  console.log(formatLogMessage('debug', `Skipping health check: failure rate ${Math.round(recentFailureRate * 100)}%, critical errors: ${hasCriticalErrors ? 'yes' : 'no'}`));
3616
3642
  }
@@ -3628,11 +3654,13 @@ function setupFrameHandling(page, forceDebug) {
3628
3654
  !healthCheck.reason?.includes('Scheduled cleanup') &&
3629
3655
  (healthCheck.reason?.includes('Critical') || healthCheck.reason?.includes('disconnected'));
3630
3656
 
3631
- // Restart browser if we've processed enough URLs, health check suggests it, and this isn't the last site
3632
- if ((wouldExceedLimit || shouldRestartFromHealth || (hasHighFailureRate && recentResults.length >= 6)) && urlsSinceLastCleanup > 8 && isNotLastBatch) {
3633
-
3657
+ // Restart browser if we've processed enough URLs, health check suggests it, hang detected, and this isn't the last site
3658
+ if ((wouldExceedLimit || shouldRestartFromHealth || forceRestartFlag || (hasHighFailureRate && recentResults.length >= 6)) && urlsSinceLastCleanup > 8 && isNotLastBatch) {
3634
3659
  let restartReason = 'Unknown';
3635
- if (shouldRestartFromHealth) {
3660
+ if (forceRestartFlag) {
3661
+ restartReason = 'Emergency restart due to 2.5-minute hang detection';
3662
+ forceRestartFlag = false; // Reset the flag
3663
+ } else if (shouldRestartFromHealth) {
3636
3664
  restartReason = healthCheck.reason;
3637
3665
  } else if (hasHighFailureRate) {
3638
3666
  restartReason = `High failure rate: ${Math.round(recentFailureRate * 100)}% in recent batch`;
@@ -3701,9 +3729,34 @@ function setupFrameHandling(page, forceDebug) {
3701
3729
  console.log(formatLogMessage('debug', `[CONCURRENCY] Starting ${batchSize} concurrent tasks with limit ${MAX_CONCURRENT_SITES}`));
3702
3730
  }
3703
3731
 
3704
- // Create tasks with current browser instance and process them with TRUE concurrency
3705
- const batchTasks = currentBatch.map(task => originalLimit(() => processUrl(task.url, task.config, browser)));
3706
- const batchResults = await Promise.all(batchTasks);
3732
+ // Create tasks with timeout protection
3733
+ const batchTasks = currentBatch.map(task => originalLimit(() => processUrl(task.url, task.config, browser)));
3734
+
3735
+ let batchResults;
3736
+ try {
3737
+ batchResults = await Promise.race([
3738
+ Promise.all(batchTasks),
3739
+ new Promise((_, reject) =>
3740
+ setTimeout(() => reject(new Error('Batch timeout')), 600000) // 10 min timeout
3741
+ )
3742
+ ]);
3743
+ } catch (timeoutError) {
3744
+ if (timeoutError.message.includes('timeout')) {
3745
+ console.log(formatLogMessage('error', `[TIMEOUT] Batch hung. Restarting browser.`));
3746
+ try {
3747
+ await handleBrowserExit(browser, { forceDebug, timeout: 5000, exitOnFailure: false });
3748
+ browser = await createBrowser();
3749
+ urlsSinceLastCleanup = 0;
3750
+ } catch (restartErr) {
3751
+ throw restartErr;
3752
+ }
3753
+ batchResults = currentBatch.map(task => ({
3754
+ success: false, error: 'Batch timeout', needsImmediateRestart: true, url: task.url
3755
+ }));
3756
+ } else {
3757
+ throw timeoutError;
3758
+ }
3759
+ }
3707
3760
 
3708
3761
  // IMPROVED: Much more conservative emergency restart logic
3709
3762
  const criticalRestartCount = batchResults.filter(r => r.needsImmediateRestart).length;
@@ -3817,6 +3870,26 @@ function setupFrameHandling(page, forceDebug) {
3817
3870
  if (forceDebug) console.log(formatLogMessage('debug', `Emergency restart failed: ${emergencyRestartErr.message}`));
3818
3871
  }
3819
3872
  }
3873
+ // Handle hang detection flag if it's still set (e.g., on last batch where normal restart wouldn't trigger)
3874
+ if (forceRestartFlag && batchEnd < totalUrls) {
3875
+ console.log(`\n${messageColors.fileOp('🔄 Emergency hang detection restart:')} Browser appears hung, forcing restart`);
3876
+ try {
3877
+ await handleBrowserExit(browser, { forceDebug, timeout: 5000, exitOnFailure: false, cleanTempFiles: true });
3878
+ browser = await createBrowser();
3879
+ urlsSinceLastCleanup = 0;
3880
+ forceRestartFlag = false; // Reset flag
3881
+ await fastTimeout(TIMEOUTS.EMERGENCY_RESTART_DELAY);
3882
+ if (forceDebug) console.log(formatLogMessage('debug', `Emergency hang detection restart completed`));
3883
+ } catch (hangRestartErr) {
3884
+ if (forceDebug) console.log(formatLogMessage('debug', `Hang detection restart failed: ${hangRestartErr.message}`));
3885
+ // Continue anyway - better to try processing remaining URLs than exit
3886
+ }
3887
+ }
3888
+ }
3889
+ } catch (processingError) {
3890
+ console.log(formatLogMessage('error', `Critical error: ${processingError.message}`));
3891
+ clearInterval(hangDetectionInterval);
3892
+ throw processingError;
3820
3893
  }
3821
3894
 
3822
3895
  // Clear hang detection interval
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fanboynz/network-scanner",
3
- "version": "2.0.29",
3
+ "version": "2.0.30",
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": {