Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getgenv().request = function(options)
- if shared.antilogger and urlblockcheck(options.Url) then
- warn("[ StealthKill.GG ]: A script tried to get your IP; URL: ", options.Url)
- return protectedr
- end
- if options.Headers then
- options.Headers["User-Agent"] = "Stealkill"
- else
- options.Headers = {["User-Agent"] = "Stealkill"}
- end
- local response = oldr(options)
- if shared.httpspy then
- local body = options.Body or ""
- print("[ HTTPSPY ]:\nUrl: " .. options.Url ..
- "\nMethod: " .. options.Method ..
- "\nBody: " .. body ..
- "\nHeaders: " .. tostring(game:GetService("HttpService"):JSONEncode(options.Headers))
- )
- end
- if shared.antilogger and response and urlblockcheck(options.Url) then
- response.Body = protectedr.Body
- end
- if shared.httpspy then
- print("[ HTTPSPY X2 ]: Response:\nStatusCode: " .. tostring(response.StatusCode) ..
- "\nStatusMessage: " .. tostring(response.StatusMessage) ..
- "\nSuccess: " .. tostring(response.Success) ..
- "\nBody: " .. tostring(response.Body) ..
- "\nHeaders: " .. tostring(game:GetService("HttpService"):JSONEncode(response.Headers)) ..
- "-\n\n"
- )
- end
- return response
- end
Advertisement
Add Comment
Please, Sign In to add comment