From ace00ed5679fa196eb0c210dfcc6d3633a2ae1ef Mon Sep 17 00:00:00 2001 From: Tib3rius <48113936+Tib3rius@users.noreply.github.com> Date: Thu, 23 May 2019 18:39:51 -0400 Subject: [PATCH] Add running 'showmount -e' for targets with NFS --- config/service-scans.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/config/service-scans.toml b/config/service-scans.toml index b8c02bc..7a970a1 100644 --- a/config/service-scans.toml +++ b/config/service-scans.toml @@ -261,6 +261,10 @@ service-names = [ name = 'nmap-nfs' command = 'nmap {nmap_extra} -sV -p {port} --script="(rpcinfo or nfs*) and not (brute or broadcast or dos or external or fuzzer)" -oN "{scandir}/{protocol}_{port}_nfs_nmap.txt" -oX "{scandir}/xml/{protocol}_{port}_nfs_nmap.xml" {address}' + [[nfs.scan]] + name = 'showmount' + command = 'showmount -e {address} 2>&1 | tee "{scandir}/{protocol}_{port}_showmount.txt"' + [nntp] service-names = [