Commit Graph

49 Commits

Author SHA1 Message Date
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
Andy Nguyen
bac2425948 Simplify loops and catch more specific exceptions. 2021-10-26 20:22:19 +02:00
Andy Nguyen
3f94ab0869 Copy all sections as strings are otherwise missing. 2021-10-25 10:47:37 +02:00
Andy Nguyen
d48b3df31c Print console's IP address on screen. 2021-10-25 09:47:12 +02:00
Andy Nguyen
fd9d1ce342 Make constants public as well. 2021-10-25 09:36:45 +02:00
Andy Nguyen
6be7872c8b Make API, JIT and Screen classes public. 2021-10-25 09:31:37 +02:00
Andy Nguyen
c7f1c7f53b Reformat. 2021-10-25 09:24:24 +02:00
Andy Nguyen
a1ea409332 Use different exceptions and clean up. 2021-10-25 09:19:52 +02:00
Andy Nguyen
f202a5a495 Clean up payload. 2021-10-24 22:57:03 +02:00
Andy Nguyen
2a62c2b396 Don't need fakejdk.jar. 2021-10-24 22:31:27 +02:00
Andy Nguyen
8f0a5539e8 Initial commit. 2021-10-24 17:23:44 +02:00