From d142c00b43fe4972daeb12f4aef639a0ef700ef3 Mon Sep 17 00:00:00 2001 From: Ronald Date: Wed, 16 Dec 2020 23:34:17 +0100 Subject: [PATCH] fix: bump up to v0.7.2 needed following pypi issue --- CHANGELOG.md | 2 +- README.rst | 4 +--- TODO | 41 ++++++++++++++++++++++++----------------- docs/conf.py | 2 +- docs/parser.rst | 4 ++-- libnmap/__init__.py | 2 +- setup.py | 2 +- 7 files changed, 31 insertions(+), 26 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7fed80b..824e7d2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). (or tries to...) -## [v0.7.1] +## [v0.7.2] 2020-12-16 ### Added diff --git a/README.rst b/README.rst index f097b19..4951e71 100644 --- a/README.rst +++ b/README.rst @@ -94,7 +94,7 @@ an `official CVE `__ to track this issue. -This CVE is addressed from v0.7.1. +This CVE is addressed from v0.7.2. Python Support -------------- @@ -144,8 +144,6 @@ in Kibana like the screenshot below: .. figure:: https://github.com/savon-noir/python-libnmap/blob/es/examples/kibanalibnmap.png :alt: Kibanane - Kibanane - Contributors ------------ diff --git a/TODO b/TODO index 4af529b..6aa4c65 100644 --- a/TODO +++ b/TODO @@ -1,25 +1,32 @@ -0.7.1: clean-up blacked code and pylint it -0.7.1: add unittest for defusedxml to fix billionlaugh and external entities security issues -0.7.1: Change License from CC-BY to Apache 2.0 -0.7.1: Enabled defusedxml support as preferred option for parsing () -0.7.1: add extra_requires for plugins deps and defusedxml -0.7.1: Remove code duplication in sudo_run and sudo_run_background from process.py -0.7.1: Fix empty nmap outputs due to subprocess race condition (Merge PR79 from @Shouren) -0.7.1: Added banner_dict support + unittest (Merge edited PR from @cfoulds) +0.7.2: clean-up blacked code and pylint it +0.7.2: add unittest for defusedxml to fix billionlaugh and external entities security issues +0.7.2: Change License from CC-BY to Apache 2.0 +0.7.2: Enabled defusedxml support as preferred option for parsing () +0.7.2: add extra_requires for plugins deps and defusedxml +0.7.2: Remove code duplication in sudo_run and sudo_run_background from process.py +0.7.2: Fix empty nmap outputs due to subprocess race condition (Merge PR79 from @Shouren) +0.7.2: Added banner_dict support + unittest (Merge edited PR from @cfoulds) release: - changelog date not respecting KACL specs - check https://github.com/anton-yurchenko/git-release - https://github.com/sean0x42/markdown-extract -0.7.2: add CSV backend support -0.7.2: improve API for NSE scripts -0.7.2: add support for post,pre and host scripts -0.7.2: add a Contribution guideline page -0.7.2: add development environment config and setup -0.7.2: add pre-commit hooks to enforce black and isort -0.7.2: automate in github actions the git workflow + doc update + pypi update +Contribution file: +- specify where version needs to be set before adding tag to commit + - libnmap/__init__.py + - docs/conf.py + - setup.py + - CHANGELOG.md (set correct date) -0.7.3: Add support and tests for traceroute in nmap +0.7.3: add CSV backend support +0.7.3: improve API for NSE scripts +0.7.3: add support for post,pre and host scripts +0.7.3: add a Contribution guideline page +0.7.3: add development environment config and setup +0.7.3: add pre-commit hooks to enforce black and isort +0.7.3: automate in github actions the git workflow + doc update + pypi update -0.7.4: create complete python testing environment based on docker-compose and some examples +0.7.4: Add support and tests for traceroute in nmap + +0.7.5: create complete python testing environment based on docker-compose and some examples diff --git a/docs/conf.py b/docs/conf.py index 07e9dc8..6e0d4ee 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -51,7 +51,7 @@ # The short X.Y version. version = "0.7" # The full version, including alpha/beta/rc tags. -release = "0.7.1" +release = "0.7.2" # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/parser.rst b/docs/parser.rst index 9673859..c0a1a70 100644 --- a/docs/parser.rst +++ b/docs/parser.rst @@ -12,7 +12,7 @@ Security note for libnmap.parser By default, python-libnmap's parser module does not enforces an extra XML parser module than the one provided in the python core distribution. -In versions previous to 0.7.1, by default, the `ElementTree XML API was used `_. +In versions previous to 0.7.2, by default, the `ElementTree XML API was used `_. This XML library is vulnerable to several `XML External Entities attacks `_ which may lead to: - Denial of Service attacks @@ -107,4 +107,4 @@ NmapParser methods .. automodule:: libnmap.parser .. autoclass:: NmapParser - :members: \ No newline at end of file + :members: diff --git a/libnmap/__init__.py b/libnmap/__init__.py index b3b5f89..411e762 100644 --- a/libnmap/__init__.py +++ b/libnmap/__init__.py @@ -5,4 +5,4 @@ __maintainer__ = "Ronald Bister" __email__ = "mini.pelle@gmail.com" __license__ = "Apache 2.0" -__version__ = "0.7.1" +__version__ = "0.7.2" diff --git a/setup.py b/setup.py index d86f6e4..4643b7f 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="python-libnmap", - version="0.7.1", + version="0.7.2", author="Ronald Bister", author_email="mini.pelle@gmail.com", packages=["libnmap", "libnmap.plugins", "libnmap.objects"],