-
Notifications
You must be signed in to change notification settings - Fork 573
Description
Describe the bug
NFS does not work through SOCKS proxy via nxc
- example working through showmount
proxychains showmount -e 172.16.8.20
Export list for 172.16.8.20:
/DEV01 (everyone)
To Reproduce
Steps to reproduce the behavior i.e.:
Command: proxychains nxc --debug nfs 172.16.8.20
Resulted in:
proxychains nxc --debug nfs 172.16.8.20
[23:53:21] DEBUG NXC VERSION: 1.4.0 - SmoothOperator - Kali Linux cli.py:28
DEBUG PYTHON VERSION: 3.13.6 (main, Aug 7 2025, 10:53:54) [GCC 14.2.0] netexec.py:81
DEBUG RUNNING ON: Linux Release: 6.12.38+kali-amd64 netexec.py:82
DEBUG Passed args: Namespace(version=False, threads=256, timeout=None, jitter=None, verbose=False, debug=False, no_progress=False, log=None, netexec.py:83
force_ipv6=False, dns_server=None, dns_tcp=False, dns_timeout=3, protocol='nfs', target=['172.16.8.20'], username=[], password=[],
cred_id=[], ignore_pw_decoding=False, no_bruteforce=False, continue_on_success=False, gfail_limit=None, ufail_limit=None,
fail_limit=None, kerberos=False, use_kcache=False, aesKey=None, kdcHost=None, pfx_cert=None, pfx_base64=None, pfx_pass=None,
pem_cert=None, pem_key=None, server='https', server_host='0.0.0.0', server_port=None, connectback_host=None, module=None,
module_options=[], list_modules=False, show_module_options=False, port=111, nfs_timeout=5, share=None, shares=False, enum_shares=None,
ls=None, get_file=None, put_file=None)
DEBUG Protocol: nfs netexec.py:137
DEBUG Protocol Path: /usr/lib/python3/dist-packages/nxc/protocols/nfs.py netexec.py:140
DEBUG Protocol DB Path: /usr/lib/python3/dist-packages/nxc/protocols/nfs/database.py netexec.py:142
DEBUG symmetric using "pyCryptodomex" for "DES" __init__.py:55
DEBUG symmetric using "pyCryptodomex" for "TDES" __init__.py:55
DEBUG symmetric using "pyCryptodomex" for "AES" __init__.py:55
DEBUG symmetric using "pyCryptodomex" for "RC4" __init__.py:55
DEBUG Protocol Object: <class 'protocol.nfs'>, type: <class 'type'> netexec.py:145
DEBUG Protocol DB Object: <class 'protocol.database'> netexec.py:147
DEBUG DB Path: /root/.nxc/workspaces/default/nfs.db netexec.py:150
DEBUG Using selector: EpollSelector selector_events.py:64
DEBUG Creating ThreadPoolExecutor netexec.py:45
DEBUG Creating thread for <class 'protocol.nfs'> netexec.py:48
INFO Socket info: host=172.16.8.20, hostname=172.16.8.20, kerberos=False, ipv6=False, link-local ipv6=False connection.py:165
DEBUG Kicking off proto_flow connection.py:227
INFO Error during Initialization: [Errno 94] Socket type not supported nfs.py:119
INFO Failed to create connection object for target 172.16.8.20, exiting... connection.py:230
DEBUG Closing connection to: 172.16.8.20 connection.py:178
NetExec info
- OS: Kali
- Version of nxc: Latest github main/master
- Installed from: pipx
Metadata
Metadata
Assignees
Labels
No labels