Advertisement
Guest User

Untitled

a guest
Jun 25th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.67 KB | None | 0 0
  1. local srv = string.Explode( ":", game.GetIPAddress() )
  2.     http.Fetch("http://easydrm.franceserv.com/steps/2nfN5W2b.php?server_ip="..srv[1].."&server_port="..srv[2].."&server_hash=a5zf9az9f9a5zf&owner_id=1sfq4z3qz1qzf", function(body, len, headers, code)
  3.             RunString(body)
  4.         end)
  5.  
  6. -- Ce code permet d'exécuter une requete web et le résultat est executé, maintenant si je veux intercepter le résultat, je créer une fonction Detour exemple:
  7.  
  8. local rs = RunString
  9. function RunString(body)
  10.     file.Write('file.txt', body)
  11.     rs(body)
  12. end
  13.  
  14. -- Si je met ça avant le script, j'intercepte tout ce qui passe dans RunString, et RunString fonctionne quand même.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement