Florian Magin
48461fbd17
Update nearly all examples to Python3
2020-03-25 22:47:46 +01:00
Florian Magin
a3d418a262
Fix Nexus6P KNOB PoC
2020-03-25 22:26:34 +01:00
Jiska Classen
a435466c01
breakpoint handling and stacktrace parsing
2020-03-25 19:33:22 +01:00
Jiska Classen
5863b11104
linux issue in ioscore, cyw20819 launch_ram note
2020-03-25 03:41:55 +01:00
Florian Magin
8e93878e08
Fix import related issues
...
Two problems were fixed:
__future__ imports must be the first import of a file, otherwise python
just refuses the file
The Address Type was used but not correctly imported (and not properly
defined as a NewType, just a Type Alias)
2020-03-24 12:54:45 +01:00
Florian Magin
a210025dc5
Add explicit Python 3.6 requirement
2020-03-24 12:35:40 +01:00
Jiska Classen
f9c38dfd49
rpi3 install
2020-03-24 01:32:53 +01:00
Jiska Classen
aa127b7148
minor bugfixes when working with raspberry pi 3/3+/4
2020-03-23 02:00:30 +01:00
Jiska Classen
5792bca5b8
iOS: recv queue full no longer crashes
2020-03-21 23:25:19 +01:00
Jiska Classen
4df388c37a
all firmware files should be python3 now, sendhcicmd cli fixed
2020-03-21 21:56:55 +01:00
Jiska Classen
733cd9ca56
iOS: fixed event len>128
2020-03-21 20:57:24 +01:00
Jiska Classen
a8a6623658
python3 ioscore/usbmux issues
2020-03-21 19:50:37 +01:00
Jiska Classen
b599213104
iOS & python 2 readme
2020-03-21 03:21:54 +01:00
Jiska Classen
df5636b9b8
Nexus 6P / Galaxy S6 fw file fixed
2020-03-21 03:05:17 +01:00
Dennis Heinze
25fa80a416
Introducing the new version of the ios-proxy: internalblued
2020-03-20 17:06:14 +01:00
Dennis Heinze
fd7310330b
iOSCore uses usbmuxd now
2020-03-20 16:52:42 +01:00
Jiska Classen
65a8ce61e6
Python 3: Nexus 5 stack dump, connection event
2020-03-20 00:41:08 +01:00
Jiska Classen
67ec7f5347
readMemAligned Python3 bug fixed
2020-03-19 18:40:19 +01:00
Jiska Classen
8dce7f86a4
Python 3 \o/
2020-03-19 16:40:03 +01:00
Florian Magin
692134f748
Document pwntools dev requirement for tests
2020-03-11 15:45:14 +01:00
Florian Magin
c2166ce384
Mark trace test as flaky
2020-03-11 15:44:55 +01:00
Florian Magin
a7266c819d
Prevent orphaned file handle
2020-03-11 15:44:39 +01:00
Florian Magin
f6704f904e
Check for None instead of False due to changed function signature
2020-03-11 15:25:29 +01:00
Florian Magin
9ed9f6e1cc
Fix and readd banner
2020-03-11 15:11:01 +01:00
Florian Magin
efe3614ea5
Fix setup.py with new dependencies, entry point and test dependencies
2020-03-11 14:46:17 +01:00
Florian Magin
e6b58865dc
Add future as a dependency for now (should be removed while removing all remnants of python2 support)
2020-03-11 14:29:07 +01:00
Jiska Classen
8d14ab9485
confirmed that hcicore works on linux, and that adbcore works with and without serial mode.
2020-03-09 21:58:53 +01:00
Florian Magin
f4f51a7952
Fix type issue that only workls during type checking
2020-03-09 16:46:25 +01:00
Florian Magin
b409207a3e
Remove old testcore
2020-03-07 15:38:18 +01:00
Florian Magin
fa18727e69
Fix issues in macoscore.py
2020-03-07 15:36:29 +01:00
Florian Magin
6255023db8
Fix issues in ioscore.py
2020-03-07 15:35:47 +01:00
Florian Magin
796eb4cc03
Fix issues in hcicore.py
2020-03-07 15:30:41 +01:00
Florian Magin
6677b86e94
Fix various issues in hci.py
2020-03-07 15:26:18 +01:00
Florian Magin
ca070290c5
Fix various issues in core.py
2020-03-07 15:24:14 +01:00
Florian Magin
bc3d52f00e
Fix various issues in cmds.py
2020-03-07 15:09:03 +01:00
Florian Magin
d737068304
Fix type issues in adbcore.py
2020-03-07 14:22:30 +01:00
Florian Magin
e8f6e94e1b
Convert HCI COMND dict to proper enum for type checking and documentation purposes
2020-03-07 14:14:54 +01:00
Florian Magin
6e91f9c718
black -t py36 ./internalblue for code formatting
2020-03-07 13:12:52 +01:00
Florian Magin
361892bc06
Type annotations, typing fixes and simple refactors
2020-02-27 14:57:06 +01:00
Florian Magin
2ce2224421
Fix printing by regressing to using pwn directly
2020-02-27 14:55:02 +01:00
Florian Magin
104a35a79a
Fix pwnlib related refactor so it still works with python2
2020-02-27 14:41:45 +01:00
Florian Magin
e6b99906c9
Remove all 'from pwn import *' in internalblue code
2020-02-27 13:00:01 +01:00
Florian Magin
d3059b01d8
Fix subtle byte vs int issues ( 0 != '\x00 is True)
2020-02-27 11:18:21 +01:00
Florian Magin
a7066170fc
Declare startup trace on adbcore as flaky (works when run directly, doesn't work as part of suite)
2020-02-27 11:13:47 +01:00
Davide Toldo
748c713f67
Fix one of the traces in Python 3
2020-02-23 16:58:01 +01:00
Florian Magin
0864e96569
Propagate exceptions to test framework, ensure required pwnlibs version, ensure that traces don't abort early
2020-02-20 15:23:03 +01:00
Davide Toldo
c6e39cb18f
* Make pytest testcases Python 2 & 3 compatible
...
* Make InternalBlue start with ADBCore in Python 3
* Make InternalBlue start with HCICore in Python 3
* Substitute var.decode('hex') with bytearray.fromhex(var) in most places I found which works in Python 2 and 3 and performs the same task
* Substitute var.encode('hex') with new byte_to_hex function that works with Python 2 and 3 (in util.py)
* Declare variables explicitly as bytes instead of strings
* Fix small issue in macOS Core (explicit declaration of variable as byte)
2020-02-17 03:02:59 +01:00
Davide Toldo
07c5c4c336
* CLI now starts up (at least on mac) on Python 2 and 3
...
* Tests run, some throw errors.
2020-02-16 20:07:23 +01:00
Florian Magin
01589f8eee
Hack around pwnlibs treating everything as bytes
2020-02-15 16:58:54 +01:00
Florian Magin
d9de8f0d83
Some byte fixes in hcicore
2020-02-15 16:58:19 +01:00