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

0 Members and 1 Guest are viewing this topic.

Offline xzid

  • VIP
  • Long[]
  • *
  • Posts: 304
  • Karma: +37/-4
    • 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. :(


Online Kulverstukas

  • Administrator
  • 0x13338
  • *
  • Posts: 1889
  • Karma: +112/-10
  • Gender: Male
  • Delphi coder (and proud)
    • 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

  • Char
  • *
  • Posts: 59
  • Karma: +2/-0
    • View Profile
Re: [C] FTW...h
« Reply #2 on: September 20, 2011, 10:01:53 PM »
lol  xzid  it  pwnd=xzid

Offline xzid

  • VIP
  • Long[]
  • *
  • Posts: 304
  • Karma: +37/-4
    • 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;
    }

Online Kulverstukas

  • Administrator
  • 0x13338
  • *
  • Posts: 1889
  • Karma: +112/-10
  • Gender: Male
  • Delphi coder (and proud)
    • View Profile
    • My blog
Re: [C] FTW...h
« Reply #4 on: September 20, 2011, 11:19:06 PM »
so... you pwnd yourself? :D

Online ca0s

  • VIP
  • Long
  • *
  • Posts: 251
  • Karma: +27/-1
  • Gender: Male
  • ca0s@ka0labs #
    • View Profile
    • { st4ck~3rr0r }
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

  • Int
  • **
  • Posts: 147
  • Karma: +6/-0
  • 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

 



Intern0t SoldierX py1337 SecurityOverride programisiai
Want to be here? Contact Ande or Satan911 on the forum or at IRC.