RustScan
RustScan copied to clipboard
"Failed to resolve" error when set user-agent to nmap
Describe the bug seems like rustscan can't pass http.useragent strings to nmap correctly.
To Reproduce Steps to reproduce the behavior:
rustscan -u 5000 -a 127.0.0.1 -- --script-args http.useragent="Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:94.0) Gecko/20100101 Firefox/94.0" -sC -sV
Expected behavior expected to call nmap use assigned user-agent string to scan target without problem.
Screenshots
Desktop (please complete the following information):
- OS: ubuntu 21.10
- Browser firefox
- Version 94
Additional context Add any other context about the problem here.