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 Google2016 unbreakable challenge to examples repo #194

Merged

Conversation

@ctfhacker
Copy link
Contributor

@ctfhacker ctfhacker commented Apr 26, 2017

No description provided.


# We are given in the challenge that the flag begins with CTF{
# So we can apply constraints to ensure that is true
state.constraints.add(buffer[0] == ord('C'))

This comment has been minimized.

@offlinemark

offlinemark Apr 27, 2017
Contributor

does this still work if we use state.add instead of state.constraints.add? if so, let's use that.

This comment has been minimized.

@ctfhacker

ctfhacker Apr 27, 2017
Author Contributor

Absolutely! Changed and pushed.

ctfhacker added 2 commits Apr 26, 2017
state.add instead of state.constraints.add
@dguido dguido added the challenge label Apr 28, 2017
Copy link
Contributor

@offlinemark offlinemark left a comment

Not sure what was happening, this script is now working for me. Almost ready to merge.


# We are given in the challenge that the flag begins with CTF{
# So we can apply constraints to ensure that is true
state.add(buffer[0] == ord('C'))

This comment has been minimized.

@offlinemark

offlinemark May 5, 2017
Contributor

Could you please update these calls to be state.constrain (newly added API) (http://manticore.readthedocs.io/en/latest/api.html#manticore.core.state.State.constrain)

@offlinemark offlinemark merged commit b8991e0 into trailofbits:master May 9, 2017
1 check passed
1 check passed
continuous-integration/travis-ci/pr The Travis CI build passed
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.