lewisclark / glua-steal

Retrieves client-sided Lua files from Garry's Mod game servers
GNU General Public License v3.0
154 stars 15 forks source link

Question #46

Closed BazZziliuS closed 1 year ago

BazZziliuS commented 1 year ago

Can I cancel this or that code that is being executed on me? For example, screengrab or crash attempt

Something like that

    if b:find("while true do end") then
        return
    end
lewisclark commented 1 year ago

Yep.

if gluasteal.SOURCE:find("while true do end") then
    return false
end
BazZziliuS commented 1 year ago

Yep.

if gluasteal.SOURCE:find("while true do end") then
    return false
end

Even without a hook?

lewisclark commented 1 year ago

Yep.

if gluasteal.SOURCE:find("while true do end") then
    return false
end

Even without a hook?

You don't need a hook to prevent while true do end from being executed on the client. Bear in mind that this is not a good way to prevent this sort of thing, though.

You would need some form of hook to prevent screen captures.