├── .github └── workflows │ ├── build.yml │ └── release.yml ├── .gitignore ├── MANIFEST.in ├── Makefile ├── README.md ├── pyproject.toml ├── setup.py └── wsnet ├── __init__.py ├── _version.py ├── agent ├── __init__.py ├── agent.py └── direct │ ├── __init__.py │ └── auth.py ├── operator ├── __init__.py ├── networkproxy.py └── sspiproxy.py ├── protocol ├── __init__.py ├── authentication │ ├── __init__.py │ ├── autherror.py │ ├── kerberosauth.py │ ├── kerberosauthreply.py │ ├── ntlmauth.py │ ├── ntlmauthreply.py │ ├── ntlmchallenge.py │ ├── ntlmchallengereply.py │ ├── sequenceno.py │ ├── sequencenoreply.py │ ├── sessionkey.py │ └── sessionkeyreply.py ├── cmdtypes.py ├── common │ ├── __init__.py │ ├── err.py │ ├── info.py │ ├── inforeply.py │ ├── listagents.py │ ├── listagentsreply.py │ ├── log.py │ ├── nop.py │ ├── ok.py │ ├── stop.py │ └── wsncontinue.py ├── connection │ ├── __init__.py │ ├── connect.py │ ├── resolv.py │ ├── serversocketdata.py │ ├── socketdata.py │ └── wrapssl.py ├── fileop │ ├── __init__.py │ ├── dircopy.py │ ├── dirls.py │ ├── dirmk.py │ ├── dirmove.py │ ├── dirrm.py │ ├── filecopy.py │ ├── filedata.py │ ├── fileentry.py │ ├── filemove.py │ ├── fileopen.py │ ├── fileread.py │ ├── filerm.py │ └── filestat.py ├── processop │ ├── __init__.py │ ├── pinfo.py │ ├── pkill.py │ ├── plist.py │ ├── procstd.py │ └── pstart.py └── utils.py ├── pyodide ├── __init__.py ├── asyncio_helper.py ├── client.py ├── clientauth.py ├── clientinfo.py ├── fileops.py ├── resolv.py ├── tcpserver.py ├── test_js.py └── udpserver.py ├── router ├── __init__.py └── router.py ├── server ├── __init__.py ├── pipesocks.py ├── wsserver.py └── wsserversmbpipe.py └── utils ├── __init__.py └── encoder.py /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/.gitignore -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/README.md -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/setup.py -------------------------------------------------------------------------------- /wsnet/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/__init__.py -------------------------------------------------------------------------------- /wsnet/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/_version.py -------------------------------------------------------------------------------- /wsnet/agent/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/agent/agent.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/agent/agent.py -------------------------------------------------------------------------------- /wsnet/agent/direct/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/agent/direct/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/agent/direct/auth.py -------------------------------------------------------------------------------- /wsnet/operator/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/operator/networkproxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/operator/networkproxy.py -------------------------------------------------------------------------------- /wsnet/operator/sspiproxy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/operator/sspiproxy.py -------------------------------------------------------------------------------- /wsnet/protocol/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/__init__.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/protocol/authentication/autherror.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/autherror.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/kerberosauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/kerberosauth.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/kerberosauthreply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/kerberosauthreply.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/ntlmauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/ntlmauth.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/ntlmauthreply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/ntlmauthreply.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/ntlmchallenge.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/ntlmchallenge.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/ntlmchallengereply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/ntlmchallengereply.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/sequenceno.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/sequenceno.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/sequencenoreply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/sequencenoreply.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/sessionkey.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/sessionkey.py -------------------------------------------------------------------------------- /wsnet/protocol/authentication/sessionkeyreply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/authentication/sessionkeyreply.py -------------------------------------------------------------------------------- /wsnet/protocol/cmdtypes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/cmdtypes.py -------------------------------------------------------------------------------- /wsnet/protocol/common/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/protocol/common/err.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/err.py -------------------------------------------------------------------------------- /wsnet/protocol/common/info.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/info.py -------------------------------------------------------------------------------- /wsnet/protocol/common/inforeply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/inforeply.py -------------------------------------------------------------------------------- /wsnet/protocol/common/listagents.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/listagents.py -------------------------------------------------------------------------------- /wsnet/protocol/common/listagentsreply.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/listagentsreply.py -------------------------------------------------------------------------------- /wsnet/protocol/common/log.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/log.py -------------------------------------------------------------------------------- /wsnet/protocol/common/nop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/nop.py -------------------------------------------------------------------------------- /wsnet/protocol/common/ok.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/ok.py -------------------------------------------------------------------------------- /wsnet/protocol/common/stop.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/stop.py -------------------------------------------------------------------------------- /wsnet/protocol/common/wsncontinue.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/common/wsncontinue.py -------------------------------------------------------------------------------- /wsnet/protocol/connection/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/protocol/connection/connect.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/connection/connect.py -------------------------------------------------------------------------------- /wsnet/protocol/connection/resolv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/connection/resolv.py -------------------------------------------------------------------------------- /wsnet/protocol/connection/serversocketdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/connection/serversocketdata.py -------------------------------------------------------------------------------- /wsnet/protocol/connection/socketdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/connection/socketdata.py -------------------------------------------------------------------------------- /wsnet/protocol/connection/wrapssl.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/connection/wrapssl.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/protocol/fileop/dircopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/dircopy.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/dirls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/dirls.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/dirmk.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/dirmk.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/dirmove.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/dirmove.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/dirrm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/dirrm.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/filecopy.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/filecopy.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/filedata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/filedata.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/fileentry.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/fileentry.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/filemove.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/filemove.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/fileopen.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/fileopen.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/fileread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/fileread.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/filerm.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/filerm.py -------------------------------------------------------------------------------- /wsnet/protocol/fileop/filestat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/fileop/filestat.py -------------------------------------------------------------------------------- /wsnet/protocol/processop/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/protocol/processop/pinfo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/processop/pinfo.py -------------------------------------------------------------------------------- /wsnet/protocol/processop/pkill.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/processop/pkill.py -------------------------------------------------------------------------------- /wsnet/protocol/processop/plist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/processop/plist.py -------------------------------------------------------------------------------- /wsnet/protocol/processop/procstd.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/processop/procstd.py -------------------------------------------------------------------------------- /wsnet/protocol/processop/pstart.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/processop/pstart.py -------------------------------------------------------------------------------- /wsnet/protocol/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/protocol/utils.py -------------------------------------------------------------------------------- /wsnet/pyodide/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/pyodide/asyncio_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/asyncio_helper.py -------------------------------------------------------------------------------- /wsnet/pyodide/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/client.py -------------------------------------------------------------------------------- /wsnet/pyodide/clientauth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/clientauth.py -------------------------------------------------------------------------------- /wsnet/pyodide/clientinfo.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/clientinfo.py -------------------------------------------------------------------------------- /wsnet/pyodide/fileops.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/fileops.py -------------------------------------------------------------------------------- /wsnet/pyodide/resolv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/resolv.py -------------------------------------------------------------------------------- /wsnet/pyodide/tcpserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/tcpserver.py -------------------------------------------------------------------------------- /wsnet/pyodide/test_js.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/test_js.py -------------------------------------------------------------------------------- /wsnet/pyodide/udpserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/pyodide/udpserver.py -------------------------------------------------------------------------------- /wsnet/router/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/router/router.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/router/router.py -------------------------------------------------------------------------------- /wsnet/server/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/server/pipesocks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/server/pipesocks.py -------------------------------------------------------------------------------- /wsnet/server/wsserver.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/server/wsserver.py -------------------------------------------------------------------------------- /wsnet/server/wsserversmbpipe.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/server/wsserversmbpipe.py -------------------------------------------------------------------------------- /wsnet/utils/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /wsnet/utils/encoder.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/octopwn/wsnet/HEAD/wsnet/utils/encoder.py --------------------------------------------------------------------------------