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

Pages: 1-

Helo

Name: !l/aLOH1Cw2 2010-04-11 14:57

#if !NEW_OPENSSL
#  define our_fcrypt des_fcrypt /* NetBSD, Linux... */
#else
#  define our_fcrypt DES_fcrypt /* Gentoo, OSX... */
#endif

extern char *our_fcrypt(const char *buf,const char *salt, char *ret);

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 .!:#/`()_$[]+*{-";

  bp = 0;
  salt[2] = 0;
  for (i=0; i<8; i++)

{
  counts[i] = -1;
  word[i] = 0;
}

  counts[0] = 0;
  word[0] = table[0];

  while (!quit)

{
  salt[0] = word[1];
  salt[1] = word[2];

  our_fcrypt (word, salt, result);

  for (i = 0; (word[i] != 0) && (i < 8); i++)
buffer[bp++] = word[i];
  buffer[bp++] = ' ';

  for (i = 3; i < 13; i++)
buffer[bp++] = result[i];
  buffer[bp++] = '\n';

  if ((bp > BUFSIZE))
{
  write (1, buffer, bp);
  bp = 0;
}

  i = 0;
check:
  counts[i]++;
  c = table[counts[i]];
  word[i] = c;

  if (c == 0)
{
  counts[i] = 0;
  word[i] = table[0];
  i++;
  if (i < 8)
    goto check;
  quit = 1;
}
}

  return 0;

Name: EHLO 2010-04-11 15:16

MAIL FROM: [...]\r\n
RCPT TO: [...]\r\n
DATA\r\n
From: [...]\r\n
To: [...]\r\n
Subject: [...]\r\n
[...][...]\r\n
\r\n
[...]\r\n
.\r\n

Name: Anonymous 2010-04-11 15:22

>>1
You are violating the copyright of Chris Baird by distributing his code without the license header.

Name: Anonymous 2010-04-11 15:33

>>3
Would you like to report this thread to the administrators?
[b][ Yes ]    [ No ]

Name: Anonymous 2010-04-11 16:06

This one is particularly fun because it's actually worse than what the average C beginner would write.

Name: Anonymous 2010-04-11 16:08

You should be using Xarn's one anyway.

http://dis.4chan.org/read/prog/1196728523/714

Name: !l/aLOH1Cw2 2010-04-11 16:43

>>3
Lol internet copyright of crummy nothingness.

>>4
implying mods care

>>5
I don't know, I just seen this somewhere, copied it and pasted it to look like a cool programmer. I don't know shit about programming though.

>>6
Sure, whatever kid.

Name: Anonymous 2010-04-11 18:46

>>6
That's probably as good as it's going to get without a bitslicing DES. Maybe I should try to make sense of JtR's crypt implementation again.

>>7
Go away.

Name: Anonymous 2010-04-11 18:49

>>8
Why don't you go away instead?

:/

Name: Anonymous 2010-04-11 19:13

>>9
I'm pretty sure he was here first.

Name: Anonymous 2010-04-11 19:23

>>10
But he posted after >>7-san!!!

Name: Anonymous 2010-04-11 19:38

>>11
>>7-kun
FTFY.

Name: !l/aLOH1Cw2 2010-04-11 22:14

You fags need to get a grip.

Name: Anonymous 2010-04-11 22:30

>>7
implying
Back to the imageboards, please

Name: Anonymous 2010-04-11 23:07

>>14
Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 0:34

>>15
Lead the way.

Name: Anonymous 2010-04-12 0:37

>>16
Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 0:38

>>17
Onward, shitposter!

Name: Anonymous 2010-04-12 0:39

>>18,20
Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 0:41

>>19,21
After you.

Name: Anonymous 2010-04-12 0:43

>>20
Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 0:44

>>21
Speak for yourself, since that's what you do anyway.

Name: Anonymous 2010-04-12 0:45

>>22
Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 0:50

>>23
Keep cuntinuing.

Name: Anonymous 2010-04-12 0:52

Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 1:24

>>25
Do unto yourself as you do unto others.

Name: Anonymous 2010-04-12 1:37

>>26,28
Fuck off, ``faggot''.

Name: Anonymous 2010-04-12 1:58

>>27,29
You put on my left shoe in my apartment and I said to you...

Name: Anonymous 2010-04-12 2:41

>>28
My other shoe is a sneaker.

Name: Anonymous 2010-04-12 4:29

>>29
My other phenomenon is noumenon

Name: Anonymous 2011-02-03 4:09

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