From 93ad53f456a6f4c033112cad1ac5115f39ea3a39 Mon Sep 17 00:00:00 2001 From: pixis Date: Thu, 4 Jul 2024 16:37:50 +0200 Subject: [PATCH 1/2] Fix #96 --- lsassy/exec/mmc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lsassy/exec/mmc.py b/lsassy/exec/mmc.py index 7ce46bf..ce8b55d 100644 --- a/lsassy/exec/mmc.py +++ b/lsassy/exec/mmc.py @@ -140,6 +140,7 @@ def exec(self, command): except Exception as e: lsassy_logger.debug("Error : {}".format(e), exc_info=True) self.clean() + raise Exception(e) dispParams = DISPPARAMS(None, False) dispParams['rgdispidNamedArgs'] = NULL @@ -173,4 +174,5 @@ def exec(self, command): dispParams['rgvarg'].append(arg1) dispParams['rgvarg'].append(arg0) self.__executeShellCommand[0].Invoke(self.__executeShellCommand[1], 0x409, DISPATCH_METHOD, dispParams, 0, [], []) + self.clean() return True From 410cdaf223ee6de2d144cac31ae2fd9b8324e4cf Mon Sep 17 00:00:00 2001 From: pixis Date: Thu, 4 Jul 2024 16:41:22 +0200 Subject: [PATCH 2/2] v1.1.12 --- README.md | 2 +- lsassy/__init__.py | 2 +- pyproject.toml | 2 +- setup.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index c1bf62a..d358abe 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # lsassy -[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=v3.1.11&x2=0)](https://pypi.org/project/lsassy) +[![PyPI version](https://d25lcipzij17d.cloudfront.net/badge.svg?id=py&type=6&v=v3.1.12&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/actions/workflows/lsassy.yml/badge.svg)](https://github.com/hackndo/lsassy/actions?workflow=lsassy) [![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 f71ed60..1e6263a 100644 --- a/lsassy/__init__.py +++ b/lsassy/__init__.py @@ -1 +1 @@ -__version__ = '3.1.11' +__version__ = '3.1.12' diff --git a/pyproject.toml b/pyproject.toml index 673154d..f86ec2a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "lsassy" -version = "3.1.11" +version = "3.1.12" description = "Tool to remotely extract credentials" readme = "README.md" homepage = "https://github.com/hackndo/lsassy" diff --git a/setup.py b/setup.py index b6ea30b..8744ff3 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ setup( name="lsassy", - version="3.1.11", + version="3.1.12", author="Pixis", author_email="hackndo@gmail.com", description="Python library to extract credentials from lsass remotely",