Last active
January 31, 2020 13:53
-
-
Save hakril/90ccdcebf247f19e3ba0fc5dbdc0859a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import windows | |
assert windows.current_process.bitness == 32 | |
for p in windows.system.processes[1:]: | |
try: | |
if p.bitness == 32: | |
continue | |
assert p.bitness == 64 | |
for i in range(100): | |
_ = p.query_working_setex([i * 0x1000]) | |
for x in p.memory_state(): | |
_ = x.Protect | |
except Exception as e: | |
print(e) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment