Thread: 3 Bit Crypter

Page 1 of 2 12 LastLast
Results 1 to 15 of 20
  1. #1
    RedAppleCoder's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Hamm
    Posts
    36
    Reputation
    10
    Thanks
    54
    My Mood
    Fine

    Post 3 Bit Crypter

    Hey guys i successfully done my 3 bit crypter (it is an addition to this thread of me: Own 3 Bit Decrypter)

    It automatically fills your Clipboard with the Crypted text
    You can find the Encrypter source in the above called Thread.

    Download is in the Attachments!

    Screenshot:


    Source:
    Console Main:
    Code:
    #include "crypt.h"
    #include <iostream>
    #pragma warning( disable: 4996 )
    
    char* cryptedtext="";
    void DoCrypt()
    {
    	system("cls");
    	char TextToEncode[1024]={""};
        long anothertext=0;
    	printf("+---------------------------+\n");
    	printf("|      Kvn Crypt v 1.0      +\n");
    	printf("|  By RedAppleCoder / Kvn   +\n");
    	printf("|        10.09.2012         +\n");
    	printf("+---------------------------+\n");
    	printf("\n");
    	printf("Allowed Charackters:\n");
    	printf("Alphabetic Downcase Char's: abcdefghijklmnopqrstuvwxyz\n");
    	printf("Alphabetic Upcase Char's  : ABCDEFGHIKLMNOPQRSTUVWXYZ\n");
    	printf("Numbers                   : 0123456789\n");
    	printf("Special Char's            : . , - + / < >\n");
    	printf("\n");
    	printf("Enter text to crypt: ");
    	scanf("%s", &TextToEncode);
    	printf("-----------------------------\n");
    	printf("Crypting: %s ...\n", TextToEncode);
    	printf("-----------------------------\n");
    	cryptedtext = Crypt(TextToEncode);
    	printf("Crypted Text: %s\n", cryptedtext);
    	const size_t len = strlen(cryptedtext) + 1;
    	HGLOBAL hMem = GlobalAlloc(GMEM_MOVEABLE, len);
    	memcpy(GlobalLock(hMem), cryptedtext, len);
        GlobalUnlock(hMem);
    	OpenClipboard(0);
    	EmptyClipboard();
    	SetClipboardData(CF_TEXT, hMem);
    	CloseClipboard();
    	printf("Crypted Text is in Clipboard!\n");
    	printf("-----------------------------\n");
    	system("pause");
    }
    
    int _tmain(int argc, _TCHAR* argv[])
    {
    	DoCrypt();
    	return 0;
    }
    crypt.h:
    Code:
    #include "windows.h"
    #include <string> 
    #pragma warning( disable: 4996 )
    using namespace std;
    
    char* cA = "218";
    char* cB = "168";
    char* cC = "948";
    char* cD = "318";
    char* cE = "456";
    char* cF = "978";
    char* cG = "154";
    char* cH = "324";
    char* cI = "138";
    char* cJ = "584";
    char* cK = "627";
    char* cL = "341";
    char* cM = "394";
    char* cN = "378";
    char* cO = "648";
    char* cP = "982";
    char* cQ = "367";
    char* cR = "589";
    char* cS = "308";
    char* cT = "628";
    char* cU = "312";
    char* cV = "158";
    char* cW = "782";
    char* cX = "234";
    char* cY = "549";
    char* cZ = "364";
    char* cAup = "119";
    char* cBup = "067";
    char* cCup = "847";
    char* cDup = "217";
    char* cEup = "355";
    char* cFup = "877";
    char* cGup = "055";
    char* cHup = "266";
    char* cIup = "035";
    char* cJup = "486";
    char* cKup = "528";
    char* cLup = "242";
    char* cMup = "296";
    char* cNup = "297";
    char* cOup = "546";
    char* cPup = "887";
    char* cQup = "263";
    char* cRup = "485";
    char* cSup = "613";
    char* cTup = "126";
    char* cUup = "219";
    char* cVup = "357";
    char* cWup = "885";
    char* cXup = "936";
    char* cYup = "741";
    char* cZup = "860";
    char* cOne = "003";
    char* cTwo = "004";
    char* cThree = "005";
    char* cFour = "006";
    char* cFive = "007";
    char* cSix = "008";
    char* cSeven = "009";
    char* cEight = "010";
    char* cNine = "011";
    char* cOh = "012";
    char* cSpace = "000";
    char* cDot = "001";
    char* cComma = "002";
    char* cArrowLeft = "013";
    char* cArrowRight = "014";
    char* cMinus = "015";
    char* cPlus = "016";
    char* cSlash = "017";
    
    bool StartsWith(const std::string& text,const std::string& token){	if(text.length() < token.length())return false;	return(tex*****mpare(0, token.length(), token) == 0);}
    
    bool isStringEmpty(string s) {
      return s.empty();
    }
    
    bool replace(std::string& str, const std::string& from, const std::string& to) { 
        size_t start_pos = str.find(from); 
        if(start_pos == std::string::npos) 
            return false; 
        str.replace(start_pos, from.length(), to); 
        return true; 
    } 
    
    long counter;
    char* Crypt(char* src){
    	string Buffer=src;;
    	char OutBuffer[1024] = {""};
    	char* Out="";
    	counter=0;
    	long len = strlen(src) + 1;
    	while(!isStringEmpty(Buffer)==true){
    	if(StartsWith(Buffer, "a")){strcat(OutBuffer, cA); replace(Buffer, "a", "");} 
    	if(StartsWith(Buffer, "b")){strcat(OutBuffer, cB); replace(Buffer, "b", "");}
    	if(StartsWith(Buffer, "c")){strcat(OutBuffer, cC); replace(Buffer, "c", "");}
    	if(StartsWith(Buffer, "d")){strcat(OutBuffer, cD); replace(Buffer, "d", "");}
    	if(StartsWith(Buffer, "e")){strcat(OutBuffer, cE); replace(Buffer, "e", "");} 
    	if(StartsWith(Buffer, "f")){strcat(OutBuffer, cF); replace(Buffer, "f", "");}
    	if(StartsWith(Buffer, "g")){strcat(OutBuffer, cG); replace(Buffer, "g", "");}
    	if(StartsWith(Buffer, "h")){strcat(OutBuffer, cH); replace(Buffer, "h", "");}
    	if(StartsWith(Buffer, "i")){strcat(OutBuffer, cI); replace(Buffer, "i", "");} 
    	if(StartsWith(Buffer, "j")){strcat(OutBuffer, cJ); replace(Buffer, "j", "");}
    	if(StartsWith(Buffer, "k")){strcat(OutBuffer, cK); replace(Buffer, "k", "");}
    	if(StartsWith(Buffer, "l")){strcat(OutBuffer, cL); replace(Buffer, "l", "");}
    	if(StartsWith(Buffer, "m")){strcat(OutBuffer, cM); replace(Buffer, "m", "");} 
    	if(StartsWith(Buffer, "n")){strcat(OutBuffer, cN); replace(Buffer, "n", "");}
    	if(StartsWith(Buffer, "o")){strcat(OutBuffer, cO); replace(Buffer, "o", "");}
    	if(StartsWith(Buffer, "p")){strcat(OutBuffer, cP); replace(Buffer, "p", "");}
    	if(StartsWith(Buffer, "q")){strcat(OutBuffer, cQ); replace(Buffer, "q", "");} 
    	if(StartsWith(Buffer, "r")){strcat(OutBuffer, cR); replace(Buffer, "r", "");}
    	if(StartsWith(Buffer, "s")){strcat(OutBuffer, cS); replace(Buffer, "s", "");}
    	if(StartsWith(Buffer, "t")){strcat(OutBuffer, cT); replace(Buffer, "t", "");}
    	if(StartsWith(Buffer, "u")){strcat(OutBuffer, cU); replace(Buffer, "u", "");} 
    	if(StartsWith(Buffer, "v")){strcat(OutBuffer, cV); replace(Buffer, "v", "");}
    	if(StartsWith(Buffer, "w")){strcat(OutBuffer, cW); replace(Buffer, "w", "");}
    	if(StartsWith(Buffer, "x")){strcat(OutBuffer, cX); replace(Buffer, "x", "");}
    	if(StartsWith(Buffer, "y")){strcat(OutBuffer, cY); replace(Buffer, "y", "");} 
    	if(StartsWith(Buffer, "z")){strcat(OutBuffer, cZ); replace(Buffer, "z", "");}
    	if(StartsWith(Buffer, "A")){strcat(OutBuffer, cAup); replace(Buffer, "A", "");} 
    	if(StartsWith(Buffer, "B")){strcat(OutBuffer, cBup); replace(Buffer, "B", "");}
    	if(StartsWith(Buffer, "C")){strcat(OutBuffer, cCup); replace(Buffer, "C", "");}
    	if(StartsWith(Buffer, "D")){strcat(OutBuffer, cDup); replace(Buffer, "D", "");}
    	if(StartsWith(Buffer, "E")){strcat(OutBuffer, cEup); replace(Buffer, "E", "");} 
    	if(StartsWith(Buffer, "F")){strcat(OutBuffer, cFup); replace(Buffer, "F", "");}
    	if(StartsWith(Buffer, "G")){strcat(OutBuffer, cGup); replace(Buffer, "G", "");}
    	if(StartsWith(Buffer, "H")){strcat(OutBuffer, cHup); replace(Buffer, "H", "");}
    	if(StartsWith(Buffer, "I")){strcat(OutBuffer, cIup); replace(Buffer, "I", "");} 
    	if(StartsWith(Buffer, "J")){strcat(OutBuffer, cJup); replace(Buffer, "J", "");}
    	if(StartsWith(Buffer, "K")){strcat(OutBuffer, cKup); replace(Buffer, "K", "");}
    	if(StartsWith(Buffer, "L")){strcat(OutBuffer, cLup); replace(Buffer, "L", "");}
    	if(StartsWith(Buffer, "M")){strcat(OutBuffer, cMup); replace(Buffer, "M", "");} 
    	if(StartsWith(Buffer, "N")){strcat(OutBuffer, cNup); replace(Buffer, "N", "");}
    	if(StartsWith(Buffer, "O")){strcat(OutBuffer, cOup); replace(Buffer, "O", "");}
    	if(StartsWith(Buffer, "P")){strcat(OutBuffer, cPup); replace(Buffer, "P", "");}
    	if(StartsWith(Buffer, "Q")){strcat(OutBuffer, cQup); replace(Buffer, "Q", "");} 
    	if(StartsWith(Buffer, "R")){strcat(OutBuffer, cRup); replace(Buffer, "R", "");}
    	if(StartsWith(Buffer, "S")){strcat(OutBuffer, cSup); replace(Buffer, "S", "");}
    	if(StartsWith(Buffer, "T")){strcat(OutBuffer, cTup); replace(Buffer, "T", "");}
    	if(StartsWith(Buffer, "U")){strcat(OutBuffer, cUup); replace(Buffer, "U", "");} 
    	if(StartsWith(Buffer, "V")){strcat(OutBuffer, cVup); replace(Buffer, "V", "");}
    	if(StartsWith(Buffer, "W")){strcat(OutBuffer, cWup); replace(Buffer, "W", "");}
    	if(StartsWith(Buffer, "X")){strcat(OutBuffer, cXup); replace(Buffer, "X", "");}
    	if(StartsWith(Buffer, "Y")){strcat(OutBuffer, cYup); replace(Buffer, "Y", "");} 
    	if(StartsWith(Buffer, "Z")){strcat(OutBuffer, cZup); replace(Buffer, "Z", "");}
    	if(StartsWith(Buffer, " ")){strcat(OutBuffer, cSpace); replace(Buffer, " ", "");}
    	if(StartsWith(Buffer, ".")){strcat(OutBuffer, cDot); replace(Buffer, ".", "");} 
    	if(StartsWith(Buffer, ",")){strcat(OutBuffer, cComma); replace(Buffer, ",", "");}
        if(StartsWith(Buffer, "1")){strcat(OutBuffer, cOne); replace(Buffer, "1", "");} 
    	if(StartsWith(Buffer, "2")){strcat(OutBuffer, cTwo); replace(Buffer, "2", "");}
    	if(StartsWith(Buffer, "3")){strcat(OutBuffer, cThree); replace(Buffer, "3", "");}
    	if(StartsWith(Buffer, "4")){strcat(OutBuffer, cFour); replace(Buffer, "4", "");}
    	if(StartsWith(Buffer, "5")){strcat(OutBuffer, cFive); replace(Buffer, "5", "");} 
    	if(StartsWith(Buffer, "6")){strcat(OutBuffer, cSix); replace(Buffer, "6", "");}
    	if(StartsWith(Buffer, "7")){strcat(OutBuffer, cSeven); replace(Buffer, "7", "");}
    	if(StartsWith(Buffer, "8")){strcat(OutBuffer, cEight); replace(Buffer, "8", "");}
    	if(StartsWith(Buffer, "9")){strcat(OutBuffer, cNine); replace(Buffer, "9", "");} 
    	if(StartsWith(Buffer, "0")){strcat(OutBuffer, cOh); replace(Buffer, "0", "");}
    	if(StartsWith(Buffer, "<")){strcat(OutBuffer, cArrowLeft); replace(Buffer, "<", "");} 
    	if(StartsWith(Buffer, ">")){strcat(OutBuffer, cArrowRight); replace(Buffer, ">", "");}
    	if(StartsWith(Buffer, "+")){strcat(OutBuffer, cPlus); replace(Buffer, "+", "");}
    	if(StartsWith(Buffer, "-")){strcat(OutBuffer, cMinus); replace(Buffer, "-", "");}
    	if(StartsWith(Buffer, "/")){strcat(OutBuffer, cSlash); replace(Buffer, "/", "");} 
    	if(counter >= len){break;}
    	counter+=1;
    	}
    	if(counter >= len){return"ERROR_WHILE_CRYPTING:UNDEFINED_CHAR_FOUND";}else{
    	return OutBuffer;
    	}
    }
    EXE Virus Scan: https://www.virustotal.com/file/ecd7...is/1347310175/

    RAR Virus Scan #1: https://www.virustotal.com/file/959a...is/1347310216/

    RAR Virus Scan #2: https://virusscan.jotti.org/en/scanre...8eb5701d5a69e5

    Credits: Me

    Much Fun With This!
    <b>Downloadable Files</b> Downloadable Files
    Last edited by RedAppleCoder; 09-11-2012 at 01:28 AM.
    Haters Gon' Hate

  2. The Following 8 Users Say Thank You to RedAppleCoder For This Useful Post:

    bono1213 (09-14-2012),BRIGAND (09-30-2012),Donor (06-11-2013),GaySheep (10-13-2012),GoldWhite (11-25-2012),lovebeast (09-14-2012),oing (02-27-2013),wraithkilla (09-10-2012)

  3. #2
    .REZ's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Real life
    Posts
    10,385
    Reputation
    1110
    Thanks
    2,218
    My Mood
    Psychedelic
    @RedAppleCoder
    Your virus scans needs to be from two different sites. Grab a second one from virusscan.jotti.org and I will approve it

  4. #3
    RedAppleCoder's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Hamm
    Posts
    36
    Reputation
    10
    Thanks
    54
    My Mood
    Fine
    Done it
    Haters Gon' Hate

  5. #4
    .REZ's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Location
    Real life
    Posts
    10,385
    Reputation
    1110
    Thanks
    2,218
    My Mood
    Psychedelic
    Good deal,
    /approved

  6. #5
    JPointman11's Avatar
    Join Date
    Aug 2012
    Gender
    male
    Location
    Under your bed
    Posts
    104
    Reputation
    10
    Thanks
    5
    My Mood
    Aggressive
    So... What will it exactly do? Make hack undetected?

  7. #6
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    This is possibly the most inefficient and... well... ugly encryption method I have ever seen. Hell, it works, but there are MUCH better ways to accomplish the same thing in a way stronger manner.

    Oh no! Vortex is gay!

  8. The Following User Says Thank You to Saltine For This Useful Post:

    [MPGH]Flengo (09-12-2012)

  9. #7
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,178
    My Mood
    Inspired
    Quote Originally Posted by Saltine View Post
    This is possibly the most inefficient and... well... ugly encryption method I have ever seen. Hell, it works, but there are MUCH better ways to accomplish the same thing in a way stronger manner.
    I thought I was the only one who noticed. There's so many easier and more efficient ways to do it.

    This sets a bad example for people wanting to learn as well.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  10. #8
    RedAppleCoder's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Location
    Hamm
    Posts
    36
    Reputation
    10
    Thanks
    54
    My Mood
    Fine
    Maybe it is... it is just a project for fun
    Haters Gon' Hate

  11. #9
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,178
    My Mood
    Inspired
    Quote Originally Posted by RedAppleCoder View Post
    Maybe it is... it is just a project for fun
    Even if it was for fun, I don't know how this idea came to your head.
    There's so many better and easier ways of doing it. More efficient also.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  12. #10
    Vehrdyn's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    House of house
    Posts
    8,543
    Reputation
    206
    Thanks
    5,531
    what this thing gonna do ? =,=

  13. #11
    Flengo's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    /admincp/banning.php
    Posts
    20,591
    Reputation
    5180
    Thanks
    14,178
    My Mood
    Inspired
    Quote Originally Posted by .SMzln* View Post
    what this thing gonna do ? =,=
    Encrypt your strings for you.
    I Read All Of My PM's & VM's
    If you need help with anything, just let me know.

     


     
    VM | PM | IM
    Staff Administrator Since 10.13.2019
    Publicist Since 04.04.2015
    Middleman Since 04.14.2014
    Global Moderator Since 08.01.2013
    Premium Since 05.29.2013

    Minion+ Since 04.18.2013

    Combat Arms Minion Since 12.26.2012
    Contributor Since 11.16.2012
    Member Since 05.11.2010


  14. #12
    bobmarleyvav's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    21
    Reputation
    10
    Thanks
    1
    My Mood
    Amazed
    Thx I go use now !!!

  15. #13
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    5,052
    My Mood
    Cool
    How is it 3bit
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

  16. #14
    Ch40zz-C0d3r's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Posts
    831
    Reputation
    44
    Thanks
    401
    My Mood
    Twisted
    Quote Originally Posted by topblast View Post
    How is it 3bit
    I believe he means the length of the "encryption"

    Code:
    char* cA = "218";

    Progress with my game - "Disbanded"
    • Fixed FPS lag on spawning entities due to the ent_preload buffer!
    • Edit the AI code to get some better pathfinding
    • Fixed the view bug within the sniper scope view. The mirror entity is invisible now!
    • Added a new silencer for ALL weapons. Also fixed the rotation bugs
    • Added a ton of new weapons and the choice to choose a silencer for every weapon
    • Created a simple AntiCheat, noobs will cry like hell xD
    • The name will be Disbanded, the alpha starts on the 18th august 2014



    Some new physics fun (Serversided, works on every client)



    My new AI
    https://www.youtube.com/watch?v=EMSB1GbBVl8

    And for sure my 8 months old gameplay with 2 friends
    https://www.youtube.com/watch?v=Na2kUdu4d_k

  17. #15
    Saltine's Avatar
    Join Date
    Jun 2011
    Gender
    male
    Posts
    493
    Reputation
    104
    Thanks
    629
    Quote Originally Posted by Ch40zz-C0d3r View Post
    I believe he means the length of the "encryption"

    Code:
    char* cA = "218";
    Unfortunately, that data happens to be much larger than 3 bits in memory :P

    Oh no! Vortex is gay!

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 16
    Last Post: 07-20-2007, 09:32 AM
  2. read this bit of fun...
    By prox32 in forum WarRock - International Hacks
    Replies: 2
    Last Post: 05-19-2007, 12:14 PM
  3. bit of help plz....
    By prox32 in forum WarRock - International Hacks
    Replies: 8
    Last Post: 04-24-2007, 04:12 PM
  4. MPGH a bit slow?
    By Dave84311 in forum General
    Replies: 7
    Last Post: 04-04-2007, 11:23 AM
  5. Replies: 6
    Last Post: 07-20-2006, 05:19 AM

Tags for this Thread