Repository navigation
Commit de38e9e
committed
Keep nuclei findings on a timeout, and let it cover more in the time
nuclei has no run time limit of its own, so the scan's timeout kills it
mid run. It was writing its findings with the export flag, which only
writes the whole set when nuclei finishes, so a timeout threw away every
finding it had already made. It now writes each finding to the file the
moment it is found, and the scan reads that file whether nuclei finished
or was stopped, so nothing found is lost.
It also ran narrow: twenty five templates at once, fifty requests a
second, which spent the hour long before the template set was through.
The engines go through the local proxy, which pools the connections to
the site, and the site's own rate limiting is off for the scanner, so it
now runs fifty at once at a hundred and fifty a second and covers far
more of the set in the same window.1 parent 17178b9 commit de38e9e
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
204 | 216 | | |
205 | 217 | | |
206 | | - | |
| 218 | + | |
207 | 219 | | |
208 | 220 | | |
209 | 221 | | |
| |||
0 commit comments