Skip to content

Commit 81c78ef

Browse files
committed
Example submodule
1 parent 8566c1d commit 81c78ef

File tree

9 files changed

+170
-784
lines changed

9 files changed

+170
-784
lines changed

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "external/source/ReflectiveDLLInjection"]
2+
path = external/source/ReflectiveDLLInjection
3+
url = git://github.com/stephenfewer/ReflectiveDLLInjection.git
Submodule ReflectiveDLLInjection added at 178ba2a
-164 KB
Binary file not shown.
Lines changed: 152 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,152 @@
1+
## Ignore Visual Studio temporary files, build results, and
2+
## files generated by popular Visual Studio add-ons.
3+
4+
# User-specific files
5+
*.suo
6+
*.user
7+
*.sln.docstates
8+
9+
# Build results
10+
11+
[Dd]ebug/
12+
[Rr]elease/
13+
x64/
14+
build/
15+
[Bb]in/
16+
[Oo]bj/
17+
18+
# Enable "build/" folder in the NuGet Packages folder since NuGet packages use it for MSBuild targets
19+
!packages/*/build/
20+
21+
# MSTest test Results
22+
[Tt]est[Rr]esult*/
23+
[Bb]uild[Ll]og.*
24+
25+
*_i.c
26+
*_p.c
27+
*.ilk
28+
*.meta
29+
*.obj
30+
*.pch
31+
*.pdb
32+
*.pgc
33+
*.pgd
34+
*.rsp
35+
*.sbr
36+
*.tlb
37+
*.tli
38+
*.tlh
39+
*.tmp
40+
*.tmp_proj
41+
*.log
42+
*.vspscc
43+
*.vssscc
44+
.builds
45+
*.pidb
46+
*.log
47+
*.scc
48+
49+
# Visual C++ cache files
50+
ipch/
51+
*.aps
52+
*.ncb
53+
*.opensdf
54+
*.sdf
55+
*.cachefile
56+
57+
# Visual Studio profiler
58+
*.psess
59+
*.vsp
60+
*.vspx
61+
62+
# Guidance Automation Toolkit
63+
*.gpState
64+
65+
# ReSharper is a .NET coding add-in
66+
_ReSharper*/
67+
*.[Rr]e[Ss]harper
68+
69+
# TeamCity is a build add-in
70+
_TeamCity*
71+
72+
# DotCover is a Code Coverage Tool
73+
*.dotCover
74+
75+
# NCrunch
76+
*.ncrunch*
77+
.*crunch*.local.xml
78+
79+
# Installshield output folder
80+
[Ee]xpress/
81+
82+
# DocProject is a documentation generator add-in
83+
DocProject/buildhelp/
84+
DocProject/Help/*.HxT
85+
DocProject/Help/*.HxC
86+
DocProject/Help/*.hhc
87+
DocProject/Help/*.hhk
88+
DocProject/Help/*.hhp
89+
DocProject/Help/Html2
90+
DocProject/Help/html
91+
92+
# Click-Once directory
93+
publish/
94+
95+
# Publish Web Output
96+
*.Publish.xml
97+
*.pubxml
98+
99+
# NuGet Packages Directory
100+
## TODO: If you have NuGet Package Restore enabled, uncomment the next line
101+
#packages/
102+
103+
# Windows Azure Build Output
104+
csx
105+
*.build.csdef
106+
107+
# Windows Store app package directory
108+
AppPackages/
109+
110+
# Others
111+
sql/
112+
*.Cache
113+
ClientBin/
114+
[Ss]tyle[Cc]op.*
115+
~$*
116+
*~
117+
*.dbmdl
118+
*.[Pp]ublish.xml
119+
*.pfx
120+
*.publishsettings
121+
122+
# RIA/Silverlight projects
123+
Generated_Code/
124+
125+
# Backup & report files from converting an old project file to a newer
126+
# Visual Studio version. Backup files are not needed, because we have git ;-)
127+
_UpgradeReport_Files/
128+
Backup*/
129+
UpgradeLog*.XML
130+
UpgradeLog*.htm
131+
132+
# SQL Server files
133+
App_Data/*.mdf
134+
App_Data/*.ldf
135+
136+
# =========================
137+
# Windows detritus
138+
# =========================
139+
140+
# Windows image file caches
141+
Thumbs.db
142+
ehthumbs.db
143+
144+
# Folder config file
145+
Desktop.ini
146+
147+
# Recycle Bin used on file shares
148+
$RECYCLE.BIN/
149+
150+
# Mac crap
151+
.DS_Store
152+

external/source/exploits/cve-2013-3660/LICENSE.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

external/source/exploits/cve-2013-3660/dll/reflective_dll.vcxproj

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
2+
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|ARM">
55
<Configuration>Debug</Configuration>
@@ -34,35 +34,35 @@
3434
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
3535
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
3636
<ConfigurationType>DynamicLibrary</ConfigurationType>
37-
<PlatformToolset>v100</PlatformToolset>
37+
<PlatformToolset>v120</PlatformToolset>
3838
<CharacterSet>MultiByte</CharacterSet>
3939
<WholeProgramOptimization>true</WholeProgramOptimization>
4040
</PropertyGroup>
4141
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'" Label="Configuration">
4242
<ConfigurationType>DynamicLibrary</ConfigurationType>
43-
<PlatformToolset>v110</PlatformToolset>
43+
<PlatformToolset>v120</PlatformToolset>
4444
<CharacterSet>MultiByte</CharacterSet>
4545
<WholeProgramOptimization>true</WholeProgramOptimization>
4646
</PropertyGroup>
4747
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
4848
<ConfigurationType>DynamicLibrary</ConfigurationType>
49-
<PlatformToolset>v110</PlatformToolset>
49+
<PlatformToolset>v120</PlatformToolset>
5050
<CharacterSet>Unicode</CharacterSet>
5151
</PropertyGroup>
5252
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|ARM'" Label="Configuration">
5353
<ConfigurationType>DynamicLibrary</ConfigurationType>
54-
<PlatformToolset>v110</PlatformToolset>
54+
<PlatformToolset>v120</PlatformToolset>
5555
<CharacterSet>Unicode</CharacterSet>
5656
</PropertyGroup>
5757
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
5858
<ConfigurationType>DynamicLibrary</ConfigurationType>
59-
<PlatformToolset>v110</PlatformToolset>
59+
<PlatformToolset>v120</PlatformToolset>
6060
<CharacterSet>MultiByte</CharacterSet>
6161
<WholeProgramOptimization>false</WholeProgramOptimization>
6262
</PropertyGroup>
6363
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
6464
<ConfigurationType>DynamicLibrary</ConfigurationType>
65-
<PlatformToolset>v110</PlatformToolset>
65+
<PlatformToolset>v120</PlatformToolset>
6666
<CharacterSet>Unicode</CharacterSet>
6767
</PropertyGroup>
6868
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
@@ -108,6 +108,8 @@
108108
<IntDir>$(Configuration)\</IntDir>
109109
<LinkIncremental>false</LinkIncremental>
110110
<TargetName>exploit</TargetName>
111+
<SourcePath>$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\mfcm;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src;..\..\..\ReflectiveDLLInjection\dll\src\;</SourcePath>
112+
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);..\..\..\ReflectiveDLLInjection\dll\src\;</IncludePath>
111113
</PropertyGroup>
112114
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|ARM'">
113115
<LinkIncremental>false</LinkIncremental>
@@ -116,6 +118,8 @@
116118
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
117119
<IntDir>$(Platform)\$(Configuration)\</IntDir>
118120
<LinkIncremental>false</LinkIncremental>
121+
<IncludePath>$(VCInstallDir)include;$(VCInstallDir)atlmfc\include;$(WindowsSDK_IncludePath);..\..\..\ReflectiveDLLInjection\dll\src\;</IncludePath>
122+
<SourcePath>$(VCInstallDir)atlmfc\src\mfc;$(VCInstallDir)atlmfc\src\mfcm;$(VCInstallDir)atlmfc\src\atl;$(VCInstallDir)crt\src;..\..\..\ReflectiveDLLInjection\dll\src\;</SourcePath>
119123
</PropertyGroup>
120124
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
121125
<ClCompile>
@@ -252,13 +256,13 @@
252256
</PostBuildEvent>
253257
</ItemDefinitionGroup>
254258
<ItemGroup>
259+
<ClCompile Include="..\..\..\ReflectiveDLLInjection\dll\src\ReflectiveLoader.c" />
255260
<ClCompile Include="src\ReflectiveDll.c" />
256-
<ClCompile Include="src\ReflectiveLoader.c" />
257261
</ItemGroup>
258262
<ItemGroup>
263+
<ClInclude Include="..\..\..\ReflectiveDLLInjection\dll\src\ReflectiveDLLInjection.h" />
264+
<ClInclude Include="..\..\..\ReflectiveDLLInjection\dll\src\ReflectiveLoader.h" />
259265
<ClInclude Include="src\ComplexPath.h" />
260-
<ClInclude Include="src\ReflectiveDLLInjection.h" />
261-
<ClInclude Include="src\ReflectiveLoader.h" />
262266
</ItemGroup>
263267
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
264268
<ImportGroup Label="ExtensionTargets">

external/source/exploits/cve-2013-3660/dll/src/ReflectiveDLLInjection.h

Lines changed: 0 additions & 51 deletions
This file was deleted.

0 commit comments

Comments
 (0)