Closed dplastico closed 5 years ago
Hi, @dplastico
args = [self._masscan_path, '-oX', '-'] ...
-oX
here means to save the masscan scan results in xml file format.-
means that the stdout result of masscan -oX
is taken as stdin , so that no file is generated and the scan result is taken, so it cannot be deleted here.Finally, thank you for your support of python-masscan.
Hello,
When executing a scan() the arguments "-oX" and a "-" are hardcoded and passed to the scan with also the "argumets=" I would think is better to not have this hardcoded since I do not want to have all my scans being exported also the "-" generates issues when passing custom arguments
I fixed this deleting the arguments in line 269 of masscan.py Before: After:
I don't know how to report this things (1st time in github) so sorry if this was no the proper way to report it
Edit: typo Renato.