Skip to content

Commit 790f66f

Browse files
committed
AuraCMS
Update Vulnerability SQL Injection in content.php
1 parent 28cf576 commit 790f66f

File tree

6 files changed

+1
-1
lines changed

6 files changed

+1
-1
lines changed

Diff for: images/header/1378798712-ban1.png

-24.7 KB
Binary file not shown.

Diff for: images/header/1378799316-ban2.png

-58.5 KB
Binary file not shown.

Diff for: images/header/1378799702-ban3.png

-64.8 KB
Binary file not shown.

Diff for: images/header/1378799866-ban5.png

-46.4 KB
Binary file not shown.

Diff for: images/header/1378801253-ban6.png

-83.7 KB
Binary file not shown.

Diff for: mod/content/content.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@
8888
<h2>Pencarian Berita</h2>
8989
<div class="border" style="text-align:center;"><img src="mod/content/images/banner_searching_data.gif" alt="Searching Data" /></div>';
9090

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

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

0 commit comments

Comments
 (0)