Fixnuta drobna bezpecnostni nedoladenost
authorThomas Mudrunka <tomas@mudrunka.cz>
Sat, 27 Aug 2011 02:14:00 +0000 (04:14 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Sat, 27 Aug 2011 02:14:00 +0000 (04:14 +0200)
dump_sql.php

index efa005dca0f9a46d3abc6761738cc89c112d8565..b472cca36183ead60e5faae5e0d714ca4e36bbd0 100755 (executable)
@@ -1,4 +1,5 @@
 #!/usr/bin/php
 <?php
+if(isset($_SERVER['REQUEST_METHOD'])) die('Not for you');
 require_once('sklad.conf.php');
 system('mysqldump -u'.DB_USER.' -p'.DB_PASS.' '.DB_NAME);
This page took 0.090465 seconds and 4 git commands to generate.