2525using System . Threading . Tasks ;
2626using static KrbRelay . Natives ;
2727
28- using SMBLibrary . Client ;
28+
2929using static System . Runtime . InteropServices . JavaScript . JSType ;
3030using KrbRelay . Clients . Attacks . Smb ;
3131namespace KrbRelay
@@ -39,7 +39,7 @@ namespace KrbRelay
3939 internal class Program
4040 {
4141
42-
42+ public const string Version = "V1.0" ;
4343 public static string DcomHost = "" ;
4444 public static string RedirectHost = "" ;
4545 public static string FakeSPN = "" ;
@@ -232,7 +232,7 @@ private static void ShowHelp()
232232 Console . WriteLine ( "# #" ) ;
233233 Console . WriteLine ( "# Kerberos Relay and Forwarder for (Fake) SMB MiTM Server #" ) ;
234234 Console . WriteLine ( "# #" ) ;
235- Console . WriteLine ( "# v1.0 - 2024 #" ) ;
235+ Console . WriteLine ( "# {0} - 2024 #" , Version ) ;
236236 Console . WriteLine ( "# #" ) ;
237237 Console . WriteLine ( "# Github: https://github.com/decoder-it/KrbRelayEx #" ) ;
238238 Console . WriteLine ( "# #" ) ;
@@ -302,6 +302,8 @@ private static void ShowHelp()
302302 Console . WriteLine ( " - Gaining control over HOSTS file entries on client computers." ) ;
303303 Console . WriteLine ( ) ;
304304 Console . WriteLine ( " - Background consoles are ideal for managing multiple SMB consoles" ) ;
305+ Console . WriteLine ( "" ) ;
306+ Console . WriteLine ( "IMPORTANT: Ensure that you configure the entries in your hosts file to point to the actual target IP addresses!" ) ;
305307
306308 }
307309
0 commit comments