mirror of
https://github.com/PowerShellMafia/PowerSploit
synced 2026-06-08 12:13:33 +00:00
Fixed minor logic bug in C type undecorated symbols
This commit is contained in:
@@ -249,7 +249,14 @@
|
||||
}
|
||||
else
|
||||
{
|
||||
$UndecoratedSymbol = $DecoratedSymbol.Substring(1).Split('@')[0]
|
||||
if ($DecoratedSymbol[0] -eq '_' -or $DecoratedSymbol[0] -eq '@')
|
||||
{
|
||||
$UndecoratedSymbol = $DecoratedSymbol.Substring(1).Split('@')[0]
|
||||
}
|
||||
else
|
||||
{
|
||||
$UndecoratedSymbol = $DecoratedSymbol.Split('@')[0]
|
||||
}
|
||||
}
|
||||
|
||||
$SymInfo = @{
|
||||
|
||||
Reference in New Issue
Block a user