最新版抖音查投诉运营源码
立即下载
资源介绍:
新版抖音查投诉源码
connect_error) {
die("连接失败: " . $conn->connect_error);
}
$stmt = $conn->prepare("SELECT is_used FROM card_keys WHERE card_key = ?");
$stmt->bind_param("s", $card_key);
$stmt->execute();
$stmt->bind_result($is_used);
if ($stmt->fetch()) {
if ($is_used == 0) {
$stmt->close();
$stmt = $conn->prepare("UPDATE card_keys SET is_used = 1 WHERE card_key = ?");
$stmt->bind_param("s", $card_key);
$stmt->execute();
$stmt->close();
function decrypt_file($encrypted_file_path, $key, $iv) {
$encrypted_content = file_get_contents($encrypted_file_path);
$decrypted_content = openssl_decrypt($encrypted_content, 'AES-128-CBC', $key, 0, $iv);
if ($decrypted_content === false) {
return false;
}
return $decrypted_content;
}
$key = '695805AFB741F1E5';
$iv = '1234567890123456';
$encrypted_file_path = '../app/process_encrypted.php';
$decrypted_content = decrypt_file($encrypted_file_path, $key, $iv);
if ($decrypted_content === false) {
echo json_encode(['error' => '生成错误。']);
exit();
}
$GLOBALS['dyidInput'] = $dyidInput;
eval('?>' . $decrypted_content);
exit();
} else {
$response['error'] = "卡密已被使用,请使用有效的卡密。";
}
} else {
$response['error'] = "无效的卡密,请输入有效的卡密。";
}
$stmt->close();
$conn->close();
} else {
$response['error'] = "请求方法错误。";
}
echo json_encode($response);
exit();
?>