ctf icon indicating copy to clipboard operation
ctf copied to clipboard

testing the challenge locally

Open AravGarg opened this issue 5 years ago • 2 comments

This issue is not directly about the challenge but rather on how to test the binary locally. I added -debug to the script as mentioned in the docs, but I run into this error : legacy bitmap isn't available. Btw, even with the original script, I ran into the same error so I wasn;t able to test the challenge locally. I have contacted the author of the challenge but I haven't received a response. Also, there's nothing on the net that shows a similar issue when running the sde simulator.

AravGarg avatar Oct 01 '20 15:10 AravGarg

@AravGarg The error legacy bitmap isn't available is from ld-linux-x86-64.so.2 and is likely caused by details of your setup. It is worth mentioning that CET support is still not fully merged into official Linux kernel.

When solving the challenge, I used Ubuntu 20.04 LTS and on a machine with 8 GBytes of RAM available. Note that Software Development Emulator apparently requires about 6 GBytes or RAM to run the challenge binary.

Could you please test with similar setup, perhaps boot live Ubuntu from ISO ubuntu-20.04.1-desktop-amd64.iso in a VM and run run.sh form the challenge archive?

c7f-m0d3 avatar Oct 01 '20 21:10 c7f-m0d3

@AravGarg The error legacy bitmap isn't available is from ld-linux-x86-64.so.2 and is likely caused by details of your setup. It is worth mentioning that CET support is still not fully merged into official Linux kernel.

When solving the challenge, I used Ubuntu 20.04 LTS and on a machine with 8 GBytes of RAM available. Note that Software Development Emulator apparently requires about 6 GBytes or RAM to run the challenge binary.

Could you please test with similar setup, perhaps boot live Ubuntu from ISO ubuntu-20.04.1-desktop-amd64.iso in a VM and run run.sh form the challenge archive?

Thanks a lot Sir, I will get back to you when I try it.

AravGarg avatar Oct 02 '20 05:10 AravGarg