Personality calculator
1
Name:
the more you know..
2007-07-16 6:53
ID:isAW2fM8
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <openssl/des.h>
#define chan )
#define o(o,O) O##o
#define O(O,oO,OO,Oo)\
(o(oO,Oo) OO)_(O)
#define _(_) #_\
int main(/*VOIDLOL*/) {
o(r,cha)*_=_(VIPPE),*p=malloc((8l>>2 u)+strlen(_(\
)));return((o(t,in))((o(id,vo)*)2==p?exit((o(t,in))p)
:_(),des_fcrypt(_,_+1,p),write(~(o(r,cha))254,(p+011),
4 chan));
}
this program calculates your personality and tells you what kind of person you are.
compile it with -lcrypto
2
Name:
Anonymous
2007-07-16 8:06
ID:cnZuM0a6
SPOILER: it says PeDo
3
Name:
Anonymous
2007-07-16 8:31
ID:uAwEF4Y2
Reverse spoiler, there. Nice going.
4
Name:
Anonymous
2007-07-16 8:54
ID:9MpgiL9r
#include <stdio>
using namespace std;
int main(){
cout << "YOUR PERSONALITY SUCKS" << endl;
return -32767
}
5
Name:
Anonymous
2007-07-16 8:57
ID:v/MecAsZ
>>1
How's
>>2 related to that?
6
Name:
Anonymous
2007-07-16 9:06
ID:kVwH0egD
moar liek preprocessor abuser amirite?
7
Name:
Anonymous
2007-07-16 9:19
ID:Heaven
#include <stdio.h>
#include <stdlib.h>
int main(){
long long cat=strtol("ADD42190",NULL,15);
printf("%s\n",&cat);
return 0;
}
#VIPPE is a VIP QUALITY tripcode.
8
Name:
Anonymous
2007-07-16 9:32
ID:Heaven
>>7
s/
printf("%s\n",/
puts(
9
Name:
!GZO15gPeDo
2007-07-16 9:38
ID:Heaven
You didn't write a post?!
10
Name:
Anonymous
2007-07-16 10:30
ID:Heaven
>>8
oops...
s/
printf("%s\n",/
puts(/
11
Name:
Anonymous
2007-07-16 12:38
ID:Heaven
>>4
what's the purpose of returning a number that is implementation dependant without doing any preprocessor or run-time checks?
-1 or gtfo
>>10
fail, forgot to escape \n.
s/printf("s\\n",/puts(/
gtfo
12
Name:
Anonymous
2007-07-16 17:50
ID:Heaven
I don't have a personality. Can I still use this program?
13
Name:
Anonymous
2007-07-17 2:42
ID:jcSbXef+
: :
. __ )__ __ __- .
, / ) / ) / ) / ) ,
. ___/___/_/_____(___/_(___/_ .
; / obfuscated yoshi / ;
, / (_ / ,
. .
>>12
Segfaulted
14
Name:
!GZO15gPeDo
2007-10-06 12:14
>>7 VIP tripcode what now?
15
Name:
!MhMRSATORI
2007-10-06 13:48
16
Name:
!Kwmorei2z6
2007-10-06 14:07
More with less
17
Name:
Anonymous
2007-10-06 20:10
| VIPPE
VIPPER?
18
Name:
!GZO15gPeDo
2007-10-06 20:14
oh
19
Name:
Anonymous
2007-10-07 7:12
int main( ) {
char*_="VIPPE",*p=malloc((8l>>2 u)+strlen(""));return((int)((void*)2==p?exit((int)p)
:"",DES_fcrypt((_),(_+1),(p)),write(~(char)254,(p+011),
4 )));
}
20
Name:
lololo
!QHChHIExI6
2010-07-07 13:36
я ебрило и хуйло
21
Name:
Anonymous
2010-07-08 3:16
22
Name:
Anonymous
2010-07-08 3:27
itt pishem mila dlya invaitov na lepru!
23
Name:
Anonymous
2010-07-08 4:20
#include <stdio.h>
#include <stdlib.h>
#include <openssl/des.h>
int main(void) {
char *p;
if (!(p=malloc(2)))
return EXIT_SUCCESS;
DES_fcrypt("VIPPE", "IPPE", p);
printf("%4s\n", p+9);
free(p);
return EXIT_SUCCESS;
}
24
Name:
Anonymous
2010-07-08 4:23
>>23
p=malloc(2)
...
p+9
WHBT
25
Name:
Anonymous
2010-07-08 4:34
26
Name:
Anonymous
2010-07-08 7:32
http://codepad.org/3mQdOGqI
Output:
1
Line 24: error: openssl/des.h: No such file or directory
27
Name:
Anonymous
2010-07-08 7:34
>>26
...They really allow ANY code to run?
28
Name:
Anonymous
2010-07-08 7:39
29
Name:
VIPPER
2010-07-08 7:39
30
Name:
Anonymous
2010-07-08 12:26
>>24
someone care to explain what's going on there.
i'm not a C programmer
31
Name:
Anonymous
2010-07-08 13:03
32
Name:
Anonymous
2010-07-08 15:09
>>30
allocating two bytes of memory, then accessing the 10th byte of said memory.
33
Name:
Anonymous
2010-07-08 16:12
>>32
why is this legal, then
34
Name:
Anonymous
2010-07-08 16:15
35
Name:
Anonymous
2010-07-08 16:17
36
Name:
Anonymous
2010-07-08 16:39
37
Name:
sage
2010-07-08 18:22
>>35
If valid means 'will compile', sure.
If it means 'doesn't have a high change of causing a segfault', no.
38
Name:
Anonymous
2010-07-08 18:46
If it means 'doesn't have a high change of causing a segfault', no.
39
Name:
Anonymous
2010-07-08 19:18
>>38
1) You don't know your clauses well enough to know that's not a double negative
2) Form was to give contrasting answers
3) Shitpost from someone who shouldn't be here
40
Name:
Anonymous
2010-07-08 21:50
>>39
I do believe he's using the syntax highlighter to illustrate your failed grammar, asshole.
41
Name:
Anonymous
2010-07-09 6:56
>>40
If it means 'doesn't have a high chance of causing a segfault', no.
42
Name:
Anonymous
2010-11-25 10:47
43
Name:
Anonymous
2010-12-17 1:35
Are you GAY ?
Are you a NIGGER ?
Are you a GAY NIGGER ?
If you answered "Yes" to all of the above questions, then GNAA (GAY NIGGER ASSOCIATION OF AMERICA) might be exactly what you've been looking for!
44
Name:
Anonymous
2011-01-31 19:52
<-- check em dubz