Skip to content

Commit

Permalink
v0.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Jjschwartz committed Feb 27, 2023
1 parent 210b0d5 commit 269d058
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ License
What's new
----------

- 2023-02-27 (v 0.10.1) (MICRO release)

+ Fixed bug for host based actions (thanks @nguyen-thanh20 for the bug report)

- 2022-07-30 (v 0.10.0) (MINOR release)

+ Fixed typos (thanks @francescoluciano)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/community/distributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Before pushing to master
2. Ensure updates are included in the *What's new* section of the *README.rst* and *docs/source/index.rst* files (this step can be ignored for very small changes)
3. Ensure any necessary updates have been included in the documentation.
4. Make sure the documentation can be build by running:
4. Make sure the documentation can be built by running:

.. code-block:: bash
Expand Down
7 changes: 7 additions & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ The environment is modelled after the `OpenAI gym <https://github.com/openai/gym
What's new
----------


Version 0.10.1
**************

+ Fixed bug for host based actions (thanks @nguyen-thanh20 for the bug report)


Version 0.10.0
**************

Expand Down
2 changes: 1 addition & 1 deletion nasim/envs/host_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ def perform_action(self, action):
return next_state, result

# following actions are on host so require correct access
if not self.compromised and action.req_access <= self.access:
if not (self.compromised and action.req_access <= self.access):
result = ActionResult(False, 0, permission_error=True)
return next_state, result

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

setup(
name='nasim',
version='0.10.0',
version='0.10.1',
url="https://networkattacksimulator.readthedocs.io",
description="A simple and fast simulator for remote network pen-testing",
long_description=open('README.rst').read(),
Expand Down

0 comments on commit 269d058

Please sign in to comment.