Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Crack those tripcode!

Name: wootrshCIY !wootrshCIY 2007-05-12 6:53 ID:BTFLI2Nf

small code to find patterns in tripcodes


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <openssl/des.h>


int main(int argc, char **argv) {

        char charset[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
        char temp[14];
        char pwd[9];
        size_t charsize;
        unsigned int i;
        if(argc != 2) {
                printf("usage: %s [pattern]\n", argv[0]);
                return 1;
        }
        srand(time(NULL));
        charsize = sizeof(charset);
        pwd[8] = 0;
        while(1) {
        for(i=0;i<8;i++)
                pwd[i] = charset[rand()%charsize];
        des_fcrypt(pwd, pwd+1, temp);
        if(strstr(temp+3, argv[1]))
                printf("%s %s \n", pwd, temp+3);
        }
        return 0;


}


compile with
gcc -o prog code.c -O3 -lcrypto

Name: Anonymous 2007-05-12 7:04 ID:Z7l8fRtn

more like -O11 am i rite?

Name: cOcksnXo.. !cOcksnXo.. 2007-05-12 7:06 ID:BTFLI2Nf

And here's one to check if it matches regardless case.


#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <time.h>
#include <openssl/des.h>


void strtolower(char *);

int main(int argc, char **argv) {

        char charset[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
        char temp[14];
        char check[11];
        char pwd[9];
        size_t charsize;
        unsigned int i;
        if(argc != 2) {
                printf("usage: %s [pattern]\n", argv[0]);
                return 1;
        }
        srand(time(NULL));
        charsize = sizeof(charset);
        pwd[8] = 0;
        strtolower(argv[1]);
        while(1) {
        for(i=0;i<8;i++)
                pwd[i] = charset[rand()%charsize];
        des_fcrypt(pwd, pwd+1, temp);
        strcpy(check, temp+3);
        strtolower(check);
        if(strstr(check, argv[1]))
                printf("%s %s \n", pwd, temp+3);
        }
        return 0;


}

void strtolower(char *p) {
        while(*p) {
                *p = tolower(*p);
                p++;
        }
}


3oe0VPnu cOcksnXo..

Name: Anonymous 2007-05-12 7:12 ID:Z7l8fRtn

>>1,3
Nice, maybe next thing you can do is a IRC nuker. Those things are cutting-edge hardcore.

Name: Anonymous 2007-05-12 7:18 ID:BTFLI2Nf

>>4
NO MY NEXT PROGRAM IS A DDOSER


#include <stdio.h>
using namespace std;
int main(int nArgs, char **sStrArgs) {
char enemy[100];
printf("enter enemy to ddos: ");
scanf("%s", enemy);
system("ping -s 65000 %s", enemy);
return 0;
}

Name: Anonymous 2007-05-12 11:40 ID:+A8mUggE

>>2
No, -OVERNINETHOUSAND

Name: Anonymous 2007-05-12 11:53 ID:l2zaVMVT

assert 13256278887989457651018865901401704640 > 9000, "OVER NINE THOUSAAAAAAA- oops, the mafiaa agents are here"

Name: Anonymous 2007-05-12 12:54 ID:EyvaDimK

Slow code is slow

Name: Anonymous 2007-05-12 13:07 ID:VTHUePGM

>>5
DDOS THIS FUCKER : 127.0.0.1 !

Name: Anonymous 2007-05-12 13:15 ID:Heaven

>>1
One word, the homosexual formatting of code.  Thread over.

Name: Anonymous 2007-05-12 15:43 ID:Heaven

>>1
8 character tabs, oh lawd. Do you use a widescreen monitor or something? Four is the only true way.

Name: Anonymous 2007-05-12 16:20 ID:Heaven

>>11
Welcome to 2007. Buy a monitor that isn't a piece of shit.

Hey, wonder how much a \t advances the cursor on the terminal? OH MY FUCKING GOD IT'S EIGHT CHARACTERS. Four is the only true way, my ass.

Name: Anonymous 2007-05-12 17:43 ID:+Ix3xfT9

>>12
the terminal?

THE terminal?  Most likely you aren't running a terminal at all but rather a piece of software written by some retard that uses 8 character tabs.

Real men use two spaces for indentation.

Name: Anonymous 2007-05-12 17:55 ID:Jv/LLDxU

>>12
Actually, it advances it to the next eight-character tab stop. FAIL FOR LACK OF UNDERSTANDING OF TABS.

Name: Anonymous 2007-05-12 17:57 ID:EyvaDimK

Real men use four spaces for indentation.

Fixed

Name: Anonymous 2007-05-12 18:19 ID:iYq2TTfa

Real men don't ident their code.

Fixed

Name: Anonymous 2007-05-12 18:21 ID:Heaven

>>16
Assemblers require newlines.

Name: Anonymous 2007-05-12 18:26 ID:UhWdVM/2

>>17
One word, the forced indentation of code. Thread over.

Name: Anonymous 2007-05-12 18:44 ID:JhX0fTCs

>>17
One word, the forced newlines of code. Thread over.

Name: Anonymous 2007-05-12 19:12 ID:Heaven

>>14
Actually if you output a \t at the beginning of the line there's no difference between the next tab stop and eight characters from the start of the line. FAIL FOR BREATHING.

Name: Anonymous 2007-05-14 1:57 ID:1XlLDbeC

real men code in stone and assemble it with their teeth

Name: Anonymous 2007-05-14 3:28 ID:15jlENCY

Real men order their subordinates to write code for them.

Name: dddddddddddddddddd 2007-05-14 3:52 ID:zTdzPqaH

Real men write their code by rearranging bible verses.

Name: Anonymous 2007-05-14 3:56 ID:doIWORok

Real men piss machine code in hex in the snow, and then force small children to execute it for them.

Name: Anonymous 2007-05-14 4:18 ID:Heaven

real men write code with their gf's blood on the bed sheets they had sex on a minute ago

Name: Anonymous 2007-05-14 6:56 ID:NyhGMKtE

Real men rewrite the laws of Physics to turn the Universe into a machine for executing the particular algorithm they have in mind. They call it "functional programming".

Name: Anonymous 2007-05-14 7:21 ID:PDeeOvNN

Real men don't need the program; they already know the output.

Name: Anonymous 2007-05-14 8:58 ID:Heaven

>>23
You're on to something here!

Name: Anonymous 2007-05-14 10:14 ID:Heaven

real men don't do anything, that's what women are for.

Name: Anonymous 2007-05-14 11:44 ID:LcyZdAAh

EXPERT PROGRAMMERS MAKE FUN OF REAL MEN

Name: Anonymous 2007-05-14 11:57 ID:4UKTPASy

EXPERT PROGRAMMERS WRITE TRIPCODE CRACKERS IN QUANTUM BRAINFUCK

Name: !!2hQER45c9l0ZlZL 2007-05-14 12:38 ID:15jlENCY

EXPERT PROGRAMMER IS EXXXXXXPERT

Name: Anonymous 2007-05-14 15:08 ID:z8pbgBA/

now go come up with  a new  encryption called desu_crypt

Name: !dcAmethw1k 2007-05-14 15:53 ID:Ibq0xh9N

>>33
4-dimensional rotations, 512 bit wide blocks, 512-1024 bit keys... Hmm.

Name: !Ep8pui8Vw2!6zZFK8hdXkJGFwa 2007-05-14 16:29 ID:Heaven

^______________________________________^;;

Name: anonymous !4TMa4ZHtls 2007-05-14 17:37 ID:Heaven

>>34
and lots of desu.

Name: anonymous !faggot0tBQ 2007-05-14 17:38 ID:Heaven

>>36
also, cocks.

Name: !Ep8pui8Vw2!6zZFK8hdXkJGFwa 2007-05-14 18:44 ID:Heaven

>>35
you'r a fgt

Name: Anonymous 2007-05-14 22:10 ID:LcyZdAAh

>>38
HAHAHAHAHAHAHAHHAHAHAHAAHAHAAAA!!!
you think your tough huh?
two words MUAY THAI.
i have taken out two guys at the same time in less than 5 seconds i have been training for 3 years.
also brazilian jujitsu,boxing,and tai chi.
you might be bigger than me,but i know im stronger and quicker.
i only weigh 130 pounds pure lean muscle.
one punch you'll be on your way to ICU.
your the one whose a homo.i can get pussy anytime i want you probably haven't ever been laid before.
you probably have sex with your computer.
you don't even know me,and you don't want to.
you'll be lucky if your even worth the fight one phonecall and you'll dissappear forever.
though i'd be hapy to humiliate you in front of all your friends.
btw IM the best.
i have fought in maine, new hampshire, new york,utah, colorado,florida,bahamas.
never lost a fight!
im undefeated in competitive muay thai/MMA.
im on my way to UFC.
go ahead and come step anytime you want.b*tch

Name: !Ep8pui8Vw2!6zZFK8hdXkJGFwa 2007-05-15 2:12 ID:Heaven

>>39
Did you just edit my post, you sonovabitch?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List