Codebase list phpggc / 30764c1f-a285-4f83-95c9-bb6dc5bcaa7b/main lib / PHPGGC / GadgetChain / SqlInjection.php
30764c1f-a285-4f83-95c9-bb6dc5bcaa7b/main

Tree @30764c1f-a285-4f83-95c9-bb6dc5bcaa7b/main (Download .tar.gz)

SqlInjection.php @30764c1f-a285-4f83-95c9-bb6dc5bcaa7b/mainraw · history · blame

<?php

namespace PHPGGC\GadgetChain;

abstract class SqlInjection extends \PHPGGC\GadgetChain
{
    public static $type = self::TYPE_SQLI;
    public static $parameters = [
        'sql'
    ];

    public function test_setup()
    {
        throw new \PHPGGC\Exception("SQL injection payloads cannot be tested.");
    }

    public function test_confirm($arguments, $output)
    {
        return false;
    }
}