forked from NetDirect/nfsshell
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Arr0way edited this page Mar 7, 2015
·
2 revisions
git clone https://github.com/Arr0way/nfsshell.git
make
./nfsshell
Example:
root@kali:~/tools/nfsshell# ls
LICENSE.txt Makefile mount.h mount.x nfs_prot_clnt.c nfs_prot_svc.c nfs_prot_xdr.c READ_ME steal.c
mail mount_clnt.c mount_svc.c mount_xdr.c nfs_prot.h nfs_prot.x nfsshell.c README.md
root@kali:~/tools/nfsshell# make
gcc -g -DREADLINE -I/usr/local/include -c -o mount_clnt.o mount_clnt.c
gcc -g -DREADLINE -I/usr/local/include -c -o mount_xdr.o mount_xdr.c
gcc -g -DREADLINE -I/usr/local/include -c -o nfs_prot_clnt.o nfs_prot_clnt.c
gcc -g -DREADLINE -I/usr/local/include -c -o nfs_prot_xdr.o nfs_prot_xdr.c
gcc -g -DREADLINE -I/usr/local/include -c -o nfsshell.o nfsshell.c
gcc -g -o nfsshell mount_clnt.o mount_xdr.o nfs_prot_clnt.o nfs_prot_xdr.o nfsshell.o -L/usr/local/lib -lreadline -lhistory -lncurses
root@kali:~/tools/nfsshell# ./nfsshell
nfs>
Credit to Mubix: http://www.room362.com/blog/2013/02/22/compile-nfsshell-on-ubuntu/
Based on the above article this should also work for on Ubuntu.