예제 #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;
 }
예제 #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();
 }
예제 #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();
 }