Skip to content

Lost in the permutation logic #15

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

Open
marcelo321 opened this issue Dec 1, 2023 · 3 comments
Open

Lost in the permutation logic #15

marcelo321 opened this issue Dec 1, 2023 · 3 comments

Comments

@marcelo321
Copy link

hello,

I am getting confused by the way ripgen generates permutations.

3 subdomains generated 23 permutations only.

# echo -e "forum.zonduu.me\nabc.zonduu.me\ntest.a.zonduu.me" | ripgen | wc -l
23
cat batch_file  | wc -l
39
cat batch_file | ripgen | anew | wc -l
6034

it is not following the logic dnsgen has (also gives +1000 duplicate results, that's why I am using anew there). Every subdomain you add increases exponentially the amount of results ripgen gives

@d0nutptr
Copy link
Contributor

d0nutptr commented Dec 2, 2023

Hello! Let me take a look and get back to you.

For context: ripgen intentionally reuses the logic that dnsgen uses so you'll often see duplicate results as a result. That said, it might be time to migrate towards generating high signal name patterns rather than just an excessively wide net.

@d0nutptr
Copy link
Contributor

d0nutptr commented Dec 2, 2023

Hmm could you explain what you're looking for me to do here? Do you want it to generate less permutations? Is it not matching dnsgen exactly?

@marcelo321
Copy link
Author

marcelo321 commented Dec 4, 2023

@d0nutptr sorry for the poorly formatted issue. I am lost in the way ripgen uses permutations, right now it is generating way less permutations than dnsgen and the results are "exponential".

like it might generate 20 permutation from a list of 1 host, but 3000 if the list of 10 hosts.

grep "paypal.com" mix-result | sed -n 1,20p | dnsgen - | anew | wc -l
56251
grep "paypal.com" mix-result | sed -n 1,20p | ripgen | anew | wc -l
6964

it is following some of the dnsgen logic for permutations but definitely not the same.

This generates 0 results:

echo abc.zonduu.me | ripgen | wc -l
0

and in the other hand, dnsgen:

echo abc.zonduu.me | dnsgen -| wc -l
1002

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

No branches or pull requests

2 participants