Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Pen-Test/Basic-Brute-Force.ps1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/File-Generator.ps1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/Key-Logger.ps1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/Site-Stress-Test-While.ps1
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/Site-Stress-Test.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For authorized testing only. See README.md for ethical use guidelines.
$targetURL = "tsg.com"
$requestCount = 10000
$MaxThreads = 505
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/brute.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For authorized testing only. See README.md for ethical use guidelines.
# Target Information
$TargetURL = ""
$LoginEndpoint = "/login"
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/network-probe.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For authorized testing only. See README.md for ethical use guidelines.
<#
.SYNOPSIS
Gathers and displays basic network information.
Expand Down
1 change: 1 addition & 0 deletions Pen-Test/payload.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# For authorized testing only. See README.md for ethical use guidelines.
$baseUrl = ""
$payloads = @(
"<script>alert(1)</script>"
Expand Down
4 changes: 2 additions & 2 deletions Pen-Test/ping-scanner.ps1
Original file line number Diff line number Diff line change
@@ -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)
Expand All @@ -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"
}
}
}}
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.