Skip to content

Commit

Permalink
Merge pull request #22 from batininhani/patch-1
Browse files Browse the repository at this point in the history
Update OneByteLdr.py
  • Loading branch information
danielkrupinski authored Aug 13, 2020
2 parents 120841e + 3a50a2a commit e4078b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OneByteLdr.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
'client.dll')

clientModule = pm.read_bytes(client.lpBaseOfDll, client.SizeOfImage)
address = client.lpBaseOfDll + re.search(rb'.\x5A\x6A\x00\x6A\x04',
address = client.lpBaseOfDll + re.search(rb'.\x69\x6A\x00\x6A\x04',
clientModule).start()

pm.write_uchar(address, 0xEB if pm.read_uchar(address) == 0x74 else 0x74)
Expand Down

0 comments on commit e4078b0

Please sign in to comment.