Skip to content

Commit 5bc2bd4

Browse files
committed
FIX: Normalized line ending of all files. Changed from CRLF to LF and indent using 4 spaces instead of 1 tab
1 parent bdeebe4 commit 5bc2bd4

17 files changed

+95
-97
lines changed

Builder/Build_HEVD_Secure_arm64.bat

100644100755
+12-12
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ set BUILD_DIR=%PROJECT_DIR%..\build\driver\windows\secure\%BUILD_ARCH%
2424

2525
rem VS2017U2 contains vswhere.exe
2626
if "%VSWHERE%"=="" (
27-
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
27+
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
2828
)
2929

3030
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
31-
set VS_INSTALL_DIR=%%i
31+
set VS_INSTALL_DIR=%%i
3232
)
3333

3434
echo [+] Visual Studio Path: %VS_INSTALL_DIR%
@@ -47,7 +47,7 @@ echo [+] Build directory: %BUILD_DIR%
4747
echo [+] Removing build directory
4848

4949
if exist %BUILD_DIR% (
50-
rmdir /S /Q %BUILD_DIR%
50+
rmdir /S /Q %BUILD_DIR%
5151
)
5252

5353
echo [+] Creating build directory
@@ -84,15 +84,15 @@ echo.
8484

8585
echo [+] Cleaning build directory
8686
for /r "%BUILD_DIR%" %%a in (*) do (
87-
if not %%~xa==.sys (
88-
if not %%~xa==.pdb (
89-
if not %%~xa==.inf (
90-
if not %%~xa==.cat (
91-
del /f /q "%%a"
92-
)
93-
)
94-
)
95-
)
87+
if not %%~xa==.sys (
88+
if not %%~xa==.pdb (
89+
if not %%~xa==.inf (
90+
if not %%~xa==.cat (
91+
del /f /q "%%a"
92+
)
93+
)
94+
)
95+
)
9696
)
9797

9898
rmdir /S /Q "%BUILD_DIR%\%PROJECT_NAME%"

Builder/Build_HEVD_Secure_x64.bat

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ set BUILD_DIR=%PROJECT_DIR%..\build\driver\windows\secure\%BUILD_ARCH%
2424

2525
rem VS2017U2 contains vswhere.exe
2626
if "%VSWHERE%"=="" (
27-
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
27+
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
2828
)
2929

3030
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
31-
set VS_INSTALL_DIR=%%i
31+
set VS_INSTALL_DIR=%%i
3232
)
3333

3434
echo [+] Visual Studio Path: %VS_INSTALL_DIR%
@@ -47,7 +47,7 @@ echo [+] Build directory: %BUILD_DIR%
4747
echo [+] Removing build directory
4848

4949
if exist %BUILD_DIR% (
50-
rmdir /S /Q %BUILD_DIR%
50+
rmdir /S /Q %BUILD_DIR%
5151
)
5252

5353
echo [+] Creating build directory
@@ -84,15 +84,15 @@ echo.
8484

8585
echo [+] Cleaning build directory
8686
for /r "%BUILD_DIR%" %%a in (*) do (
87-
if not %%~xa==.sys (
88-
if not %%~xa==.pdb (
89-
if not %%~xa==.inf (
90-
if not %%~xa==.cat (
91-
del /f /q "%%a"
92-
)
93-
)
94-
)
95-
)
87+
if not %%~xa==.sys (
88+
if not %%~xa==.pdb (
89+
if not %%~xa==.inf (
90+
if not %%~xa==.cat (
91+
del /f /q "%%a"
92+
)
93+
)
94+
)
95+
)
9696
)
9797

9898
rmdir /S /Q "%BUILD_DIR%\%PROJECT_NAME%"

Builder/Build_HEVD_Secure_x64.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ echo "[+] Binary directory: ${BINARY_DIR}"
2929
echo "[+] Removing build & binary directory"
3030

3131
if [ -d "${BUILD_DIR}" ]; then
32-
rm -rfd ${BUILD_DIR}
32+
rm -rfd ${BUILD_DIR}
3333
fi
3434

3535
if [ -d "${BINARY_DIR}" ]; then
36-
rm -rfd ${BINARY_DIR}
36+
rm -rfd ${BINARY_DIR}
3737
fi
3838

3939
echo "[+] Creating build directory"

Builder/Build_HEVD_Secure_x86.bat

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ set BUILD_DIR=%PROJECT_DIR%..\build\driver\windows\secure\%BUILD_ARCH%
2424

2525
rem VS2017U2 contains vswhere.exe
2626
if "%VSWHERE%"=="" (
27-
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
27+
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
2828
)
2929

3030
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
31-
set VS_INSTALL_DIR=%%i
31+
set VS_INSTALL_DIR=%%i
3232
)
3333

3434
echo [+] Visual Studio Path: %VS_INSTALL_DIR%
@@ -47,7 +47,7 @@ echo [+] Build directory: %BUILD_DIR%
4747
echo [+] Removing build directory
4848

4949
if exist %BUILD_DIR% (
50-
rmdir /S /Q %BUILD_DIR%
50+
rmdir /S /Q %BUILD_DIR%
5151
)
5252

5353
echo [+] Creating build directory
@@ -84,15 +84,15 @@ echo.
8484

8585
echo [+] Cleaning build directory
8686
for /r "%BUILD_DIR%" %%a in (*) do (
87-
if not %%~xa==.sys (
88-
if not %%~xa==.pdb (
89-
if not %%~xa==.inf (
90-
if not %%~xa==.cat (
91-
del /f /q "%%a"
92-
)
93-
)
94-
)
95-
)
87+
if not %%~xa==.sys (
88+
if not %%~xa==.pdb (
89+
if not %%~xa==.inf (
90+
if not %%~xa==.cat (
91+
del /f /q "%%a"
92+
)
93+
)
94+
)
95+
)
9696
)
9797

9898
rmdir /S /Q "%BUILD_DIR%\%PROJECT_NAME%"

Builder/Build_HEVD_Vulnerable_arm64.bat

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ set BUILD_DIR=%PROJECT_DIR%..\build\driver\windows\vulnerable\%BUILD_ARCH%
2424

2525
rem VS2017U2 contains vswhere.exe
2626
if "%VSWHERE%"=="" (
27-
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
27+
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
2828
)
2929

3030
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
31-
set VS_INSTALL_DIR=%%i
31+
set VS_INSTALL_DIR=%%i
3232
)
3333

3434
echo [+] Visual Studio Path: %VS_INSTALL_DIR%
@@ -47,7 +47,7 @@ echo [+] Build directory: %BUILD_DIR%
4747
echo [+] Removing build directory
4848

4949
if exist %BUILD_DIR% (
50-
rmdir /S /Q %BUILD_DIR%
50+
rmdir /S /Q %BUILD_DIR%
5151
)
5252

5353
echo [+] Creating build directory
@@ -84,15 +84,15 @@ echo.
8484

8585
echo [+] Cleaning build directory
8686
for /r "%BUILD_DIR%" %%a in (*) do (
87-
if not %%~xa==.sys (
88-
if not %%~xa==.pdb (
89-
if not %%~xa==.inf (
90-
if not %%~xa==.cat (
91-
del /f /q "%%a"
92-
)
93-
)
94-
)
95-
)
87+
if not %%~xa==.sys (
88+
if not %%~xa==.pdb (
89+
if not %%~xa==.inf (
90+
if not %%~xa==.cat (
91+
del /f /q "%%a"
92+
)
93+
)
94+
)
95+
)
9696
)
9797

9898
rmdir /S /Q "%BUILD_DIR%\%PROJECT_NAME%"

Builder/Build_HEVD_Vulnerable_x64.bat

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ set BUILD_DIR=%PROJECT_DIR%..\build\driver\windows\vulnerable\%BUILD_ARCH%
2424

2525
rem VS2017U2 contains vswhere.exe
2626
if "%VSWHERE%"=="" (
27-
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
27+
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
2828
)
2929

3030
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
31-
set VS_INSTALL_DIR=%%i
31+
set VS_INSTALL_DIR=%%i
3232
)
3333

3434
echo [+] Visual Studio Path: %VS_INSTALL_DIR%
@@ -47,7 +47,7 @@ echo [+] Build directory: %BUILD_DIR%
4747
echo [+] Removing build directory
4848

4949
if exist %BUILD_DIR% (
50-
rmdir /S /Q %BUILD_DIR%
50+
rmdir /S /Q %BUILD_DIR%
5151
)
5252

5353
echo [+] Creating build directory
@@ -84,15 +84,15 @@ echo.
8484

8585
echo [+] Cleaning build directory
8686
for /r "%BUILD_DIR%" %%a in (*) do (
87-
if not %%~xa==.sys (
88-
if not %%~xa==.pdb (
89-
if not %%~xa==.inf (
90-
if not %%~xa==.cat (
91-
del /f /q "%%a"
92-
)
93-
)
94-
)
95-
)
87+
if not %%~xa==.sys (
88+
if not %%~xa==.pdb (
89+
if not %%~xa==.inf (
90+
if not %%~xa==.cat (
91+
del /f /q "%%a"
92+
)
93+
)
94+
)
95+
)
9696
)
9797

9898
rmdir /S /Q "%BUILD_DIR%\%PROJECT_NAME%"

Builder/Build_HEVD_Vulnerable_x64.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ echo "[+] Binary directory: ${BINARY_DIR}"
2929
echo "[+] Removing build & binary directory"
3030

3131
if [ -d "${BUILD_DIR}" ]; then
32-
rm -rfd ${BUILD_DIR}
32+
rm -rfd ${BUILD_DIR}
3333
fi
3434

3535
if [ -d "${BINARY_DIR}" ]; then
36-
rm -rfd ${BINARY_DIR}
36+
rm -rfd ${BINARY_DIR}
3737
fi
3838

3939
echo "[+] Creating build directory"

Builder/Build_HEVD_Vulnerable_x86.bat

+12-12
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ set BUILD_DIR=%PROJECT_DIR%..\build\driver\windows\vulnerable\%BUILD_ARCH%
2424

2525
rem VS2017U2 contains vswhere.exe
2626
if "%VSWHERE%"=="" (
27-
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
27+
set "VSWHERE=%ProgramFiles(x86)%\Microsoft Visual Studio\Installer\vswhere.exe"
2828
)
2929

3030
for /f "usebackq tokens=*" %%i in (`"%VSWHERE%" -latest -products * -requires Microsoft.Component.MSBuild -property installationPath`) do (
31-
set VS_INSTALL_DIR=%%i
31+
set VS_INSTALL_DIR=%%i
3232
)
3333

3434
echo [+] Visual Studio Path: %VS_INSTALL_DIR%
@@ -47,7 +47,7 @@ echo [+] Build directory: %BUILD_DIR%
4747
echo [+] Removing build directory
4848

4949
if exist %BUILD_DIR% (
50-
rmdir /S /Q %BUILD_DIR%
50+
rmdir /S /Q %BUILD_DIR%
5151
)
5252

5353
echo [+] Creating build directory
@@ -84,15 +84,15 @@ echo.
8484

8585
echo [+] Cleaning build directory
8686
for /r "%BUILD_DIR%" %%a in (*) do (
87-
if not %%~xa==.sys (
88-
if not %%~xa==.pdb (
89-
if not %%~xa==.inf (
90-
if not %%~xa==.cat (
91-
del /f /q "%%a"
92-
)
93-
)
94-
)
95-
)
87+
if not %%~xa==.sys (
88+
if not %%~xa==.pdb (
89+
if not %%~xa==.inf (
90+
if not %%~xa==.cat (
91+
del /f /q "%%a"
92+
)
93+
)
94+
)
95+
)
9696
)
9797

9898
rmdir /S /Q "%BUILD_DIR%\%PROJECT_NAME%"

CONTRIBUTING.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
Contributing to HackSys Extreme Vulnerable Driver
2-
=================================================
3-
4-
To contribute code to **HackSys Extreme Vulnerable Driver** project, please use pull requests via **GitHub**.
5-
6-
## Thank you
7-
8-
9-
------------------------------------------------------------------------
10-
11-
[http://hacksys.vfreaks.com](http://hacksys.vfreaks.com)
12-
13-
![HackSys Team](http://hacksys.vfreaks.com/wp-content/themes/Polished/images/logo.png)
1+
Contributing to HackSys Extreme Vulnerable Driver
2+
=================================================
3+
4+
To contribute code to **HackSys Extreme Vulnerable Driver (HEVD)** project, please use pull requests via **GitHub**.
5+
6+
## Thank you
7+
8+
9+
------------------------------------------------------------------------
10+
11+
[![HackSys Inc](https://hacksys.io/android-chrome-192x192.png "HackSys Inc")](https://hacksys.io)

Driver/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#
1+
#
22
# HEVD CMake Script
33
#
44

Driver/HEVD/Windows/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
if(SECURE)
33
add_definitions(-DSECURE)
44
message("Generating secure HEVD build configuration")

Driver/HEVD/Windows/HEVD.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 12.00
33
# Visual Studio 15
44
VisualStudioVersion = 15.0.28010.2003

Driver/HEVD/Windows/HackSysExtremeVulnerableDriver.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug Secure|ARM">

Driver/HEVD/Windows/HackSysExtremeVulnerableDriver.vcxproj.filters

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
44
<Filter Include="Source Files">

Exploit/HackSysEVDExploit.sln

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
22
Microsoft Visual Studio Solution File, Format Version 11.00
33
# Visual Studio 2010
44
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HackSysEVDExploit", "HackSysEVDExploit.vcxproj", "{A432D8CD-BCEA-49B5-81EE-20B926D7421A}"

Exploit/HackSysEVDExploit.vcxproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup Label="ProjectConfigurations">
44
<ProjectConfiguration Include="Debug|Win32">

Exploit/HackSysEVDExploit.vcxproj.filters

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
33
<ItemGroup>
44
<Filter Include="Source Files">

0 commit comments

Comments
 (0)