+
------------------------------------------------------------------------------
+
[(010) Obfuscated Codez by bob]
+
------------------------------------------------------------------------------
+
a couple of first tries at writing obfuscated codez. (see ioccc.org)
[BEGIN_DIR] obfuscated
[CUT_HERE] ob1.c
#include
#define ___ int
#define ____ main
#define _____ (
#define ______ void
#define _______ )
#define ________ {
#define _________ char
#define __________ hello[20]
#define ____________ =
#define _____________ "Hello World"
#define _______________ ;
#define ________________ printf
#define _________________ (
#define __________________ "%s"
#define ___________________ ,
#define ____________________ hello
#define _____________________ )
#define ______________________ ;
#define _______________________ exit
#define ________________________ (
#define _________________________ 0x00
#define __________________________ +
#define ___________________________ 0x00
#define ____________________________ *
#define _____________________________ 0x0000000L
#define ______________________________ )
#define _______________________________ ;
#define ________________________________ }
___ ____ _____ ______ _______ ________ _________ __________
____________ _____________ _______________ ________________
_________________ __________________ ___________________
____________________ _____________________
______________________ _______________________ ________________________
_________________________ __________________________
___________________________ ____________________________
_____________________________ ______________________________
_______________________________ ________________________________
[END_CUT] ob1.c
program i used to create ob1.c (ok.. so i cheated)
[CUT_HERE] obfuse.c
/***********************************/
/* code is a tad bit broken */
/* [-------------by bob----------] */
/* cat gay.c | obfuse gay.ob.c */
/* cat gay.c | obfuse - > gay.ob.c */
/***********************************/
#include
#include
#define CHAR "_" /* "A" "Y" "oO" "eE" "iI" "_l" */
int main ( int argc , char * * argv )
{
int i = 0 , c = 0 ;
char s [255] , g [2555] ;
FILE * out ;
if ( ( out = fopen ( argv[1] , "w+" ) ) == NULL || !strcmp(argv[0],"-"))
{
out = stdout;
}
for ( ; ; ) {
if ( feof ( stdin ) )
exit( 0 ) ;
if ( scanf ( "%s" , s ) == 1 )
{
printf ( "#define " ) ;
for ( c = i ; c >= 0 ; c-- ) { printf ( CHAR ) ; fprintf ( out , CHAR ) ; }
printf ( " %s\n" , s ) ;
fprintf ( out, "\n" ) ;
}
if ( feof ( stdin ) )
exit ( 0 ) ;
i++ ;
}
}
[END_CUT] obfuse.c
[END_DIR] obfuscated
[EOW]
SOURCE