개정판 9f56088c
난독화 추가
Change-Id: Ia19e258cd4b4a6ec585d3d20dbce63e3e37b9280
DownloadManager/DownloadManager.csproj | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 |
<Import Project="..\packages\Obfuscar.2.2.29\build\obfuscar.props" Condition="Exists('..\packages\Obfuscar.2.2.29\build\obfuscar.props')" /> |
|
3 | 4 |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
4 | 5 |
<PropertyGroup> |
5 | 6 |
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
... | ... | |
12 | 13 |
<FileAlignment>512</FileAlignment> |
13 | 14 |
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> |
14 | 15 |
<Deterministic>true</Deterministic> |
16 |
<NuGetPackageImportStamp> |
|
17 |
</NuGetPackageImportStamp> |
|
15 | 18 |
</PropertyGroup> |
16 | 19 |
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
17 | 20 |
<PlatformTarget>AnyCPU</PlatformTarget> |
... | ... | |
72 | 75 |
<Name>IIpc</Name> |
73 | 76 |
</ProjectReference> |
74 | 77 |
</ItemGroup> |
78 |
<ItemGroup> |
|
79 |
<None Include="obfuscar.xml" /> |
|
80 |
</ItemGroup> |
|
75 | 81 |
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> |
82 |
<PropertyGroup> |
|
83 |
<PostBuildEvent>call $(SolutionDir)obfuscarBuild.Bat $(SolutionDir) $(TargetDir) $(ProjectDir)obfuscar.xml |
|
84 |
|
|
85 |
xcopy /s "$(TargetDir)Obfuscator_Output" "$(TargetDir)" /Y /F</PostBuildEvent> |
|
86 |
</PropertyGroup> |
|
87 |
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild"> |
|
88 |
<PropertyGroup> |
|
89 |
<ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText> |
|
90 |
</PropertyGroup> |
|
91 |
<Error Condition="!Exists('..\packages\Obfuscar.2.2.29\build\obfuscar.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Obfuscar.2.2.29\build\obfuscar.props'))" /> |
|
92 |
</Target> |
|
76 | 93 |
</Project> |
DownloadManager/obfuscar.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<Obfuscator> |
|
3 |
<Var name="InPath" value="." /> |
|
4 |
<Var name="OutPath" value=".\Obfuscator_Output"/> |
|
5 |
<Var name="KeepPublicApi" value="true" /> |
|
6 |
<Module file="$(InPath)\DownloadManager.EXE"/> |
|
7 |
</Obfuscator> |
DownloadManager/packages.config | ||
---|---|---|
2 | 2 |
<packages> |
3 | 3 |
<package id="log4net" version="2.0.9" targetFramework="net461" /> |
4 | 4 |
<package id="Microsoft.CSharp" version="4.5.0" targetFramework="net461" /> |
5 |
<package id="Obfuscar" version="2.2.29" targetFramework="net461" developmentDependency="true" /> |
|
5 | 6 |
<package id="Salaros.ConfigParser" version="0.3.4" targetFramework="net461" /> |
6 | 7 |
</packages> |
KCOM/KCOM.csproj | ||
---|---|---|
1353 | 1353 |
</BootstrapperPackage> |
1354 | 1354 |
</ItemGroup> |
1355 | 1355 |
<ItemGroup> |
1356 |
<None Include="obfuscar.xml"> |
|
1357 |
<CopyToOutputDirectory>Always</CopyToOutputDirectory> |
|
1358 |
</None> |
|
1356 |
<None Include="obfuscar.xml" /> |
|
1359 | 1357 |
</ItemGroup> |
1360 | 1358 |
<ItemGroup> |
1361 | 1359 |
<None Include="Connected Services\KcomService\configuration91.svcinfo" /> |
... | ... | |
1403 | 1401 |
|
1404 | 1402 |
) |
1405 | 1403 |
|
1406 |
call $(SolutionDir)obfuscarBuild.Bat $(TargetDir) $(SolutionDir)obfuscar.xml
|
|
1404 |
call $(SolutionDir)obfuscarBuild.Bat $(SolutionDir) $(TargetDir) $(ProjectDir)obfuscar.xml
|
|
1407 | 1405 |
|
1408 | 1406 |
xcopy /s "$(TargetDir)Obfuscator_Output" "$(TargetDir)" /Y /F</PostBuildEvent> |
1409 | 1407 |
</PropertyGroup> |
KCOM_API/KCOM_API.csproj | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> |
3 |
<Import Project="..\packages\Obfuscar.2.2.29\build\obfuscar.props" Condition="Exists('..\packages\Obfuscar.2.2.29\build\obfuscar.props')" /> |
|
3 | 4 |
<Import Project="..\packages\OpenCvSharp4.runtime.win.4.3.0.20200524\build\net\OpenCvSharp4.runtime.win.props" Condition="Exists('..\packages\OpenCvSharp4.runtime.win.4.3.0.20200524\build\net\OpenCvSharp4.runtime.win.props')" /> |
4 | 5 |
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> |
5 | 6 |
<PropertyGroup> |
... | ... | |
96 | 97 |
<Content Include="Default.aspx" /> |
97 | 98 |
<Content Include="HtmlPage1.html" /> |
98 | 99 |
<Content Include="MarkusService.svc" /> |
100 |
<None Include="obfuscar.xml" /> |
|
99 | 101 |
<Content Include="ServiceDeepView.svc" /> |
100 | 102 |
<Content Include="Web.config"> |
101 | 103 |
<SubType>Designer</SubType> |
... | ... | |
571 | 573 |
<ErrorText>이 프로젝트는 이 컴퓨터에 없는 NuGet 패키지를 참조합니다. 해당 패키지를 다운로드하려면 NuGet 패키지 복원을 사용하십시오. 자세한 내용은 http://go.microsoft.com/fwlink/?LinkID=322105를 참조하십시오. 누락된 파일은 {0}입니다.</ErrorText> |
572 | 574 |
</PropertyGroup> |
573 | 575 |
<Error Condition="!Exists('..\packages\OpenCvSharp4.runtime.win.4.3.0.20200524\build\net\OpenCvSharp4.runtime.win.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\OpenCvSharp4.runtime.win.4.3.0.20200524\build\net\OpenCvSharp4.runtime.win.props'))" /> |
576 |
<Error Condition="!Exists('..\packages\Obfuscar.2.2.29\build\obfuscar.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Obfuscar.2.2.29\build\obfuscar.props'))" /> |
|
574 | 577 |
</Target> |
578 |
<PropertyGroup> |
|
579 |
<PostBuildEvent>call $(SolutionDir)obfuscarBuild.Bat $(SolutionDir) $(TargetDir) $(ProjectDir)obfuscar.xml |
|
580 |
|
|
581 |
xcopy /s "$(TargetDir)Obfuscator_Output" "$(TargetDir)" /Y /F</PostBuildEvent> |
|
582 |
</PropertyGroup> |
|
575 | 583 |
</Project> |
KCOM_API/Properties/PublishProfiles/FolderProfile.pubxml.user | ||
---|---|---|
10 | 10 |
</PropertyGroup> |
11 | 11 |
<ItemGroup> |
12 | 12 |
<File Include="bin/CommonLib.dll"> |
13 |
<publishTime>01/04/2021 18:13:09</publishTime>
|
|
13 |
<publishTime>01/19/2021 13:34:59</publishTime>
|
|
14 | 14 |
</File> |
15 | 15 |
<File Include="bin/CommonLib.pdb"> |
16 | 16 |
<publishTime>10/15/2020 09:18:32</publishTime> |
... | ... | |
58 | 58 |
<publishTime>09/19/2015 15:28:04</publishTime> |
59 | 59 |
</File> |
60 | 60 |
<File Include="bin/IFinalPDF.dll"> |
61 |
<publishTime>01/04/2021 18:13:09</publishTime>
|
|
61 |
<publishTime>01/19/2021 13:34:59</publishTime>
|
|
62 | 62 |
</File> |
63 | 63 |
<File Include="bin/IFinalPDF.pdb"> |
64 | 64 |
<publishTime>09/22/2020 10:10:32</publishTime> |
65 | 65 |
</File> |
66 | 66 |
<File Include="bin/IKCOM.dll"> |
67 |
<publishTime>01/04/2021 18:13:12</publishTime>
|
|
67 |
<publishTime>01/19/2021 13:35:04</publishTime>
|
|
68 | 68 |
</File> |
69 | 69 |
<File Include="bin/IKCOM.pdb"> |
70 | 70 |
<publishTime>10/15/2020 09:18:39</publishTime> |
... | ... | |
76 | 76 |
<publishTime>09/19/2015 15:28:04</publishTime> |
77 | 77 |
</File> |
78 | 78 |
<File Include="bin/KCOMDataModel.dll"> |
79 |
<publishTime>01/04/2021 18:13:09</publishTime>
|
|
79 |
<publishTime>01/19/2021 13:35:00</publishTime>
|
|
80 | 80 |
</File> |
81 | 81 |
<File Include="bin/KCOMDataModel.dll.config"> |
82 | 82 |
<publishTime>06/08/2020 15:07:57</publishTime> |
... | ... | |
85 | 85 |
<publishTime>10/15/2020 09:18:33</publishTime> |
86 | 86 |
</File> |
87 | 87 |
<File Include="bin/KCOM_API.dll"> |
88 |
<publishTime>01/04/2021 18:13:13</publishTime>
|
|
88 |
<publishTime>01/19/2021 13:35:08</publishTime>
|
|
89 | 89 |
</File> |
90 | 90 |
<File Include="bin/KCOM_API.pdb"> |
91 | 91 |
<publishTime>10/15/2020 10:35:28</publishTime> |
... | ... | |
220 | 220 |
<publishTime>07/10/2019 14:11:36</publishTime> |
221 | 221 |
</File> |
222 | 222 |
<File Include="Web.config"> |
223 |
<publishTime>01/04/2021 18:13:36</publishTime>
|
|
223 |
<publishTime>01/19/2021 13:37:20</publishTime>
|
|
224 | 224 |
</File> |
225 | 225 |
</ItemGroup> |
226 | 226 |
</Project> |
KCOM_API/obfuscar.xml | ||
---|---|---|
1 |
<?xml version="1.0" encoding="utf-8"?> |
|
2 |
<Obfuscator> |
|
3 |
<Var name="InPath" value=".\" /> |
|
4 |
<Var name="OutPath" value=".\Obfuscator_Output"/> |
|
5 |
<Var name="KeepPublicApi" value="true" /> |
|
6 |
<Module file="$(InPath)\KCOM_API.dll"/> |
|
7 |
<Module file="$(InPath)\Markus.Image.OpenCV.dll" /> |
|
8 |
<Module file="$(InPath)\KCOMDataModel.dll" /> |
|
9 |
</Obfuscator> |
KCOM_API/packages.config | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="utf-8"?> |
2 | 2 |
<packages> |
3 | 3 |
<package id="Markus.Image.ImageCompare" version="1.0.0" targetFramework="net461" /> |
4 |
<package id="Obfuscar" version="2.2.29" targetFramework="net461" developmentDependency="true" /> |
|
4 | 5 |
<package id="OpenCvSharp4" version="4.3.0.20200524" targetFramework="net461" /> |
5 | 6 |
<package id="OpenCvSharp4.runtime.win" version="4.3.0.20200524" targetFramework="net461" /> |
6 | 7 |
<package id="OpenCvSharp4.Windows" version="4.3.0.20200524" targetFramework="net461" /> |
obfuscarBuild.Bat | ||
---|---|---|
1 | 1 |
@ECHO OFF |
2 | 2 |
SETLOCAL |
3 | 3 |
|
4 |
FOR /R .\packages %%G IN (Obfuscar.Console.exe) DO ( |
|
4 |
SET packagesPath=%1packages |
|
5 |
echo "package Path : %packagesPath%" |
|
6 |
|
|
7 |
FOR /R %packagesPath% %%G IN (Obfuscar.Console.exe) DO ( |
|
5 | 8 |
IF EXIST %%G ( |
6 | 9 |
SET TOOLPATH=%%G |
7 | 10 |
GOTO FOUND |
8 | 11 |
) |
9 | 12 |
) |
10 | 13 |
|
14 |
|
|
11 | 15 |
IF '%TOOLPATH%'=='' GOTO NOTFOUND |
12 | 16 |
|
13 | 17 |
:FOUND |
14 | 18 |
|
15 |
set targetPath=%1 |
|
19 |
ECHO "TOOLPATH : %TOOLPATH%" |
|
20 |
|
|
21 |
set targetPath=%2 |
|
16 | 22 |
|
17 | 23 |
set targetPath=%targetPath:~0,-1% |
18 |
echo %targetPath% |
|
24 |
echo "targetPath : %targetPath%" |
|
25 |
|
|
19 | 26 |
cd %targetPath% |
20 | 27 |
|
21 |
echo %* |
|
22 |
%TOOLPATH% -s %2 |
|
28 |
%TOOLPATH% -s %3 |
|
23 | 29 |
GOTO :EOF |
24 | 30 |
|
25 | 31 |
:NOTFOUND |
내보내기 Unified diff