The First Annual Underhanded C Contest
Xcott Craver writes "We have just announced a new annual contest, the Underhanded C Contest, to write clear, readable, innocent-looking C code that implements malicious behavior. The object is to hide evil functionality that survives visual inspection of the source. The prize is beer."
Comment removed based on user account deletion
People will do anything for beer! Who needs speech when you're gulping down a cold lager?
OLPC Australia
kill the brain cells that made innocent looking malicous code :P
Pussy.
The object is to hide evil functionality that survives visual inspection of the source.
The prize is world domination!
If these walls could talk they'd probly still ignore me. --MF DOOM
#include
:)
main()
{
printf("Hello World");
}
Seemingly harmless, right? Wrong. It's still in devlopment, but think about it. You should have to greet the world before you destroy it.
I'm going to go create my own technology news site, with blackjack and hookers. You know what? Forget the news site.
#include stuff.h
/* nothing / */ /* to see / * here */
/* whats * / challenging / * about */
/* this */ /* there / is no */ evil /* /* here
/* their / * / eyes testing */ ();
void main()
{
screensaver(); * function */
anyone that thinks there is * / needs */
}
585
liqbase
Just tuck it away in a commonly used header file, use touch to restore the last date/time of modification, and you're all set.
#define void int
Hours & hours of irritation & confusion!
T&K.
Political language
Can you even breathe in that tinfoil cocoon?
The prize is beer.
What if someone in the straight edge crowed wins?
They can give the beer to me.
Give me Classic Slashdot or give me death!
title Windows
root (hd0,0)
chainloader +1
Now where's my beer?
Help Wanted:
Diebold needs new programmers. If you have what it takes to hide "winning" code in our election machines. Apply to Diebold Careers
Pfft.
;-)
It's supposed to survive inspection, remember. giveElectionToTheRepublican() is underhanded, but it probably won't survive inspection.
Am I required to submit original source code, written by me, or can I merely submit the leaked Windows source, and thus be assured of victory?
Moderate drunk! It's more fun that way!
It looks innocent but is about as evil as it gets.
"Destroy science and religion. Science would re-emerge exactly the same; but not religion." - Penn Jillette, paraphrased
He'll submit the source code to IE.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
I'm on a road shaped like a figure eight; I'm going nowhere but I'm guaranteed to be late.
int main () { WinExec ("iexplore.exe"); }
"write clear, readable, innocent-looking C code", right?
Wow, nobody's going to win this one.
Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
doesn't that make basically all c code underhanded?
Nope. Only the code that includes
#include <windows.h>
*ducks*
The only surefire protection against Microsoft infections is abstinence. - The Onion
Programmer: 'Take this source code, but beware! It carries a terrible curse!'
Judge: 'That's bad.'
Programmer: 'But it's optimized for PowerPC!'
Judge: 'That's good!'
Programmer: 'PowerPC is also cursed.'
Judge: 'That's bad.'
Programmer: 'But you get your choice of operating systems!'
Judge: 'That's good!'
Programmer: 'The operating systems run on Intel.' *pause* 'That's bad.'
Judge: 'Can I go now?'
main() { printf("Goodbye World!\n"); }
The best way to predict the future is to create it. - Peter Drucker.
You accidently create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying "That's me, over there."
Source
meh