Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 22 additions & 1 deletion doc/scapy/layers/gssapi.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ The following SSPs are currently provided:
- :class:`~scapy.layers.kerberos.KerberosSSP`
- :class:`~scapy.layers.spnego.SPNEGOSSP`
- :class:`~scapy.layers.msrpce.msnrpc.NetlogonSSP`
- :class:`~scapy.arch.windows.sspi.WinSSP` (Windows only)

Basically those are classes that implement two functions, trying to micmic the RFCs:

Expand Down Expand Up @@ -134,4 +135,24 @@ Let's use :class:`~scapy.layers.ntlm.NTLMSSP` as an example of server-side SSP.
}
)
You'll find other examples of how to instantiate a SSP in the docstrings of each SSP. See `the list <#ssplist>`_
You'll find other examples of how to instantiate a SSP in the docstrings of each SSP. See `the list <#ssplist>`_

WinSSP
~~~~~~

WinSSP is a special SSP that is only available on Windows, which calls the actual Windows SSPs local to the machine it's running on.
It allows to use the implicit authentication of the logged-in user with Scapy and its various clients, and is also improves support of loopback connections.

For instance using SPNEGO:

.. code:: python
from scapy.arch.windows.sspi import *
clissp = WinSSP(Package="Negotiate")
For instance using NTLM:

.. code:: python
from scapy.arch.windows.sspi import *
clissp = WinSSP(Package="NTLM")
1 change: 1 addition & 0 deletions scapy/arch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ def get_if_raw_addr6(iff):
elif WINDOWS:
from scapy.arch.windows import * # noqa F403
from scapy.arch.windows.native import * # noqa F403
from scapy.arch.windows.sspi import * # noqa F403
SIOCGIFHWADDR = 0 # mypy compat
else:
log_loading.critical(
Expand Down
Loading
Loading