Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
For educational purposes only
  • Loading branch information
MuDzYNN authored Jun 23, 2020
1 parent fe4801d commit d018404
Show file tree
Hide file tree
Showing 39 changed files with 374 additions and 0 deletions.
1 change: 1 addition & 0 deletions Debug/NitroGenerator.log
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
 NitroGenerator.vcxproj -> C:\Users\Dawid\source\repos\NitroGenerator\Debug\NitroGenerator.exe
Binary file added Debug/NitroGenerator.tlog/CL.command.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/CL.read.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/CL.write.1.tlog
Binary file not shown.
2 changes: 2 additions & 0 deletions Debug/NitroGenerator.tlog/NitroGenerator.lastbuildstate
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.26.28801:TargetPlatformVersion=10.0.18362.0:
Debug|Win32|C:\Users\Dawid\source\repos\NitroGenerator\|
1 change: 1 addition & 0 deletions Debug/NitroGenerator.tlog/NitroGenerator.read.1u.tlog
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
��
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/link.command.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/link.read.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/link.write.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/rc.command.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/rc.read.1.tlog
Binary file not shown.
Binary file added Debug/NitroGenerator.tlog/rc.write.1.tlog
Binary file not shown.
Binary file added Debug/Resource.res
Binary file not shown.
Binary file added Debug/main.obj
Binary file not shown.
Binary file added Debug/vc142.idb
Binary file not shown.
Binary file added Debug/vc142.pdb
Binary file not shown.
156 changes: 156 additions & 0 deletions NitroGenerator.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,156 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>16.0</VCProjectVersion>
<Keyword>Win32Proj</Keyword>
<ProjectGuid>{083c660d-84c8-4ab0-849a-5dad12135e40}</ProjectGuid>
<RootNamespace>NitroGenerator</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="main.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Resource.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="..\..\..\..\Desktop\Lil-Uzi-Vert.ico" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
37 changes: 37 additions & 0 deletions NitroGenerator.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Pliki źródłowe">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;c++;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Pliki nagłówkowe">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;h++;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="Pliki zasobów">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="main.cpp">
<Filter>Pliki źródłowe</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="resource.h">
<Filter>Pliki nagłówkowe</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="Resource.rc">
<Filter>Pliki zasobów</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="..\..\..\..\Desktop\Lil-Uzi-Vert.ico">
<Filter>Pliki zasobów</Filter>
</Image>
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions NitroGenerator.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>
7 changes: 7 additions & 0 deletions Release/NitroGenerator.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
 main.cpp
C:\Users\Dawid\source\repos\NitroGenerator\NitroGenerator\main.cpp(28,13): warning C4244: "argument": konwersja z "time_t" do "unsigned int", możliwa utrata danych
Trwa generowanie kodu
Previous IPDB not found, fall back to full compilation.
All 178 functions were compiled because no usable IPDB/IOBJ from previous compilation was found.
Zakończono generowanie kodu
NitroGenerator.vcxproj -> C:\Users\Dawid\source\repos\NitroGenerator\Release\NitroGenerator.exe
Binary file added Release/NitroGenerator.tlog/CL.command.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/CL.read.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/CL.write.1.tlog
Binary file not shown.
2 changes: 2 additions & 0 deletions Release/NitroGenerator.tlog/NitroGenerator.lastbuildstate
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PlatformToolSet=v142:VCToolArchitecture=Native32Bit:VCToolsVersion=14.26.28801:TargetPlatformVersion=10.0.18362.0:
Release|Win32|C:\Users\Dawid\source\repos\NitroGenerator\|
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/link.command.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/link.read.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/link.write.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/rc.command.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/rc.read.1.tlog
Binary file not shown.
Binary file added Release/NitroGenerator.tlog/rc.write.1.tlog
Binary file not shown.
Binary file added Release/Resource.res
Binary file not shown.
Binary file added Release/main.obj
Binary file not shown.
Binary file added Release/vc142.pdb
Binary file not shown.
Binary file added Resource.aps
Binary file not shown.
71 changes: 71 additions & 0 deletions Resource.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"

#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS

/////////////////////////////////////////////////////////////////////////////
// Polski (Polska) resources

#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_PLK)
LANGUAGE LANG_POLISH, SUBLANG_DEFAULT
#pragma code_page(1250)

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE
BEGIN
"resource.h\0"
END

2 TEXTINCLUDE
BEGIN
"#include ""winres.h""\r\n"
"\0"
END

3 TEXTINCLUDE
BEGIN
"\r\n"
"\0"
END

#endif // APSTUDIO_INVOKED


/////////////////////////////////////////////////////////////////////////////
//
// Icon
//

// Icon with lowest ID value placed first to ensure application icon
// remains consistent on all systems.
IDI_ICON1 ICON "C:\\Users\\Dawid\\Desktop\\Lil-Uzi-Vert.ico"

#endif // Polski (Polska) resources
/////////////////////////////////////////////////////////////////////////////



#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//


/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED

77 changes: 77 additions & 0 deletions main.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
#include <cstdlib>
#include <ctime>
#include <iostream>
#include <fstream>
#include <Windows.h>

using namespace std;

static const char pool[] =
"QWERTYUIOPASDFGHJKLZXCVBNM"
"qwertyuiopasdfghjklzxcvbnm"
"1234567890";

int poolSize = sizeof(pool) - 1;

char getRandomChar()
{
return pool[rand() % poolSize];
}


int main() {
system("color 04");
system("title Discord Nitro Codes Generator By MuDzYn");
while (true) {
int numberOfCodes;
string filename;
srand(time(0));
string code;
std::cout << R"( _ _ _ _ ____ _ ____ _ _ )" << "\n";
Sleep(100);
std::cout << R"( | \ | (_) |_ _ __ ___ / ___|___ __| | ___ ___ / ___| ___ _ __ ___ _ __ __ _| |_ ___ _ __ | |__ _ _ )" << "\n";
Sleep(100);
std::cout << R"( | \| | | __| '__/ _ \ | | / _ \ / _` |/ _ \/ __| | | _ / _ \ '_ \ / _ \ '__/ _` | __/ _ \| '__| | '_ \| | | |)" << "\n";
Sleep(100);
std::cout << R"( | |\ | | |_| | | (_) | | |__| (_) | (_| | __/\__ \ | |_| | __/ | | | __/ | | (_| | || (_) | | | |_) | |_| |)" << "\n";
Sleep(100);
std::cout << R"( |_| \_|_|\__|_|__\___/ __\____\___/ \__,_|\___||___/ \____|\___|_| |_|\___|_| \__,_|\__\___/|_| |_.__/ \__, |)" << "\n";
Sleep(100);
std::cout << R"( | \/ |_ _| _ \ ___\ \ / / __ |___/ )" << "\n";
Sleep(100);
std::cout << R"( | |\/| | | | | | | |_ /\ V / '_ \ )" << "\n";
Sleep(100);
std::cout << R"( | | | | |_| | |_| |/ / | || | | | )" << "\n";
Sleep(100);
std::cout << R"( |_| |_|\__,_|____//___| |_||_| |_| )" << "\n";
Sleep(100);
std::cout << R"( )" << "\n";
Sleep(100);


std::cout << "\n";
std::cout << "\n";
std::cout << "Enter ammount codes to generate: ";
std::cin >> numberOfCodes;
std::cout << "\nEnter file name: ";
std::cin >> filename;
filename = filename + ".txt";
std::cout << "\nGenerating codes...\n";
std::ofstream save(filename);
//output
for (int i = 0; i < numberOfCodes; i++)
{
for (int j = 0; j < 16; j++)
{
code += getRandomChar();
}
save << code << "\n";
code = "";
}
save.close();
std::cout << "\nSuccessfully generated " << numberOfCodes << " Discord Nitro codes";
std::cout << "\nSuccessfully saved codes to file: " << filename << "\n\n";
system("pause");
system("cls");
}
}
16 changes: 16 additions & 0 deletions resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
//{{NO_DEPENDENCIES}}
// Plik do³¹czany wygenerowany przez œrodowisko Microsoft Visual C++.
// U¿ywany przez: Resource.rc
//
#define IDI_ICON1 101

// Next default values for new objects
//
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE 102
#define _APS_NEXT_COMMAND_VALUE 40001
#define _APS_NEXT_CONTROL_VALUE 1001
#define _APS_NEXT_SYMED_VALUE 101
#endif
#endif

0 comments on commit d018404

Please sign in to comment.