Skip to content
Permalink
Browse files Browse the repository at this point in the history
AuraCMS
Update Vulnerability SQL Injection in content.php
  • Loading branch information
auracms committed Jan 14, 2014
1 parent 28cf576 commit 790f66f
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 1 deletion.
Binary file removed images/header/1378798712-ban1.png
Binary file not shown.
Binary file removed images/header/1378799316-ban2.png
Binary file not shown.
Binary file removed images/header/1378799702-ban3.png
Binary file not shown.
Binary file removed images/header/1378799866-ban5.png
Binary file not shown.
Binary file removed images/header/1378801253-ban6.png
Binary file not shown.
2 changes: 1 addition & 1 deletion mod/content/content.php
Expand Up @@ -88,7 +88,7 @@
<h2>Pencarian Berita</h2>
<div class="border" style="text-align:center;"><img src="mod/content/images/banner_searching_data.gif" alt="Searching Data" /></div>';

$search = !isset($_GET['search']) ? cleanText($_POST['search']) : cleanText($_GET['search']);
$search = !isset($_GET['search']) ? mysqli_real_escape_string(cleanText($_POST['search'])) : mysqli_real_escape_string(cleanText($_GET['search']));

if(!$search){
$tengah .= '<div class="error">Maaf Anda Belum Memasukkan Kata Pencarian</div>';
Expand Down

0 comments on commit 790f66f

Please sign in to comment.