Skip to content

Commit a9e1baf

Browse files
author
Andrea Pierini
committed
V1.0 / 1
1 parent 515edb6 commit a9e1baf

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

KrbRelayEx/Program.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
using System.Threading.Tasks;
2626
using static KrbRelay.Natives;
2727

28-
using SMBLibrary.Client;
28+
2929
using static System.Runtime.InteropServices.JavaScript.JSType;
3030
using KrbRelay.Clients.Attacks.Smb;
3131
namespace 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

adddns.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
args = parser.parse_args()
2222

23-
# Access the arguments
23+
2424
domain = args.domain
2525
dnsip = args.dnsip
2626
hostname = args.hostname

0 commit comments

Comments
 (0)