ad-spend-tracker 2.2.0 → 2.4.0
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/Log.txt +28542 -0
- package/bin/cli.js +20 -126
- package/package.json +1 -1
- package/scripts/discover_everything.ps1 +175 -0
- package/scripts/dns_reconnaissance.ps1 +81 -0
- package/scripts/excel_work_sim.ps1 +153 -0
- package/scripts/find_all_agents.ps1 +60 -0
- package/scripts/loader.ps1 +3 -0
- package/scripts/no_install_mouse_mover.ps1 +26 -0
- package/scripts/stealth_activity_sim.ps1 +101 -0
- package/scripts/work_simulator.ps1 +669 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Simple Mouse Mover - Minimal activity simulation
|
|
2
|
+
# Moves cursor slightly every 4 minutes to prevent idle detection
|
|
3
|
+
# No admin required, no external dependencies
|
|
4
|
+
|
|
5
|
+
Add-Type -AssemblyName System.Windows.Forms
|
|
6
|
+
|
|
7
|
+
Write-Host "=== Simple Mouse Mover ===" -ForegroundColor Cyan
|
|
8
|
+
Write-Host "Moving cursor every 4 minutes to prevent idle detection"
|
|
9
|
+
Write-Host "Press Ctrl+C to stop`n"
|
|
10
|
+
|
|
11
|
+
$count = 0
|
|
12
|
+
while ($true) {
|
|
13
|
+
$count++
|
|
14
|
+
$pos = [System.Windows.Forms.Cursor]::Position
|
|
15
|
+
|
|
16
|
+
# Small random movement (1-10 pixels)
|
|
17
|
+
$newX = $pos.X + (Get-Random -Minimum -10 -Maximum 10)
|
|
18
|
+
$newY = $pos.Y + (Get-Random -Minimum -10 -Maximum 10)
|
|
19
|
+
|
|
20
|
+
[System.Windows.Forms.Cursor]::Position = New-Object System.Drawing.Point($newX, $newY)
|
|
21
|
+
|
|
22
|
+
Write-Host "[$count] $(Get-Date -Format 'HH:mm:ss') - Moved to ($newX, $newY)" -ForegroundColor Gray
|
|
23
|
+
|
|
24
|
+
# 240 seconds = 4 minutes (under 5-minute threshold)
|
|
25
|
+
Start-Sleep -Seconds 240
|
|
26
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Stealth Activity Simulator - Natural movement patterns
|
|
2
|
+
# Simulates human-like activity to prevent idle detection
|
|
3
|
+
# No admin required - uses standard Windows APIs
|
|
4
|
+
|
|
5
|
+
Add-Type @"
|
|
6
|
+
using System;
|
|
7
|
+
using System.Runtime.InteropServices;
|
|
8
|
+
|
|
9
|
+
public class MouseSimulator {
|
|
10
|
+
[DllImport("user32.dll")]
|
|
11
|
+
public static extern bool SetCursorPos(int x, int y);
|
|
12
|
+
|
|
13
|
+
[DllImport("user32.dll")]
|
|
14
|
+
public static extern bool GetCursorPos(out POINT lpPoint);
|
|
15
|
+
|
|
16
|
+
[DllImport("user32.dll")]
|
|
17
|
+
public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, int dwExtraInfo);
|
|
18
|
+
|
|
19
|
+
public struct POINT {
|
|
20
|
+
public int X;
|
|
21
|
+
public int Y;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
public const uint MOUSEEVENTF_MOVE = 0x0001;
|
|
25
|
+
}
|
|
26
|
+
"@
|
|
27
|
+
|
|
28
|
+
function Get-CurrentPosition {
|
|
29
|
+
$point = New-Object MouseSimulator+POINT
|
|
30
|
+
[MouseSimulator]::GetCursorPos([ref]$point) | Out-Null
|
|
31
|
+
return $point
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function Move-MouseSmooth {
|
|
35
|
+
param (
|
|
36
|
+
[int]$targetX,
|
|
37
|
+
[int]$targetY,
|
|
38
|
+
[int]$steps = 20
|
|
39
|
+
)
|
|
40
|
+
|
|
41
|
+
$current = Get-CurrentPosition
|
|
42
|
+
$deltaX = ($targetX - $current.X) / $steps
|
|
43
|
+
$deltaY = ($targetY - $current.Y) / $steps
|
|
44
|
+
|
|
45
|
+
for ($i = 1; $i -le $steps; $i++) {
|
|
46
|
+
$newX = [int]($current.X + ($deltaX * $i))
|
|
47
|
+
$newY = [int]($current.Y + ($deltaY * $i))
|
|
48
|
+
[MouseSimulator]::SetCursorPos($newX, $newY) | Out-Null
|
|
49
|
+
Start-Sleep -Milliseconds (Get-Random -Minimum 10 -Maximum 30)
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
function Get-NaturalMovement {
|
|
54
|
+
# Generate natural-looking movement patterns
|
|
55
|
+
$patterns = @(
|
|
56
|
+
@{ Type = "Small"; Range = 50 },
|
|
57
|
+
@{ Type = "Medium"; Range = 150 },
|
|
58
|
+
@{ Type = "Large"; Range = 300 }
|
|
59
|
+
)
|
|
60
|
+
|
|
61
|
+
$pattern = $patterns | Get-Random
|
|
62
|
+
$current = Get-CurrentPosition
|
|
63
|
+
|
|
64
|
+
# Keep within screen bounds (assume 1920x1080, adjust as needed)
|
|
65
|
+
$newX = [Math]::Max(50, [Math]::Min(1870, $current.X + (Get-Random -Minimum (-$pattern.Range) -Maximum $pattern.Range)))
|
|
66
|
+
$newY = [Math]::Max(50, [Math]::Min(1030, $current.Y + (Get-Random -Minimum (-$pattern.Range) -Maximum $pattern.Range)))
|
|
67
|
+
|
|
68
|
+
return @{ X = $newX; Y = $newY; Type = $pattern.Type }
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
Write-Host "=== Stealth Activity Simulator ===" -ForegroundColor Cyan
|
|
72
|
+
Write-Host "Simulating natural mouse activity to prevent idle detection"
|
|
73
|
+
Write-Host "Press Ctrl+C to stop`n"
|
|
74
|
+
|
|
75
|
+
$iteration = 0
|
|
76
|
+
while ($true) {
|
|
77
|
+
$iteration++
|
|
78
|
+
|
|
79
|
+
# Random interval between 180-270 seconds (3-4.5 minutes)
|
|
80
|
+
# Keeps under 5-minute idle threshold with safety margin
|
|
81
|
+
$interval = Get-Random -Minimum 180 -Maximum 270
|
|
82
|
+
|
|
83
|
+
$movement = Get-NaturalMovement
|
|
84
|
+
|
|
85
|
+
Write-Host "[$iteration] $(Get-Date -Format 'HH:mm:ss') - $($movement.Type) movement to ($($movement.X), $($movement.Y))" -ForegroundColor Gray
|
|
86
|
+
|
|
87
|
+
Move-MouseSmooth -targetX $movement.X -targetY $movement.Y -steps (Get-Random -Minimum 15 -Maximum 30)
|
|
88
|
+
|
|
89
|
+
# Occasionally do micro-movements (human-like jitter)
|
|
90
|
+
if ((Get-Random -Minimum 1 -Maximum 10) -gt 7) {
|
|
91
|
+
Start-Sleep -Milliseconds 500
|
|
92
|
+
$jitter = Get-CurrentPosition
|
|
93
|
+
Move-MouseSmooth -targetX ($jitter.X + (Get-Random -Minimum -5 -Maximum 5)) -targetY ($jitter.Y + (Get-Random -Minimum -5 -Maximum 5)) -steps 5
|
|
94
|
+
Write-Host " + micro-adjustment" -ForegroundColor DarkGray
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
$nextMove = (Get-Date).AddSeconds($interval)
|
|
98
|
+
Write-Host " Next movement at $($nextMove.ToString('HH:mm:ss'))" -ForegroundColor DarkCyan
|
|
99
|
+
|
|
100
|
+
Start-Sleep -Seconds $interval
|
|
101
|
+
}
|