public void AnalysisStarting(object o, AnalysisStartingEventArgs e) { WriteInfoLine(" ----------------------------- "); WriteInfoLine("============= Eir ============="); WriteInfoLine("============= Vulnerability Scanning Report ============="); WriteInfoLine(" ----------------------------- "); WriteInfoLine("Target : " + e.Arguments.Target); WriteInfoLine("Scanning all subroutines: " + (e.Arguments.ScanAllSubroutines ? "Yes" : "No")); WriteInfoLine("Scan started : " + DateTimeOffset.Now); WriteInfoLine("---------------------------------------------------------"); _dbFileWriter.WriteStart(e.Arguments.Target); }
public void AnalysisStarting(object o, AnalysisStartingEventArgs e) { _dbFileWriter.outputFolder = e.Arguments.FileResultLocation; _vulnerabilityFile = e.Arguments.FileResultLocation + "scan-report." + DateTimeOffset.Now.ToString("yyMMddHmmss") + ".txt"; _dbFileWriter.WriteStart(e.Arguments.Target); WriteInfoLine(" ----------------------------- "); WriteInfoLine("============= Eir ============="); WriteInfoLine("============= Vulnerability Scanning Report ============="); WriteInfoLine(" ----------------------------- "); WriteInfoLine("Target : " + e.Arguments.Target); WriteInfoLine("Scanning all subroutines: " + (e.Arguments.ScanAllSubroutines ? "Yes" : "No")); WriteInfoLine("Scan started : " + DateTimeOffset.Now); WriteInfoLine("---------------------------------------------------------"); }