hahahahahha

Discussion in 'RS3 07 Gold Swapping Services' started by mrs thirdage, Jan 25, 2016.

Thread Status:
Not open for further replies.
hahahahahha
  1. Unread #1 - Jan 25, 2016 at 12:39 PM
  2. mrs thirdage
    Joined:
    Jan 17, 2016
    Posts:
    5
    Referrals:
    0
    Sythe Gold:
    0

    mrs thirdage Newcomer

    hahahahahha

    Code:
    [PHP]<?php
    
        include_once "dosql.php";
    #
    #   Put your own database information here.  I'm using my log file's data.
    #
        $hostname = "myhost";
        $username = "myUser";
        $password = "myPassword";
        $database = "myDatabase";
    
        $mysqli = new mysqli($hostname, $username, $password, $database);
    
        if ($mysqli->connect_errno) {
            echo "Failed to connect to MySQL: (", $mysqli->connect_errno, ") ", $mysqli->connect_error;
            exit;
        }
        echo "SQL INJECTION - Plain\n";
        $sql = "SELECT * FROM log WHERE log_id='2' OR 1=1; #'";
        $res = dosql($sql);
        foreach ($res[0] as $k => $v) {
            echo "RES[$k] = $v\n";
        }
    
        echo "\n\nSQL INJECTION = Hexadecimal\n";
        $sql = "SELECT * FROM log WHERE log_id=unhex('" . bin2hex("2' or 1=1; #'") . "')";
        $res = dosql($sql);
        foreach ($res[0] as $k => $v) {
            echo "RES[$k] = $v\n";
        }
    
        exit;
    ?>[/PHP]
     
< [$300 donor]Bleuskittle swapping 07 gold [300+ vouches] | Rs3 for RSC >

Users viewing this thread
1 guest
Thread Status:
Not open for further replies.


 
 
Adblock breaks this site