From 2bbc12c57a36241106f1e8c6dfa8d4b05e5a0d48 Mon Sep 17 00:00:00 2001 From: pixis Date: Wed, 9 Nov 2022 20:48:27 +0100 Subject: [PATCH 1/4] v3.1.5 --- Makefile | 14 +++++++------- README.md | 2 +- lsassy/__init__.py | 2 +- lsassy/console.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- tests/test_lsassy.py | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/Makefile b/Makefile index e106907..272b1bb 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,12 @@ clean: find . -name '__pycache__' -exec rm -rf {} + publish: clean - python3.7 setup.py sdist bdist_wheel - python3.7 -m twine upload dist/* + python setup.py sdist bdist_wheel + python -m twine upload dist/* testpublish: clean - python3.7 setup.py sdist bdist_wheel - python3.7 -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* + python setup.py sdist bdist_wheel + python -m twine upload --repository-url https://test.pypi.org/legacy/ dist/* linux: clean python setup.py install @@ -24,12 +24,12 @@ windows: clean pyinstaller ./lsassy/console.py --onefile --clean -n lsassy_windows_amd64 --additional-hooks-dir=hooks rebuild: clean - python3.7 setup.py install + python setup.py install build: clean - python3.7 setup.py install + python setup.py install install: build test: - python3.7 setup.py test + python setup.py test diff --git a/README.md b/README.md index d95728f..c4d0dfb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # lsassy -[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=3.1.4&x2=0)](https://pypi.org/project/lsassy/) +[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=3.1.5&x2=0)](https://pypi.org/project/lsassy/) [![PyPI Statistics](https://img.shields.io/pypi/dm/lsassy.svg)](https://pypistats.org/packages/lsassy) [![Tests](https://github.com/hackndo/lsassy/workflows/Tests/badge.svg)](https://github.com/hackndo/lsassy/actions?workflow=Tests) [![Twitter](https://img.shields.io/twitter/follow/hackanddo?label=HackAndDo&style=social)](https://twitter.com/intent/follow?screen_name=hackanddo) diff --git a/lsassy/__init__.py b/lsassy/__init__.py index a7f6b6d..74f9bc2 100644 --- a/lsassy/__init__.py +++ b/lsassy/__init__.py @@ -1 +1 @@ -__version__ = '3.1.4' +__version__ = '3.1.5' diff --git a/lsassy/console.py b/lsassy/console.py index fe58978..b101b2d 100644 --- a/lsassy/console.py +++ b/lsassy/console.py @@ -33,7 +33,7 @@ def main(): group_dump.add_argument('--time-between-commands', action='store', type=int, default=1, help='Time to wait between dump methods commands (Default 1s)') group_dump.add_argument('--parse-only', action='store_true', help='Parse dump without dumping') - group_dump.add_argument('--keep-dump', action='store_true', help='Parse dump without dumping') + group_dump.add_argument('--keep-dump', action='store_true', help='Do not delete lsass dump on remote host') group_auth = parser.add_argument_group('authentication') group_auth.add_argument('-u', '--username', action='store', help='Username') diff --git a/pyproject.toml b/pyproject.toml index 4382c83..90d4e56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lsassy" -version = "3.1.4" +version = "3.1.5" description = "Tool to remotely extract credentials" readme = "README.md" homepage = "https://github.com/hackndo/lsassy" diff --git a/setup.py b/setup.py index fbed095..d5bbd69 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name="lsassy", - version="3.1.4", + version="3.1.5", author="Pixis", author_email="hackndo@gmail.com", description="Python library to extract credentials from lsass remotely", diff --git a/tests/test_lsassy.py b/tests/test_lsassy.py index 5fbf37c..dc19c75 100644 --- a/tests/test_lsassy.py +++ b/tests/test_lsassy.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == '3.1.4' + assert __version__ == '3.1.5' From 26087bcb4bc786ddd00b50499e467db4728c08e1 Mon Sep 17 00:00:00 2001 From: pixis Date: Wed, 9 Nov 2022 20:50:08 +0100 Subject: [PATCH 2/4] Add missing silentprocessexit in README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c4d0dfb..290485a 100644 --- a/README.md +++ b/README.md @@ -151,6 +151,7 @@ Dumping methods (`-m` or `--method`) * EDRSandBlast * nanodump * rdrleakdiag +* silentprocessexit * sqldumper #### comsvcs method From d99fc10d7596f6e3c5f2d1803009f897449826a5 Mon Sep 17 00:00:00 2001 From: pixis Date: Wed, 16 Nov 2022 15:23:32 +0100 Subject: [PATCH 3/4] Update Pypykatz min version --- pyproject.toml | 2 +- requirements.txt | 4 ++-- setup.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 90d4e56..e4c4195 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ authors = ["pixis "] [tool.poetry.dependencies] python = "^3.7" netaddr = "^0.8.0" -pypykatz = "^0.4.8" +pypykatz = "^0.6.2" impacket = "^0.9.22" rich = "^10.6.0" diff --git a/requirements.txt b/requirements.txt index a771212..a5ae9ea 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ impacket netaddr -pypykatz>=0.4.8 -rich \ No newline at end of file +pypykatz>=0.6.2 +rich diff --git a/setup.py b/setup.py index d5bbd69..7ddb4a1 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ install_requires=[ 'impacket', 'netaddr', - 'pypykatz>=0.4.8', + 'pypykatz>=0.6.2', 'rich' ], python_requires='>=3.6', From e3638993bb3a2285057bbecd5e25eca4b0ee765c Mon Sep 17 00:00:00 2001 From: pixis Date: Wed, 16 Nov 2022 15:25:04 +0100 Subject: [PATCH 4/4] Update to 3.1.6 --- README.md | 2 +- lsassy/__init__.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- tests/test_lsassy.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 290485a..133fbf7 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # lsassy -[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=3.1.5&x2=0)](https://pypi.org/project/lsassy/) +[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=3.1.6&x2=0)](https://pypi.org/project/lsassy/) [![PyPI Statistics](https://img.shields.io/pypi/dm/lsassy.svg)](https://pypistats.org/packages/lsassy) [![Tests](https://github.com/hackndo/lsassy/workflows/Tests/badge.svg)](https://github.com/hackndo/lsassy/actions?workflow=Tests) [![Twitter](https://img.shields.io/twitter/follow/hackanddo?label=HackAndDo&style=social)](https://twitter.com/intent/follow?screen_name=hackanddo) diff --git a/lsassy/__init__.py b/lsassy/__init__.py index 74f9bc2..d4cc3e2 100644 --- a/lsassy/__init__.py +++ b/lsassy/__init__.py @@ -1 +1 @@ -__version__ = '3.1.5' +__version__ = '3.1.6' diff --git a/pyproject.toml b/pyproject.toml index e4c4195..613d581 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lsassy" -version = "3.1.5" +version = "3.1.6" description = "Tool to remotely extract credentials" readme = "README.md" homepage = "https://github.com/hackndo/lsassy" diff --git a/setup.py b/setup.py index 7ddb4a1..ddb61fb 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name="lsassy", - version="3.1.5", + version="3.1.6", author="Pixis", author_email="hackndo@gmail.com", description="Python library to extract credentials from lsass remotely", diff --git a/tests/test_lsassy.py b/tests/test_lsassy.py index dc19c75..6af14b0 100644 --- a/tests/test_lsassy.py +++ b/tests/test_lsassy.py @@ -2,4 +2,4 @@ def test_version(): - assert __version__ == '3.1.5' + assert __version__ == '3.1.6'