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

De Bruijn sequences #900

Closed
jvoisin opened this issue May 8, 2014 · 6 comments
Closed

De Bruijn sequences #900

jvoisin opened this issue May 8, 2014 · 6 comments

Comments

@jvoisin
Copy link
Contributor

jvoisin commented May 8, 2014

It would be super cool to have cyclic patterns support in radare2 for exploits development, like in Metasploit. Here is an implementation in Python.

@radare
Copy link
Collaborator

radare commented May 9, 2014

Could you provide a C-based implementation of it? That dbrujin algo seems to be bit-based, and we need byte-based patterns. how to use this in metasploit?

On 08 May 2014, at 22:34, jvoisin notifications@github.com wrote:

It would be super cool to have cyclic patterns support in radare2 for exploits development, like in Metasploit.


Reply to this email directly or view it on GitHub.

@jvoisin
Copy link
Contributor Author

jvoisin commented Jun 10, 2014

It is used both in metasploit and in mona.py to find the right offset to gain control of EIP. Here is an article about this usage.

@crowell
Copy link
Collaborator

crowell commented Aug 31, 2014

I've implemented the De Bruijn sequence in C, in the same way that it is done in in PEDA, also for lookups to find the offsets. I'll try to incorperate it in radare's style and add it! :-)

https://gist.github.com/crowell/77b601db16562ac49834/1bdaeda74724ea9497512c9b2db5c32565b779bf

@peterclemenko
Copy link

Should this be closed due to #1272?

@radare
Copy link
Collaborator

radare commented Sep 23, 2014

Indeed :)

@radare radare closed this as completed Sep 23, 2014
@peterclemenko
Copy link

It might also need to be checked off in the Mona.py and PEDA issues as done.

yossizap pushed a commit to yossizap/radare2 that referenced this issue Dec 30, 2019
Wrong path separators have been used. The fix makes them consistent and correspond the Operating System.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants