Fix reachable and IP leak test (#44)
* Fix reachable check Fixes failing reachable checks when Basic Authentication is enabled in Sonarr, Radarr, etc. * Add option to disable IP leak test
This commit is contained in:
@@ -11,10 +11,10 @@ public static class Helper
|
||||
"\r\n _ _ _ _ ___ _ _ \r\n| | | | | | | | / _ \\ | | | | \r\n| | | |_ __ ___ | | __ _ _ _| |_/ /_\\ \\ __| | __ _ _ __ | |_ __ _ _ __ _ __ \r\n| | | | '_ ` _ \\| |/ _` | | | | __| _ |/ _` |/ _` | '_ \\| __/ _` | '__| '__|\r\n| |_| | | | | | | | (_| | |_| | |_| | | | (_| | (_| | |_) | || (_| | | | | \r\n \\___/|_| |_| |_|_|\\__,_|\\__,_|\\__\\_| |_/\\__,_|\\__,_| .__/ \\__\\__,_|_| |_| \r\n | | \r\n |_| \r\n");
|
||||
}
|
||||
|
||||
public static void ShowInformation()
|
||||
public static async Task ShowInformation()
|
||||
{
|
||||
Console.WriteLine("--------------------------[IP Leak Test]-----------------------------");
|
||||
var ipInfo = GetPublicIpAddressInfoAsync().GetAwaiter().GetResult();
|
||||
var ipInfo = await GetPublicIpAddressInfoAsync();
|
||||
|
||||
if (ipInfo != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user