Skip to content

joshuaalwin/WalkMyNFS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

walkmynfs 🚶‍♂️

A straightforward and effective Bash utility for NFS reconnaissance during internal penetration tests.

walkmynfs streamlines the tedious process of discovering and mounting network shares. It takes a list of target IPs, automatically enumerates all NFS exports, and mounts them into a clean, structured directory on your local machine. This allows you to efficiently browse for misconfigurations, sensitive files, and potential pivot points.

Designed for safety and efficiency, it mounts all shares in read-only mode to prevent accidental modification of target systems and includes a simple unmount option for easy cleanup.

Features

  • Auto-Discovery: Scans a list of target IPs and finds all exported NFS shares.
  • Auto-Mounting: Mounts all discovered shares in read-only mode for safe recon.
  • Clean Unmounting: A simple -u flag detaches all shares and cleans up the local directories.
  • Flexible: Lets you specify a custom base directory with the -d flag.

Installation & Usage

  1. Clone the repo:

    git clone [https://github.com/t3rminux/walkmynfs.git](https://github.com/t3rminux/walkmynfs.git)
    cd walkmynfs
    chmod +x walkmynfs.sh
  2. Create your target list:

    # ips.txt
    10.10.1.1
    10.10.1.2
  3. Mount shares:

    sudo ./walkmynfs.sh ips.txt
  4. Unmount all shares:

    sudo ./walkmynfs.sh -u

Options

Flag Description
-u, --unmount Perform unmount and cleanup.
-d, --dir <path> Specify a custom base directory (Default: ~/NFS-Dump).
-h, --help Show the help message.

About

A straightforward and effective Bash utility for NFS reconnaissance during internal penetration tests.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages