Advertisement
Meliodas0_0

Exploit Functions Printing

Sep 11th, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. print 'Loading...';
  2.  
  3. local foreach = function(t, e)
  4.  
  5. if type(t) == 'table' and type(e) == 'function' then
  6.  
  7. for i, v in next, t do
  8.  
  9. pcall(e, i, v);
  10.  
  11. end;
  12.  
  13. end;
  14.  
  15. end;
  16.  
  17.  
  18.  
  19. local pvar = function(k, v)
  20.  
  21. print(type(v) .. ' - ' .. tostring(k));
  22.  
  23. end;
  24.  
  25.  
  26.  
  27. print 'table - debug';
  28.  
  29. foreach(debug, pvar);
  30.  
  31.  
  32.  
  33. print 'table - os';
  34.  
  35. foreach(os, pvar);
  36.  
  37.  
  38.  
  39. print 'table - custom functions';
  40.  
  41. local custom_functions = {}
  42.  
  43. custom_functions['setreadonly'] = setreadonly;
  44.  
  45. custom_functions['getrawmetatable'] = getrawmetatable;
  46.  
  47. custom_functions['setclipboard'] = setclipboard;
  48.  
  49. custom_functions['getclipboard'] = getclipboard;
  50.  
  51.  
  52.  
  53. foreach(custom_functions, pvar);
  54.  
  55.  
  56.  
  57. print 'printing opinions...';
  58.  
  59. if type(os) ~= 'table' then
  60.  
  61. print'This exploit is ass don\'t use it.';
  62.  
  63. else
  64.  
  65. print'Epic Exploit you should rate it a 10/10!';
  66.  
  67. end;
  68.  
  69.  
  70.  
  71. print'Done.'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement