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

Tripcode decoder?

Name: Anonymous 2007-12-03 19:48

is there anyway to convert a tripcode into the password for that tripcode, im using tripsage and I see that you can put in a word you want to see in a trip code and it produces results of passwords that would produce a tripcode with those letters in it, so if we were to take a complete tripcode someone has and enter it into that field, in theory it should eventually produce the 1 password that produces that tripcode, however i have a core 2 duo e6600 which can run 170,000 crypts per second but with over 10^80 possible combinations(numbers + letters + capital letters + symbols, and 10 characters in a tripcode) it would take litteraly much more than trillions of years to run through every combination. Any other suggestions?

Name: Anonymous 2009-04-23 1:56

USING: alien generalizations macros openssl random regexp ;

: tripchar ( -- char ) " !#$%()*+-./0123456789:;=?ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" random ;
: saltchar ( -- char ) "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz" random ;
: randomkey ( -- key ) tripchar saltchar saltchar tripchar tripchar tripchar tripchar tripchar 8 narray >string ;
: crypt ( key salt -- hash ) "char*" "libcrypto" "DES_crypt" { "char*" "char*" } alien-invoke ;
: dotrip ( key -- hash ) [ 1 3 ] keep subseq crypt 3 tail ;
: randomtrip ( -- key hash ) randomkey [ dotrip ] keep ;
: checktrip ( key hash regexp -- key hash bool ) [ over ] dip re-contains? ;
: showtrip ( key hash -- ) write " = " write print flush ;
: findtrips ( regexp -- regexp ) [ [ randomtrip ] keep checktrip [ showtrip ] [ 2drop ] if t ] loop ;

factor makes you write better code.

Newer Posts