Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\balong_usbdload.sln",
"PreviewInSolutionExplorer": false
}
Binary file added .vs/slnx.sqlite
Binary file not shown.
Binary file removed winbuild/Release/balong_usbdload.exe
Binary file not shown.
Binary file removed winbuild/Release/loader-patch.exe
Binary file not shown.
Binary file removed winbuild/Release/ptable-injector.exe
Binary file not shown.
Binary file removed winbuild/Release/ptable-list.exe
Binary file not shown.
27 changes: 26 additions & 1 deletion winbuild/balong_usbdload.sln
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2012
# Visual Studio Version 17
VisualStudioVersion = 17.10.35122.118
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "balong_usbdload", "balong_usbdload\balong_usbdload.vcxproj", "{6327503F-A1F5-49F8-906E-99EBAF484E75}"
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ptable-injector", "ptable-injector\ptable-injector.vcxproj", "{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}"
Expand All @@ -9,30 +11,53 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "loader-patch", "loader-patc
EndProject
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ptable-list", "ptable-list\ptable-list.vcxproj", "{B7796E39-5EF2-448E-A37A-248A7F309F85}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{BB628391-45B6-45D0-86D0-C66F43BA8292}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Debug|x64 = Debug|x64
Release|Win32 = Release|Win32
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Debug|Win32.ActiveCfg = Debug|Win32
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Debug|Win32.Build.0 = Debug|Win32
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Debug|x64.ActiveCfg = Debug|x64
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Debug|x64.Build.0 = Debug|x64
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Release|Win32.ActiveCfg = Release|Win32
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Release|Win32.Build.0 = Release|Win32
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Release|x64.ActiveCfg = Release|x64
{6327503F-A1F5-49F8-906E-99EBAF484E75}.Release|x64.Build.0 = Release|x64
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Debug|Win32.ActiveCfg = Debug|Win32
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Debug|Win32.Build.0 = Debug|Win32
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Debug|x64.ActiveCfg = Debug|x64
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Debug|x64.Build.0 = Debug|x64
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Release|Win32.ActiveCfg = Release|Win32
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Release|Win32.Build.0 = Release|Win32
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Release|x64.ActiveCfg = Release|x64
{46C5A298-B5FF-458B-9F2E-1AC79AFC68C3}.Release|x64.Build.0 = Release|x64
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Debug|Win32.ActiveCfg = Debug|Win32
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Debug|Win32.Build.0 = Debug|Win32
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Debug|x64.ActiveCfg = Debug|x64
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Debug|x64.Build.0 = Debug|x64
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Release|Win32.ActiveCfg = Release|Win32
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Release|Win32.Build.0 = Release|Win32
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Release|x64.ActiveCfg = Release|x64
{9171DC4C-4C60-4B42-A84B-CD55B9BD17F6}.Release|x64.Build.0 = Release|x64
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Debug|Win32.ActiveCfg = Debug|Win32
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Debug|Win32.Build.0 = Debug|Win32
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Debug|x64.ActiveCfg = Debug|x64
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Debug|x64.Build.0 = Debug|x64
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Release|Win32.ActiveCfg = Release|Win32
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Release|Win32.Build.0 = Release|Win32
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Release|x64.ActiveCfg = Release|x64
{B7796E39-5EF2-448E-A37A-248A7F309F85}.Release|x64.Build.0 = Release|x64
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {840FEDC0-532E-475C-AA02-8102A32F8765}
EndGlobalSection
EndGlobal
1 change: 1 addition & 0 deletions winbuild/balong_usbdload/Release/balong_usbdload.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Microsoft\VC\v170\Microsoft.CppBuild.targets(497,5): error MSB8041: MFC libraries are required for this project. Install them from the Visual Studio installer (Individual Components tab) for any toolsets and architectures being used.
74 changes: 73 additions & 1 deletion winbuild/balong_usbdload/balong_usbdload.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,24 @@
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{6327503F-A1F5-49F8-906E-99EBAF484E75}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>balong_usbdload</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
Expand All @@ -23,10 +32,25 @@
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Static</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v110_xp</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Static</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v110_xp</PlatformToolset>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Static</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v143</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Static</UseOfMfc>
Expand All @@ -37,16 +61,28 @@
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
Expand All @@ -62,6 +98,21 @@
<AdditionalDependencies>setupapi.lib;Ws2_32.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)\..\shared</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>setupapi.lib;Ws2_32.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
Expand All @@ -81,13 +132,34 @@
<AdditionalDependencies>setupapi.lib;Ws2_32.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(ProjectDir);$(ProjectDir)\..\shared</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>false</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>setupapi.lib;Ws2_32.lib</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\balong-usbdload.c" />
<ClCompile Include="..\..\exploit.c" />
<ClCompile Include="..\..\parts.c" />
<ClCompile Include="..\..\patcher.c" />
<ClCompile Include="..\shared\getopt.c" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\exploit.h" />
<ClInclude Include="..\..\parts.h" />
<ClInclude Include="..\..\patcher.h" />
<ClInclude Include="..\shared\printf.h" />
Expand Down
20 changes: 13 additions & 7 deletions winbuild/balong_usbdload/balong_usbdload.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,33 @@
<ClCompile Include="..\..\balong-usbdload.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="getopt.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\parts.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\patcher.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\shared\getopt.c">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\exploit.c">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="printf.h">
<ClInclude Include="..\..\parts.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="getopt.h">
<ClInclude Include="..\..\patcher.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\parts.h">
<ClInclude Include="..\shared\printf.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\patcher.h">
<ClInclude Include="..\shared\getopt.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\..\exploit.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions winbuild/balong_usbdload/balong_usbdload.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>
Empty file.
1 change: 1 addition & 0 deletions winbuild/balong_usbdload/x64/Debug/balong_usbdload.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file not shown.
Empty file.
11 changes: 11 additions & 0 deletions winbuild/balong_usbdload/x64/Release/balong_usbdload.exe.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\x64\Release\balong_usbdload.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>
Binary file not shown.
Binary file not shown.
7 changes: 7 additions & 0 deletions winbuild/balong_usbdload/x64/Release/balong_usbdload.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
 exploit.c
C:\Users\Kaan\Downloads\5785\balong-usbdload\exploit.c(17,27): warning C4018: '<': signed/unsigned mismatch
Generating code
Previous IPDB not found, fall back to full compilation.
All 38 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Finished generating code
balong_usbdload.vcxproj -> C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\x64\Release\balong_usbdload.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
C:\Users\Kaan\Downloads\5785\balong-usbdload\balong-usbdload.c;C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\balong-usbdload.obj
C:\Users\Kaan\Downloads\5785\balong-usbdload\exploit.c;C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\exploit.obj
C:\Users\Kaan\Downloads\5785\balong-usbdload\parts.c;C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\parts.obj
C:\Users\Kaan\Downloads\5785\balong-usbdload\patcher.c;C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\patcher.obj
C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\shared\getopt.c;C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\getopt.obj
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PlatformToolSet=v143:VCToolArchitecture=Native64Bit:VCToolsVersion=14.40.33807:TargetPlatformVersion=10.0.22621.0:
Release|x64|C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\|
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
^C:\USERS\KAAN\DOWNLOADS\5785\BALONG-USBDLOAD\WINBUILD\BALONG_USBDLOAD\X64\RELEASE\BALONG-USBDLOAD.OBJ|C:\USERS\KAAN\DOWNLOADS\5785\BALONG-USBDLOAD\WINBUILD\BALONG_USBDLOAD\X64\RELEASE\EXPLOIT.OBJ|C:\USERS\KAAN\DOWNLOADS\5785\BALONG-USBDLOAD\WINBUILD\BALONG_USBDLOAD\X64\RELEASE\GETOPT.OBJ|C:\USERS\KAAN\DOWNLOADS\5785\BALONG-USBDLOAD\WINBUILD\BALONG_USBDLOAD\X64\RELEASE\PARTS.OBJ|C:\USERS\KAAN\DOWNLOADS\5785\BALONG-USBDLOAD\WINBUILD\BALONG_USBDLOAD\X64\RELEASE\PATCHER.OBJ
C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\balong_usbdload.IPDB
C:\Users\Kaan\Downloads\5785\balong-usbdload\winbuild\balong_usbdload\x64\Release\balong_usbdload.iobj
Binary file not shown.
Binary file not shown.
Binary file added winbuild/balong_usbdload/x64/Release/getopt.obj
Binary file not shown.
Binary file added winbuild/balong_usbdload/x64/Release/parts.obj
Binary file not shown.
Binary file added winbuild/balong_usbdload/x64/Release/patcher.obj
Binary file not shown.
Binary file added winbuild/balong_usbdload/x64/Release/vc143.pdb
Binary file not shown.
Loading