Skip to content

Commit

Permalink
Merge pull request #169 from nsauzede/fix-typo
Browse files Browse the repository at this point in the history
Fix forwarding typo
  • Loading branch information
manfred-kaiser committed Apr 5, 2024
2 parents 33049a3 + d564dd3 commit 0dbae76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions doc/get_started/portforwarding.rst
Expand Up @@ -164,7 +164,7 @@ SSH-MITM supports both local and remote port forwarding.
No further configuration is required for this.


Local port forwading
Local port forwarding
--------------------

.. figure:: /images/ssh-mitm_client_port_inject.png
Expand All @@ -179,7 +179,7 @@ The corresponding commands are displayed in the output of SSH-MITM.
.. code-block:: none
:class: no-copybutton
INFO ℹ a9ed77c5-ef1b-42ec-b0f7-57594f4a7b42 - local port forwading
INFO ℹ a9ed77c5-ef1b-42ec-b0f7-57594f4a7b42 - local port forwarding
SOCKS port: 39859
SOCKS4:
* socat: socat TCP-LISTEN:LISTEN_PORT,fork socks4:127.0.0.1:DESTINATION_ADDR:DESTINATION_PORT,socksport=39859
Expand All @@ -199,7 +199,7 @@ This makes it possible to use any proram over a passed through port with SSH-MIT
However, it is also possible to let a vulnerability scanner that can communicate via SOCKS scan a network behind it via the connection established by SSH-MITM.


Remote port forwading
Remote port forwarding
---------------------

.. figure:: /images/ssh-mitm_server_port_inject.png
Expand Down
2 changes: 1 addition & 1 deletion sshmitm/plugins/tunnel/socks.py
Expand Up @@ -125,7 +125,7 @@ def setup(cls, session: "sshmitm.session.Session") -> None:

logging.info(
(
"%s %s - local port forwading\n"
"%s %s - local port forwarding\n"
"%s %s\n"
" %s\n"
" * socat: %s\n"
Expand Down

0 comments on commit 0dbae76

Please sign in to comment.