Ejemplo n.º 1
0
 /// <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;
 }
Ejemplo n.º 2
0
 /// <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();
 }
Ejemplo n.º 3
0
 /// <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();
 }