projectdiscovery/alterx

Improve Pattern Generation Efficiency and Resolution Percentage

Opened this issue · 1 comments

Description:

  • The comparison was done by Six2dez, a user who compared four different permutation tools, including AlterX. The results were shared on Twitter and can be found here.

  • AlterX generated a total of 29,055,038 results, but only 1,665 were resolved, resulting in a resolution percentage of approximately 0.0057%.

Proposed Changes:

  • Pattern Generation: The number of generated patterns is quite high. While this could be seen as a positive aspect, it might also lead to unnecessary processing and storage usage. We need to focus on generating fewer, but more relevant patterns.

  • Resolution Percentage: The resolution percentage is currently quite low. We need to improve this by ensuring that a higher percentage of the generated patterns are resolved.

Expected Outcome:

By addressing these issues, we expect to improve the efficiency and effectiveness of AlterX. This should result in a tool that generates fewer patterns but resolves a higher percentage of them, providing more value to the users and being practical to use in the workflow.

Additional Information:

Please take a look at the original tweet and the comparison for more details. If you have any questions or if you need any more information, feel free to ask.

@ehsandeep, the permutation rules seem already at a bare minimum, covering what the other tools already do. I guess the high number was due to the -en flag, which works as intended and heavily depends on the input list, for which there are no references in the linked Twitter thread. Do you have any more details?

Note: DNS resolution should not be added to alterx, so the pattern generation must rely only on previous statistical/observed data