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:
Anonymous2007-12-03 19:56
Tripcodes are one-way only. It's not computationally feasible to reverse a tripcode to it's original form (it's in NP)
Name:
Anonymous2007-12-03 19:56
hack 4chan
Name:
Anonymous2007-12-03 19:58
>>2
what if someone was to obtain the encryption key
>>4 Tripcodes are one-way only. It's not computationally feasible to reverse a tripcode to it's original form (it's in NP) Tripcodes are one-way only. one-way only one-way -
Please stop posting
Name:
Anonymous2007-12-03 21:29
>>8
What? They are one-way only. I'm not entirely sure what the point of your post is, perhaps we can discuss it further in this thread.
Name:
Anonymous2007-12-03 22:12
>>9
I think he's agreeing with you, and kindly informing >>4
Name:
Anonymous2007-12-03 22:13
>>9
I think he's trying to criticise you for putting a hyphen in "one-way"
Which is a pretty nitpicky thing to sage about.
Name:
Anonymous2007-12-03 22:39
>>10,11
Ah, two very possible situations, but which one is reality? Perhaps we'll never know...
:(
Name:
Anonymous2007-12-04 1:27
Tripcodes are one-way only. It's not computationally feasible to reverse a tripcode to it's original form (it's in NP)
I hope you don't think that is the reason hashing functions are irreversible.
Name:
Anonymous2007-12-04 1:36
Hey, i've got some 16-digit MD5 hashes I'd like you to expand back into their original 9-GB DVD images! Can you do that for me?
Hi there,
I was messing around with JTR a few days ago and wrote this here new tripcode bruteforcer called 4d (short for 4DES_john_brute). Inspired by 4brute, it uses John the Ripper's (bitslicing) DES facilities, and supports both an incremental search and a wordlist mode. It's written in C and should be fairly portable (as JTR, 32bit - 64bit... multiple architectures...). Testing shows performance is ~5 times that of fully-optimized OpenSSL-based crypts (on x86 Win32).
Note: it only supports keylengths>3 characters, and avoids redundant features. For less than that, use 4brute; it shouldn't take over ~5 seconds.
Messed with it a little bit more, did TODOs and modified the DES_bs_cmp_* functions for a ~20% speed-up. Now ~all CPUtime is spent in the crypt_all function... Still, the more prominent option here is the wordlist mode...
Cleaning, error handling, latest JTR CVS (IA64 arch.), PGO builds, and works on multiple tripcodes at once (from a passfile and/or repeated -t switches). Overall a ~1% speed-up over 0.2 (>99% CPU is only DES now).
Name:
Dicktruck!r9bfkDoa5E2008-02-14 18:08
dicktruck
Name:
Fuckcycle!A.O.6jcnYw2008-02-14 18:09
fuck
Name:
Cocktractor!CHkGkfpzoM2008-02-14 18:09
JIZZ
Name:
!xusUSsmAnM2008-02-14 18:26
Oh wow. Tripcode Explorer is much faster (5.4MTrips/sec) than the crap I was using before (my own searcher with some shitty C# crypt)
Name:
Anonymous2008-02-14 18:31
I know there's a patched English version of Tripcode Explorer, but where? I can't read moon runes.
Just guess. The checkbox underneath the search textbox seems to be case-sensitivity (tick for insensitive). Start, pause and stop buttons are obvious. Go to Tools, Options (you can tell from the letter in brackets), make sure to tick the SSE2 option. Choose appropriate amount of threads.
Anything that will search for all tripcodes containing a certain string instead of something to crack the whole tripcode? Does 4brute work with regex/wildcards?
Hello. I am "Mr. Likes To Sage Threads". I do believe this is a thread in need of Sage, so I would like to sage it. That is why my name is "Mr. Likes To Sage Threads".
Name:
Anonymous2008-05-10 7:36
Example:
Tripcode is: !123456
You want to impersonate this person using this code.
Do you care wether the password that produces the tripcode is honk or tonk? No, you don't.
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?
The 5 newest replies are shown below.
Read this thread from the beginning
193 Name: Sage!R3Mk./9PAQ : 2008-08-14 14:21
I've already translated one of the moon-rune ones for someone who asked... but I'm gonna be an asshole and not share. HF poking at it blindly or not at all.
Quit bumping threads to test tripcodes, you fuckrz.
Name:
FA/g/E28II !gY2U4h065Q2008-11-19 8:56
Why?
Name:
Anonymous2008-11-19 10:38
>>317 Why?
Your inability to figure out the answer by yourself leads to the conclusion that your retarded. Therefore, for the sake of the well-being of other posters on /prog/, I am therefore obliged to demand you to refrain from submitting further replies or threads to this messageboard.
>>333
Shader processors operate on floating point numbers, and I would imagine are optimized as such. However, this is outside my expertise, so I can accept if I'm incorrect.
Name:
Anonymous2008-12-07 18:31
>>332,335 here
I've done a bit of research, and found CUDA (pronounced cdr) http://en.wikipedia.org/wiki/CUDA
It's a programmable interface for NVidia cards to allow code to be executed on the GPU.
Scroll down to the Advantages section and you see:
...
* Full support for integer and bitwise operations, including integer texture lookups.
So there you have it.
Name:
Anonymous2008-12-07 20:09
>>336
Your post was kinda crummy, kinda really crummy.
Name:
Anonymous2008-12-07 20:10
CUDA (pronounced cdr)
Don't start this rhotic/non-rhotic thing again.
>>440
except that the result has to be a valid shift-jis string...
Name:
Anonymous2009-01-08 7:17
You still have to keep in mind that some combinations of higher-bit characters are unfeasible if not impossible to use, because they still have to be valid shift-jis. (Except on 4chan, which is broken as fuck; high-bit-enabled trips are hit or miss here and require EXPERT hacks to use.)
Further, since the salt is derived from the second and third character in the trip, anything within the range of [A-Za-z/] can be "shifted" by setting the high bit to produce a different salt value. So really, even though the key text for crypt itself is only 56 bits, there's almost -- but not *quite* -- two additional bits of entropy to a tripcode.
Consider, for example, the well-known tripcode key #faggot. The salt value for this would, of course, ordinarily be ag, and the resulting tripcode is !Ep8pui8Vw2. However, substituting one or both of the characters in the salt, the same 56-bit crypt also yields !/Xj8LK1u9s, !BE2ADzGe3A, and !YKV2wmNmbE. Assuming a non-broken board that converts the name input to shift-jis first, the keys to produce those are #f疊got, fa軾ot, and #f砠got.
Name:
Anonymous2009-01-08 7:27
So really, even though the key text for crypt itself is only 56 bits, there's almost -- but not *quite* -- two additional bits of entropy to a tripcode.
it's not quite that simple. several characters ('&', '>', '<', '"', etc.) get replaced with HTML entities, so those characters can't appear in the key. shifted versions of them can, but in the second and third character positions it eliminates those extra bits. and the character & is always followed by one of several fixed strings ("amp;", "gt;", "lt;", "quot;", etc.).
>>445
0ch uses shift-jis for tripcodes. futaba uses shift-jis for tripcodes. wakaba uses shift-jis for tripcodes. kareha uses shift-jis for tripcodes. waro.su uses shift-jis for tripcodes. any implementation that doesn't use shift-jis for tripcodes is broken.
Name:
Anonymous2009-01-08 7:36
>>448
0ch and futaba use shift-jis as the page encoding, so the submitted form data is encoded as shift-jis. wakaba, kareha, waro.su and pretty much every other implementation in existence (except futallaby and shiichan, which 4chan's code is based on) explicitly converts to shift-jis before crypting the tripcode.
Name:
Anonymous2009-01-08 7:37
>>446
All of the characters which you listed can be used with the high bit set. What's your point?
Name:
Anonymous2009-01-08 7:41
>>450 shifted versions of them can, but in the second and third character positions it eliminates those extra bits. and the character & is always followed by one of several fixed strings ("amp;", "gt;", "lt;", "quot;", etc.).
>>453
the output is base64. the input is shift-jis for tripcodes.
Name:
Anonymous2009-01-08 7:45
>>451
Yes, so fucking what? Those characters aren't in the range of [A-Za-z/] anyway, so even if they weren't changed, they would be converted to a dot anyway.
I just accidentally reloaded this thread with greasemonkey off. FrozenVoid, you've got to be the dumbest motherfucker I have ever met.
Name:
Anonymous2009-01-08 7:56
>>455
i think you meant [:;<=>?@[\\]^_`A-Za-z/]
except that < and >are in that.
>>454
shift-jis is part of the tripcode algorithm, just like the process for generating the salt is. if you don't convert to shift-jis, a lot of tripcodes break.
seriously, even http://hotaru.thinkindifferent.net/trip.html converts from unicode to shift-jis in javascript. it's not that hard.
'FrozenVoid''!Frozen2BUo' is legacy of phpbb forums and applicable only when its used (xkcd forums).
Name:
Anonymous2009-01-08 8:15
I heard that FrozenVoid! has written a tripcode inversion algorithm in assembly x86. It's available even for your smartphone, since the x86 assembly is very portable
Srsly, you can't be serious. You are joking. There's no other assembly except x86. FrozenVoid! told me that... but wait... you are FrozenVoid!. Or is it? You are a fake!
Stop writing, faggot. Only FrozenVoid! can write here.
Name:
FrozenVoid!FrOzEn2BUo2009-01-08 8:53
I've read SICP.
Name:
!7frOBEFtkc2009-01-08 9:29
I've read YHBT
Name:
Anonymous2009-01-08 9:42
>>470
Anyway, Shiichan is the only implementation that matters... or what, do you fags go to other boards as well?
Name:
FrozenSperm!FrOzENLOAU2009-01-08 12:39
>>469
If you study for a moment how Shift JIS is implemented (http://en.wikipedia.org/wiki/Shift_JIS), you'll notice that after stripping the high bit, it makes available all possible input bytes, with the exception of 0x7f. There are some complications with using odd/even bytes which makes some input data technically invalid, but this is a small fraction of the invalid bytes with e.g. UTF-8.
Name:
FrozenSperm!FrOzENLOAU2009-01-08 12:41
>>472
I'm not familiar with that book, and searches on Wikipedia and Amazon didn't come up with anything. Could you provide a link?
Name:
FrozenSperm!FrOzENLOAU2009-01-08 12:44
>>473
Technically since 2channel was the first board to implement tripcodes, their implementation is the "correct" one. Even though they're only a de-facto standard (as opposed to, for example, ISO or ANSI) it is still important to adhere to the original implementation to ensure consistency across boards. Otherwise there isn't much of a point to implementing them.
Name:
Anonymous2009-01-08 12:45
I think he means YAHT:
% ghci
GHCi, version 6.10.1: http://www.haskell.org/ghc/ :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
'-._ ___.....___
`.__ ,-' ,-.`-,
`''-------' ( p ) `._
`-' ( Have you read your YAHT today?
\
. \
\---..,--'
................._ --...--,
`-.._ _.-'
`'-----'' Type :ihbt for help.
Prelude> http://en.wikibooks.org/wiki/Haskell/YAHT
Name:
Anonymous2009-01-08 12:52
you say your dissapointed
hell that must be true
now that i think about it
i should be dissapointed in you
you lecuture to me about my problems
and what i should do to solve them
but you get mad if the conflict is still there
But i guess you should after all
Im the rebel in your kingdom
And don't listen to what you say
And your the queen of this fucking world
So i might as well be dead today
i laugh when you try to tell me what to do
Because you know as well as me
that im not listening
Im just a little pawn
In this chess game you play
except i dont respond
to the queenies way
I say im sick
You say its fake
i say im in pain
you say its just an ache
i say im crying
you say its a whine
i say im bleeding
you say its a lie
you say your dissapointed
but i dont care any more
so lecture to the air
while i walk out the door
Name:
FrozenSperm!FrOzENLOAU2009-01-08 13:07
>>479
I would hardly call calculating a tripcode "excessive".
Name:
FrozenSperm!FrOzENLOAU2009-01-08 13:08
>>478
Thank you, I will take a look at that. Is there a print version?
Name:
Anonymous2009-01-08 13:09
Tell Me
Why my tears always fall when im alone
Tell Me
Why my attitude is only paper thin
Because I don't want to hurt anymore
Tell Me
Why you left me
Tell Me
To be strong
Tell Me
To stop crying
That it was a dream all along
The silence of my room is killing me
I'm tired of being alone
It tears me apart
To think of you
When i don't try to
I'm tired of missing you
Can't you tell I'm still in love with you
I miss your arms around me
You whispering in my ear
Telling me you'd protect me
From the pain I now hold hear
Now my mascara runs
I haven't been able to fill that hole
Though I give everyone a smile
Telling them I'm over you
Hoping they can't see through the lie
Because inside I'm slowly dieing
I stay emotionless
But deep inside I'm crying
Whenever I look around
I always see your face
Please Stay Out of my head
Go Away
I'm already in enough pain
How do you think it feels
To have heart ripped out and shown to you
I was hoping you would save me
From my souless fate
But we both know
Your too stubborn
Your ego is too strong
Obviously you didn't love me enough
And you've been alone for too long
Name:
Anonymous2009-01-08 13:10
>>479
It's a hash function you idiot. Either it produces the same output or fuck off already.
// test.cpp
#include <iostream>
#include <stdio.h>
using std::cout;
int main() {
for (unsigned long long g = 0; g < 9000000000001; g++)
cout << "GRUNNUR\r\n";
#ifdef MSC_VER
system("pause");
#else
getchar();
#endif
return 0;
}
Name:
!!7Y8IoivxofYKfYm2009-01-16 19:26
test
Name:
Anonymous2009-01-17 10:49
sicp is a reference manual for people who already know how to program. it's also full of erudite bullshit, ie. the quote from john locke on the first page about human understanding. if i wanted a big big of guys with egos jerking off i'd go get some fucking gay porn. faggots.
Name:
Anonymous2009-01-17 10:49
sicp is a reference manual for people who already know how to program. it's also full of erudite bullshit, ie. the quote from john locke on the first page about human understanding. if i wanted a big book of guys with egos jerking off i'd go get some fucking gay porn. faggots.
You mean functional, e.g. haskell native?
no, i mean declarative: http://en.wikipedia.org/wiki/Declarative_programming
haskell and prolog would be the obvious languages to use, but you can do declarative programming in other languages too.
>>515 there's no crypt() there.
If you're so good with the Wikipedia, maybe you also want to check out how crypt() works. Once you have DES it's just a few broken function compositions away.
>>515
There isn't really much more to crypt() than doing 25 rounds of DES and some before/after bit permutations. The most likely reason nobody's written crypt(3) in Haskell is because there's very little point in doing so when there's a perfectly good C implementation (unless you're on Windows, in which case you have two problems).
Name:
Anonymous2009-01-22 16:53
>>517
and just what are those "before/after bit permutations"? it seems there's very little documentation available about how crypt(3)...
and an implementation in haskell would probably be faster than glibc crypt.
>>523
I just translated it from the shiichan php
$salt = strtr(preg_replace("/[^\.-z]/",".",substr($trip."H.",1,2)),":;<=>?@[\\]^_`","ABCDEFGabcdef");.
>>528
shiitchan and 0ch. that's not even close to "most textboards".
Name:
Anonymous2009-01-27 23:45
>>529
2ch too. The use of ``H..'' rather than ``H.'' is a hack by someone trying to emulate observed 2ch behavior on a different system.
Name:
5302009-01-27 23:46
>>529
You know what? I misread your post.
What I said in >>530 is still true, though, and using ``H..'' should be considered non-standard. The standard behavior is undefined.
Name:
Anonymous2009-01-28 1:32
2ch too.
2ch uses 0ch. so that's still just two textboard scripts out of how many?
The use of ``H..'' rather than ``H.'' is a hack by someone trying to emulate observed 2ch behavior on a different system.
kareha and wakaba use "H.." to emulate futaba1.
apparently futaba used to use freebsd, but now uses linux (a blank trip resulted in "8NBuQ4l6uQ" in 2004, but now it results in "sgO7UmMnWw")
>>532
When I said 2ch I meant 2channel, which obviously uses Futaba and thus ``H.'' for the salt.
Name:
Anonymous2009-01-28 1:46
>>533
no, 2ch and 2channel both mean 2ch.net, which uses 0ch, not futaba.
0ch is a textboard script, futaba is an imageboard script.
Name:
Anonymous2009-01-28 9:22
>>532
2ch is by a significant margin the biggest text board in the world, and as it was also the first board to implement tripcodes, it's both the de-facto standard and a suitable reference point for new implementations. Trying to downplay its influence by saying it is only one script is akin to claiming that Google isn't of relevance because it's "just one search engine".
Name:
Anonymous2009-01-28 9:33
Also, kareha and wakaba use "H.." to emulate futaba1.
Which they do so very poorly. Try this thing: http://storlek.livejournal.com/58409.html
with input like: I'm going&to "hax" my, anus
Wakaba gives different results from Futaba on every one of those, and three of the four are different from 0ch as well. Not very "compatible" if you ask me.
Name:
Anonymous2009-01-28 17:49
>>536
If you wanna be compatible, just cut out the part of the Wakaba code that undoes the HTML identities or whatever it does.
>>536 http://hotaru.thinkindifferent.net/trip.html is better.
also, wakaba's version of the tripcode algorithm was mostly the result of trying to figure out what 0ch did without having the source to look at. since 0ch is a lot more widely available now than it used to be it's easy to criticize it, but at least it's not as broken as shiichan.
>>539
That has a clumsier interface, not as many algorithms, and only shows one tripcode with one substitution at a time. Otherwise it looks like it just ripped off the code and converted it to JAVASCRIPT. How does that make it better?
Name:
Anonymous2009-01-29 4:59
clumsier interface
What.
not as many algorithms
It has all the ones that anyone uses. And a few that that other script doesn't support (but no one uses), like 0ch with UTF-8 and Shiichan with Shift-JIS.
Seriously, the number of PyIB boards in existence is less than three, Trevorchan/Kusaba is a steaming pile of shit which no sane person would ever use, Thorn is dead, and Pixmicat is just a broken version of futaba that no one uses.
only shows one tripcode with one substitution at a time.
That's not really a problem because of the much better interface.
You probably just haven't figured out that you can type in a tripcode and then change the options below and the result will automatically update.
Otherwise it looks like it just ripped off the code and converted it to JAVASCRIPT.
Okay, let's compare this: _re_waha_decodestr = re.compile(r'(?:([0-9]*)|([Xx&])([0-9A-Fa-f]*))([;&])')
_re_waha_cleanstr = re.compile(r'&(#([0-9]+);|#x([0-9A-Fa-f]+);|)')
_re_waha_stripctrl = re.compile(r'[\x00-\x08\x0b\x0c\x0e-\x1f]+')
@tripper('wakaba')
def trip_wakaba(key):
def dec_or_hex(d, h):
try:
return (int(d) if d else int(h, 16))
except:
return 0
def forbidden(o):
return o > 1114111 or o < 32 or 0xd800 <= o <= 0xdfff or 0x202a <= o <= 0x202e
def decode_string(m):
d, xamp, h, end = m.groups()
o = dec_or_hex(d, h)
if '&' in (end, xamp):
return m.group(0)
elif forbidden(o):
return ''
elif o in (35, 38):
return m.group(0)
else:
return unichr(o)
def clean_string(m):
g, d, h = m.groups()
if not g:
return '&'
elif forbidden(dec_or_hex(d, h)):
return ''
else:
return m.group(0)
function waka_forbidden(dec, hex){
if(dec.length > 7 || hex.length > 7) return true;
ord = parseInt(dec, 10) ? parseInt(dec, 10) : parseInt(hex, 16);
if(ord > 0x10ffff || ord < 32 || (ord >= 0xd800 && ord <= 0xdfff) ||
(ord >= 0x202a && ord <= 0x202e) || (ord >= 0xfffe && ord <= 0xffff)) return true;
return false;
}
The JavaScript code is shorter and less convoluted, and is a lot more similar to the Perl code in Wakaba than to that wacky python code.
How does that make it better?
There's also the fact that it actually works, unlike that unreadable pile of forced indentation: Traceback (most recent call last):
File "./kigou", line 9, in <module>
import pygtk
ImportError: No module named pygtk
It has all the ones that anyone uses. And a few that that other script doesn't support (but no one uses), like 0ch with UTF-8 and Shiichan with Shift-JIS.
Seriously, the number of PyIB boards in existence is less than three, Trevorchan/Kusaba is a steaming pile of shit which no sane person would ever use, Thorn is dead, and Pixmicat is just a broken version of futaba that no one uses.
You just contradicted yourself.
Also, it still includes "matsuba", which as far as I can tell exists on exactly one board that's apparently run by the same person who made that script.
The obvious benefit of having all of the results listed at the same time, which you seem to be failing to comprehend, is being able to tell whether a given tripcode will work on various boards. Having to repeatedly change a dropdown several times defeats that, and it's completely unnecessary.
wacky python code
unreadable
Eh. I wouldn't so so far as to say it's blatantly obvious what everything does (I still don't understand what the hell the add_tripcode function is doing) but if you take a moment to read it, and assuming you actually know Python, it's far from unreadable.
ImportError: No module named pygtk
Get a less shitty system. Gtk is a pretty standard toolkit, and pygtk isn't that big.
I think that javascript tripcode thing is pretty much like all of hotaru's stuff: technically interesting because of the implementation (DES in Javascript; running twelve different imageboard scripts all at once; building a textboard based on some ass-backwards hack, that WAHa even openly stated was a joke and a terrible idea) -- but aside from that, fundamentally useless and devoid of any actual, practical benefit.
Oh, almost forgot: the hotaru tester provides no way to tell what the raw input to crypt was. That's useful for figuring out how to "translate" a weird tripcode to use on another board.
(And it gives laughably incorrect results for anything that's not ascii.)
Name:
Anonymous2009-01-29 9:32
>>542 Shiichan with Shift-JIS
I thought /sjis/ used Shift-JIS, but I just checked and it uses UTF-8. How lame, I feel cheated.
(And it gives laughably incorrect results for anything that's not ascii.)
what.
kami works fine (yGAhoNiShI for shift-jis)...
Also, it still includes "matsuba", which as far as I can tell exists on exactly one board that's apparently run by the same person who made that script.
except that i actually happen to occasionally visit that one site that runs matsuba.
The obvious benefit of having all of the results listed at the same time, which you seem to be failing to comprehend, is being able to tell whether a given tripcode will work on various boards.
something like this? http://hotaru.thinkindifferent.net/triplist.html
but why would you bother with that when it's usually pretty obvious whether a tripcode will work on various boards or not?
the hotaru tester provides no way to tell what the raw input to crypt was. That's useful for figuring out how to "translate" a weird tripcode to use on another board.
there are much better ways to do that.
Out a possible problem with lack of knowledge about rap music The humor is completely derived from treating something which has nothing to do with my time You update your wobsite.
This was a sort of interesting thread and then idiots ruined it by turning it into a tripcode testing dump.
If you just want to test a tripcode, just do it locally or use Xarn's Haskell thing, for fuck's sake.
>>603
The twenty or so posts that are actually about tripcodes are pretty interesting, though.
This thread had potential. It's sad people must step on every dream.
-- Generate the salt
salt :: String -> String
salt t =
map f . take 2 . tail $ t ++ "H.."
where
f c
| c `notElem` ['.'..'z'] = '.'
| c `elem` [':'..'@'] = chr $ ord c + 7
| c `elem` ['['..'`'] = chr $ ord c + 6
| otherwise = c
-- The actual tripcode
tripcode :: String -> String
tripcode tr = unsafePerformIO $ do
trip <- newCString tr
salt <- newCString $ salt tr
trip <- peekCString $ crypt trip salt
return . drop (length trip - 10) $ trip
showTrip :: IO (Bool,(String,String)) -> IO ()
showTrip t = do
(b,(s,t)) <- t
if b then putStrLn $ s ++ " -> " ++ t else return ()
tripTuple :: IO String -> IO (String, String)
tripTuple s = do
s <- s
return (s,tripcode s)
matchTrip :: String -> IO (String,String) -> IO (Bool,(String,String))
matchTrip r t = do
(s,t) <- t
return (t =~ r,(s,t))
main :: IO ()
main = do
args <- getArgs
f args
where
f [] = do
mapM_ (showTrip . matchTrip "." . tripTuple . makeString) $ repeat (' ','~')
f args = do
mapM_ (showTrip . (matchTrip $ head args) . tripTuple . makeString) $ repeat (' ','~')
>>609
There are a million fast tripcrackers in C out there already. Once you get past bitslicing, there are no real challenges left in C and the rest is just busywork.
>>611
so get to bitslicing in haskell already instead of just calling c code from haskell.
Name:
Anonymous2009-04-07 19:37
>>612
What have you done recently, dipshit? Or are you just here to leech off other people's work so you can impress your middle school friends with your omgawsum novelty tripcode?
>>639 Xarn kills a baby seal
LIES! Xarn is too much of a tree hugging liberal to do such a thing!
Name:
Anonymous2009-05-05 18:42
the funny thing is, >>633 actually is better than Xarn's haskell, not only because it's shorter and easier to read, but also because factor's FFI is a lot faster than ghc's and it uses openssl's DES_crypt, which is much faster than glibc's crypt.
>>648
the blog post actually did use libc crypt (which on GNU systems is that slow as fuck GNU crypt, and on BSD systems is a crypt that is slightly faster than openssl DES_crypt on 64-bit systems and slightly slower on 32-bit systems) originally.
Are you done hacking the gibson? I heard it only takes a few hydra worms to get in, is that true?
Name:
Anonymous2009-06-11 20:08
>>677
If you know about it now, they've already fixed it.
Name:
Anonymous2009-06-11 20:52
>>677
Well, that's one way, but if you ask me, you should use a slow virus. This ain't bore and inject; it's more like you interface with the ice so slow, the ice doesn't feel it. The face of the Kuang logics kinda sleazes up to the target and mutates, so it gets to be exactly like the ice fabric. Then you lock on and the main programs cut in, start talking circles 'round the logics in the ice. It's K-rad.
Name:
Anonymous2009-06-12 3:25
I think I could ddos the Gibson with a sicp tcp flood. Would that help?
Name:
Anonymous2009-06-12 4:06
>>680
why is there such a strong correlation between inferior technology and initialisms with "cp" in them?
/* Not quite the fastest DES library around, but still reasonable, and
* most free Unixen should have it available. (Works for at least NetBSD
* and Debian GNU/Linux (after "apt-get install libssl-dev")
*/
#include <openssl/des.h>
/* How I call a special DES library.. It has to supply a des_fcrypt() as
* declared below.
* #include "../libqwikdes/des.h"
*/
/* gotta ask for a robust way to tell the difference between the two..
*/
#if !NEW_OPENSSL
# define our_fcrypt des_fcrypt /* NetBSD, Linux... */
#else
# define our_fcrypt DES_fcrypt /* Gentoo, OSX... */
#endif
int main()
{
#define BUFSIZE 8192
int quit=0, i, counts[8], bp;
char c, buffer[BUFSIZE+32], result[14], salt[3], word[9];
/* I haven't throughly checked whether all these characters are valid
* in a tripcode as yet. */
char table[]="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
"0123456789 .!:#/`()_$[]+*{-";
>>710 that code doesn't do anything original. It just calls DES crypt.
________________________________ http://xs135.xs.to/xs135/09042/av922.jpg
Velox Et Astrum gamedev forum: http://etastrum.phpbb3now.com
Free flow of information is the only safeguard against tyranny. The once-chained people whose leaders at last lose their grip on information flow will soon burst with freedom and vitality, but the free nation gradually constricting its grip on public discourse has begun its rapid slide into despotism. Beware of he who would deny you access to information, for in his heart he dreams himself your master.
>>710
The problem with that is that it only uses one process.
Try this:
/* Copyright (c) 2009 Xarn
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to
* deal in the Software without restriction, including without limitation the
* rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
* sell copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*/
void done(int sig)
{
/* Signal handler. Performed upon SIGINT. */
t = (int)time(NULL) - t;
fprintf(stderr,
"[%d] %d tripcodes examined in %d seconds (%d per second).\n",
p_id, checked, t, checked / t);
exit(sig);
}
(To compile, gcc -D_GNU_SOURCE -lssl file.c. Ubanto users and similar will want the libssl-dev package, everyone else is assumed to know what they're doing.
Omitting -D_GNU_SOURCE will make the search case sensitive, because strcasestr is a GNU extension. It's ANSI C otherwise, so it should compile on any sensible system.
It's still slower than many moonspeak alternatives because it uses OpenSSL's crypt instead of a bitslicing one, but more useful if you have a Beowulf cluster lying around.)
Somebody tell me why this fucking thing keeps giving me the error 4.brute.c:64: error: parse error before '(' token
4.brute.c:64: error: parse error before "const"
I've been fucking around with it for a while to no avail. Can't figure out what's so evil about that line... it seems to be having a problem with the our_fcrypt part specifically... but I know it's nothing to do with the macro because it keeps acting up even when I use des_fcrypt directly.
Name:
Anonymous2009-08-13 14:46
>>728
┌──────┐
│You're a pedo!│
└∩───∩─┘
ヽ(`・ω・´)ノ
>>728
The function you probably want is actually DES_fcrypt (the comment made sense five years ago, but not so much today), though that still shouldn't be giving that error.
It should be safe just to delete that line altogether, anyway. It's only there for clarity.
If you're going to use a cracker based on OpenSSL's crypt, you're much better off using Xarn's, posted in >>714.
Name:
Anonymous2009-08-13 15:36
>>732
It should. But for some reason it tells me undefined reference to '_DES_fcrypt'
even though I use the fucking lowercase and with no underscore...
Name:
Anonymous2009-08-13 15:39
>>733
Are you sure you're linking the library (with -lssl or your platform's equivalent)? Do you have the library?
Name:
Anonymous2009-08-13 15:50
>>734
Yep. It doesn't complain about me missing it or anything. And I compile it with gcc -O3 -o 4brute 4brute.com -lssl
aaand I look right at the fuckin library file. I don't know why it's doing this.
Name:
Anonymous2009-08-13 15:53
>>735
Your compiler hates you. Buy it a drink to placate it.
At least /soc/ has a moderator deleting posts made by the morons who think tripcode discussion threads are for testing tripcodes.
Not that there's that much left to discuss, unless someone wants to bring JTR's code or CUDA to the table.
I did not say that threads can be searched. Someone had to bookmark it. If all bookmarks are lost, the thread is lost. But that does not necessarily mean that the thread was purged.
KUALA LUMPUR — Muslim-majority Malaysia has banned British comedian Sacha Baron Cohen's raunchy comedy "Bruno" because it contains "a lot of sex," a senior official said Tuesday.
The film, which stars Cohen as a gay Austrian fashionista, has been a box office hit in some countries while being banned elsewhere for over-the-top scenes including sex acts and full-frontal nudity.
"The movie has been banned in Malaysia because of the sexual content. It was decided by a three-man committee. (There is) a lot of sex in it," an official with the National Film Censorship Board told AFP.
He said the panel judges movies based on whether they feature violence, horror, sex or counter-cultural themes.
"In the case of Bruno, the ban is based on its sex and counter-culture content," he said on condition of anonymity.
Following the same format as his 2006 movie "Borat," Cohen's character travels to the United States where bizarre scenarios unfold including one where he mimes sexual activity while visiting a medium.
Other controversial scenes include Bruno and his boyfriend engaged in sexual acts and couples having sex at a swingers' party.
"Borat" was also banned in Malaysia, a conservative country with a multicultural population including 60 percent Muslim Malays.
Since last year alone, Malaysia has banned five movies, the most recent being US horror film Halloween II, written and directed by Rob Zombie.
Just for those people trying to get his optimal tripcode: there are 5132188731375616 different possibilities, that's over 5 american quatrillions or over 5 hundred european billions, you'd be very very very lucky to find out the Milkribs' one by brute force.
Enjoy your burning CPUs!
And then, if you would save all this shit you'll need a 100PB hard drive or a compression utility eating again your CPU.
/* Validate target */
for (i = 0; i < len_targ; ++i) {
if ((target[i] < 'A' || target[i] > 'Z') &&
(target[i] < 'a' || target[i] > 'z') &&
(target[i] < '0' || target[i] > '9') && /* enable search for digits */
target[i] != '/' && target[i] != '.') {
fprintf(stderr,
"Invalid target \033[1m%s\033[0m: not in [a-zA-Z./].\n",
target);
return 2;
}
}
Name:
Anonymous2009-10-07 13:25
>>823
I'm working on a CUDA tripcode searcher which should get close to 1GTrips/sec on a recent GPU. At that rate, it takes a little less than 2 months to do a complete scan of the keyspace.
I'd estimate another year or so before tripcodes are completely broken.
Name:
Anonymous2009-10-07 17:13
>>828
Well good! We've had secure tripcodes for years now, there's no excuse not to be using one if you are going to tripfag.
it just so happens 10^80 is the number of atoms in the universe
AND thats about the number of calculations the human brain with its quantom goodness preforms per second
I HATE women. I never had a girlfriend and never will. The only times I got laid was when I paid a woman or promised her something. I'm never going to hold hands with a chick, kiss a girl intimately because we're in love, or any of the other shit that human beings were made to do. I guess that I'm suppose to be happy masturbating every fucking night. I'm a man with sexual urges and can't get with a female. I'm suppose to be alright with that? THERE IS A FUCKING CURSE ON MY LIFE. A CURSE THAT PREVENTS ANY FEMALE FROM LIKING ME. Oh I forgot, I do get interest from fat chicks and I'm not attracted to fat chicks.
I don't give a fuck anymore. I'm going to become the biggest asshole in the world. I tried the whole being considerate thing and it got me nowhere. If people can't handle my newfound harshness, then bring it on. BECAUSE I DON'T GIVE A FUCK. I DON'T GIVE A FUCK. I DON'T GIVE A FUCK.
I get happy when I hear about some college slut getting murdered or injured in a hit and run. "oh she was a beautiful and talented girl, how could this happen." I don't know but I'm glad it did.
this thread is still here? Damn it guys, I've been gone a fucking month. I expected more from /frog/.
Besides, if you have any right to be here, you'll take the two hotaru javascript implementations and rewrite/tighten them in your own ridiculous choice of language.
(for instance, because I am a faggot, I rewrote in java, slashed out unnecessary code, plumped up efficiency, and wrote in support for regex searches.)
>>859
news flash: hotaru ripped all that code off from elsewhere.
his javascript crypt() function was basically lifted from jcrypt with trivial bits rewritten.
so good job reimplementing in java something that was in java in the first place.
>>887
If you could find for me a crypt type function for C++, I'd switch to there in a heartbeat.
Name:
Anonymous2009-11-22 12:35
>>888
There's one for C, isn't there? I'm not an expert at Sepples but you should be able to use the crypt() intended for C just the same in C++ right?
>>893 >>894
It's simple really, >>894 will give me the money and >>893 will give me the tripcode. After verifying the authenticity of each, I will fuck off and live a life of luxury make the exchange
>>901
the salt should be the second and third bytes of (the key plus "H.." at the end), with values outside [A-Za-z0-9./] properly substituted. look at existing implementations.
>>904
PS3 uses a more complex (and higher thoroughput) architecture, though. It's faster, but not because of the way it's written. A GPU version would be interesting, depending on how embarassingly parallel crypt is.