Giter Site home page Giter Site logo

cblogger's Introduction

CBLogger

iOS CoreBluetooth API logger jailbreak tweak

In my desire to hack the Jawbone Up24 to make it vibrate based on certain external events, I needed a way to understand the protocol the iOS app uses. While the Bluetooth LE security is completely broken, I didn't want to have to buy one of these ubertooth device.

Instead I opted to write a jailbreak tweak that would log every iOS CoreBluetooth calls made by the app and see if I could reverse engineer it. And before you know it, I could see everything:

Jul 11 09:44:35 Superfly Nudge[1276] <Warning>:  = <CBPeripheral: 0x15e159c0 identifier = XXXX-REDACTED-XXXX, Name = "UP24", state = connected>
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> handleCharacteristicValueUpdated:{
	    kCBMsgArgCharacteristicHandle = 14;
	    kCBMsgArgData = <200f1ff3 bd8828f8 b497094b 79b37841 1f9a>;
	    kCBMsgArgDeviceUUID = "<__NSConcreteUUID 0x17057e40> XXXX-REDACTED-XXXX";
	    kCBMsgArgResult = 0;
	}]
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> handleCharacteristicEvent:{
	    kCBMsgArgCharacteristicHandle = 14;
	    kCBMsgArgData = <200f1ff3 bd8828f8 b497094b 79b37841 1f9a>;
	    kCBMsgArgDeviceUUID = "<__NSConcreteUUID 0x17057e40> XXXX-REDACTED-XXXX";
	    kCBMsgArgResult = 0;
	} characteristicSelector:handleValueUpdated: delegateSelector:peripheral:didUpdateValueForCharacteristic:error:]
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> handleAttributeEvent:14 args:{
	    kCBMsgArgCharacteristicHandle = 14;
	    kCBMsgArgData = <200f1ff3 bd8828f8 b497094b 79b37841 1f9a>;
	    kCBMsgArgDeviceUUID = "<__NSConcreteUUID 0x17057e40> XXXX-REDACTED-XXXX";
	    kCBMsgArgResult = 0;
	} attributeSelector:handleValueUpdated: delegateSelector:peripheral:didUpdateValueForCharacteristic:error:]
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> attributeForHandle:14]
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>:  = <CBCharacteristic: 0x15f1fce0>
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> isConnected]
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>:  = 1
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> isConnected]
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>:  = 1
Jul 11 09:44:35 Superfly Nudge[1276] <Warning>: -[<CBPeripheral: 0x15e159c0> writeValue:<73201310 051f8e89 2aecd1ae 1bf09b06 b80e8b> forCharacteristic:<CBCharacteristic: 0x15e829e0> type:0]

cblogger's People

Contributors

c0diq avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.