Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PE resource extraction #67

Merged
merged 2 commits into from
Dec 20, 2021
Merged

Add PE resource extraction #67

merged 2 commits into from
Dec 20, 2021

Conversation

nazywam
Copy link
Member

@nazywam nazywam commented Dec 19, 2021

This PR adds a new cli option resources that collects PE resources from the input files and puts them in the destination folder:

malduck
Usage: malduck [OPTIONS] COMMAND [ARGS]...

Options:
  -l, --log-level TEXT         Set logging level for commands: critical,
                               error, warning (default), info, debug

  -v, --verbose / -q, --quiet  Verbose mode (shortcut for '--log-level debug')
                               / quiet mode ('--log-level error')

  --version                    Show the version and exit.
  --help                       Show this message and exit.

Commands:
  extract    Extract static configuration from dumps
  fixpe      Fix dumped PE file into the correct form
  resources  Extract PE resources from an EXE into a directory
malduck resources MBCrackme.exe  out
Found resource 3-1 (1128 bytes)
Found resource 3-2 (2440 bytes)
Found resource 3-3 (4264 bytes)
Found resource 3-4 (9640 bytes)
Found resource 3-5 (16936 bytes)
Found resource 14-32512 (76 bytes)
Found resource 16-1 (796 bytes)
Found resource 24-1 (490 bytes)

@nazywam nazywam requested a review from psrok1 December 19, 2021 14:16
Copy link
Member

@psrok1 psrok1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good 👍

@psrok1 psrok1 merged commit 52e5891 into master Dec 20, 2021
@psrok1 psrok1 deleted the feature/resources branch December 20, 2021 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants