Skip to content

Conversation

@Ne0re0
Copy link
Contributor

@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.

@swisskyrepo swisskyrepo merged commit 5eb7c78 into swisskyrepo:master Feb 26, 2025
@swisskyrepo
Copy link
Owner

Nice feature, thank you 👍

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