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

MemoryError on big memory image #15

Open
MariasStory opened this issue Nov 22, 2021 · 1 comment
Open

MemoryError on big memory image #15

MariasStory opened this issue Nov 22, 2021 · 1 comment

Comments

@MariasStory
Copy link

Hi team,
Thanks for the interesting solution.
On ~30GB memory image, I am getting:

trikeConfig(args.beacon).parse_config(version=args.version, quiet=args.quiet, as_json=args.json) or \
  File "/CobaltStrikeParser/parse_beacon_config.py", line 372, in __init__
    self.data = fobj.read()
MemoryError
@Kristal-g
Copy link
Contributor

Hey, thanks for the input!
Yes, this script is not memory-optimized or optimized at all...

You might want to split the files into smaller, like 1GB chunks and run the script on all the parts.
This linux command might help: split -n 30 mem.dmp

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

No branches or pull requests

2 participants