/// <summary> /// By default we try to find the path to the nmap executable by searching the path, the output XML file is a temporary file, and the nmap options are empty. /// /// Nmap ProcessWindowStyle is Hidden by default. /// </summary> public NmapContext(ProcessWindowStyle windowStyle = ProcessWindowStyle.Hidden) { Path = GetPathToNmap(); OutputPath = System.IO.Path.GetTempFileName(); Options = new NmapOptions(); WindowStyle = windowStyle; }
/// <summary> /// By default we try to find the path to the nmap executable by searching the path, the output XML file is a temporary file, and the nmap options are empty. /// </summary> public NmapContext() { Path = GetPathToNmap(); OutputPath = @"C:\temp\dumpnmap1.txt"; Options = new NmapOptions(); }
/// <summary> /// By default we try to find the path to the nmap executable by searching the path, the output XML file is a temporary file, and the nmap options are empty. /// </summary> public NmapContext() { Path = GetPathToNmap(); OutputPath = System.IO.Path.GetTempFileName(); Options = new NmapOptions(); }