diff --git a/README.md b/README.md index eb58912..d648061 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ SploitScan is a powerful and user-friendly tool designed to streamline the proce - **[Nessus](https://www.tenable.com/products/nessus) (.nessus)** - **[Nexpose](https://www.rapid7.com/products/nexpose/) (.xml)** - **[OpenVAS](https://www.openvas.org/) (.xml)** -- **[Docker](https://docs.docker.com/scout/) (.json)**: +- **[Docker](https://docs.docker.com/scout/) (.json)** ## 🚀 Usage @@ -175,6 +175,7 @@ Contributions are welcome. Please feel free to fork, modify, and make pull reque - [Javier Álvarez](https://github.com/jalvarezz13) for bugfixes. - [Romullo](https://github.com/Romullo) for ideas & suggestions. - [davidfortytwo](https://github.com/davidfortytwo) for enhancements (Updated CVE retrieval and PacketStorm addition). +- [con-f-use](https://github.com/con-f-use) for support and fixes with setuptools/PyPi. ## 📌 Author diff --git a/pyproject.toml b/pyproject.toml index 7ac8f81..35714b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -15,7 +15,9 @@ dependencies = [ "openai~=1.30.2" ] requires-python = ">=3.8" -scripts.sploitscan = "sploitscan.sploitscan:cli" + +[project.scripts] +sploitscan = "sploitscan.sploitscan:cli" [project.urls] homepage = "https://github.com/xaitax/SploitScan" diff --git a/sploitscan/__main__.py b/sploitscan/__main__.py new file mode 100644 index 0000000..3cec4cb --- /dev/null +++ b/sploitscan/__main__.py @@ -0,0 +1,4 @@ +from .sploitscan import cli + +if __name__ == "__main__": + cli()