Loading doc/masscan.8.markdown +2 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,8 @@ one port. Using a different seed will cause packets to be sent in a different random order. Instead of an integer, the string `time` can be specified, which seeds using the local timestamp, automatically generating a differnet random order of scans. differnet random order of scans. If no seed specified, `time` is the default. * `--regress`: run a regression test, returns '0' on success and '1' on failure. Loading src/main.c +1 −0 Original line number Diff line number Diff line Loading @@ -1114,6 +1114,7 @@ int main(int argc, char *argv[]) * Initialize those defaults that aren't zero */ memset(masscan, 0, sizeof(*masscan)); masscan->seed = time(0); /* a predictable, but 'random' seed */ masscan->wait = 10; /* how long to wait for responses when done */ masscan->max_rate = 100.0; /* max rate = hundred packets-per-second */ for (i=0; i<8; i++) Loading Loading
doc/masscan.8.markdown +2 −1 Original line number Diff line number Diff line Loading @@ -163,7 +163,8 @@ one port. Using a different seed will cause packets to be sent in a different random order. Instead of an integer, the string `time` can be specified, which seeds using the local timestamp, automatically generating a differnet random order of scans. differnet random order of scans. If no seed specified, `time` is the default. * `--regress`: run a regression test, returns '0' on success and '1' on failure. Loading
src/main.c +1 −0 Original line number Diff line number Diff line Loading @@ -1114,6 +1114,7 @@ int main(int argc, char *argv[]) * Initialize those defaults that aren't zero */ memset(masscan, 0, sizeof(*masscan)); masscan->seed = time(0); /* a predictable, but 'random' seed */ masscan->wait = 10; /* how long to wait for responses when done */ masscan->max_rate = 100.0; /* max rate = hundred packets-per-second */ for (i=0; i<8; i++) Loading