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

Fixing fetching retry , union session parameters into a single txt file and merging output urls patch #127

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ISLAM-XGAMER
Copy link

There were mainly 3 issue with the code

  1. Retry mechanism logic is to stop after 3 tries , @nitish800 have changed this issue to continue to the next URL and I formatted it to be more user friendly

  2. Any URL with slash sign " / " etc...(example.com/my) will be passed normally as an input the process of fetching will work fine until creating the txt name with that URL containing slash sign "/" , the script will raise error that result_file = os.path.join(results_dir, f"{domain}.txt") cant create such txt file and that's normal cause @@Linux file system cant accept / as a name as it is represents directories ,I have replaced it with fraction slash character "\u2044" , this will be effective when a user inputs a redirected subdomain comes from another tool

  3. The parameters for every domain is saved in a txt file with the name of that domain so most hunters will have to merge them by the CLI like cat * > params.txt so I have made additional feature that saves all generated parameters in a txt file for every session aka execute of the script named by the date and time of the execution of the sctipt example (Session : 2024_06_13_20:41:27.txt)

@knrredhelmet
Copy link

i solved most of the issue here
https://github.com/knrredhelmet/paraminer

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