Commit e7e23bf
committed
Improve updateBruteResult behavior
If this BruteForceResult was an error.. as in, not a positive or
negative result, don't update anything. We can't say definitively
that the credential does or does not work.
Also update the seen_last field on the hosts table, since a non-err
BruteForceResult means the system was reachable.1 parent 7fce102 commit e7e23bf
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
373 | 379 | | |
374 | 380 | | |
375 | 381 | | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
| 385 | + | |
| 386 | + | |
| 387 | + | |
| 388 | + | |
| 389 | + | |
376 | 390 | | |
377 | 391 | | |
378 | 392 | | |
| |||
0 commit comments