Skip to content

Commit d108946

Browse files
authored
Merge pull request #105 from rdiers/main
[Fix] Correct variable name typo and bump versions
2 parents e546893 + ae052a2 commit d108946

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

nmap3/exceptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#
2020

2121
__author__ = 'Wangolo Joel (inquiry@nmapper.com)'
22-
__version__ = '1.6.0'
23-
__last_modification__ = 'Sep/15/2024'
22+
__version__ = '1.9.3'
23+
__last_modification__ = 'Jun/06/2025'
2424

2525
class NmapNotInstalledError(Exception):
2626
"""Exception raised when nmap is not installed"""

nmap3/nmap3.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
import re
3333

3434
__author__ = 'Wangolo Joel (inquiry@nmapper.com)'
35-
__version__ = '1.6.0'
36-
__last_modification__ = 'Sep/15/2024'
35+
__version__ = '1.9.3'
36+
__last_modification__ = 'Jun/06/2025'
3737

3838
OS_TYPE = sys.platform
3939

@@ -56,7 +56,7 @@ def __init__(self, path:str=''):
5656
self.target = ""
5757
self.top_ports = dict()
5858
self.parser = NmapCommandParser(None)
59-
self.raw_ouput = None
59+
self.raw_output = None
6060
self.as_root = False
6161

6262
def require_root(self, required=True):
@@ -279,7 +279,7 @@ def get_xml_et(self, command_output):
279279
@ return xml ET
280280
"""
281281
try:
282-
self.raw_ouput = command_output
282+
self.raw_output = command_output
283283
return ET.fromstring(command_output)
284284
except ParseError:
285285
raise NmapXMLParserError()

nmap3/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828
from nmap3.exceptions import NmapNotInstalledError
2929

3030
__author__ = 'Wangolo Joel (inquiry@nmapper.com)'
31-
__version__ = '1.6.0'
32-
__last_modification__ = 'Sep/15/2024'
31+
__version__ = '1.9.3'
32+
__last_modification__ = 'Jun/06/2025'
3333

3434
def get_nmap_path(path:str='') -> str:
3535
"""

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
setuptools.setup(
77
name="python3-nmap",
8-
version="1.9.1",
8+
version="1.9.3",
99
author="nmmapper",
1010
author_email="info@nmmapper.com",
1111
description="Python3-nmap converts Nmap commands into python3 methods making it very easy to use nmap in any of your python pentesting projects",

0 commit comments

Comments
 (0)