Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Increase buffer for nmap arguments when "--resume" a scan #1659
I have a complicated nmap scan with a long list of ports (used both for "-PS", SYN ping, and "-p", SYN port scan).
I found that the issue is that the arguments string length is higher than 1024 which is currently not supported:
I chose arbitrarily the new value of "1024*128" but it seems large enough while being a reasonable size (131ko). Also based on this, but it is not a definite answer:
As a side note, I think that the displayed error message has no relation with the issue here.