-
Notifications
You must be signed in to change notification settings - Fork 651
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
Crystal binary not working #122
Comments
Here is the output of the debug mode in case it can be useful:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
First of all thank you for this amazing tool.
I'm struggling to create a shellcode from a binary compiled using the Crystal programming language (https://crystal-lang.org/). Crystal is a recent compiled language, as I understood the code is translated to LLVM, and then compiled (using MSVC in my case) (ref: https://crystal-lang.org/2015/03/04/internals/).
Here is the source code of my Crystal program:
The code itself is working, and I tried with a "normal" C program and Donut is working fine, here is all the steps I take:
crystal.exe build -d .\test.cr
, this produce a binary calledtest.exe
, this binary has a.reloc
section and I enabled the debug build using the-d
flag..\donut.exe -i .\test.exe
, this gives me a file calledloader.bin
.\inject_local.exe ..\loader.bin
, but no file are createdIf you want I can provide you a binary directly, and if you don't want to spend time on this issue I will understand, Crystal is not yet very well known, and I understand you will not try to support all languages of the world.
Regards.
The text was updated successfully, but these errors were encountered: