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

Challenge 20: the C++ challenge #326

Merged
merged 7 commits into from
Jun 24, 2022
Merged

Challenge 20: the C++ challenge #326

merged 7 commits into from
Jun 24, 2022

Conversation

commjoen
Copy link
Collaborator

Thank you for submitting a pull request to the WrongSecrets app!
This is a first version for the C++ challenge in #148 .

@commjoen commjoen marked this pull request as ready for review June 23, 2022 04:50
Dockerfile Show resolved Hide resolved
@@ -8,7 +8,7 @@ You can solve this challenge using the following steps:
- Load the application `wrongsecrets-c` into ghidra by choosing a new project, then import the file and then doubleclick on it.
- Allow the Ghidra to analyze the application.
- Search for the secret: Go to `Functions` on the left-hand side, select `_secret` . Now on the screen on the right-hand side you can see the secret. This is a string in C.
- Search for the secret, which is "hidden" as a char array: Go to `Functions` on the left-hand side, select `_secret2`. See that this returns a label on your right-hand side. Now open `Labels` on the left-hand side, select the label returned by `_secret2` (`_secret2.label`) and find the answer in the center. This is a Char array in C.
- Search for the same secret, which is "hidden" as a char array: Go to `Functions` on the left-hand side, select `_secret2`. See that this returns a label on your right-hand side. Now open `Labels` on the left-hand side, select the label returned by `_secret2` (`_secret2.label`) and find the answer in the center. This is a Char array in C.

Copy link
Collaborator

Choose a reason for hiding this comment

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

we could include an option 3 here: using the strings command

src/main/resources/explanations/challenge20_hint.adoc Outdated Show resolved Hide resolved
@commjoen commjoen merged commit d513f47 into master Jun 24, 2022
@commjoen commjoen deleted the challenge20 branch June 24, 2022 08:53
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.

2 participants