Register for your free account! | Forgot your password?


Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 23:11

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement




FastScan

Discussion on FastScan within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: LOCKED
Join Date: Oct 2014
Posts: 1,255
Received Thanks: 12,474
FastScan

Hey, I've seen UDFs that scan the memory for a pattern but they've been slow since they also try to scan inaccessible pages. I have no idea why this hasn't been posted yet but I wrote an edit of some public pattern scan function (credits? probably nomad) that skips pages with Free state and PAGE_NOACCESS using VirtualQueryEx.

FastScan
1.82 seconds

_MemoryScan
35.001 seconds

Obviously the difference probably will not be this tremendous in actual use, it depends on how your process maps pages and the address you're scanning; nevertheless it should be faster.

Code:

example/comparison attached
and please don't @ me for scanning LoadLibraryA i'm not retarded, it's just an example
Attached Files
File Type: zip Fastscan example.zip (3.3 KB, 1 views)
[Beatrice] is offline  
Reply




All times are GMT +1. The time now is 23:11.


Powered by vBulletin®
Copyright ©2000 - 2022, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2021 elitepvpers All Rights Reserved.