mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-24 05:23:22 +01:00
[s] fail2topic vulnerability (#12499)
This commit is contained in:
@@ -58,6 +58,10 @@
|
||||
objs += d
|
||||
|
||||
//to_chat(usr, "Query: [query_text]")
|
||||
var/static/list/blacklist = list(/datum/configuration)
|
||||
for(var/datum/D in objs)
|
||||
if(blacklist[D.type])
|
||||
objs -= D
|
||||
message_admins("[usr] executed SDQL query: \"[query_text]\".")
|
||||
|
||||
switch(query_tree[1])
|
||||
|
||||
@@ -21,6 +21,10 @@
|
||||
if(!D)
|
||||
return
|
||||
|
||||
var/static/list/blacklist = list(/datum/configuration)
|
||||
if(blacklist[D.type])
|
||||
return
|
||||
|
||||
var/icon/sprite
|
||||
if(istype(D, /atom))
|
||||
var/atom/A = D
|
||||
|
||||
Reference in New Issue
Block a user