File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -56,7 +56,7 @@ from cron every hour to to perform a constant audit.
5656 $ ./ssh-auditor addcredential admin admin
5757 $ ./ssh-auditor addcredential guest guest --scan-interval 1 #check this once per day
5858
59- ### Try credentials against discovered hosts in a batch of 20000
59+ ### Try credentials against discovered hosts
6060
6161 $ ./ssh-auditor scan
6262
Original file line number Diff line number Diff line change @@ -350,7 +350,7 @@ func (s *SQLiteStore) getScanQueue() ([]ScanRequest, error) {
350350 where hosts.hostport = host_creds.hostport and
351351 last_tested < datetime('now', 'localtime', -scan_interval || ' day') and
352352 hosts.fingerprint != '' and
353- seen_last > datetime('now', 'localtime', '-7 day') order by last_tested ASC limit 20000 `
353+ seen_last > datetime('now', 'localtime', '-7 day') order by last_tested ASC`
354354 return s .getScanQueueHelper (q )
355355}
356356func (s * SQLiteStore ) getScanQueueSize () (int , error ) {
@@ -365,7 +365,7 @@ func (s *SQLiteStore) getScanQueueSize() (int, error) {
365365 return cnt , errors .Wrap (err , "getScanQueueSize" )
366366}
367367func (s * SQLiteStore ) getRescanQueue () ([]ScanRequest , error ) {
368- q := `select * from host_creds where result !='' order by last_tested ASC limit 20000 `
368+ q := `select * from host_creds where result !='' order by last_tested ASC`
369369 return s .getScanQueueHelper (q )
370370}
371371
You can’t perform that action at this time.
0 commit comments