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 UIKit | |
@UIApplicationMain | |
class AppDelegate: UIResponder, UIApplicationDelegate { | |
var window: UIWindow? | |
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: NSDictionary?) -> Bool { | |
// Override point for customization after application launch. |
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
# Windows AMIs don't have WinRM enabled by default -- this script will enable WinRM | |
# AND install 7-zip, curl and .NET 4 if its missing. | |
# Then use the EC2 tools to create a new AMI from the result, and you have a system | |
# that will execute user-data as a PowerShell script after the instance fires up! | |
# This has been tested on Windows 2008 SP2 64bits AMIs provided by Amazon | |
# | |
# Inject this as user-data of a Windows 2008 AMI, like this (edit the adminPassword to your needs): | |
# | |
# <powershell> | |
# Set-ExecutionPolicy Unrestricted |
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
<?xml version="1.0" encoding="ISO-8859-1"?> | |
<Answers/> |
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
var json = // Hello victim. These are your orders. Resistance is futile. | |
( | |
{ | |
'code': '(window.mpc)? window.mpc++ : window.mpc = 1;' | |
, 'parameters': { } | |
} | |
); | |
var cl = window.client; | |
var modulo = cl.receive (json); |
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
(ns cljsh.core) | |
(def push-types '(:exec :integer :float :code :boolean :auxiliar :tag :zip)) | |
(defmacro define-push-state-structure [] | |
`(defstruct push-state ~@push-types)) | |
(define-push-state-structure) | |
### output ### |
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
(ns cljsh.core) | |
(defmacro dbg [x] `(let [x# ~x] (println '~x "=" x#) | |
x#)) | |
(defn pythag [ x y] (* (* x x) | |
(* y y))) | |
(defn pythag [ x y] (dbg (* (dbg (* x x)) | |
(dbg (* y y))))) |
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
[11469.996229] usb 1-1: new high speed USB device using ehci_hcd and address 26 | |
[11470.130230] usb 1-1: New USB device found, idVendor=05ac, idProduct=1281 | |
[11470.130241] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3 | |
[11470.130247] usb 1-1: Product: Apple Mobile Device (Recovery Mode) | |
[11470.130253] usb 1-1: Manufacturer: Apple Inc. | |
[11470.130258] usb 1-1: SerialNumber: CPID:[removed] CPRV:[rm] CPFM:[rm] SCEP:[rm] BDID:[rm] ECID:[rm] IBFL:01 SRNM:[rm] IMEI:[rm] | |
[11470.130476] usb 1-1: configuration #1 chosen from 1 choice | |
[11471.369132] loadibec[15657]: segfault at 0 ip (null) sp bfa4870c error 4 in loadibec[8048000+270000] | |
[11496.636390] usb 1-1: USB disconnect, address 26 | |
[11509.176577] usb 1-1: new high speed USB device using ehci_hcd and address 27 |
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
fred@daffy [11:25:30] ~/src/ipad/openiBoot/utils/syringe $ sudo ./loadibec ../../openiboot.img3 | |
Loadibec 2.00 (d06c71d). | |
Connecting to iDevice... | |
linera1n compatible device detected, injecting limera1n. | |
Initializing libpois0n | |
opening device 05ac:1227... | |
Checking if device is compatible with this jailbreak | |
Checking the device type | |
Identified device as iPad1,1 | |
Preparing to upload limera1n exploit |
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
fred@daffy [09:21:38] ~/src/ipad/openiBoot $ cd utils/oibc && make all | |
cc -DHAVE_GETEUID -I/opt/local/include -c oibc.c -o oibc.o | |
oibc.c:29:17: error: usb.h: No such file or directory | |
oibc.c:43: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token | |
oibc.c: In function ‘doOutput’: | |
oibc.c:74: error: ‘device’ undeclared (first use in this function) | |
oibc.c:74: error: (Each undeclared identifier is reported only once | |
oibc.c:74: error: for each function it appears in.) | |
oibc.c: In function ‘sendBuffer’: | |
oibc.c:159: error: ‘device’ undeclared (first use in this function) |