-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
322 changed files
with
464,815 additions
and
1,047 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,98 +1,45 @@ | ||
<!-- Badges --> | ||
![](https://img.shields.io/maintenance/yes/2021) | ||
[![](https://img.shields.io/github/v/release/ItaiShek/CC_Generator)](https://github.com/ItaiShek/CC_Generator/releases) | ||
![](https://img.shields.io/github/downloads/ItaiShek/CC_Generator/total?color=red) | ||
[![](https://img.shields.io/github/issues/ItaiShek/CC_Generator?color=yellow)](https://github.com/ItaiShek/CC_Generator/issues) | ||
[![](https://img.shields.io/github/license/ItaiShek/CC_Generator?label=license&color=green)](https://github.com/ItaiShek/CC_Generator/blob/main/LICENSE) | ||
|
||
# Description | ||
|
||
<p style="text-align: left"> | ||
Generate a bunch of random credit card numbers quick and easy. | ||
<img src="/images/CC_Generator.gif" alt="CC_Generator" align="right" style="margin: 15px;" width="500"></img> | ||
|
||
CC_Generator has 33 different credit card issuers, and can generate up to a billion numbers at a time. | ||
|
||
CC_Generator has an easy to use options menu, just a few clicks and your'e done. | ||
</p> | ||
|
||
<br> | ||
|
||
## Installation | ||
|
||
#### Method 1: Clone repository | ||
|
||
```bash | ||
git clone https://github.com/ItaiShek/CC_Generator.git && cd CC_Generator/src | ||
make | ||
``` | ||
|
||
#### Method 2: Using curl | ||
|
||
```bash | ||
sudo curl -L https://github.com/ItaiShek/CC_Generator/releases/download/v1.0/CC_Generator -o /usr/local/bin/CC_Generator | ||
sudo chmod a+rx /usr/local/bin/CC_Generator | ||
``` | ||
|
||
#### Method 3: Using wget | ||
|
||
```bash | ||
sudo wget https://github.com/ItaiShek/CC_Generator/releases/download/v1.0/CC_Generator -O /usr/local/bin/CC_Generator | ||
sudo chmod a+rx /usr/local/bin/CC_Generator | ||
``` | ||
|
||
#### Method 4: Direct download | ||
|
||
Just download it from [here](https://github.com/ItaiShek/CC_Generator/releases/download/v1.0/CC_Generator). | ||
|
||
|
||
## Disclaimer | ||
|
||
Every credit card that is generated with CC_Generator is **random and fake** and do not hold any value. | ||
|
||
Credit card numbers that are generated with CC_Generator follows luhn algorithm for validating identification numbers | ||
|
||
These credit cards are **not** to be used for harming or deceiving people. | ||
|
||
These credit cards are for educational and data testing purposes only. | ||
|
||
I will not take **any responsability** for damages that arise of misusing CC_Generator. | ||
|
||
## Available issuers | ||
|
||
* Visa | ||
* MasterCard | ||
* American Express | ||
* Visa Electron | ||
* China UnionPay | ||
* Maestro | ||
* Maestro UK | ||
* Diners Club International | ||
* Diners Club US & Ca | ||
* Diners Club enRoute | ||
* Diners Club Carte Blanche | ||
* Discover | ||
* Interpayment | ||
* Intstapayment | ||
* JCB | ||
* Dankort | ||
* UATP | ||
* Bankcard | ||
* China T-Union | ||
* RuPay | ||
* Laser | ||
* Solo | ||
* Ca Imperial Bank of Commerce | ||
* Royal Bank of Canada | ||
* TD Canada Trust | ||
* Scotiabank | ||
* BMO | ||
* HSBC Bank Canada | ||
* MIR | ||
* NPS Pridnestrovie | ||
* Troy | ||
* Verve | ||
* LankaPay | ||
|
||
## License | ||
[GNU GPL 3.0](https://choosealicense.com/licenses/gpl-3.0/) | ||
<!-- Badges --> | ||
[![](https://img.shields.io/github/v/release/ItaiShek/CC_Generator)](https://github.com/ItaiShek/CC_Generator/releases) | ||
![](https://img.shields.io/github/downloads/ItaiShek/CC_Generator/total?color=red) | ||
[![](https://img.shields.io/github/issues/ItaiShek/CC_Generator?color=yellow)](https://github.com/ItaiShek/CC_Generator/issues) | ||
[![](https://img.shields.io/github/license/ItaiShek/CC_Generator?label=license&color=green)](https://github.com/ItaiShek/CC_Generator/blob/main/LICENSE) | ||
|
||
# Description | ||
|
||
Generate a bunch of random credit card numbers quick and easy. | ||
|
||
![GUI](images/GUI.gif "GUI") | ||
|
||
![Console](images/Console.gif "Console") | ||
|
||
## Installation | ||
|
||
### Windows: | ||
[x64](https://github.com/ItaiShek/CC_Generator/releases/latest/download/win_x64.zip), [x86](https://github.com/ItaiShek/CC_Generator/releases/latest/download/win_x86.zip) | ||
|
||
### Linux: | ||
[x64](https://github.com/ItaiShek/CC_Generator/releases/latest/download/linux_x64.zip) | ||
|
||
### Compilation: | ||
* For windows: open the solution file with visual studio and compile. | ||
* For linux: open the terminal in the repo's directory and run `make`. | ||
|
||
#### Note | ||
The GUI and console files are loaded dynamically, so the terminal stays open for both of them. If you want a fully GUI/Console version you'll need to change the main file to load one of them and make a standalone executable. | ||
|
||
## Usage | ||
* GUI: run the application. | ||
* Console: `CC_Generator --console` | ||
|
||
Just follow the steps... | ||
|
||
## Disclaimer | ||
Every credit card that is generated with CC_Generator is **random and fake** and do not hold any value. | ||
|
||
Credit card numbers that are generated with CC_Generator follows luhn algorithm for validating identification numbers | ||
|
||
These credit cards are **not** to be used for harming or deceiving people. | ||
|
||
These credit cards are for educational and data testing purposes only. | ||
|
||
I will not take **any responsibility** for damages that arise of misusing CC_Generator. |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#include "API.h" | ||
#include <iostream> | ||
|
||
|
||
bool API::is_sqlite_database(sqlite3*& db) | ||
{ | ||
// Execute a simple query to check if the database is valid | ||
const char* query = "SELECT name FROM sqlite_master WHERE type='table' LIMIT 1"; | ||
char* errMsg = nullptr; | ||
int result = sqlite3_exec(db, query, nullptr, nullptr, &errMsg); | ||
|
||
if (result != SQLITE_OK && errMsg != nullptr) | ||
{ | ||
std::cerr << "Error executing query: " << errMsg << std::endl; | ||
sqlite3_free(errMsg); | ||
sqlite3_close(db); | ||
return false; | ||
} | ||
|
||
return true; | ||
} | ||
|
||
|
||
std::shared_ptr<sqlite3> API::read_db(const std::string& db_path) | ||
{ | ||
sqlite3* db; | ||
if (sqlite3_open(db_path.c_str(), &db) != SQLITE_OK) | ||
{ | ||
return nullptr; | ||
} | ||
if (API::is_sqlite_database(db) == false) | ||
{ | ||
return nullptr; | ||
} | ||
return std::shared_ptr<sqlite3> {db, [](sqlite3* ptr) {if (ptr) { sqlite3_close(ptr); }}}; | ||
} | ||
|
||
|
||
bool API::check_file_exists(const std::string& filename) | ||
{ | ||
struct stat buffer; | ||
return ((filename.empty() == false) && | ||
(stat(filename.c_str(), &buffer) == 0)); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#pragma once | ||
#include "Dependencies/sqlite/sqlite3.h" | ||
#include <sys/stat.h> | ||
#include <string> | ||
#include <functional> | ||
#include <memory> | ||
|
||
|
||
namespace API | ||
{ | ||
bool check_file_exists(const std::string& filename); | ||
std::shared_ptr<sqlite3> read_db(const std::string& db_path); | ||
bool is_sqlite_database(sqlite3*& db); | ||
} |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,150 @@ | ||
<?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> | ||
<ItemGroup> | ||
<ClInclude Include="DB_API.h" /> | ||
<ClInclude Include="Card.h" /> | ||
<ClInclude Include="File.h" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ClCompile Include="DB_API.cpp" /> | ||
<ClCompile Include="Card.cpp" /> | ||
<ClCompile Include="Dependencies\sqlite\sqlite3.c" /> | ||
</ItemGroup> | ||
<PropertyGroup Label="Globals"> | ||
<VCProjectVersion>17.0</VCProjectVersion> | ||
<Keyword>Win32Proj</Keyword> | ||
<ProjectGuid>{1703fb92-5e00-4565-8385-cacbfbe7fa18}</ProjectGuid> | ||
<RootNamespace>API</RootNamespace> | ||
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion> | ||
</PropertyGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration"> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration"> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<WholeProgramOptimization>true</WholeProgramOptimization> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration"> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
<UseDebugLibraries>true</UseDebugLibraries> | ||
<PlatformToolset>v143</PlatformToolset> | ||
<CharacterSet>Unicode</CharacterSet> | ||
</PropertyGroup> | ||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration"> | ||
<ConfigurationType>StaticLibrary</ConfigurationType> | ||
<UseDebugLibraries>false</UseDebugLibraries> | ||
<PlatformToolset>v143</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" /> | ||
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> | ||
<ClCompile> | ||
<WarningLevel>Level3</WarningLevel> | ||
<SDLCheck>true</SDLCheck> | ||
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions> | ||
<ConformanceMode>true</ConformanceMode> | ||
<AdditionalIncludeDirectories> | ||
</AdditionalIncludeDirectories> | ||
</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> | ||
<AdditionalIncludeDirectories> | ||
</AdditionalIncludeDirectories> | ||
</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> | ||
<AdditionalIncludeDirectories> | ||
</AdditionalIncludeDirectories> | ||
</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> | ||
<AdditionalIncludeDirectories> | ||
</AdditionalIncludeDirectories> | ||
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<EnableCOMDATFolding>true</EnableCOMDATFolding> | ||
<OptimizeReferences>true</OptimizeReferences> | ||
<GenerateDebugInformation>true</GenerateDebugInformation> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" /> | ||
<ImportGroup Label="ExtensionTargets"> | ||
</ImportGroup> | ||
</Project> |
Oops, something went wrong.