@fanboynz/network-scanner 1.0.86 → 1.0.87

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/lib/cloudflare.js CHANGED
@@ -1,5 +1,6 @@
1
1
  /**
2
2
  * Cloudflare bypass and challenge handling module - Optimized with smart detection and adaptive timeouts
3
+ * Version: 2.4.1 - Bump timeout values
3
4
  * Version: 2.4.0 - Fix possible endless loops with retry logic and loop detection
4
5
  * Version: 2.3.1 - Colorize CF
5
6
  * Version: 2.3.0 - Support CF iframe challenges, and better error handling
@@ -26,9 +27,9 @@ const TIMEOUTS = {
26
27
  PAGE_EVALUATION_SAFE: 10000, // Safe page evaluation with extra buffer
27
28
  PHISHING_CLICK: 3000, // Timeout for clicking phishing continue button
28
29
  PHISHING_NAVIGATION: 8000, // Wait for navigation after phishing bypass
29
- JS_CHALLENGE_BUFFER: 18000, // JS challenge with safety buffer
30
- TURNSTILE_COMPLETION: 12000, // Turnstile completion check
31
- TURNSTILE_COMPLETION_BUFFER: 15000, // Turnstile completion with buffer
30
+ JS_CHALLENGE_BUFFER: 30000, // JS challenge with safety buffer
31
+ TURNSTILE_COMPLETION: 20000, // Turnstile completion check
32
+ TURNSTILE_COMPLETION_BUFFER: 25000, // Turnstile completion with buffer
32
33
  CLICK_TIMEOUT: 5000, // Standard click operation timeout
33
34
  CLICK_TIMEOUT_BUFFER: 1000, // Click timeout safety buffer
34
35
  NAVIGATION_TIMEOUT: 15000, // Standard navigation timeout
@@ -52,9 +53,9 @@ const FAST_TIMEOUTS = {
52
53
  ELEMENT_INTERACTION_DELAY: 250, // Fast element interactions
53
54
  SELECTOR_WAIT: 1500, // Fast selector waits
54
55
  TURNSTILE_OPERATION: 6000, // Fast Turnstile operations
55
- JS_CHALLENGE: 12000, // Fast JS challenge completion
56
- CHALLENGE_SOLVING: 15000, // Fast overall challenge solving
57
- CHALLENGE_COMPLETION: 3000 // Fast completion check
56
+ JS_CHALLENGE: 22000, // Fast JS challenge completion
57
+ CHALLENGE_SOLVING: 30000, // Fast overall challenge solving
58
+ CHALLENGE_COMPLETION: 8000 // Fast completion check
58
59
  };
59
60
 
60
61
  /**
package/nwss.js CHANGED
@@ -1,4 +1,4 @@
1
- // === Network scanner script (nwss.js) v1.0.86 ===
1
+ // === Network scanner script (nwss.js) v1.0.87 ===
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, isQuicklyResponsive } = require('./lib/browserhealth');
124
124
 
125
125
  // --- Script Configuration & Constants ---
126
- const VERSION = '1.0.86'; // Script version
126
+ const VERSION = '1.0.87'; // 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.86",
3
+ "version": "1.0.87",
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": {