Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <string>
- #include <ctype.h>
- #include "CeasarCipher.h"
- #include <iostream>
- #include <iomanip>
- #include <conio.h>
- #include <stdio.h>
- #include <stdlib.h>
- #include <cstring>
- #include <regex>
- #include <codecvt>
- #include <locale>
- #include <vector>
- #define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers
- #pragma comment(lib, "ws2_32.lib")
- #pragma comment(lib, "Winmm.lib")
- #include <windows.h>
- #include <Mmsystem.h>
- #include <timeapi.h>
- #include <time.h>
- #include <cassert>
- #include <iterator>
- #include <shlobj.h>
- #include <shlwapi.h>
- #include <objbase.h>
- #include <inttypes.h>
- #include "GETHASHKEY.h"
- #include "base64.h"
- #pragma warning(disable : 4996)
- #pragma execution_character_set("utf-8")
- int numletter;
- const wchar_t* str;
- #include <cstddef>
- #include <bitset>
- typedef unsigned char BYTES;
- #include <sstream>
- #include <fstream>
- #include <tchar.h>
- #include <stdexcept>
- #include <math.h>
- #include "md5.h"
- int number1;
- int number2;
- DWORD serialnumber = 0, maxcomponentlen = 0, filesystemflags = 0;
- DWORD sizez;
- std::string ConvertToString(DWORD value) { std::stringstream ss; ss << std::hex << value; return ss.str(); }
- #define MAX_size 255
- char systemfile[MAX_size];
- std::string chartostring(char* charto) { return std::string(charto); }
- char* stringtochar(std::string stringto) { char* stch = new char[stringto.length() + 1]; strcpy(stch, stringto.c_str()); return (char*)stch; }
- char* TcharArrayToCharArray(TCHAR ARRAYs[MAX_size]) { char* arr[MAX_size]; wcstombs((char*)arr, ARRAYs, wcslen(ARRAYs) + 1); return ((char*)arr); }
- char* stringtochar2(std::string stringstring) { char* string2char = const_cast<char*>(stringstring.c_str()); return string2char; }
- std::wstring s2ws(const std::string& s) { int len; int slength = (int)s.length() + 1; len = MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, 0, 0); std::wstring r(len, L'\0'); MultiByteToWideChar(CP_ACP, 0, s.c_str(), slength, &r[0], len); return r; }
- std::string ws2s(const std::wstring& s) { int len; int slength = (int)s.length() + 1; len = WideCharToMultiByte(CP_ACP, 0, s.c_str(), slength, 0, 0, 0, 0); std::string r(len, '\0'); WideCharToMultiByte(CP_ACP, 0, s.c_str(), slength, &r[0], len, 0, 0); return r; }
- std::string numberserial;
- std::string componentlenmax;
- std::string md;
- struct ImVec4
- {
- float x, y, z, w;
- ImVec4() { x = y = z = w = 0.0f; }
- ImVec4(float _x, float _y, float _z, float _w) { x = _x; y = _y; z = _z; w = _w; }
- #ifdef IM_VEC4_CLASS_EXTRA
- IM_VEC4_CLASS_EXTRA // Define additional constructors and implicit cast operators in imconfig.h to convert back and forth between your math types and ImVec4.
- #endif
- };
- static inline float ImSaturate(float f) { return (f < 0.0f) ? 0.0f : (f > 1.0f) ? 1.0f : f; }
- #define IM_F32_TO_INT8_SAT(_VAL) ((int)(ImSaturate(_VAL) * 255.0f + 0.5f)) // Saturated, always output 0..255
- ImVec4 ColorConvertU32ToFloat42(DWORD in)
- {
- /*float s = 1.0f / 255.0f;*/
- /*return ImVec4(
- ((in >> IM_COL32_R_SHIFT) & 0xFF) * s,
- ((in >> IM_COL32_G_SHIFT) & 0xFF) * s,
- ((in >> IM_COL32_B_SHIFT) & 0xFF) * s,
- ((in >> IM_COL32_A_SHIFT) & 0xFF) * s);*/
- float xf;
- float yf;
- float zf;
- float wf;
- xf = (float)((in & 0xFF000000) >> 24) / 255;
- yf = (float)((in & 0x00FF0000) >> 16) / 255;
- zf = (float)((in & 0x0000FF00) >> 8) / 255;
- wf = (float)((in & 0x000000FF)) / 255;
- return ImVec4(xf, yf, zf, wf);
- }
- typedef unsigned int ImU32; // 32-bit unsigned integer (often used to store packed colors)
- ImU32 ColorConvertFloat4ToU322(const ImVec4& in)
- {
- ImU32 out;
- out = ((ImU32)IM_F32_TO_INT8_SAT(in.x)) << 24;
- out |= ((ImU32)IM_F32_TO_INT8_SAT(in.y)) << 16;
- out |= ((ImU32)IM_F32_TO_INT8_SAT(in.z)) << 8;
- out |= ((ImU32)IM_F32_TO_INT8_SAT(in.w));
- return out;
- }
- static ImVec4 ImGuiCol_Text;
- DWORD ImGuiCol2_Text;
- std::string ImGuiCol1_Text = "";
- std::string ImVec4tostring(ImVec4 ImGuiCol_Text2)
- {
- ImGuiCol2_Text = ColorConvertFloat4ToU322(ImGuiCol_Text2);
- std::stringstream hcolor;
- hcolor << std::hex << ImGuiCol2_Text;
- ImGuiCol1_Text = hcolor.str();
- return ImGuiCol1_Text;
- }
- static ImVec4 ImGuiCol_TextDisabled;
- DWORD stringtodword(std::string stringto)
- {
- DWORD Value;
- std::stringstream scolorhex;
- scolorhex << std::hex << stringto;
- scolorhex >> Value;
- ImGuiCol_TextDisabled = ColorConvertU32ToFloat42(Value);
- return Value;
- }
- int hwidinfo()
- {
- char hwid[4096];
- // total physical memory
- MEMORYSTATUSEX statex;
- statex.dwLength = sizeof(statex);
- GlobalMemoryStatusEx(&statex);
- sprintf_s(hwid, "%I64i", statex.ullTotalPhys / 1024);
- TCHAR volumename[MAX_PATH + 1] = { 0 };
- TCHAR filesystemname[MAX_PATH + 1] = { 0 };
- // volume information
- GetVolumeInformation(_T("C:\\"), volumename, ARRAYSIZE(volumename), &serialnumber, &maxcomponentlen, &filesystemflags, filesystemname, ARRAYSIZE(filesystemname));
- TCHAR computerName[MAX_COMPUTERNAME_LENGTH + 1];
- sizez = sizeof(computerName) / sizeof(computerName[0]);
- GetComputerName(computerName, &sizez);
- numberserial = (char*)ConvertToString(serialnumber).c_str();
- componentlenmax = (char*)ConvertToString(maxcomponentlen).c_str();
- wcstombs(systemfile, filesystemname, wcslen(filesystemname) + 1);
- std::string addall = hwid + numberserial + systemfile + componentlenmax + "\n";
- md = md5(addall) + "\n";
- std::string printtest = chartostring(testprint) + "\n";*/
- printf((char*)md.c_str());
- system("pause");
- return 0;
- }
- class X {
- public:
- char message[255];
- char ch;
- int i;
- int key;
- int array;
- int lens;
- };
- std::string messages;
- int num1;
- int num2;
- std::string cipherizer;
- std::string cipherizer2;
- std::string bytesString;
- char* bytes8;
- std::stringstream streamstring;
- std::string byteschanges;
- std::string changebytes;
- int i;
- std::string linestring;
- std::stringstream linesstream;
- int countstring()
- {
- for (int i = 0; i < ciphcea::lines; i++)
- {
- linesstream << i;
- linesstream >> linestring;
- std::istringstream stream(ciphcea::line.c_str());
- std::string linescode;
- std::getline(stream, linestring) >> linescode;
- }
- return 0;
- }
- int ciphcea::charbytes8()
- {
- countstring();
- std::cout << ciphcea::line << std::endl;
- mytest = new char[ciphcea::line.length() + 1];
- strcpy(mytest, ciphcea::line.c_str());
- ceasarcipherencode(mytest);
- printf((char*)textconvert.c_str());
- cipherizer = textconvert;
- urltoencodebase64 = cipherizer;
- encodeurlbase64caller();
- printf("\n");
- std::cout << encodedurlbase64 << std::endl;
- bytesString = string_to_hex(encodedurlbase64);
- bytes8 = new char[bytesString.length() + 1];
- strcpy(bytes8, bytesString.c_str());
- printf("\n");
- std::cout << bytes8 << std::endl;
- char char0;
- char char1;
- char char2;
- char char3;
- char char4;
- char char5;
- char char6;
- char char7;
- char char8;
- char char9;
- char char10;
- char char11;
- char char12;
- char char13;
- char char14;
- char char15;
- char char16;
- char char17;
- char char18;
- char char19;
- char char20;
- char char21;
- char char22;
- char char23;
- char char24;
- char char25;
- char char26;
- char char27;
- char char28;
- char char29;
- char char30;
- char char31;
- char char32;
- char char33;
- std::string convert1;
- std::string convert2;
- std::string convert3;
- std::string convert4;
- DWORD Value = {};
- for (i = 0; i < sizeof(ciphcea::line); i++) {
- if (i < 8)
- {
- std::cout << bytes8[i];
- char0 = bytes8[0];
- char1 = bytes8[1];
- char2 = bytes8[2];
- char3 = bytes8[3];
- char4 = bytes8[4];
- char5 = bytes8[5];
- char6 = bytes8[6];
- char7 = bytes8[7];
- }
- if (i == 8)
- {
- printf(" ");
- std::cout << bytes8[i];
- char8 = bytes8[8];
- }
- if (i > 8 && i < 16)
- {
- std::cout << bytes8[i];
- char9 = bytes8[9];
- char10 = bytes8[10];
- char11 = bytes8[11];
- char12 = bytes8[12];
- char13 = bytes8[13];
- char14 = bytes8[14];
- char15 = bytes8[15];
- }
- if (i == 16)
- {
- printf(" ");
- std::cout << bytes8[i];
- char16 = bytes8[16];
- }
- if (i > 16 && i < 24)
- {
- std::cout << bytes8[i];
- char17 = bytes8[17];
- char18 = bytes8[18];
- char19 = bytes8[19];
- char20 = bytes8[20];
- char21 = bytes8[21];
- char22 = bytes8[22];
- char23 = bytes8[23];
- }
- if (i == 24)
- {
- printf(" ");
- std::cout << bytes8[i];
- char24 = bytes8[24];
- }
- if (i > 24 && i < 32)
- {
- std::cout << bytes8[i];
- char25 = bytes8[25];
- char26 = bytes8[26];
- char27 = bytes8[27];
- char28 = bytes8[28];
- char29 = bytes8[29];
- char30 = bytes8[30];
- char31 = bytes8[31];
- }
- else if (i == 32)
- {
- printf(" ");
- std::cout << bytes8[i];
- char32 = bytes8[i];
- }
- }
- printf("\n");
- std::string s0(1, char0);
- std::string s1(1, char1);
- std::string s2(1, char2);
- std::string s3(1, char3);
- std::string s4(1, char4);
- std::string s5(1, char5);
- std::string s6(1, char6);
- std::string s7(1, char7);
- std::string laststring = s0 + s1;
- std::string laststring1 = laststring + s2;
- std::string laststring2 = laststring1 + s3;
- std::string laststring3 = laststring2 + s4;
- std::string laststring4 = laststring3 + s5;
- std::string laststring5 = laststring4 + s6;
- std::string laststring6 = laststring5 + s7;
- std::cout << laststring6 << " \n";
- std::stringstream ss2;
- ss2 << std::hex << laststring6;
- ss2 >> Value;
- ImGuiCol_Text22 = ColorConvertU32ToFloat42(Value);
- x2 = ImGuiCol_Text22.x;
- y2 = ImGuiCol_Text22.y;
- z2 = ImGuiCol_Text22.z;
- w2 = ImGuiCol_Text22.w;
- ImGuiCol_Text23 = { x2, y2, z2, w2 };
- stringSTRING1 = ImVec4tostring(ImGuiCol_Text23);
- STRINGstring2 = stringSTRING1 + "\n";
- charconvert = new char[STRINGstring2.length() + 1];
- strcpy(charconvert, STRINGstring2.c_str());
- printf(charconvert);
- ImGuiCol_Text24 = { w2, z2, y2, x2 };
- stringSTRING3 = ImVec4tostring(ImGuiCol_Text24);
- STRINGstring4 = stringSTRING3 + "\n";
- charconverter = new char[STRINGstring4.length() + 1];
- strcpy(charconverter, STRINGstring4.c_str());
- printf(charconverter);
- convert1 = stringSTRING3;
- std::string s8(1, char8);
- std::string s9(1, char9);
- std::string s10(1, char10);
- std::string s11(1, char11);
- std::string s12(1, char12);
- std::string s13(1, char13);
- std::string s14(1, char14);
- std::string s15(1, char15);
- std::string laststring8 = s8 + s9;
- std::string laststring9 = laststring8 + s10;
- std::string laststring10 = laststring9 + s11;
- std::string laststring11 = laststring10 + s12;
- std::string laststring12 = laststring11 + s13;
- std::string laststring13 = laststring12 + s14;
- std::string laststring14 = laststring13 + s15;
- std::cout << laststring14 << " \n";
- std::stringstream ss3;
- ss3 << std::hex << laststring14;
- ss3 >> Value;
- //std::cout << "Thunder4" << " \n";
- ImGuiCol_Text22 = ColorConvertU32ToFloat42(Value);
- x2 = ImGuiCol_Text22.x;
- y2 = ImGuiCol_Text22.y;
- z2 = ImGuiCol_Text22.z;
- w2 = ImGuiCol_Text22.w;
- /*std::cout << x2 << std::endl;
- std::cout << y2 << std::endl;
- std::cout << z2 << std::endl;
- std::cout << w2 << std::endl;*/
- ImGuiCol_Text23 = { x2, y2, z2, w2 };
- stringSTRING1 = ImVec4tostring(ImGuiCol_Text23);
- STRINGstring2 = stringSTRING1 + "\n";
- charconvert = new char[STRINGstring2.length() + 1];
- strcpy(charconvert, STRINGstring2.c_str());
- printf(charconvert);
- ImGuiCol_Text24 = { w2, z2, y2, x2 };
- stringSTRING3 = ImVec4tostring(ImGuiCol_Text24);
- STRINGstring4 = stringSTRING3 + "\n";
- charconverter = new char[STRINGstring4.length() + 1];
- strcpy(charconverter, STRINGstring4.c_str());
- printf(charconverter);
- convert2 = stringSTRING3;
- std::string s16(1, char16);
- std::string s17(1, char17);
- std::string s18(1, char18);
- std::string s19(1, char19);
- std::string s20(1, char20);
- std::string s21(1, char21);
- std::string s22(1, char22);
- std::string s23(1, char23);
- std::string laststring15 = s16 + s17;
- std::string laststring16 = laststring15 + s18;
- std::string laststring17 = laststring16 + s19;
- std::string laststring18 = laststring17 + s20;
- std::string laststring19 = laststring18 + s21;
- std::string laststring20 = laststring19 + s22;
- std::string laststring21 = laststring20 + s23;
- std::cout << laststring21 << " \n";
- std::stringstream ss4;
- ss4 << std::hex << laststring21;
- ss4 >> Value;
- //std::cout << "Thunder4" << " \n";
- ImGuiCol_Text22 = ColorConvertU32ToFloat42(Value);
- x2 = ImGuiCol_Text22.x;
- y2 = ImGuiCol_Text22.y;
- z2 = ImGuiCol_Text22.z;
- w2 = ImGuiCol_Text22.w;
- /*std::cout << x2 << std::endl;
- std::cout << y2 << std::endl;
- std::cout << z2 << std::endl;
- std::cout << w2 << std::endl;*/
- ImGuiCol_Text23 = { x2, y2, z2, w2 };
- stringSTRING1 = ImVec4tostring(ImGuiCol_Text23);
- STRINGstring2 = stringSTRING1 + "\n";
- charconvert = new char[STRINGstring2.length() + 1];
- strcpy(charconvert, STRINGstring2.c_str());
- printf(charconvert);
- ImGuiCol_Text24 = { w2, z2, y2, x2 };
- stringSTRING3 = ImVec4tostring(ImGuiCol_Text24);
- STRINGstring4 = stringSTRING3 + "\n";
- charconverter = new char[STRINGstring4.length() + 1];
- strcpy(charconverter, STRINGstring4.c_str());
- printf(charconverter);
- convert3 = stringSTRING3;
- std::string s24(1, char24);
- std::string s25(1, char25);
- std::string s26(1, char26);
- std::string s27(1, char27);
- std::string s28(1, char28);
- std::string s29(1, char29);
- std::string s30(1, char30);
- std::string s31(1, char31);
- std::string laststring22 = s24 + s25;
- std::string laststring23 = laststring22 + s26;
- std::string laststring24 = laststring23 + s27;
- std::string laststring25 = laststring24 + s28;
- std::string laststring26 = laststring25 + s29;
- std::string laststring27 = laststring26 + s30;
- std::string laststring28 = laststring27 + s31;
- std::cout << laststring28 << " \n";
- std::stringstream ss5;
- ss5 << std::hex << laststring28;
- ss5 >> Value;
- ImGuiCol_Text22 = ColorConvertU32ToFloat42(Value);
- x2 = ImGuiCol_Text22.x;
- y2 = ImGuiCol_Text22.y;
- z2 = ImGuiCol_Text22.z;
- w2 = ImGuiCol_Text22.w;
- /*std::cout << x2 << std::endl;
- std::cout << y2 << std::endl;
- std::cout << z2 << std::endl;
- std::cout << w2 << std::endl;*/
- ImGuiCol_Text23 = { x2, y2, z2, w2 };
- stringSTRING1 = ImVec4tostring(ImGuiCol_Text23);
- STRINGstring2 = stringSTRING1 + "\n";
- charconvert = new char[STRINGstring2.length() + 1];
- strcpy(charconvert, STRINGstring2.c_str());
- printf(charconvert);
- ImGuiCol_Text24 = { w2, z2, y2, x2 };
- stringSTRING3 = ImVec4tostring(ImGuiCol_Text24);
- STRINGstring4 = stringSTRING3 + "\n";
- charconverter = new char[STRINGstring4.length() + 1];
- strcpy(charconverter, STRINGstring4.c_str());
- printf(charconverter);
- convert4 = stringSTRING3;
- std::string fileconvert = convert1 + " " + convert2;
- std::string fileconvert2 = convert3 + " " + convert4;
- std::string fileconvert3 = fileconvert + " " + fileconvert2;
- std::string fileconvert4 = fileconvert3;
- printf("\n");
- std::cout << fileconvert4 << std::endl;
- std::string fileconvert5 = laststring6 + laststring14 + laststring21 + laststring28;
- std::string bytesString2 = bytesString;
- std::string::size_type rep = bytesString2.find(fileconvert5);
- if (rep != std::string::npos)
- bytesString2.replace(rep, fileconvert5.length(), fileconvert4);
- printf("\n");
- std::cout << bytesString2 << std::endl;
- std::string bytesString3 = bytesString2;
- std::string space = " ";
- std::string space2 = " ";
- std::string nospace = "";
- size_t pos = bytesString3.find(space2);
- while (pos != std::string::npos)
- {
- bytesString3.replace(pos, space2.size(), nospace);
- pos = bytesString3.find(space2, pos + nospace.size());
- }
- std::string bytesString4 = bytesString3;
- size_t pos2 = bytesString4.find(space);
- while (pos2 != std::string::npos)
- {
- bytesString4.replace(pos2, space.size(), nospace);
- pos2 = bytesString4.find(space, pos2 + nospace.size());
- }
- printf("\n");
- std::cout << bytesString4 << std::endl;
- return 0;
- }
- int ciphcea::decodecharbytes8()
- {
- countstring();
- std::cout << ciphcea::line << std::endl;
- bytes8 = new char[ciphcea::line.length() + 1];
- strcpy(bytes8, ciphcea::line.c_str());
- char char0;
- char char1;
- char char2;
- char char3;
- char char4;
- char char5;
- char char6;
- char char7;
- char char8;
- char char9;
- char char10;
- char char11;
- char char12;
- char char13;
- char char14;
- char char15;
- char char16;
- char char17;
- char char18;
- char char19;
- char char20;
- char char21;
- char char22;
- char char23;
- char char24;
- char char25;
- char char26;
- char char27;
- char char28;
- char char29;
- char char30;
- char char31;
- char char32;
- char char33;
- std::string convert1;
- std::string convert2;
- std::string convert3;
- std::string convert4;
- DWORD Value = {};
- for (i = 0; i < sizeof(ciphcea::line); i++) {
- if (i < 8)
- {
- std::cout << bytes8[i];
- char0 = bytes8[0];
- char1 = bytes8[1];
- char2 = bytes8[2];
- char3 = bytes8[3];
- char4 = bytes8[4];
- char5 = bytes8[5];
- char6 = bytes8[6];
- char7 = bytes8[7];
- }
- if (i == 8)
- {
- printf(" ");
- std::cout << bytes8[i];
- char8 = bytes8[8];
- }
- if (i > 8 && i < 16)
- {
- std::cout << bytes8[i];
- char9 = bytes8[9];
- char10 = bytes8[10];
- char11 = bytes8[11];
- char12 = bytes8[12];
- char13 = bytes8[13];
- char14 = bytes8[14];
- char15 = bytes8[15];
- }
- if (i == 16)
- {
- printf(" ");
- std::cout << bytes8[i];
- char16 = bytes8[16];
- }
- if (i > 16 && i < 24)
- {
- std::cout << bytes8[i];
- char17 = bytes8[17];
- char18 = bytes8[18];
- char19 = bytes8[19];
- char20 = bytes8[20];
- char21 = bytes8[21];
- char22 = bytes8[22];
- char23 = bytes8[23];
- }
- if (i == 24)
- {
- printf(" ");
- std::cout << bytes8[i];
- char24 = bytes8[24];
- }
- if (i > 24 && i < 32)
- {
- std::cout << bytes8[i];
- char25 = bytes8[25];
- char26 = bytes8[26];
- char27 = bytes8[27];
- char28 = bytes8[28];
- char29 = bytes8[29];
- char30 = bytes8[30];
- char31 = bytes8[31];
- }
- else if (i == 32)
- {
- printf(" ");
- std::cout << bytes8[i];
- char32 = bytes8[i];
- }
- }
- printf("\n");
- std::string s0(1, char0);
- std::string s1(1, char1);
- std::string s2(1, char2);
- std::string s3(1, char3);
- std::string s4(1, char4);
- std::string s5(1, char5);
- std::string s6(1, char6);
- std::string s7(1, char7);
- std::string laststring = s0 + s1;
- std::string laststring1 = laststring + s2;
- std::string laststring2 = laststring1 + s3;
- std::string laststring3 = laststring2 + s4;
- std::string laststring4 = laststring3 + s5;
- std::string laststring5 = laststring4 + s6;
- std::string laststring6 = laststring5 + s7;
- std::cout << laststring6 << " \n";
- std::stringstream ss2;
- ss2 << std::hex << laststring6;
- ss2 >> Value;
- ImGuiCol_Text25 = ColorConvertU32ToFloat42(Value);
- x4 = ImGuiCol_Text25.x;
- y4 = ImGuiCol_Text25.y;
- z4 = ImGuiCol_Text25.z;
- w4 = ImGuiCol_Text25.w;
- std::cout << x4 << std::endl;
- std::cout << y4 << std::endl;
- std::cout << z4 << std::endl;
- std::cout << w4 << std::endl;
- ImGuiCol_Text26 = { w4, z4, y4, x4 };
- stringSTRING5 = ImVec4tostring(ImGuiCol_Text26);
- STRINGstring6 = stringSTRING5 + "\n";
- charconverted = new char[STRINGstring6.length() + 1];
- strcpy(charconverted, STRINGstring6.c_str());
- convert1 = stringSTRING5;
- std::string s8(1, char8);
- std::string s9(1, char9);
- std::string s10(1, char10);
- std::string s11(1, char11);
- std::string s12(1, char12);
- std::string s13(1, char13);
- std::string s14(1, char14);
- std::string s15(1, char15);
- std::string laststring8 = s8 + s9;
- std::string laststring9 = laststring8 + s10;
- std::string laststring10 = laststring9 + s11;
- std::string laststring11 = laststring10 + s12;
- std::string laststring12 = laststring11 + s13;
- std::string laststring13 = laststring12 + s14;
- std::string laststring14 = laststring13 + s15;
- std::cout << laststring14 << " \n";
- std::stringstream ss3;
- ss3 << std::hex << laststring14;
- ss3 >> Value;
- ImGuiCol_Text25 = ColorConvertU32ToFloat42(Value);
- x4 = ImGuiCol_Text25.x;
- y4 = ImGuiCol_Text25.y;
- z4 = ImGuiCol_Text25.z;
- w4 = ImGuiCol_Text25.w;
- std::cout << x4 << std::endl;
- std::cout << y4 << std::endl;
- std::cout << z4 << std::endl;
- std::cout << w4 << std::endl;
- ImGuiCol_Text26 = { w4, z4, y4, x4 };
- stringSTRING5 = ImVec4tostring(ImGuiCol_Text26);
- STRINGstring6 = stringSTRING5 + "\n";
- charconverted = new char[STRINGstring6.length() + 1];
- strcpy(charconverted, STRINGstring6.c_str());
- convert2 = stringSTRING5;
- std::string s16(1, char16);
- std::string s17(1, char17);
- std::string s18(1, char18);
- std::string s19(1, char19);
- std::string s20(1, char20);
- std::string s21(1, char21);
- std::string s22(1, char22);
- std::string s23(1, char23);
- std::string laststring15 = s16 + s17;
- std::string laststring16 = laststring15 + s18;
- std::string laststring17 = laststring16 + s19;
- std::string laststring18 = laststring17 + s20;
- std::string laststring19 = laststring18 + s21;
- std::string laststring20 = laststring19 + s22;
- std::string laststring21 = laststring20 + s23;
- std::cout << laststring21 << " \n";
- std::stringstream ss4;
- ss4 << std::hex << laststring21;
- ss4 >> Value;
- ImGuiCol_Text25 = ColorConvertU32ToFloat42(Value);
- x4 = ImGuiCol_Text25.x;
- y4 = ImGuiCol_Text25.y;
- z4 = ImGuiCol_Text25.z;
- w4 = ImGuiCol_Text25.w;
- std::cout << x4 << std::endl;
- std::cout << y4 << std::endl;
- std::cout << z4 << std::endl;
- std::cout << w4 << std::endl;
- ImGuiCol_Text26 = { w4, z4, y4, x4 };
- stringSTRING5 = ImVec4tostring(ImGuiCol_Text26);
- STRINGstring6 = stringSTRING5 + "\n";
- charconverted = new char[STRINGstring6.length() + 1];
- strcpy(charconverted, STRINGstring6.c_str());
- convert3 = stringSTRING5;
- std::string s24(1, char24);
- std::string s25(1, char25);
- std::string s26(1, char26);
- std::string s27(1, char27);
- std::string s28(1, char28);
- std::string s29(1, char29);
- std::string s30(1, char30);
- std::string s31(1, char31);
- std::string laststring22 = s24 + s25;
- std::string laststring23 = laststring22 + s26;
- std::string laststring24 = laststring23 + s27;
- std::string laststring25 = laststring24 + s28;
- std::string laststring26 = laststring25 + s29;
- std::string laststring27 = laststring26 + s30;
- std::string laststring28 = laststring27 + s31;
- std::cout << laststring28 << " \n";
- std::stringstream ss5;
- ss5 << std::hex << laststring28;
- ss5 >> Value;
- ImGuiCol_Text25 = ColorConvertU32ToFloat42(Value);
- x4 = ImGuiCol_Text25.x;
- y4 = ImGuiCol_Text25.y;
- z4 = ImGuiCol_Text25.z;
- w4 = ImGuiCol_Text25.w;
- std::cout << x4 << std::endl;
- std::cout << y4 << std::endl;
- std::cout << z4 << std::endl;
- std::cout << w4 << std::endl;
- ImGuiCol_Text26 = { w4, z4, y4, x4 };
- stringSTRING5 = ImVec4tostring(ImGuiCol_Text26);
- STRINGstring6 = stringSTRING5 + "\n";
- charconverted = new char[STRINGstring6.length() + 1];
- strcpy(charconverted, STRINGstring6.c_str());
- convert4 = stringSTRING5;
- std::string fileconvert = convert1 + " " + convert2;
- std::string fileconvert2 = convert3 + " " + convert4;
- std::string fileconvert3 = fileconvert + " " + fileconvert2;
- std::string fileconvert4 = fileconvert3;
- printf("\n");
- std::cout << fileconvert4 << std::endl;
- std::string fileconvert5 = laststring6 + laststring14 + laststring21 + laststring28;
- std::string bytesString2 = ciphcea::line;
- std::string::size_type rep = bytesString2.find(fileconvert5);
- if (rep != std::string::npos)
- bytesString2.replace(rep, fileconvert5.length(), fileconvert4);
- std::string bytesString3 = bytesString2;
- std::string space = " ";
- std::string space2 = " ";
- std::string nospace = "";
- size_t pos = bytesString3.find(space2);
- while (pos != std::string::npos)
- {
- bytesString3.replace(pos, space2.size(), nospace);
- pos = bytesString3.find(space2, pos + nospace.size());
- }
- std::string bytesString4 = bytesString3;
- size_t pos2 = bytesString4.find(space);
- while (pos2 != std::string::npos)
- {
- bytesString4.replace(pos2, space.size(), nospace);
- pos2 = bytesString4.find(space, pos2 + nospace.size());
- }
- printf("\n");
- std::cout << bytesString4 << std::endl;
- mytest = new char[bytesString4.length() + 1];
- strcpy(mytest, bytesString4.c_str());
- cipherizer2 = hex_to_string(mytest);
- printf("\n");
- std::cout << cipherizer2 << std::endl;
- urltodecodebase64 = cipherizer2;
- decodeurlbase64caller();
- printf("\n");
- std::cout << decodedurlbase64 << std::endl;
- cipherizer2 = decodedurlbase64;
- ceasarcipherdecode(decodedurlbase64);
- printf((char*)textconverter.c_str());
- return 0;
- }
- char* charconvert;
- char* charconverter;
- char* charconverted;
- std::string textconvert;
- std::string textconverter;
- char* ar;
- ImVec4 ImGuiCol_Text22;
- ImVec4 ImGuiCol_Text23;
- ImVec4 ImGuiCol_Text24;
- ImVec4 ImGuiCol_Text25;
- ImVec4 ImGuiCol_Text26;
- float x2, y2, z2, w2, x4, y4, z4, w4;
- char buffer[64];
- int ret;
- std::string stringSTRING1;
- std::string STRINGstring2;
- std::string stringSTRING3;
- std::string STRINGstring4;
- std::string stringSTRING5;
- std::string STRINGstring6;
- DWORD messagesenter;
- std::string string_to_hex(const std::string& input)
- {
- static const char hex_digits[] = "0123456789ABCDEF";
- std::string output;
- output.reserve(input.length() * 2);
- for (unsigned char c : input)
- {
- output.push_back(hex_digits[c >> 4]);
- output.push_back(hex_digits[c & 15]);
- }
- return output;
- }
- int hex_value(unsigned char hex_digit)
- {
- static const signed char hex_values[256] = {
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, -1, -1, -1, -1, -1, -1,
- -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, 10, 11, 12, 13, 14, 15, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
- };
- int value = hex_values[hex_digit];
- if (value == -1) throw std::invalid_argument("invalid hex digit");
- return value;
- }
- std::string hex_to_string(const std::string& input)
- {
- const auto len = input.length();
- if (len & 1) throw std::invalid_argument("bad length");
- std::string output;
- output.reserve(len / 2);
- for (auto it = input.begin(); it != input.end(); )
- {
- int hi = hex_value(*it++);
- int lo = hex_value(*it++);
- output.push_back(hi << 4 | lo);
- }
- return output;
- }
- #include "GETHASHKEY.h"
- #include <iostream>
- #include <sstream>
- #include <fstream>
- H HASH::GET_HASH_KEY(char* value)
- {
- size_t len = strlen(value);
- DWORD hash, i;
- for (hash = i = 0; i < len; ++i)
- {
- hash += tolower(value[i]);
- hash += (hash << 10);
- hash ^= (hash >> 6);
- }
- hash += (hash << 3);
- hash ^= (hash >> 11);
- hash += (hash << 15);
- return hash; // joaat
- }
- #pragma once
- #include <iostream>
- #include <sstream>
- #include <fstream>
- typedef unsigned long DWORD;
- typedef DWORD H;
- namespace HASH
- {
- H GET_HASH_KEY(char* value);
- }
- #include "base64.h"
- #include <iostream>
- static const std::string base64_chars =
- "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- "abcdefghijklmnopqrstuvwxyz"
- "0123456789+/";
- static inline bool is_base64(unsigned char c) {
- return (isalnum(c) || (c == '+') || (c == '/'));
- }
- std::string base64_encode(unsigned char const* bytes_to_encode, unsigned int in_len) {
- std::string ret;
- int i = 0;
- int j = 0;
- unsigned char char_array_3[3];
- unsigned char char_array_4[4];
- while (in_len--) {
- char_array_3[i++] = *(bytes_to_encode++);
- if (i == 3) {
- char_array_4[0] = (char_array_3[0] & 0xfc) >> 2;
- char_array_4[1] = ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4);
- char_array_4[2] = ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6);
- char_array_4[3] = char_array_3[2] & 0x3f;
- for (i = 0; (i < 4); i++)
- ret += base64_chars[char_array_4[i]];
- i = 0;
- }
- }
- if (i)
- {
- for (j = i; j < 3; j++)
- char_array_3[j] = '\0';
- char_array_4[0] = (char_array_3[0] & 0xfc) >> 2;
- char_array_4[1] = ((char_array_3[0] & 0x03) << 4) + ((char_array_3[1] & 0xf0) >> 4);
- char_array_4[2] = ((char_array_3[1] & 0x0f) << 2) + ((char_array_3[2] & 0xc0) >> 6);
- for (j = 0; (j < i + 1); j++)
- ret += base64_chars[char_array_4[j]];
- while ((i++ < 3))
- ret += '=';
- }
- return ret;
- }
- std::string base64_decode(std::string const& encoded_string) {
- int in_len = (int)encoded_string.size();
- int i = 0;
- int j = 0;
- int in_ = 0;
- unsigned char char_array_4[4], char_array_3[3];
- std::string ret;
- while (in_len-- && (encoded_string[in_] != '=') && is_base64(encoded_string[in_])) {
- char_array_4[i++] = encoded_string[in_]; in_++;
- if (i == 4) {
- for (i = 0; i < 4; i++)
- char_array_4[i] = base64_chars.find((char)char_array_4[i]);
- char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4);
- char_array_3[1] = ((char_array_4[1] & 0xf) << 4) + ((char_array_4[2] & 0x3c) >> 2);
- char_array_3[2] = ((char_array_4[2] & 0x3) << 6) + char_array_4[3];
- for (i = 0; (i < 3); i++)
- ret += char_array_3[i];
- i = 0;
- }
- }
- if (i) {
- for (j = 0; j < i; j++)
- char_array_4[j] = base64_chars.find((char)char_array_4[j]);
- char_array_3[0] = (char_array_4[0] << 2) + ((char_array_4[1] & 0x30) >> 4);
- char_array_3[1] = ((char_array_4[1] & 0xf) << 4) + ((char_array_4[2] & 0x3c) >> 2);
- for (j = 0; (j < i - 1); j++) ret += char_array_3[j];
- }
- return ret;
- }
- #pragma once
- //
- // base64 encoding and decoding with C++.
- // Version: 1.01.00
- //
- #ifndef BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
- #define BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A
- #include <string>
- std::string base64_encode(unsigned char const*, unsigned int len);
- std::string base64_decode(std::string const& s);
- #endif /* BASE64_H_C0CE2A47_D10E_42C9_A27C_C883944E704A */
- std::string urltodecodebase64;
- std::string decodedurlbase64;
- void decodeurlbase64caller() {
- std::string decoded = base64_decode((urltodecodebase64.c_str()));
- decodedurlbase64 = decoded;
- }
- std::string urltoencodebase64;
- std::string encodedurlbase64;
- void encodeurlbase64caller() {
- int lens = urltoencodebase64.length();
- std::string encoded = base64_encode((unsigned char const*)urltoencodebase64.c_str(), lens);
- encodedurlbase64 = encoded;
- }
- char* charconvert;
- char* charconverter;
- char* charconverted;
- std::string textconvert;
- std::string textconverter;
- int ceasarcipherencode(std::string messages)
- {
- X x{};
- std::string newline = "\n";
- messages = messages + newline;
- x.message[messages.length() + 1];
- strcpy(x.message, messages.c_str());
- numletter = strlen(x.message);
- if (numletter > 1)
- {
- x.key = +1;
- }
- if (numletter > 80)
- {
- x.key = +2;
- }
- for (x.i = 0; x.message[x.i] != '\0'; ++x.i) {
- x.ch = x.message[x.i];
- if (x.ch >= 'a' && x.ch <= 'z') {
- x.ch = x.ch + x.key;
- if (x.ch > 'z') {
- x.ch = x.ch - 'z' + 'a' - 1;
- }
- x.message[x.i] = x.ch;
- }
- else if (x.ch >= '0' && x.ch <= '9')
- {
- x.ch = x.ch - x.key;
- x.message[x.i] = x.ch;
- if (x.ch == '/') {
- x.ch = x.ch + 10;
- x.message[x.i] = x.ch;
- }
- if (x.ch == '.') {
- x.ch = x.ch + 10;
- x.message[x.i] = x.ch;
- }
- }
- else if (x.ch >= 'A' && x.ch <= 'Z') {
- x.ch = x.ch + x.key;
- if (x.ch > 'a') {
- x.ch = x.ch - 'Z' + 'A' - 1;
- }
- x.message[x.i] = x.ch;
- }
- }
- textconvert = x.message;
- return 0;
- }
- int ceasarcipherdecode(std::string messages)
- {
- X x{};
- std::string newline = "\n";
- messages = messages + newline;
- x.message[messages.length() + 1];
- strcpy(x.message, messages.c_str());
- numletter = strlen(x.message);
- if (numletter > 1)
- {
- x.key = +1;
- }
- if (numletter > 10)
- {
- x.key = +1;
- }
- if (numletter > 80)
- {
- x.key = +2;
- }
- for (x.i = 0; x.message[x.i] != '\0'; ++x.i) {
- x.ch = x.message[x.i];
- if (x.ch >= 'a' && x.ch <= 'z') {
- x.ch = x.ch - x.key;
- if (x.ch < 'a') {
- x.ch = x.ch + 'z' - 'a' + 1;
- }
- x.message[x.i] = x.ch;
- }
- else if (x.ch >= '0' && x.ch <= '9')
- {
- x.ch = x.ch + x.key;
- x.message[x.i] = x.ch;
- if (x.ch == ':') {
- x.ch = x.ch - 10;
- x.message[x.i] = x.ch;
- }
- if (x.ch == ';') {
- x.ch = x.ch - 10;
- x.message[x.i] = x.ch;
- }
- }
- else if (x.ch >= 'A' && x.ch <= 'Z') {
- x.ch = x.ch - x.key;
- if (x.ch > 'a') {
- x.ch = x.ch + 'Z' - 'A' + 1;
- }
- x.message[x.i] = x.ch;
- }
- }
- textconverter = x.message;
- return 0;
- }
- #include <algorithm>
- #include <iterator>
- #include <utility>
- #include <string>
- #include <iostream>
- #include <fstream>
- namespace ciphcea
- {
- extern int decodecharbytes8();
- extern int lines;
- extern std::string line;
- extern int charbytes8();
- }
- namespace Directory
- {
- extern std::string get_current_dir();
- }
- #include "CeasarCipher.h"
- #include <conio.h>
- #include <string>
- using namespace std;
- #include <iostream>
- #include <fstream>
- #include <string>
- #include <sstream>
- #include <vector>
- #include <direct.h>
- #define GetCurrentDir _getcwd
- #include <wchar.h>
- #include <errno.h>
- #include <sstream>
- std::string Directory::get_current_dir() {
- char buff[FILENAME_MAX];
- GetCurrentDir(buff, FILENAME_MAX);
- string current_working_dir(buff);
- stringstream stringcustoms1;
- string stringcustom1;
- stringcustoms1 << current_working_dir;
- stringcustoms1 >> stringcustom1;
- std::string quote = "/";
- std::string doublequote = "\\";
- std::string::size_type ir1 = stringcustom1.find(quote);
- if (ir1 != std::string::npos)
- stringcustom1.replace(ir1, quote.length(), doublequote);
- return stringcustom1;
- }
- int ciphcea::lines;
- std::string ciphcea::line;
- std::string getfile2;
- int argc0 = 0;
- int argc2 = 0;
- std::vector< std::string > files;
- std::string file_name;
- int CeasarCipher::Ceasardrop(int argc, char* argv[])
- {
- argv = 0;
- argc = 0;
- ciphcea::line = "";
- if (argc < 2)
- {
- argc0 = argc;
- argc = 2;
- std::cout << "Please drop files and press [Enter] when done ... \n or please drop files on the exe or main console" << endl;
- for (int ch = _getch(); ch != '\r'; ch = _getch()) {
- if (ch == '\"') { // path containing spaces. read til next '"' ...
- while ((ch = _getch()) != '\"')
- file_name += ch;
- }
- else { // path not containing spaces. read as long as chars are coming rapidly.
- file_name += ch;
- while (_kbhit())
- file_name += _getch();
- }
- files.push_back(file_name);
- }
- std::cout << "You dropped these files:\n";
- for (auto& i : files)
- std::cout << i << '\n';
- }
- std::ifstream fi(file_name);
- while (getline(fi, ciphcea::line))
- {
- std::cout << ciphcea::line << endl;
- ++ciphcea::lines;
- }
- std::string space = " ";
- size_t pos = ciphcea::line.find(space);
- if (pos != std::string::npos)
- {
- ciphcea::charbytes8();
- }
- if (pos == std::string::npos)
- {
- ciphcea::decodecharbytes8();
- }
- system("pause");
- return 0;
- }
- int argc0 = 0;
- int main(int argc, char* argv[])
- {
- argc0 = argc;
- ciphcea::line = "";
- for (int i = 1; i < argc; i++)
- {
- std::ifstream fi(argv[i]);
- while (getline(fi, ciphcea::line))
- {
- std::cout << ciphcea::line << endl;
- ++ciphcea::lines;
- }
- if (argc0 == 3)
- {
- std::ifstream fi(argv[2]);
- while (getline(fi, ciphcea::line))
- {
- std::cout << ciphcea::line << endl;
- ++ciphcea::lines;
- }
- if (strcmp(argv[1], "-e") == 0)
- {
- ciphcea::charbytes8();
- }
- if (strcmp(argv[1], "-de") == 0)
- {
- ciphcea::decodecharbytes8();
- }
- system("pause");
- }
- else
- {
- std::string space = " ";
- size_t pos = ciphcea::line.find(space);
- if (pos != std::string::npos)
- {
- ciphcea::charbytes8();
- }
- if (pos == std::string::npos)
- {
- ciphcea::decodecharbytes8();
- }
- system("pause");
- }
- }
- char opt = '\0';
- while (true) {
- system("cls");
- std::string ci1 = " CCCCCCCCCCCCC iiii hhhhhhh " + '\n';
- std::string ci2 = " CCC C i i h h " + '\n';
- std::string ci3 = " CC C iiii h h " + '\n';
- std::string ci4 = " C CCCCCCCC C h h " + '\n';
- std::string ci5 = " C C CCCCCCiiiiiiippppp ppppppppp h h hhhhh eeeeeeeeeeee rrrrr rrrrrrrrr " + '\n';
- std::string ci6 = " C C i ip ppp p h hh hhh ee ee r rrr r " + '\n';
- std::string ci7 = " C C i ip p h hh e eeeee eer r " + '\n';
- std::string ci8 = " C C i ipp ppppp ph hhh h e e e err rrrrr r " + '\n';
- std::string ci9 = " C C i i p p p ph h h he eeeee e r r r r " + '\n';
- std::string ci0 = " C C i i p p p ph h h he e r r rrrrrrr " + '\n';
- std::string c10 = " C C i i p p p ph h h he eeeeeeeeeee r r " + '\n';
- std::string c11 = " C C CCCCCC i i p p p ph h h he e r r " + '\n';
- std::string c12 = " C CCCCCCCC Ci ip ppppp ph h h he e r r " + '\n';
- std::string c13 = " CC Ci ip p h h h h e eeeeeeee r r " + '\n';
- std::string c14 = " CCC Ci ip pp h h h h ee e r r " + '\n';
- std::string c15 = " CCCCCCCCCCCCCiiiiiiiip pppppppp hhhhhhh hhhhhhh eeeeeeeeeeeeee rrrrrrr " + '\n';
- std::string c16 = " p p " + '\n';
- std::string c17 = " p p " + '\n';
- std::string c18 = " p p " + '\n';
- std::string c19 = " p p " + '\n';
- std::string c20 = " p p " + '\n';
- std::string c21 = " ppppppppp " + '\n';
- system(std::string("color f4 ").c_str());
- system(std::string("echo " + ci1).c_str());
- system(std::string("echo " + ci2).c_str());
- system(std::string("echo " + ci3).c_str());
- system(std::string("echo " + ci4).c_str());
- system(std::string("echo " + ci5).c_str());
- system(std::string("echo " + ci6).c_str());
- system(std::string("echo " + ci7).c_str());
- system(std::string("echo " + ci8).c_str());
- system(std::string("echo " + ci9).c_str());
- system(std::string("echo " + ci0).c_str());
- system(std::string("echo " + c10).c_str());
- system(std::string("echo " + c11).c_str());
- system(std::string("echo " + c12).c_str());
- system(std::string("echo " + c13).c_str());
- system(std::string("echo " + c14).c_str());
- system(std::string("echo " + c15).c_str());
- system(std::string("echo " + c16).c_str());
- system(std::string("echo " + c17).c_str());
- system(std::string("echo " + c18).c_str());
- system(std::string("echo " + c19).c_str());
- system(std::string("echo " + c20).c_str());
- system(std::string("echo " + c21).c_str());
- cout << "1. Cipher Hex\n";
- cout << "2. drag and drop\n";
- cout << "0. Exit\n";
- cout << " Option: ";
- cout << "\n";
- std::vector< std::string > files;
- std::string file_name2;
- std::string file_name4;
- ciphcea::line = "";
- opt = _getche();
- for (int ch = _getch(); ch != '\r'; ch = _getch()) {
- if (ch == '\"') { // path containing spaces. read til next '"' ...
- while ((ch = _getch()) != '\"')
- file_name2 += ch;
- }
- else { // path not containing spaces. read as long as chars are coming rapidly.
- file_name2 += ch;
- while (_kbhit())
- file_name2 += _getch();
- }
- files.push_back(file_name2);
- for (auto& i : files)
- std::cout << i << '\n';
- file_name4 = opt + file_name2;
- std::ifstream fi(file_name4);
- while (getline(fi, ciphcea::line))
- {
- std::cout << ciphcea::line << endl;
- ++ciphcea::lines;
- }
- std::string space = " ";
- size_t pos = ciphcea::line.find(space);
- if (pos != std::string::npos)
- {
- ciphcea::charbytes8();
- system("pause");
- }
- if (pos == std::string::npos)
- {
- ciphcea::decodecharbytes8();
- system("pause");
- }
- }
- switch (opt) {
- case '1':
- CeasarCipher::Ceasar2();
- break;
- case '2':
- CeasarCipher::Ceasardrop(1, 0);
- break;
- case '0':
- exit(-1);
- default:
- break;
- }
- }
- return 0;
- }
- https://github.com/3xploitch3ats/Thunder-Menu/raw/v2/Ceasar_Cipher.exe
- https://github.com/3xploitch3ats/Thunder-Menu/raw/v2/CiphSea-Dgdp.mp4
- Cipher Letr Numbr, Base64, Hex rgba to abgr, 8bytes To 32Bytes
- https://pastebin.com/raw/hQhedJg9
- https://pastebin.com/hQhedJg9
- Ceasar Cipher Inverse Hex 256 Bytes - Pastebin.com
- https://pastebin.com/bLiRbdfu
- https://github.com/3xploitch3ats/Thunder-Menu/raw/v2/Ceasar_Cipher.exe
- https://www.youtube.com/watch?v=WfsVrmFih3M
Add Comment
Please, Sign In to add comment