Skip to content

Fixes SQLi standalone entrypoint #1 and pin exact dependency versions #2#3

Open
ezhil-003 wants to merge 1 commit intoR-Santhoshkumar:mainfrom
ezhil-003:main
Open

Fixes SQLi standalone entrypoint #1 and pin exact dependency versions #2#3
ezhil-003 wants to merge 1 commit intoR-Santhoshkumar:mainfrom
ezhil-003:main

Conversation

@ezhil-003
Copy link
Copy Markdown

Summary
This PR fixes the duplicate standalone execution path in the SQL injection scanner and pins the project's direct dependencies to exact versions for reproducible installs.

Changes

  • Thi pull request also includes
  • Removed the extra if __name__ == "__main__" block from scanners/sqli_scanner.py
  • Kept a single standalone entrypoint through run_sql_injection_scanner()
  • Pinned direct dependencies in requirements.txt to exact versions:
  rich==14.3.3
  requests==2.32.5
  beautifulsoup4==4.14.3
  urllib3==2.6.3

Why

  • Running scanners/sqli_scanner.py directly could trigger the scanner flow twice because the file had two standalone entry blocks
  • Unpinned dependencies made installs non-reproducible across environments

This commit add AGENTS.md for better accessibility for agents working with this project to get better over view

Modified the `sqli_scanner.py`, requirement.txt

The duplicate standalone execution is removed in sqli_scanner.py (line 460). The file now has a single `if __name__ == "__main__"` path,
which calls `run_sql_injection_scanner()` once.

The dependency pins are updated in requirements.txt to exact versions from the local virtualenv:
`rich==14.3.3, requests==2.32.5, beautifulsoup4==4.14.3, urllib3==2.6.3`.
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