Crates.io | lightningscanner |
lib.rs | lightningscanner |
version | 1.0.2 |
source | src |
created_at | 2023-11-11 22:06:37.057153 |
updated_at | 2023-11-12 19:15:46.631046 |
description | A lightning-fast memory pattern scanner, capable of scanning gigabytes of data per second. |
homepage | |
repository | https://github.com/localcc/lightningscanner-rs |
max_upload_size | |
id | 1032463 |
size | 41,146 |
A lightning-fast memory pattern scanner, capable of scanning gigabytes of data per second.
cargo add lightningscanner
Here's an example of how to find an IDA-style memory pattern inside of a binary.
use lightningscanner::Scanner;
fn main() {
let binary = [0xab, 0xec, 0x48, 0x89, 0x5c, 0x24, 0xee, 0x48, 0x89, 0x6c];
let scanner = Scanner::new("48 89 5c 24 ?? 48 89 6c");
let result = scanner.find(None, &binary);
println!("{:?}", result);
}