This forum is in archive mode. You will not be able to post new content.

Author Topic: [C] FTW...h  (Read 1932 times)

0 Members and 1 Guest are viewing this topic.

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
[C] FTW...h
« on: September 20, 2011, 07:21:01 AM »
Code: [Select]
#include <ftw.h>

int main(void)
    {
    pwn(P_EVERYONE);
    return 0;
    }

Code: [Select]
test.c: In function 'main':
test.c:5: error: 'P_EVERYONE' undeclared (first use in this function)
test.c:5: error: (Each undeclared identifier is reported only once
test.c:5: error: for each function it appears in.)

aww damn, I thought for sure that would work. <ftw.h> sucks. :(


Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: [C] FTW...h
« Reply #1 on: September 20, 2011, 09:13:03 PM »
Try pwning God instead. "Everyone" is too much for the compiler probably.

Offline ovi_x

  • Peasant
  • *
  • Posts: 98
  • Cookies: -21
    • View Profile
Re: [C] FTW...h
« Reply #2 on: September 20, 2011, 10:01:53 PM »
lol  xzid  it  pwnd=xzid

Offline xzid

  • Knight
  • **
  • Posts: 329
  • Cookies: 41
    • View Profile
Re: [C] FTW...h
« Reply #3 on: September 20, 2011, 10:39:27 PM »
Try pwning God instead. "Everyone" is too much for the compiler probably.

There is no god on this box:

Code: [Select]
$ type god
bash: type: god: not found

lol  xzid  it  pwnd=xzid

Oh yes, that's much better. thank you.

Code: [Select]
#include <ftw.h>
#include <unistd.h>

#define XZID    1
#define pwn()    fork()

int main(void)
    {
    while(XZID)
        pwn();

    return 0;
    }

Offline Kulverstukas

  • Administrator
  • Zeus
  • *
  • Posts: 6627
  • Cookies: 542
  • Fascist dictator
    • View Profile
    • My blog
Re: [C] FTW...h
« Reply #4 on: September 20, 2011, 11:19:06 PM »
so... you pwnd yourself? :D

Offline ca0s

  • VIP
  • Sir
  • *
  • Posts: 432
  • Cookies: 53
    • View Profile
    • ka0labs #
Re: [C] FTW...h
« Reply #5 on: September 21, 2011, 01:29:28 PM »
Quote
Code: [Select]
#include <ftw.h>
#include <unistd.h>

#define XZID    1
#define pwn()    fork()

int main(void)
    {
    while(XZID)
        pwn();

    return 0;
    }

Lol.

Offline bubzuru

  • Knight
  • **
  • Posts: 395
  • Cookies: 21
  • everything is contained in the data
    • View Profile
    • New School Tools
Re: [C] FTW...h
« Reply #6 on: November 02, 2011, 01:28:49 PM »
nice scene of humor , i like it  :o
Damm it feels good to be gangsta
http://bubzuru.comule.com

 



Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.