Nmap NSE script to dump /etc/passwd from remote system using Solarwinds CVE-2023-23333 vulnerability
Save the script into a file named solar-CVE-2023-23333.nse. To run the script, you can use Nmap's --script-args option to provide the output file path:
nmap -p --script solar-CVE-2023-23333.nse --script-args outputfile=/path/to/output.txt