NukeVsCity

Untitled

May 17th, 2023
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.39 KB | None | 0 0
  1. rconsoleprint("@@GREEN@@")
  2. rconsoleprint("          <----------------->          \n")
  3. rconsoleprint("                HTTP SPY             \n")
  4. rconsoleprint("          <----------------->          \n\n")
  5. rconsoleprint("@@WHITE@@")
  6.  
  7. local old;
  8. old = hookfunction(game.HttpGet, function(a,b,...)
  9.     rconsoleprint("   [-] Method: Http Get".." | Url: "..b.."\n")
  10.     return old(a,b,...)
  11. end)
  12. rconsoleprint("     [-] Applied http get hook\n")
  13.  
  14. local old;
  15. old = hookfunction(game.HttpGetAsync, function(a,b,...)
  16.     rconsoleprint("   [-] Method: Http Get Async".." | Url: "..b.."\n")
  17.     return old(a,b,...)
  18. end)
  19. rconsoleprint("     [-] Applied http get async hook\n")
  20.  
  21. local old;
  22. old = hookfunction(game.HttpPost, function(a,b,...)
  23.     rconsoleprint("   [-] Method: Http Post".." | Url: "..b.."\n")
  24.     return old(a,b,...)
  25. end)
  26. rconsoleprint("     [-] Applied http post hook\n")
  27.  
  28. local old;
  29. old = hookfunction(game.HttpPostAsync, function(a,b,...)
  30.     rconsoleprint("   [-] Method: Http Post Async".." | Url: "..b.."\n")
  31.     return old(a,b,...)
  32. end)
  33. rconsoleprint("     [-] Applied http post async hook\n")
  34.  
  35. if syn then
  36. local old = syn.request
  37. setreadonly(syn, false)
  38. syn.request = function(data)
  39.     rconsoleprint("   [-] Method: Syn Request".." | Url: "..data.Url.."\n")
  40.     return old(data)
  41. end setreadonly(syn, true) end
  42. rconsoleprint("     [-] Applied syn request hook\n\n")
Add Comment
Please, Sign In to add comment