Finding and Fixing a Bug in Netexec NFS @0xdf
Finding and Fixing a Bug in Netexec NFS  @0xdf
Uploaded February 2026 | Updated November 2026, 3 hours ago
Netexec has some awesome NFS capabilities. While playing Slonik from VulnLab / HackTheBox, I found an issue I couldn't understand. I'll walk through how Netexec works with NFS, show the issues, and dive into the code to see the issue and the fix!

Blog: 0xdf.gitlab.io
uv Cheatsheet: 0xdf.gitlab.io/cheatsheets/uv
Netexec: https://www.netexec.wiki/
Netexec NFS documentation: https://www.netexec.wiki/nfs-protocol/enumeration
Netexec NFS source: github.com/Pennyw0rth/NetExec/blob/main/nxc/protocols/nfs.py
Netexec PR: github.com/Pennyw0rth/NetExec/pull/1103

☕ Buy Me A Coffee: buymeacoffee.com/0xdf

[00:00] Introduction
[01:19] Showing NFS configuration
[01:54] Netexec NSF capabilities
[02:55] Analysis of exports config file
[04:26] Three interesting cases: shadow, root.txt, .bash_history
[05:25] Explaining what's confusing
[06:08] Netexec NFS get_file function
[07:34] Debugging file handle data
[09:10] Continuing with get_file
[11:06] PR for bug fix
[11:45] Talking through reading exports
[12:28] Talking through reading shadow
[13:11] Talking through reading root.txt
[13:26] Talking through reading .bash_history
[14:30] Wrap-up

#netexec #nfs #programming #debug #python
Finding and Fixing a Bug in Netexec NFSReflective XSS via Link Click / SSRF [Hackvent 2022 - Day 14]Troubleshooting proxychainsElf Connect - JavaScript Game Hacking [Sans Holiday Hack 2024]Day 22: Sand Slabs [AOC2023 Python]Resonant Collinearity [Day 8 - Advent of Code 2024 - Python]Antipattern [0xff: One Last Address]Day 12 - Leonardos Monorail [Revival of Code 2023 - Advent of Code 2016]Hacking Luggage Lock [Sans Holiday Hack 2023]Code Chronicle [Day 25 - Advent of Code 2024 - Python]Day 21 - Scrambled Letters and Hash [Revival of Code 2023 - Advent of Code 2016]Red-Nosed Reports [Day 2 - Advent of Code 2024 - Python]
0xdf |

Finding and Fixing a Bug in Netexec NFS

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER