diff --git a/Authorization_App_v2/App.config b/Authorization_App_v2/App.config new file mode 100644 index 0000000..3916e0e --- /dev/null +++ b/Authorization_App_v2/App.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Authorization_App_v2/Authorization_App_v2.csproj b/Authorization_App_v2/Authorization_App_v2.csproj new file mode 100644 index 0000000..eef2c4b --- /dev/null +++ b/Authorization_App_v2/Authorization_App_v2.csproj @@ -0,0 +1,53 @@ + + + + + Debug + AnyCPU + {8EA7196F-9269-4312-BE62-1B61A0DED5EB} + Exe + Authorization_App_v2 + Authorization_App_v2 + v4.8 + 512 + true + true + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/Authorization_App_v2/Program.cs b/Authorization_App_v2/Program.cs new file mode 100644 index 0000000..855318f --- /dev/null +++ b/Authorization_App_v2/Program.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Net.Http; +using System.Threading.Tasks; +using System.Net; +using System.Globalization; + +namespace Authorization_System +{ + internal class Program + { + static void Main(string[] args) + { + // URL web site. + string url = "https://pastebin.com/raw/AYKJs4Cd"; + string text = "null"; + try + { + // Create example Weblient + using (WebClient client = new WebClient()) + { + // Set encode UTF-8 + client.Encoding = System.Text.Encoding.UTF8; + + // Reading text from web-site. + text = client.DownloadString(url); + } + } + catch (Exception ex) + { + Console.WriteLine("Exception, try later. Error: " + ex); + } + // Creat cycle to indefinitely again. + for (;;) + { + Console.Write("Enter password: "); + string v = Console.ReadLine(); + string password = v; + + if (password == text) + { + // if password correctly + Console.WriteLine("Success."); + break; + } + else + { + // if password incorrect + Console.WriteLine("Password incorrect."); + } + } + Console.ReadKey(); + } + } +} \ No newline at end of file diff --git a/Authorization_App_v2/Properties/AssemblyInfo.cs b/Authorization_App_v2/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..6a3a234 --- /dev/null +++ b/Authorization_App_v2/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// Общие сведения об этой сборке предоставляются следующим набором +// набора атрибутов. Измените значения этих атрибутов для изменения сведений, +// связанные с этой сборкой. +[assembly: AssemblyTitle("CrackMe")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("yammka")] +[assembly: AssemblyCopyright("Copyright © 2024")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Установка значения False для параметра ComVisible делает типы в этой сборке невидимыми +// для компонентов COM. Если необходимо обратиться к типу в этой сборке через +// из модели COM задайте для атрибута ComVisible этого типа значение true. +[assembly: ComVisible(false)] + +// Следующий GUID представляет идентификатор typelib, если этот проект доступен из модели COM +[assembly: Guid("1a152f6b-7eae-4f4b-85da-fe0bad341eef")] + +// Сведения о версии сборки состоят из указанных ниже четырех значений: +// +// Основной номер версии +// Дополнительный номер версии +// Номер сборки +// Номер редакции +// +// Можно задать все значения или принять номера сборки и редакции по умолчанию +// используя "*", как показано ниже: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.1")] +[assembly: AssemblyFileVersion("1.1")] diff --git a/Authorization_App_v2/bin/Debug/Authorization_App_v2.exe b/Authorization_App_v2/bin/Debug/Authorization_App_v2.exe new file mode 100644 index 0000000..ce1778a Binary files /dev/null and b/Authorization_App_v2/bin/Debug/Authorization_App_v2.exe differ diff --git a/Authorization_App_v2/bin/Debug/Authorization_App_v2.exe.config b/Authorization_App_v2/bin/Debug/Authorization_App_v2.exe.config new file mode 100644 index 0000000..3916e0e --- /dev/null +++ b/Authorization_App_v2/bin/Debug/Authorization_App_v2.exe.config @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Authorization_App_v2/bin/Debug/Authorization_App_v2.pdb b/Authorization_App_v2/bin/Debug/Authorization_App_v2.pdb new file mode 100644 index 0000000..b4dd483 Binary files /dev/null and b/Authorization_App_v2/bin/Debug/Authorization_App_v2.pdb differ diff --git a/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.AssemblyReference.cache b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.AssemblyReference.cache new file mode 100644 index 0000000..5ec4636 Binary files /dev/null and b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.AssemblyReference.cache differ diff --git a/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.CoreCompileInputs.cache b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..036c9ce --- /dev/null +++ b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +2f1b5aa9ca9324e732c8dc8ad98b9a6b4836d80a diff --git a/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.FileListAbsolute.txt b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..36de0d7 --- /dev/null +++ b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.FileListAbsolute.txt @@ -0,0 +1,8 @@ +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\bin\Debug\Authorization_App_v2.exe.config +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\bin\Debug\Authorization_App_v2.exe +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\bin\Debug\Authorization_App_v2.pdb +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Debug\Authorization_App_v2.csproj.AssemblyReference.cache +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Debug\Authorization_App_v2.csproj.SuggestedBindingRedirects.cache +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Debug\Authorization_App_v2.csproj.CoreCompileInputs.cache +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Debug\Authorization_App_v2.exe +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Debug\Authorization_App_v2.pdb diff --git a/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.SuggestedBindingRedirects.cache b/Authorization_App_v2/obj/Debug/Authorization_App_v2.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/Authorization_App_v2/obj/Debug/Authorization_App_v2.exe b/Authorization_App_v2/obj/Debug/Authorization_App_v2.exe new file mode 100644 index 0000000..ce1778a Binary files /dev/null and b/Authorization_App_v2/obj/Debug/Authorization_App_v2.exe differ diff --git a/Authorization_App_v2/obj/Debug/Authorization_App_v2.pdb b/Authorization_App_v2/obj/Debug/Authorization_App_v2.pdb new file mode 100644 index 0000000..b4dd483 Binary files /dev/null and b/Authorization_App_v2/obj/Debug/Authorization_App_v2.pdb differ diff --git a/Authorization_App_v2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/Authorization_App_v2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..a30f2f9 Binary files /dev/null and b/Authorization_App_v2/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.AssemblyReference.cache b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.AssemblyReference.cache new file mode 100644 index 0000000..5ec4636 Binary files /dev/null and b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.AssemblyReference.cache differ diff --git a/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.CoreCompileInputs.cache b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..51dfeee --- /dev/null +++ b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +b1cac3c5db117414049b7ee1b7ead321fc446162 diff --git a/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.FileListAbsolute.txt b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..0bbf0fd --- /dev/null +++ b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.FileListAbsolute.txt @@ -0,0 +1,8 @@ +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\bin\Release\Authorization_App_v2.exe.config +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\bin\Release\Authorization_App_v2.exe +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\bin\Release\Authorization_App_v2.pdb +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Release\Authorization_App_v2.csproj.AssemblyReference.cache +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Release\Authorization_App_v2.csproj.SuggestedBindingRedirects.cache +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Release\Authorization_App_v2.csproj.CoreCompileInputs.cache +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Release\Authorization_App_v2.exe +F:\VS Studio 2022 Projects\Less\Authorization_App_v2\obj\Release\Authorization_App_v2.pdb diff --git a/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.SuggestedBindingRedirects.cache b/Authorization_App_v2/obj/Release/Authorization_App_v2.csproj.SuggestedBindingRedirects.cache new file mode 100644 index 0000000..e69de29 diff --git a/Authorization_App_v2/obj/Release/Authorization_App_v2.exe b/Authorization_App_v2/obj/Release/Authorization_App_v2.exe new file mode 100644 index 0000000..f83f7e2 Binary files /dev/null and b/Authorization_App_v2/obj/Release/Authorization_App_v2.exe differ diff --git a/Authorization_App_v2/obj/Release/Authorization_App_v2.pdb b/Authorization_App_v2/obj/Release/Authorization_App_v2.pdb new file mode 100644 index 0000000..546af0a Binary files /dev/null and b/Authorization_App_v2/obj/Release/Authorization_App_v2.pdb differ diff --git a/Authorization_App_v2/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/Authorization_App_v2/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache new file mode 100644 index 0000000..65cfe79 Binary files /dev/null and b/Authorization_App_v2/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache differ