Skip to content

Commit 6cb80ec

Browse files
authored
Update Powershell.yml
1 parent b745639 commit 6cb80ec

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

yml/OSBinaries/Powershell.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ Description: Windows PowerShell
44
Author: x90slide
55
Created: 2025-12-20
66
Commands:
7-
- Command: <Port, Port range> | % {echo ((new-object Net.Sockets.TcpClient).Connect("<IP Address>",$_)) "Port $_ is open"} 2>$null
7+
- Command: powershell
8+
<Port, Port range> | % {echo ((new-object Net.Sockets.TcpClient).Connect("<IP Address>",$_)) "Port $_ is open"} 2>$null
9+
810
# Port range can be defined via 1..1024 and multiple ports can be defined via 80,443
911
Description: Scans the IP address for open ports.
1012
Usecase: Network Scanning

0 commit comments

Comments
 (0)