From 0f00627964a4b2e515108401fa2cfe94600ad648 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Thu, 2 Jan 2025 19:17:34 -0500 Subject: Rename sploit package to nsploit Rename all affected files, references to file paths, and module imports within the code. Since this line of development represents a fork from the original sploit, a name change is seen as necessary to distinguish the projects, as well as allow them to be installed side by side. What does the "n" mean? Great question! You can think of it as meaning "new sploit" if you want, though that's not quite intended. The name is simply distinct and easy to pronounce. I had originally settled on "msploit" (something along the lines of "Malf's sploit"), but this name is too close to "metasploit" for me - and N is right next to it on the keyboard. Signed-off-by: Malfurious --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 5ac11e8..b2f5a49 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] -name = "sploit" -description = "sploit is a process interaction automation tool with software exploitation focused utilities." +name = "nsploit" +description = "nsploit is a process interaction automation tool with software exploitation focused utilities." readme = "README.txt" requires-python = ">=3.9" license = "Unlicense" @@ -15,7 +15,7 @@ dynamic = ["version"] "Homepage" = "https://github.com/dusoleil/sploit" [project.scripts] -sploit = "sploit.__main__:main" +nsploit = "nsploit.__main__:main" [build-system] requires = ["hatchling"] @@ -23,7 +23,7 @@ build-backend = "hatchling.build" [tool.hatch.version] source = "code" -path = "sploit/__init__.py" +path = "nsploit/__init__.py" search-paths = ["."] expression = "__version__" -- cgit v1.2.3 From d4aacb45a070f05eddb5fbfec191b440e381e268 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Fri, 3 Jan 2025 09:59:53 -0500 Subject: Don't rely on git for version information The version information for the nsploit distribution is now defined in pyproject.toml, and we no longer attempt to obtain details via git-describe. As previously, the library version is made available via `nsploit.__version__`. The main benefit of working this way is to allow a proper install of nsploit from a simple tarball of the source code, or even a shallow git clone. In each of these cases, tag information will not usually be present. As an added feature over the previous system, nsploit will now report in its version string if the running version is from a source tree, rather than an installed copy. Signed-off-by: Malfurious --- pyproject.toml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index b2f5a49..63c07ed 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ {name="dusoleil",email="howcansocksbereal@gmail.com"}, {name="Malfurious",email="m@lfurio.us"}, ] -dynamic = ["version"] +version = "0.4.0" [project.urls] "Homepage" = "https://github.com/dusoleil/sploit" @@ -20,12 +20,3 @@ nsploit = "nsploit.__main__:main" [build-system] requires = ["hatchling"] build-backend = "hatchling.build" - -[tool.hatch.version] -source = "code" -path = "nsploit/__init__.py" -search-paths = ["."] -expression = "__version__" - -[tool.hatch.build.hooks.custom] -path = "hooks/bake_version.py" -- cgit v1.2.3 From 831fd7402cd357a79b76007471722a243ec60c8d Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 4 Jan 2025 02:56:49 -0500 Subject: Update pyproject file for nsploit Signed-off-by: Malfurious --- pyproject.toml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to 'pyproject.toml') diff --git a/pyproject.toml b/pyproject.toml index 63c07ed..f6f29b3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,22 +1,15 @@ +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + [project] name = "nsploit" -description = "nsploit is a process interaction automation tool with software exploitation focused utilities." -readme = "README.txt" -requires-python = ">=3.9" -license = "Unlicense" -license-files.paths = ["UNLICENSE"] -authors = [ - {name="dusoleil",email="howcansocksbereal@gmail.com"}, - {name="Malfurious",email="m@lfurio.us"}, -] version = "0.4.0" - -[project.urls] -"Homepage" = "https://github.com/dusoleil/sploit" +requires-python = ">=3.9" +description = "(n)sploit is a process interaction tool with software exploitation utilities" +readme = "README.txt" +license = {file = "UNLICENSE"} +maintainers = [{email = "nsploit-devl@normalmode.org"}] [project.scripts] nsploit = "nsploit.__main__:main" - -[build-system] -requires = ["hatchling"] -build-backend = "hatchling.build" -- cgit v1.2.3