+ Reply to Thread
Results 1 to 5 of 5

Thread: BuYS: Make yourself win!!! Share/Save - My123World.Com!

  1. #1
    Garage Member sebas_phoenix will become famous soon enough
    Join Date
    Sep 2010
    Location
    Chennai
    Posts
    83
    Blog Entries
    1
    Thanks
    16
    Thanked 55 Times in 18 Posts

    BuYS: Make yourself win!!!



    Alright.. this one is a bit tough coz i am gonna imply some rules on how to solve this ...

    Take the program:

    #include<stdio.h>
    main(int argc, char **argv)
    {
    int flag;
    char buffer[80];
    strcpy(buffer,argv[1]);
    if(flag==0x41414141)
    printf("you lose\n");
    }

    The point is to make this program print "you win" .. An obvious solution is to overwrite the ret address with the address of your code that prints "you win" . I dont want that.. Infact doing by *the new* way is much more simpler.. You can even try your own methods but i dont want the above solution ...

    So think different ..try hard..

  2. #2
    Garage Hyper Addict b0nd is a jewel in the roughb0nd is a jewel in the roughb0nd is a jewel in the roughb0nd is a jewel in the rough b0nd's Avatar
    Join Date
    Jul 2010
    Location
    irc.freenode.net #g4h
    Posts
    649
    Thanks
    139
    Thanked 272 Times in 110 Posts
    sebas_phoenix, before starting new question it's expected to close the last one. You have already received couple of replies for your last question, so please post the replies for that question in that thread.
    http://www.garage4hackers.com/showth...ding-functions
    [*] To follow the path: look to the master, follow the master, walk with the master, see through the master,
    ------> become the master!!! <------
    [*] Everyone has a will to WIN but very few have the will to prepare to WIN
    [*] Invest yourself in everything you do, there's fun in being serious

  3. #3
    Garage Member sebas_phoenix will become famous soon enough
    Join Date
    Sep 2010
    Location
    Chennai
    Posts
    83
    Blog Entries
    1
    Thanks
    16
    Thanked 55 Times in 18 Posts
    Quote Originally Posted by b0nd View Post
    sebas_phoenix, before starting new question it's expected to close the last one. You have already received couple of replies for your last question, so please post the replies for that question in that thread.
    http://www.garage4hackers.com/showth...ding-functions
    Sorry b0nd..didnt know about it.. thought i could extend it a bit..

  4. #4
    Garage Newcomer Aodrulez is on a distinguished road Aodrulez's Avatar
    Join Date
    Mar 2011
    Posts
    14
    Thanks
    5
    Thanked 4 Times in 3 Posts
    hey, can you be a bit more specific,regarding *the new* way?
    All it takes, is persistence.

    To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  5. #5
    Garage Member sebas_phoenix will become famous soon enough
    Join Date
    Sep 2010
    Location
    Chennai
    Posts
    83
    Blog Entries
    1
    Thanks
    16
    Thanked 55 Times in 18 Posts
    Quote Originally Posted by Aodrulez View Post
    hey, can you be a bit more specific,regarding *the new* way?
    Think non-executable stack.. if u are able to defeat it..
    try getting a root shell (uid=0,gid=0) coz using this particular technique drops privileges before giving a shell.. and i wont be online for some days..sem exams so you need to wait a lil bit for my reply to ur pm's

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts