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 --logfile tag and dynamic directory switching to call ssrfmap.py from anywhere #55

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Ne0re0
Copy link

@Ne0re0 Ne0re0 commented Oct 9, 2024

  • This PR adds a --logfile flag to define a specific log file. If --logfile is not present, it defaults to SSRFmap.log next to ssrfmap.py, as before.
  • It also displays the banner before anything else, so the banner is shown even when using --help or in case of errors.
  • Finally, it converts relative file paths to absolute paths to allow switching directories, because the script needs to be executed from the SSRFmap directory to load all modules correctly, and, obviously it switches working directory to launch ssrfmap.py from anywhere avoiding errors.

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.

1 participant