Advertisement
Vzurxy

Exploit detection vectors

Nov 28th, 2019
1,723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.06 KB | None | 0 0
  1. -- NNode's/Cegs Exploit Detector
  2.  
  3. local Status = 0
  4.  
  5. local pcall = pcall
  6.  
  7. -- Synapse X Detector
  8.  
  9. function OuterFunction()
  10.     function InnerFunction()
  11.         warn("Synapse X")
  12.     end
  13. end
  14.  
  15. local proto
  16.  
  17. local success, error = pcall(function()
  18.     proto = debug.getproto(OuterFunction, 1)
  19.     print(syn.crypt.hash("data"))
  20. end)
  21.  
  22. if success then
  23.  Status = 1
  24. end
  25.  
  26. -- ProtoSmasher detector
  27.  
  28. local pfunc
  29.  
  30. local success, error = pcall(function()
  31.     pfunc = protect_function(function()
  32.       warn("Proto Smasher")
  33.     end)
  34.     print(get_nil_instances())
  35. end)
  36.  
  37. if success and type(pfunc) == "function" then
  38.  Status = 2
  39. end
  40.  
  41. -- SirHurt Detector
  42.  
  43. local hstring
  44. local success, error = pcall(function()
  45.     hstring = LUAPROTECT("warn(\"Sir Hurt\")")
  46. end)
  47.  
  48. if type(hstring) == "string" then
  49.  Status = 3
  50. end
  51.  
  52. -- Axon Detector
  53.  
  54. local Data = print(type(CreateConsole))
  55.  
  56. if Data == "function" then
  57.  Status = 4
  58. end
  59.  
  60. local Meta
  61. local Unlock = setreadonly or make_writeable
  62.  
  63. local success, error = pcall(function()
  64.     Meta = getrawmetatable(game)
  65.     Unlock(Meta, false)
  66.     Unlock(Meta, true)
  67. end)
  68.  
  69. if type(Meta) ~= "table" then
  70.  Status = 4
  71. end
  72.  
  73. local SecondMeta
  74.  
  75. local success, error = pcall(function()
  76.  
  77. local Table = setmetatable({}, {
  78.  __metatable = "Axon"
  79. })
  80. SecondMeta = getrawmetatable(Table)
  81. end)
  82.  
  83. if type(SecondMeta) == "string" then
  84.    Status = 4
  85. end
  86.  
  87. if type(setrawmetatable) == "nil" then
  88.    Status = 4
  89. end
  90.  
  91. -- Elysian Detector
  92.  
  93. if type(secret953) == "function" and type(secret500) == "function" then
  94.    Status = 5
  95. end
  96.  
  97. -- Calamari Detector
  98.  
  99. if type(error2) == "function" and type(serialize) == "function" then
  100.    Status = 6
  101. end
  102.  
  103. local Exploit
  104.  
  105. if Status == 1 then
  106.     Exploit = "Synapse X"
  107. elseif Status == 2 then
  108.     Exploit = "ProtoSmasher"
  109. elseif Status == 3 then
  110.     Exploit = "SirHurt"
  111. elseif Status == 4 then
  112.     Exploit = "Axon"
  113. elseif Status == 5 then
  114.     Exploit = "Elysian"
  115. elseif Status == 6 then
  116.     Exploit = "Calamari"
  117. else
  118.     Exploit = "Unknown"
  119. end
  120.  
  121. warn("The exploit you have is: "..Exploit)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement