• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Security Quiz

Oceanic

Php / C++ / MySQL
Joined
May 7, 2008
Messages
241
Reaction score
1
Location
localhost?
Ok, this game is easy.
I start writing a question about computer security, if some one can answere it with a correct motivaion they write a new. The first that make 10 correct answere win.

Here is my first question:
You want to lagg a email site down (you want to send as many e-mail as possebile).
You know that the site use this scipt:
PHP:
<?
if(isset($_GET["numbers_of_mail) && !empty($_GET["numbers_of_mail)){
	for($loop = 0; $loop != $_GET["numbers_of_mail"]; $loop++){
	mail('[email protected]', 'Spam Message', "Hello");
	}
}
?>

What can you do to crash the site?
 
Your script is broken =) (missing quotes)
;;
Code:
echo "GET /scriptplzz.php?numbers_of_mail=-1\n\rHost: noobsite.com\n\r\n\r" | nc noobsite.com 80
Hooray infinite loop!

;-;

Here's a classic one:
Code:
$query = "SELECT `password` FROM `students` WHERE `username` = '{$_GET['logon']}'";
$result = mysql_query($link, $query);

Russian Mafia will give you jonnyland if you nuke ``students'' table ;-)
 
Your script is broken =) (missing quotes)
;;
Code:
echo "GET /scriptplzz.php?numbers_of_mail=-1\n\rHost: noobsite.com\n\r\n\r" | nc noobsite.com 80
Hooray infinite loop!

;-;

Here's a classic one:
Code:
$query = "SELECT `password` FROM `students` WHERE `username` = '{$_GET['logon']}'";
$result = mysql_query($link, $query);

Russian Mafia will give you jonnyland if you nuke ``students'' table ;-)

Ooops was tierd when i wrote it:huh:
It is correct all >0 make a infinitive loop :thumbup:
 
Not sure if this is enough for you (i'm no expert :p)

Korn'; DROP TABLE `students`;
 
Not sure if this is enough for you (i'm no expert :p)

Korn'; DROP TABLE `students`;

HOORAH A POINT (sorry, no jonnyland)! If I had more than one where clause you would use ;-- after evul command, so it would ignore the other where clauses ;)

Ooops was tierd when i wrote it:huh:
It is correct all >0 make a infinitive loop :thumbup:

No, everything <0 ;)!
 
Last edited by a moderator:
Back
Top