Jump to content

ricmetal

Members
  • Posts

    351
  • Joined

  • Last visited

Posts posted by ricmetal

  1. and the errors

     

    Server Status Code: 302 Moved Temporarily

    Tested value: 1' OR '1'='1

    Server Status Code: 302 Moved Temporarily

    Tested value: 1' OR '1'='1

    Server Status Code: 302 Moved Temporarily

    Tested value: %31%27%20%4F%52%20%27%31%27%3D%27%31

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 UNION ALL SELECT 1,2,3,4,5,6,name FROM sysObjects WHERE xtype = 'U' --

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 UNI/**/ON SELECT ALL FROM WHERE

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 AND ASCII(LOWER(SUBSTRING((SELECT TOP 1 name FROM sysobjects WHERE xtype='U'), 1, 1))) > 116

    Server Status Code: 302 Moved Temporarily

    Tested value: ' OR username IS NOT NULL OR username = '

    Server Status Code: 302 Moved Temporarily

    Tested value: 1' AND non_existant_table = '1

    Server Status Code: 302 Moved Temporarily

    Tested value: 1'1

    Server Status Code: 302 Moved Temporarily

    Tested value: '; DESC users; --

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 AND USER_NAME() = 'dbo'

    Server Status Code: 302 Moved Temporarily

    Tested value: 1' AND 1=(SELECT COUNT(*) FROM tablenames); --

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 AND 1=1

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 EXEC XP_

    Server Status Code: 302 Moved Temporarily

    Tested value: 1'1

    Server Status Code: 302 Moved Temporarily

    Tested value: 1' OR '1'='1

    Server Status Code: 302 Moved Temporarily

    Tested value: 1 OR 1=1

  2. i hope this is the right forum ;D

    im putting together a code to email through google with Swift Mailer for php5 and im hoping someone will give me a hand here writing this script

    i cant understand the documentation and there aren't many examples that work online

     

    edit: okay...just got it..!

  3. $ref = trim(strip_tags(mysql_real_escape_string(htmlspecialchars($_POST['ref']))));

    $ref2 = trim(strip_tags(mysql_real_escape_string(htmlspecialchars($_POST['ref2']))));

    $ref3 = trim(strip_tags(mysql_real_escape_string(htmlspecialchars($_POST['ref3']))));

     

    if(isset($ref)||!empty($ref)||isset($ref2)||!empty($ref2)||isset($ref3)||!empty($ref3)) {

    //insert

    }else{

    //error

    }

     

     

     

     

  4. thing is, which might be why the data still gets inserted in that the addeal page submits info to another script page, and THAT script page sends the code. so im applying the code to the second page, that actually send the data, not to the addeal page itself

     

    addeal:

    <form method="post" action="adddealscript.php">
    <input type="text" name="ref" size="30" />
    <input type="submit" value="Add Deal!" />

     

    adddealscript:

    $ref = trim(strip_tags(mysql_real_escape_string(htmlspecialchars($_POST['ref']))));
    if(!empty($ref)) { 
    sql INSSERT
    }else { //error
    }?>

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.