This file contains hidden or 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 hidden or 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 hidden or 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" |
This file contains hidden or 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
mkdir AppIcon.iconset | |
sips -z 16 16 appicon.png --out AppIcon.iconset/icon_16x16.png | |
sips -z 32 32 appicon.png --out AppIcon.iconset/[email protected] | |
sips -z 32 32 appicon.png --out AppIcon.iconset/icon_32x32.png | |
sips -z 64 64 appicon.png --out AppIcon.iconset/[email protected] | |
sips -z 128 128 appicon.png --out AppIcon.iconset/icon_128x128.png | |
sips -z 256 256 appicon.png --out AppIcon.iconset/[email protected] | |
sips -z 256 256 appicon.png --out AppIcon.iconset/icon_256x256.png | |
sips -z 512 512 appicon.png --out AppIcon.iconset/[email protected] | |
sips -z 512 512 appicon.png --out AppIcon.iconset/icon_512x512.png |