diff --git a/Pen-Test/Basic-Brute-Force.ps1 b/Pen-Test/Basic-Brute-Force.ps1 index dcb0402..4952168 100644 --- a/Pen-Test/Basic-Brute-Force.ps1 +++ b/Pen-Test/Basic-Brute-Force.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. <# .SYNOPSIS Attempts to brute force the password for a specified user by testing a list of passwords. diff --git a/Pen-Test/File-Generator.ps1 b/Pen-Test/File-Generator.ps1 index d520a94..72bd6df 100644 --- a/Pen-Test/File-Generator.ps1 +++ b/Pen-Test/File-Generator.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. <# .SYNOPSIS This script creates a random directory under C:\Windows\System32. diff --git a/Pen-Test/Key-Logger.ps1 b/Pen-Test/Key-Logger.ps1 index a932dbe..004e901 100644 --- a/Pen-Test/Key-Logger.ps1 +++ b/Pen-Test/Key-Logger.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. <# .SYNOPSIS A simple keylogger script that logs key presses to a specified file. diff --git a/Pen-Test/Site-Stress-Test-While.ps1 b/Pen-Test/Site-Stress-Test-While.ps1 index 4d407a7..7d0d117 100644 --- a/Pen-Test/Site-Stress-Test-While.ps1 +++ b/Pen-Test/Site-Stress-Test-While.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. <# .SYNOPSIS This script performs a stress test on a specified web site by sending multiple concurrent requests in a loop. diff --git a/Pen-Test/Site-Stress-Test.ps1 b/Pen-Test/Site-Stress-Test.ps1 index 46a10f8..c8965b6 100644 --- a/Pen-Test/Site-Stress-Test.ps1 +++ b/Pen-Test/Site-Stress-Test.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. $targetURL = "tsg.com" $requestCount = 10000 $MaxThreads = 505 diff --git a/Pen-Test/brute.ps1 b/Pen-Test/brute.ps1 index 5cd9b3b..9fa1fe5 100644 --- a/Pen-Test/brute.ps1 +++ b/Pen-Test/brute.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. # Target Information $TargetURL = "" $LoginEndpoint = "/login" diff --git a/Pen-Test/network-probe.ps1 b/Pen-Test/network-probe.ps1 index 2193ff6..2740ad1 100644 --- a/Pen-Test/network-probe.ps1 +++ b/Pen-Test/network-probe.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. <# .SYNOPSIS Gathers and displays basic network information. diff --git a/Pen-Test/payload.ps1 b/Pen-Test/payload.ps1 index c39de2d..3619226 100644 --- a/Pen-Test/payload.ps1 +++ b/Pen-Test/payload.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. $baseUrl = "" $payloads = @( "" diff --git a/Pen-Test/ping-scanner.ps1 b/Pen-Test/ping-scanner.ps1 index 11983c7..83666ad 100644 --- a/Pen-Test/ping-scanner.ps1 +++ b/Pen-Test/ping-scanner.ps1 @@ -1,3 +1,4 @@ +# For authorized testing only. See README.md for ethical use guidelines. param ( [string]$ipAddress = "127.0.0.1", [int[]]$ports = @(80, 443, 8080) @@ -9,5 +10,4 @@ foreach ($port in $ports) { Write-Output "Port $port is open on $ipAddress" } else { Write-Output "Port $port is closed on $ipAddress" - } -} \ No newline at end of file + }} \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..ec684e6 --- /dev/null +++ b/README.md @@ -0,0 +1,8 @@ +# The Script Lab + +This repository provides a collection of PowerShell and related scripts for security research and system management. Some scripts are designed for penetration-testing scenarios. + +## Ethical Use Notice + +Use these scripts **only** on systems that you own or where you have been granted explicit, written permission to perform testing. Unauthorized or malicious use of these scripts may violate the law and ethical guidelines. The maintainers assume no responsibility for misuse. +