10
10
using NETworkManager . Utilities ;
11
11
using NETworkManager . Enum ;
12
12
using NETworkManager . Models . RemoteDesktop ;
13
+ using System . Collections . ObjectModel ;
13
14
14
15
// ReSharper disable InconsistentNaming
15
16
@@ -59,6 +60,12 @@ public class GlobalStaticConfiguration
59
60
public static int IPScanner_ICMPTimeout => 4000 ;
60
61
public static ExportManager . ExportFileType IPScanner_ExportFileType => ExportManager . ExportFileType . CSV ;
61
62
63
+ public static ObservableCollection < CustomCommandInfo > IPScanner_CustomCommands => new ObservableCollection < CustomCommandInfo >
64
+ {
65
+ new CustomCommandInfo ( Guid . NewGuid ( ) , "Internet Explorer" , "iexplore.exe" , "http://$$ipaddress$$/" ) ,
66
+ new CustomCommandInfo ( Guid . NewGuid ( ) , "Internet Explorer (https)" , "iexplore.exe" , "https://$$ipaddress$$/" ) ,
67
+ } ;
68
+
62
69
// Application: Port Scanner
63
70
public static int PortScanner_HostThreads => 5 ;
64
71
public static int PortScanner_PortThreds => 100 ;
@@ -90,16 +97,16 @@ public class GlobalStaticConfiguration
90
97
// Application: RemoteDesktop
91
98
public static int RemoteDesktop_ScreenWidth => 1280 ;
92
99
public static int RemoteDesktop_ScreenHeight => 768 ;
93
-
100
+
94
101
public static int RemoteDesktop_ColorDepth = 32 ;
95
102
public static int RemoteDesktop_Port => 3389 ;
96
103
public static RemoteDesktop . AudioRedirectionMode RemoteDesktop_AudioRedirectionMode => RemoteDesktop . AudioRedirectionMode . PlayOnThisComputer ;
97
104
public static RemoteDesktop . AudioCaptureRedirectionMode RemoteDesktop_AudioCaptureRedirectionMode => RemoteDesktop . AudioCaptureRedirectionMode . DoNotRecord ;
98
105
public static RemoteDesktop . KeyboardHookMode RemoteDesktop_KeyboardHookMode => RemoteDesktop . KeyboardHookMode . OnTheRemoteComputer ;
99
106
public static uint RemoteDesktop_AuthenticationLevel => 2 ;
100
-
107
+
101
108
public static RemoteDesktop . NetworkConnectionType RemoteDesktop_NetworkConnectionType => RemoteDesktop . NetworkConnectionType . DetectAutomatically ;
102
-
109
+
103
110
// Application: PowerShell
104
111
public static string PowerShell_ApplicationFileLocationPowerShell => Path . Combine ( Environment . GetFolderPath ( Environment . SpecialFolder . Windows ) , @"System32\WindowsPowerShell\v1.0\powershell.exe" ) ;
105
112
public static PowerShell . ExecutionPolicy PowerShell_ExecutionPolicy => PowerShell . ExecutionPolicy . RemoteSigned ;
@@ -154,5 +161,6 @@ public class GlobalStaticConfiguration
154
161
// Application: ARP Table
155
162
public static ExportManager . ExportFileType ARPTable_ExportFileType => ExportManager . ExportFileType . CSV ;
156
163
public static AutoRefreshTimeInfo ARPTable_AutoRefreshTime => AutoRefreshTime . Defaults . First ( x => x . Value == 30 && x . TimeUnit == TimeUnit . Second ) ;
164
+
157
165
}
158
166
}
0 commit comments