From f7efe0f4205c1f598924d36314a546b3271d3ee5 Mon Sep 17 00:00:00 2001 From: xenia Date: Fri, 22 Nov 2024 02:33:16 -0500 Subject: [PATCH] add extra stuff --- Cargo.toml | 6 ++++++ LICENSE | 1 + README.md | 29 +++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 LICENSE create mode 100644 README.md diff --git a/Cargo.toml b/Cargo.toml index 70ac78d..e5b6740 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,13 @@ [package] name = "zbasefind" version = "0.1.0" +authors = ["xenia "] +description = "Firmware base address guessing tool" +repository = "https://git.lain.faith/haskal/zbasefind.git" +readme = "README.md" +license-file = "LICENSE" edition = "2021" +publish = false [dependencies] clap = { version = "4.5.21", features = ["derive"] } diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..e9872a6 --- /dev/null +++ b/LICENSE @@ -0,0 +1 @@ +all rights reserved. you gotta pirate this :) diff --git a/README.md b/README.md new file mode 100644 index 0000000..1a2ea48 --- /dev/null +++ b/README.md @@ -0,0 +1,29 @@ +# zbasefind + +Command line tool to guess the base address of a raw firmware binary (zoomer +edition). Only 32 bit is supported at the moment. + +## Why did you reimplement this? + +The existing package was fucking busted (more specifically, it failed to +execute correctly in 2024 due to not having a Cargo.lock checked in) and i +couldn't figure out why. So i just rewrote the entire thing from first +principles + +## Usage + +``` +Usage: zbasefind [OPTIONS] + +Arguments: + File to scan + +Options: + -b, --big-endian Assume target is big endian + -p, --page-size Target memory page size [default: 4096] + -m, --min-str-len Minimum string length [default: 10] + -n, --max-matches Maximum matches to display [default: 10] + -t, --threads Number of threads to use [default: <#CPUs>] + -h, --help Print help + -V, --version Print version +```