Just a funny programming joke

Share any hilarious IRC quotes, pictures, jokes, and more here!
Forum rules
- NO nudity/pornography. NO racism. NO offensive material.
- Posting these may result in warnings and/or possible ban!
- Please abide by the rules: viewtopic.php?f=126&t=4355

Just a funny programming joke

Post by MadM0use on Sun Feb 01, 2015 4:30 pm
([msg=86541]see Just a funny programming joke[/msg])

Code: Select all
// play like this:
// $ gcc -fno-stack-protector -z execstack lol.c -o lol

#include <unistd.h>

unsigned char* message = "go home noob, you are drunk ;)";

main(a,b,c,d,e,f,g,h,i,j,k)
{
   
   if(a > 40)
   {
      unsigned char poop[] = {
      (*message)^a, (*(message+1))^b,(*(message+2))^c,
      (*(message+3))^d, (*(message+4))^e, (*(message+5))^f,
      (*(message+6))^g, (*(message+7))^h, (*(message+8))^i,
      (*(message+9))^j,k};
      ((void(*)())&poop)();
   }
   else
   {
      puts(message);
      main(47, 94, 224, 216, 86, 160, 229, 203, 148, 111);
   }
   return;
}


Why you shouldn't run code from the forums lol, fork you :P
const char main[]="\xeb\xfe -> A fully functional program in C";

<@MadMouse> i am forgot what i was doing today but i had motivation and a distinct plan when i woke up stoned right now

http://pastebin.com/FnwUG5KS
Books:
http://goo.gl/muPm3d
User avatar
MadM0use
Experienced User
Experienced User
 
Posts: 70
Joined: Thu Sep 11, 2014 10:30 pm
Blog: View Blog (0)


Re: Just a funny programming joke

Post by cyberdrain on Sun Feb 01, 2015 8:26 pm
([msg=86553]see Re: Just a funny programming joke[/msg])

MadM0use wrote:Why you shouldn't run code from the forums lol, fork you :P

That has to be one of the worst types of social engineering I've ever seen. I'll definitely be running that code now, yup. :P
Free your mind / Think clearly
User avatar
cyberdrain
Expert
Expert
 
Posts: 2160
Joined: Sun Nov 27, 2011 1:58 pm
Blog: View Blog (0)


Re: Just a funny programming joke

Post by MadM0use on Sun Feb 01, 2015 8:27 pm
([msg=86554]see Re: Just a funny programming joke[/msg])

cyberdrain wrote:
MadM0use wrote:Why you shouldn't run code from the forums lol, fork you :P

That has to be one of the worst types of social engineering I've ever seen. I'll definitely be running that code now, yup. :P


lol, it's not supposed to be useful, the joke IS the bad social engineering xD
const char main[]="\xeb\xfe -> A fully functional program in C";

<@MadMouse> i am forgot what i was doing today but i had motivation and a distinct plan when i woke up stoned right now

http://pastebin.com/FnwUG5KS
Books:
http://goo.gl/muPm3d
User avatar
MadM0use
Experienced User
Experienced User
 
Posts: 70
Joined: Thu Sep 11, 2014 10:30 pm
Blog: View Blog (0)


Re: Just a funny programming joke

Post by Turn on Wed Feb 18, 2015 6:52 am
([msg=86782]see Re: Just a funny programming joke[/msg])

MadM0use wrote:fork you :P


Nothing in this code will fork any process.
This is similar in nature to a billion laughs attack. It will only exhaust system resources, and spike CPU usage, possibly causing a shutdown. I tested this in a Virtual Machine, and let it run up resources for 3 minutes before I just killed the process. Anyways, -(){ -|-& };-
Social Engineering:
<cen> .lua print ('Tsyn 9.47.-u 3 12 5')
* slickery has quit (User has been banned from HackThisSite (Attempting to use a SpyBot))
* cen has quit (User has been banned from HackThisSite (Attempting to use a SpyBot))
User avatar
Turn
Poster
Poster
 
Posts: 120
Joined: Tue Feb 17, 2015 5:42 am
Blog: View Blog (0)



Return to LULZ

Who is online

Users browsing this forum: No registered users and 0 guests