[KVE-2022-0175] 그누보드 sql 취약점 수정

This commit is contained in:
thisgun
2022-06-23 14:29:14 +09:00
parent 2366e8ebfb
commit 929183b3e3
9 changed files with 39 additions and 11 deletions

View File

@ -83,11 +83,13 @@ function delete_confirm2(msg)
function get_ajax_token()
{
var token = "";
var token = "",
admin_csrf_token_key = (typeof g5_admin_csrf_token_key !== "undefined") ? g5_admin_csrf_token_key : "";
$.ajax({
type: "POST",
url: g5_admin_url+"/ajax.token.php",
data : {admin_csrf_token_key:admin_csrf_token_key},
cache: false,
async: false,
dataType: "json",