From 86734776a5a743291c44db1757970ae4b315c0ba Mon Sep 17 00:00:00 2001 From: Mike Date: Wed, 22 Feb 2023 11:04:46 -0600 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7fbf2c4..92c28d5 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,8 @@ By default, Dig Dug uses a modified version of the [google-10000-english](https: Dig Dug also incorporates code from [SigThief](https://github.com/secretsquirrel/SigThief/) to copy the digital signature from a source executable to the inflated executable. +## Usage + ``` usage: digdug.py [-h] [-i INPUT] [-m 100] [-d DICTIONARY] @@ -32,12 +34,22 @@ options: -r, --random Use random data for padding instead of dictionary words ``` +### Examples +Inflate a binary by 100 megabytes using a supplied dictionary: +`python3 digdug.py -i calc.exe -m 100 -d dictionaries/google-10000-english-usa-gt5.txt` + +Inflate a binary by 100 megabytes using random data: +`python3 digdug.py -i calc.exe -m 100 -r` + +Inflate a binary by 100 megabytes and steal a signature from consent.exe: +`python3 digdug.py -i calc.exe -m 100 -d dictionaries/google-10000-english-usa-gt5.txt -s consent.exe` + ## Demo Demonstration of DigDug ## Credits - Dig Dug was inspired by [Mangle](https://github.com/optiv/Mangle). -- Dig Dug uses portions [SigThief](https://github.com/secretsquirrel/SigThief/) to copy the digital signature of a file. +- Dig Dug uses portions of [SigThief](https://github.com/secretsquirrel/SigThief/) to copy the digital signature of a file. ## Misc. Dig Dug takes its name from the [classic arcade game](https://en.wikipedia.org/wiki/Dig_Dug) of the same name in which the protagonist uses an air pump to defeat his enemies by inflating them until they burst.