We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 95c1df2 commit 1032663Copy full SHA for 1032663
modules/exploits/windows/local/bypassuac.rb
@@ -104,7 +104,7 @@ def exploit
104
print_error('Either whoami is not there or failed to execute')
105
print_error('Continuing under assumption you already checked...')
106
else
107
- isinadmins = cmdout[0].split("\r\n").grep(/S-1-5-32-544/)
+ isinadmins = cmdout.join.scan(/S-1-5-32-544/)
108
if isinadmins.size > 0
109
print_good('Part of Administrators group! Continuing...')
110
0 commit comments