Kiok Ahn

Add Downloader

1 +<?xml version="1.0" encoding="utf-8" ?>
2 +<configuration>
3 + <startup>
4 + <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" />
5 + </startup>
6 +</configuration>
...\ No newline at end of file ...\ No newline at end of file
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3 + <Import Project="..\packages\LibGit2Sharp.NativeBinaries.1.0.210\build\net461\LibGit2Sharp.NativeBinaries.props" Condition="Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.210\build\net461\LibGit2Sharp.NativeBinaries.props')" />
4 + <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
5 + <PropertyGroup>
6 + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
7 + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
8 + <ProjectGuid>{17D012E2-AD26-437B-83DC-EC8E09AF0F8D}</ProjectGuid>
9 + <OutputType>Exe</OutputType>
10 + <RootNamespace>DownloaderGithubClone</RootNamespace>
11 + <AssemblyName>DownloaderGithubClone</AssemblyName>
12 + <TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
13 + <FileAlignment>512</FileAlignment>
14 + <AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
15 + <NuGetPackageImportStamp>
16 + </NuGetPackageImportStamp>
17 + </PropertyGroup>
18 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19 + <PlatformTarget>AnyCPU</PlatformTarget>
20 + <DebugSymbols>true</DebugSymbols>
21 + <DebugType>full</DebugType>
22 + <Optimize>false</Optimize>
23 + <OutputPath>bin\Debug\</OutputPath>
24 + <DefineConstants>DEBUG;TRACE</DefineConstants>
25 + <ErrorReport>prompt</ErrorReport>
26 + <WarningLevel>4</WarningLevel>
27 + </PropertyGroup>
28 + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29 + <PlatformTarget>AnyCPU</PlatformTarget>
30 + <DebugType>pdbonly</DebugType>
31 + <Optimize>true</Optimize>
32 + <OutputPath>bin\Release\</OutputPath>
33 + <DefineConstants>TRACE</DefineConstants>
34 + <ErrorReport>prompt</ErrorReport>
35 + <WarningLevel>4</WarningLevel>
36 + </PropertyGroup>
37 + <ItemGroup>
38 + <Reference Include="LibGit2Sharp, Version=0.25.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333, processorArchitecture=MSIL">
39 + <HintPath>..\packages\LibGit2Sharp.0.25.0\lib\netstandard2.0\LibGit2Sharp.dll</HintPath>
40 + </Reference>
41 + <Reference Include="System" />
42 + <Reference Include="System.Core" />
43 + <Reference Include="System.Xml.Linq" />
44 + <Reference Include="System.Data.DataSetExtensions" />
45 + <Reference Include="Microsoft.CSharp" />
46 + <Reference Include="System.Data" />
47 + <Reference Include="System.Net.Http" />
48 + <Reference Include="System.Xml" />
49 + </ItemGroup>
50 + <ItemGroup>
51 + <Compile Include="Program.cs" />
52 + <Compile Include="Properties\AssemblyInfo.cs" />
53 + </ItemGroup>
54 + <ItemGroup>
55 + <None Include="App.config" />
56 + <None Include="packages.config" />
57 + </ItemGroup>
58 + <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
59 + <Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
60 + <PropertyGroup>
61 + <ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText>
62 + </PropertyGroup>
63 + <Error Condition="!Exists('..\packages\LibGit2Sharp.NativeBinaries.1.0.210\build\net461\LibGit2Sharp.NativeBinaries.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\LibGit2Sharp.NativeBinaries.1.0.210\build\net461\LibGit2Sharp.NativeBinaries.props'))" />
64 + </Target>
65 +</Project>
...\ No newline at end of file ...\ No newline at end of file
1 +using System;
2 +using System.Collections.Generic;
3 +using System.Linq;
4 +using System.Text;
5 +using System.Threading.Tasks;
6 +
7 +namespace DownloaderGithubClone
8 +{
9 + class Program
10 + {
11 + static void Main(string[] args) {
12 +
13 + }
14 + }
15 +}
1 +using System.Reflection;
2 +using System.Runtime.CompilerServices;
3 +using System.Runtime.InteropServices;
4 +
5 +// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
6 +// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
7 +// 이러한 특성 값을 변경하세요.
8 +[assembly: AssemblyTitle("DownloaderGithubClone")]
9 +[assembly: AssemblyDescription("")]
10 +[assembly: AssemblyConfiguration("")]
11 +[assembly: AssemblyCompany("")]
12 +[assembly: AssemblyProduct("DownloaderGithubClone")]
13 +[assembly: AssemblyCopyright("Copyright © 2018")]
14 +[assembly: AssemblyTrademark("")]
15 +[assembly: AssemblyCulture("")]
16 +
17 +// ComVisible을 false로 설정하면 이 어셈블리의 형식이 COM 구성 요소에
18 +// 표시되지 않습니다. COM에서 이 어셈블리의 형식에 액세스하려면
19 +// 해당 형식에 대해 ComVisible 특성을 true로 설정하세요.
20 +[assembly: ComVisible(false)]
21 +
22 +// 이 프로젝트가 COM에 노출되는 경우 다음 GUID는 typelib의 ID를 나타냅니다.
23 +[assembly: Guid("17d012e2-ad26-437b-83dc-ec8e09af0f8d")]
24 +
25 +// 어셈블리의 버전 정보는 다음 네 가지 값으로 구성됩니다.
26 +//
27 +// 주 버전
28 +// 부 버전
29 +// 빌드 번호
30 +// 수정 버전
31 +//
32 +// 모든 값을 지정하거나 아래와 같이 '*'를 사용하여 빌드 번호 및 수정 번호가 자동으로
33 +// 지정되도록 할 수 있습니다.
34 +// [assembly: AssemblyVersion("1.0.*")]
35 +[assembly: AssemblyVersion("1.0.0.0")]
36 +[assembly: AssemblyFileVersion("1.0.0.0")]
1 +<?xml version="1.0" encoding="utf-8"?>
2 +<packages>
3 + <package id="LibGit2Sharp" version="0.25.0" targetFramework="net461" />
4 + <package id="LibGit2Sharp.NativeBinaries" version="1.0.210" targetFramework="net461" />
5 +</packages>
...\ No newline at end of file ...\ No newline at end of file
...@@ -19,19 +19,19 @@ namespace VulnCrawler ...@@ -19,19 +19,19 @@ namespace VulnCrawler
19 { 19 {
20 static void Main(string[] args) { 20 static void Main(string[] args) {
21 21
22 - SecureString s_key = GetConsoleSecurePassword(); 22 + //SecureString s_key = GetConsoleSecurePassword();
23 - Console.Clear(); 23 + //Console.Clear();
24 - string key = SecureStringToString(s_key); 24 + //string key = SecureStringToString(s_key);
25 - //AWS.SaveAccount(); 25 + ////AWS.SaveAccount();
26 - AES aes = new AES(); 26 + //AES aes = new AES();
27 - string txt = File.ReadAllText(@"Account.xml"); 27 + //string txt = File.ReadAllText(@"Account.xml");
28 - string xml = aes.AESDecrypt128(txt, key); 28 + //string xml = aes.AESDecrypt128(txt, key);
29 29
30 - AWS.LoadAccount(xml); 30 + //AWS.LoadAccount(xml);
31 31
32 - AWS.Account account = AWS.account; 32 + //AWS.Account account = AWS.account;
33 33
34 - Console.WriteLine($"Endpoint: {account.Endpoint}, ID: {account.Id}, PW: {account.Pw}"); 34 + //Console.WriteLine($"Endpoint: {account.Endpoint}, ID: {account.Id}, PW: {account.Pw}");
35 35
36 //MySqlConnectionStringBuilder builder = new MySqlConnectionStringBuilder { 36 //MySqlConnectionStringBuilder builder = new MySqlConnectionStringBuilder {
37 // Server = "", 37 // Server = "",
...@@ -60,7 +60,7 @@ namespace VulnCrawler ...@@ -60,7 +60,7 @@ namespace VulnCrawler
60 // Console.WriteLine(e.ToString()); 60 // Console.WriteLine(e.ToString());
61 //} 61 //}
62 62
63 -// Run(); 63 + Run();
64 64
65 } 65 }
66 static String SecureStringToString(SecureString value) { 66 static String SecureStringToString(SecureString value) {
......
...@@ -38,7 +38,7 @@ ...@@ -38,7 +38,7 @@
38 <Reference Include="LibGit2Sharp, Version=0.25.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333, processorArchitecture=MSIL"> 38 <Reference Include="LibGit2Sharp, Version=0.25.0.0, Culture=neutral, PublicKeyToken=7cbde695407f0333, processorArchitecture=MSIL">
39 <HintPath>..\packages\LibGit2Sharp.0.25.0\lib\netstandard2.0\LibGit2Sharp.dll</HintPath> 39 <HintPath>..\packages\LibGit2Sharp.0.25.0\lib\netstandard2.0\LibGit2Sharp.dll</HintPath>
40 </Reference> 40 </Reference>
41 - <Reference Include="MySql.Data, Version=6.10.6.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" /> 41 + <Reference Include="MySql.Data, Version=8.0.10.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d, processorArchitecture=MSIL" />
42 <Reference Include="System" /> 42 <Reference Include="System" />
43 <Reference Include="System.Core" /> 43 <Reference Include="System.Core" />
44 <Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL"> 44 <Reference Include="System.ValueTuple, Version=4.0.2.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
......
...@@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.27428.2002 ...@@ -5,6 +5,8 @@ VisualStudioVersion = 15.0.27428.2002
5 MinimumVisualStudioVersion = 10.0.40219.1 5 MinimumVisualStudioVersion = 10.0.40219.1
6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VulnCrawler", "VulnCrawler\VulnCrawler.csproj", "{42C06434-1ACA-409C-8783-C6341ABFF8BA}" 6 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VulnCrawler", "VulnCrawler\VulnCrawler.csproj", "{42C06434-1ACA-409C-8783-C6341ABFF8BA}"
7 EndProject 7 EndProject
8 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DownloaderGithubClone", "DownloaderGithubClone\DownloaderGithubClone.csproj", "{17D012E2-AD26-437B-83DC-EC8E09AF0F8D}"
9 +EndProject
8 Global 10 Global
9 GlobalSection(SolutionConfigurationPlatforms) = preSolution 11 GlobalSection(SolutionConfigurationPlatforms) = preSolution
10 Debug|Any CPU = Debug|Any CPU 12 Debug|Any CPU = Debug|Any CPU
...@@ -15,6 +17,10 @@ Global ...@@ -15,6 +17,10 @@ Global
15 {42C06434-1ACA-409C-8783-C6341ABFF8BA}.Debug|Any CPU.Build.0 = Debug|Any CPU 17 {42C06434-1ACA-409C-8783-C6341ABFF8BA}.Debug|Any CPU.Build.0 = Debug|Any CPU
16 {42C06434-1ACA-409C-8783-C6341ABFF8BA}.Release|Any CPU.ActiveCfg = Release|Any CPU 18 {42C06434-1ACA-409C-8783-C6341ABFF8BA}.Release|Any CPU.ActiveCfg = Release|Any CPU
17 {42C06434-1ACA-409C-8783-C6341ABFF8BA}.Release|Any CPU.Build.0 = Release|Any CPU 19 {42C06434-1ACA-409C-8783-C6341ABFF8BA}.Release|Any CPU.Build.0 = Release|Any CPU
20 + {17D012E2-AD26-437B-83DC-EC8E09AF0F8D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
21 + {17D012E2-AD26-437B-83DC-EC8E09AF0F8D}.Debug|Any CPU.Build.0 = Debug|Any CPU
22 + {17D012E2-AD26-437B-83DC-EC8E09AF0F8D}.Release|Any CPU.ActiveCfg = Release|Any CPU
23 + {17D012E2-AD26-437B-83DC-EC8E09AF0F8D}.Release|Any CPU.Build.0 = Release|Any CPU
18 EndGlobalSection 24 EndGlobalSection
19 GlobalSection(SolutionProperties) = preSolution 25 GlobalSection(SolutionProperties) = preSolution
20 HideSolutionNode = FALSE 26 HideSolutionNode = FALSE
......