diff options
author | HarmJ0y <will@harmj0y.net> | 2016-12-14 18:25:15 -0500 |
---|---|---|
committer | HarmJ0y <will@harmj0y.net> | 2016-12-14 18:25:15 -0500 |
commit | 9ed26d65a883ad35962b1aaa9a6c57d3d3403cb0 (patch) | |
tree | c3ba83d8d19f38d36ac607589b407ace9032c129 /Privesc/PowerUp.ps1 | |
parent | cf444398cab3f77f9b8cc7bd23e3e506621eb150 (diff) | |
download | PowerSploit-9ed26d65a883ad35962b1aaa9a6c57d3d3403cb0.tar.gz PowerSploit-9ed26d65a883ad35962b1aaa9a6c57d3d3403cb0.zip |
removed whitespace
Diffstat (limited to 'Privesc/PowerUp.ps1')
-rw-r--r-- | Privesc/PowerUp.ps1 | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/Privesc/PowerUp.ps1 b/Privesc/PowerUp.ps1 index 8ad9044..9c3d622 100644 --- a/Privesc/PowerUp.ps1 +++ b/Privesc/PowerUp.ps1 @@ -1,11 +1,13 @@ <# - PowerUp aims to be a clearinghouse of common Windows privilege escalation - vectors that rely on misconfigurations. See README.md for more information. - Author: @harmj0y - License: BSD 3-Clause - Required Dependencies: None - Optional Dependencies: None +PowerUp aims to be a clearinghouse of common Windows privilege escalation +vectors that rely on misconfigurations. See README.md for more information. + +Author: @harmj0y +License: BSD 3-Clause +Required Dependencies: None +Optional Dependencies: None + #> #Requires -Version 2 @@ -851,7 +853,7 @@ a modifiable path. } else { # if the path doesn't exist, check if the parent folder allows for modification - $ParentPath = Split-Path -Path $TempPath -Parent -ErrorAction SilentlyContinue + $ParentPath = Split-Path -Path $TempPath -Parent -ErrorAction SilentlyContinue if ($ParentPath -and (Test-Path -Path $ParentPath)) { $CandidatePaths += Resolve-Path -Path $ParentPath -ErrorAction SilentlyContinue | Select-Object -ExpandProperty Path } @@ -4480,7 +4482,7 @@ https://github.com/enigma0x3/Misc-PowerShell-Stuff/blob/master/Invoke-WScriptByp Param( [String] $sSource, - + [String] $sTarget ) @@ -4638,7 +4640,7 @@ https://github.com/enigma0x3/Misc-PowerShell-Stuff/blob/master/Invoke-WScriptByp Invoke-WscriptElevate } } - else { + else { Write-Warning '[!] Target machine is not vulnerable.' } } |