Saturday, 23 July 2011

Obfuscated C Code

what are you thinking....its a virus not a virus is a c language encryption program's source code...which encrypts the string provide it as input...i recommend to use dev-c++ or tc...because i tested the code in both of these compilers...
Give the following string as input: 
a male (who) gets very, very frustrated sitting in a chair all
the time because males are biologically driven to go out and hunt
#define X
#define XX
#define XXX
#define XXXX
#define XXXXX
#define XXXXXX
#define XXXXXXX
#define orfa for
#define archa char
#define ainma main
#define etcharga getchar
#define utcharpa putchar
X                                       X
X X                                     X X
X   X                                   X   X
X    X                                 X    X
X      X                               X      X
X       X                             X       X
X         X                           X         X
X   X     X                           X     X   X
X   XX     X                         X     XX   X
X    XXX    X        XXXXXXXXX        X    XXX    X
X     XXX    X   XXXX         XXXX   X    XXX     X
X     XXXX   X XX ainma(){ archa  XX X   XXXX     X
X     XXXX    X   oink[9],*igpa,    X    XXXX     X
X     XXXXXX atinla=etcharga(),iocccwa XXXXXX     X
X      XXXX ,apca='A',owla='a',umna=26  XXXX      X
X      XXX  ; orfa(; (atinla+1)&&(!(((   XXX      X
X      XX atinla-apca)*(apca+umna-atinla) XX      X
X     X  >=0)+((atinla-owla)*(owla+umna-  X     X
X       atinla)>=0))); utcharpa(atinla),        X
X   X atinla=etcharga()); orfa(; atinla+1;  X   X
X X  ){ orfa(      igpa=oink     ,iocccwa=( X X
X X  (atinla-  XXX  apca)*(  XXX apca+umna- X X
X atinla)>=0) XXX           XXX   ; ((((    X
X atinla-apca XXXXX XXXXXXX XXXXX  )*(apca+   X
X umna-atinla XXXXXX )>=0) XXXXXX +((atinla-  X
X owla)*(owla+ XXXX   umna-   XXXX atinla)>=0)) X
X   &&"-Pig-"   XX  "Lat-in"   XX   "COb-fus"   X
X "ca-tion!!"[  X  (((atinla-   X  apca)*(apca+ X
X umna-atinla) X  >=0)?atinla-   X  apca+owla:  X
X atinla)-owla X ]-'-')||((igpa==  X oink)&&!(*(  X
X igpa++)='w') X )||! X (*( X igpa X ++)=owla); * X
X (igpa++)=(( X  (   XXX   XXX      X atinla-apca X
X  )*(apca+   X umna XXX - XXX      X atinla)>=0) X
X  ?atinla-   X apca XXX + XXX owla X  :atinla),  X
X   atinla=   X      X     X      X etcharga()) X
X   ; orfa(   X atinla=iocccwa?(( X  (atinla-   X
X owla)*(owla+ X umna-atinla)>=0 X  )?atinla-   X
X  owla+apca:   X   atinla):    X  atinla; (((  X
X atinla-apca)* X (apca+umna- X atinla)>=0)+( X
X (atinla-owla)* X  (owla+   X umna-atinla)>= X
X 0)); utcharpa( XX       XX atinla),atinla X
X  =etcharga());   XXXXXXX  orfa(*igpa=0,   X
X  igpa=oink; *           igpa; utcharpa( X
X *(igpa++))); orfa(; (atinla+1)&&(!((( X
X atinla-apca              )*(apca+   X
X   umna-    XXXXX XXXXX atinla)>=0 X
X   )+((       XXXXX     atinla-  X
XX  owla)*(         owla+umna- XX
XX atinla)>=0))); utcharpa XX
XX  (atinla),atinla=   XX
XX etcharga()); }  XX
XXXX   }     XXXX


  1. I am really impressed with your writing skills as well as with the
    layout on your weblog. Is this a paid theme or did you customize it yourself?
    Anyway keep up the nice quality writing, it's rare to
    see a nice blog like this one these days.

    My web-site: Louis Vuitton

  2. Hi, its nice paragraph regarding media print, we all be aware of media is a wonderful source
    of data.

    Here is my weblog ... Louis Vuitton Outlet Store