When attempting to diagnose why a specific target cannot be scanned, we can query the database to discover the results of connection attempts for that target. It is useful to filter on connection date as well as IP address if the target has had multiple scan attempts.
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
SELECT ch.IPAddress , o.Name as Outcome , p.Name as Protocol , ch.Port , Message , convert(date,ch.AttemptDate) as DateAttempted FROM history.t_ConnectionHistory ch INNER JOIN config.t_Outcome o ON o.OutcomeID = ch.OutcomeID INNER JOIN config.t_Protocol p ON ch.ProtocolID = p.ProtocolID WHERE -- == Customize These == -- IPAddress ='192.168.0.1' AND CONVERT(date,ch.AttemptDate)='YYYY-MM-DD' |
...