Created
April 4, 2018 05:47
-
-
Save zspitzer/cc574e1b8599a2290e87520124de8f29 to your computer and use it in GitHub Desktop.
remote ios debugging port scanner
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
<title> remote ios debugging port scanner </title> | |
<h1> remote ios debugging port scanner </h1> | |
<cfscript> | |
ports = [9000]; | |
for (i= 9220; i < 9230; i++) | |
ports.append(i); | |
for (port in ports){ | |
writeOutput("port #port#"); | |
http url = "http://127.0.0.1:" & port & "/json" timeout=1; | |
switch (cfhttp.status_code){ | |
case 200: | |
dump(deserializeJson(cfhttp.filecontent)); | |
break; | |
case 408: | |
writeOutput(" timeout"); | |
break; | |
default: | |
dump(cfhttp); | |
} | |
writeOutput("<hr>"); | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
good for checking what's listening when using https://github.com/RemoteDebug/remotedebug-ios-webkit-adapter