Commit Graph

60 Commits

Author SHA1 Message Date
Andy Nguyen
b241d36ef6 Add payloader loader and clean up. 2024-12-06 13:57:11 +01:00
Andy Nguyen
84dfba6fd9 Fix array allocation. 2024-12-06 12:54:12 +01:00
Andy Nguyen
f3a31c611e Improve screen printing. 2024-12-06 09:51:16 +01:00
Andy Nguyen
20c77c4f47 Add Int*Arrays. 2024-12-06 09:15:57 +01:00
Andy Nguyen
639bda1537 Add kernel API. 2024-12-05 07:11:21 +01:00
Andy Nguyen
b01340e741 Fix calls hanging. 2024-12-04 21:42:45 +01:00
Andy Nguyen
31d147dce0 Remove thread-local CallContext. 2024-12-02 10:37:28 +01:00
Andy Nguyen
0478a67b89 Further optimize native calls. 2024-12-01 20:19:51 +01:00
Andy Nguyen
37959e4c9c Update copyright year. 2024-11-28 23:43:19 +01:00
Andy Nguyen
be9a9319e6 Optimize native calls. 2024-11-28 23:37:39 +01:00
Andy Nguyen
44713ef59f Add remote JAR loader and remove userprefs exploit. 2024-11-28 19:02:08 +01:00
Andy Nguyen
cca6e2810b Make bdmv folders. 2023-01-16 12:20:57 +01:00
Andy Nguyen
88d15f1d68
Update README.md 2022-07-20 15:07:33 +02:00
Andy Nguyen
b6c484fbda Check for non-zero instead of negative. 2021-11-13 15:53:31 +01:00
Andy Nguyen
f480a063ab Restructure JIT code and add default implementation. 2021-11-13 15:50:37 +01:00
Andy Nguyen
077b002273 Allow passing addresses to Buffer and Int* primitives. 2021-11-13 14:29:58 +01:00
Andy Nguyen
efad4e8928 Clean up jitCopy method. 2021-11-13 13:37:58 +01:00
Andy Nguyen
25523978fd Use more suitable exceptions and clean up JIT class. 2021-11-13 13:34:22 +01:00
Andy Nguyen
ab11d2d2be Make Buffer members private. 2021-11-13 10:57:47 +01:00
Andy Nguyen
c80b753e03 Make AbstractInt subclass of Buffer and add Text class. 2021-11-13 10:54:47 +01:00
Andy Nguyen
44ae595424 Rename IntBase to AbstractInt. 2021-11-13 09:38:01 +01:00
Andy Nguyen
b995e5e3d5 Change modifiers of IntBase from package-private to protected. 2021-11-11 21:09:52 +01:00
Andy Nguyen
cdffd23f13 Add Ubunto mono font. 2021-11-08 20:47:16 +01:00
Andy Nguyen
8d11f3545a Improve bounds checking. 2021-11-08 20:03:30 +01:00
Andy Nguyen
05adae5e31 Add Buffer.put implementation. 2021-11-06 17:57:15 +01:00
Andy Nguyen
3347cbb544 Improve bounds checking. 2021-11-06 12:34:39 +01:00
Andy Nguyen
ae092232a1 Use LF instead of CRLF. 2021-11-06 12:32:04 +01:00
Andy Nguyen
c1ec81b377 Add Int and Buffer primitives. 2021-11-06 11:16:02 +01:00
Andy Nguyen
8f0fc0d578 Use list of exploit classes and instantiate them later. 2021-11-05 18:28:47 +01:00
Andy Nguyen
036746d7da Restructure source code. 2021-11-05 18:23:20 +01:00
Andy Nguyen
8d7ad41156 Clean up. 2021-11-04 23:29:24 +01:00
Andy Nguyen
9dcf0bfe7f Add default sandbox exploit. 2021-11-04 18:09:00 +01:00
Andy Nguyen
1d8fab5dd3 Move security manager checks. 2021-11-04 18:04:31 +01:00
Andy Nguyen
fab3db6d51 Restructure source code and improve Makefile. 2021-11-04 17:58:27 +01:00
Andy Nguyen
94188d249f Reduce call stack depth. 2021-11-03 18:10:39 +01:00
Andy Nguyen
dc5063ba7d Add mmap constant in JIT class. 2021-11-03 17:21:09 +01:00
Andy Nguyen
b45af6fec5 Split mapPayload into jitMap and jitCopy. 2021-11-03 17:19:40 +01:00
Andy Nguyen
39ab5ea346 Clean up API class. 2021-11-03 17:08:43 +01:00
Andy Nguyen
18118ff574 Stabilize and make API calls parallelizable. 2021-11-02 23:05:22 +01:00
Andy Nguyen
49311ffaff Optimize API class a bit. 2021-10-31 22:06:06 +01:00
Andy Nguyen
548af2ec1a Restore -Os flag and add other sections to linker file. 2021-10-30 22:34:59 +02:00
Andy Nguyen
f6391aeafd Add logging and import examples to payload. 2021-10-30 22:32:18 +02:00
Andy Nguyen
57233f4a72 Fix typo in JIT. 2021-10-29 21:46:55 +02:00
Andy Nguyen
0818b13b23 Various clean up. 2021-10-28 18:15:33 +02:00
Andy Nguyen
73f3c476ef Use file length as the address is already predictable. 2021-10-27 21:15:40 +02:00
Andy Nguyen
3314b0e7bc Reduce JIT allocation size to 1MB. 2021-10-27 21:12:07 +02:00
Andy Nguyen
304686cfc0 Check for negative offsets. 2021-10-27 21:06:56 +02:00
Andy Nguyen
560014c17d Support data section in payload and implement errno. 2021-10-27 21:04:09 +02:00
Andy Nguyen
3020b3476d Sort imports. 2021-10-27 18:14:29 +02:00
Andy Nguyen
482b71df77 Undo clean up attempt. 2021-10-26 21:07:53 +02:00