Obfuscate Code Contest 6 - Results Poll

Online C++ programming contests.

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard, raimo

Obfuscate Code Contest 6 - Results Poll

Postby Darobat » Fri Jan 28, 2005 1:14 pm

Sorry, I haven't had much time lately, but I've got the poll up now. Only 3 entires this time including myself. :( You can view the few entries I did get here

Beer Hunter - 4
Exomo - 1
Darobat - 2

My votes went to Beer Hunter and myself.

Also, I am going to take a break from obfuscate code contests. I need to get some stuff finished and I won't have time to do anything with them.
Last edited by Darobat on Mon Feb 07, 2005 6:43 pm, edited 4 times in total.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby tomcant » Fri Jan 28, 2005 1:47 pm

My only vote goes to Beer Hunter. The other entries were impressive, but I think Beer Hunter's was the best. :)
If it wasn't for C, we would be using BASI, PASAL and OBOL.
User avatar
tomcant
 
Posts: 3101
Joined: Tue Sep 23, 2003 1:56 am
Location: Colchester, UK

Postby Corsix » Fri Jan 28, 2005 5:18 pm

This is what I did of mine:
Code: Select all
#include <stdio.h>/***/
#include <string>/****/
#include <windows.h>///
#include <conio.h>/***/
#define re_throw return
std::string abc,def,gh;
unsigned long OMG(std::
string O){return O.size
()?(OMG(O.substr(0,O.//
size()-0x1))<<01)+*(O.\
c_str()+O.size()-1)-072
:0;}std::string LOL(std
::string O00){std::/**/
string OOO,O0O;unsigned
long OO0;for(OO0=0;OO0<
O00.size();++OO0)OOO+=(
O00[OO0]>0140&&O00[OO0]
<0x7B?":":(O00[OO0]>///
0100&&O00[OO0]<0x5B?";"
:""));for(OO0=000;OO0<\
OOO.size();OO0+=010)O0O
+=(signed char)OMG(OOO.
substr(OO0,010));return
O0O;return "!";} signed
long ROFL(std::string//
O00){std::string OOO;//
signed long OO0;for(OO0
=0;OO0<O00.size();++OO0
,1)OOO+=(O00[OO0]>0140\
&&O00[OO0]<(1*0x7B)?":"
:(O00[OO0]>0100&&O00[//
OO0]<0x5B?";":""));/**/
return OMG(OOO);}struct
dead{operator long(){//
return ROFL("dead");}}\
hell;struct string{std\
::string _;string(std::
string __):_(__){}char*
operator&(string ____){
abc=LOL(_);return (char
*)abc.c_str();}operator
std::string(){return///
LOL(_);}operator long()
{return ROFL(_);}};/**/
struct alive{std::/**/\
string __; alive(std::\
string _):__(string(_))
{}char operator[](long\
_){return __[_];}/***/
operator long( ){return
__.length();}}horrible(
"tHIS is gOiNG to Be A vERY lONG lINE of TexT. If yOu WaNT To Skip AHEad TheN FEEl fReE TOo. AfteR ALl, ThIs LINE doEsNT aCtuAlLY Do AnYtHInG USEfUL. tHat Is UNLess yoU CoNSIDeR tHE cORe OF The proGrAM ImPoRtAnt. oH aNd btW - tHe MiXtURE oF uPpeR anD lowEr CaSe Is CompLeTelY raNdOM (so DoNt TrY to fInD aNy HiDdEN meAnIng GamMa). I aM gEtTiNg bORED oF tyPinG pRoPer worDs aND SEnTENCeS So ThE rest oF THE LiNe WIll juSt BE a rAndoM MIx oF LeTTerS. DfhBDsiUfrySOdiASFuDSafSIegFUyGlsorCGrlGHStGHjKgFdfDSuYnfdhFDsFhDAfIUdFnJkhIOuYWtlmNXbIuHKuyFDGkLJgHUiDSgydsFgjKHDsGdsfdsOiGydsFgumNbKxcVByIuybILweRwqrBasoDuioSAFdWqerUYiuYzbZcbyiLgdsGFJkHsdFuIgsGnuDfysgIgdHsUDgLufGdJhdGksLKdkiUweRyPIfdDSAjKhcVjkLYdsafUiasDjkFUIYeFdkWEfbnDSuFKYEwfkmFNDsUFyiVYiefKFnEKfydSiuFYSaDIugFSaDFJhsAFkdhUdvYIaERaNmDFvDSAfiaYeWRiuwAReHJkGadSfBDSafkUtVUydsfTgUYTGfaUyteuiwhDraduydSTJASuytRsYJujagYsHSuGhjWqghjKFuIfVUifdsHdAuIFfdFdghjKFdSfdsuFdsUyTfDSfdSgfDSGhjFdsghJfdSdsABnDsAuhUIGfuiUGFDskhJfgUYiHydJAFGHjkfDSAGhfdgGD BYE :-)"
);typedef unsigned /**/
cripiling; typedef char
cripiled; typedef char*
poor;string BYE("BYE");

int main(int that,poor scientist)
{
   if(that<hell)
   {
      try
      {
         if(that>=-string("somethiNg"))
         {
            for(cripiling disease=hell;disease<strlen(scientist);disease+=string("goodbye cruel worlD"))
               scientist[disease]=main(that-ROFL("time for you tO dIe"),&scientist[disease]);
            throw hell;
         }
         else
         {
            for(cripiling disease=hell;disease<horrible;disease+=string("that,poor,poor scientiSt"))
               if(horrible[disease+(that!=-ROFL("RoFL"))]==*scientist)
                  throw horrible[disease+(that==-(string("questioN:")+string("why do i neveR wIn?")))];
            throw *scientist;
         }
      }
      catch(cripiled man)
      {
         re_throw man;
      }
      catch(dead man)
      {
         re_throw man;
      }
   }
   char filename[1024];
   char filedata[1024];
   memset(filename,0,1024);
   while(!strlen(filename))
   {
      printf(string("hI agaIn FeLLaS ANd wELCoMe to ANotHeR rOUNd oF corSixs obfUScAteD cODe. AS VecTOR madneSS DiDnT wORK lAst tiMe i am trYIng SOmeTHiNg nEw THiS Time. CAn yOu GueSs what i AM uSINg? cAN you? sUrELy SOmEoNE caN gUesS? SUrEly? sOme1? bye :-)")&BYE);
      gets(filename);
   }
   FILE* ifile = fopen(filename,"rb");
   if(!ifile)
   {
      printf("Unable to open file.\n");
      return -1;
   }
   printf("What language do you desire? [S]cientist or [N]ormal ");
   char desop = 0;
   while(!(desop == 'S' || desop == 's' || desop == 'N' || desop == 'n'))
      desop = _getch();
   printf("%c\n",desop);
   if(desop == 'S' || desop == 'N');
      desop = (desop=='S'?'s':'n');
   printf("Enter output filename: ");
   memset(filename,0,1024);
   gets(filename);
   FILE* ofile = NULL;
   if(strlen(filename))
      ofile = fopen(filename,"wb");
   if(!ofile)
      printf("Unable to open output file. Output will be to console instead:\n");
   memset(filedata,0,1024);
   while(!feof(ifile))
   {
      if((!fread(filedata,string("reAD"),string("binAry"),ifile)) && feof(ifile))
         break;
      main(desop=='s'?-2:-1,filedata);
      if(ofile)
         fwrite(filedata,string("write|binarY"),strlen(filedata),ofile);
      else
         printf("%s",filedata);
   }
   fclose(ifile);
   if(ofile)
      fclose(ofile);
   printf("%sDone!\n",ofile?"":"\n");
   Sleep(ofile?500:5000);
   return 0;
}
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Darobat » Sun Jan 30, 2005 9:46 am

Why do I find this discouraging? 2 entries besides mine, 1 almost finished entry (with a 2 week deadline) and only 1 vote. I might have to advertise on the GD forums when the next one rolls around.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby exomo » Sun Jan 30, 2005 10:48 am

As allways I don't want to vote for myself.

So you can guess who gets my votes.
BeerHunter and Darobat.
Who needs a signature anyway.
User avatar
exomo
 
Posts: 867
Joined: Fri Sep 26, 2003 12:30 pm
Location: germany->baden

Postby Beer Hunter » Mon Jan 31, 2005 2:57 am

I vote for myself and exomo.
User avatar
Beer Hunter
 
Posts: 912
Joined: Sat Dec 13, 2003 7:12 pm
Location: Australia

Re: Obfuscate Code Contest 6 - Results Poll

Postby jarabee » Tue May 10, 2016 1:34 am

Thanks for the post is good, too.
jarabee
 
Posts: 2
Joined: Tue May 10, 2016 1:31 am

Re: Obfuscate Code Contest 6 - Results Poll

Postby heng » Fri Jun 02, 2017 10:06 pm

Thanks for good post. Check here to new website.

[url=http://www.dlyzky.com]gclub casino[/url]
[url=https://www.gclub-casino.com/baccarat/]บาคาร่าออนไลน์[/url]
[url=https://www.golden-slot.com]goldenslot casino[/url]
heng
 
Posts: 2
Joined: Fri Jun 02, 2017 9:46 pm


Return to Contests

Who is online

Users browsing this forum: No registered users and 1 guest

cron