Commit Graph
1019 Commits
Author SHA1 Message Date
Mike Auty 3d7dc1fb21 Add more debugging for plugin paths. 2018-10-31 00:03:39 +00:00
Mike Auty e3e1c4e00b Initial commit of pyinstaller spec. Some changes to path handling to help. 2018-10-30 23:56:34 +00:00
Mike Auty 241b7475fb Add in an initial implementation of the metadata system (extremely liable to change). 2018-10-30 15:01:31 +00:00
Mike Auty f76aa66805 Reduce the risk of scanning the entire virtual address space, given we've already found potential kernels. 2018-10-26 22:39:36 +01:00
Mike Auty e9bad27793 Add in kdbg_offset method for pdbscan, and make the module_offset the third choice. 2018-10-26 22:28:09 +01:00
Mike Auty 68a4bbf26c Modularize pdb finding code. 2018-10-26 00:47:01 +01:00
Mike Auty 03023e45eb Add in schema version 6. 2018-10-24 22:45:16 +01:00
Mike Auty e6711f580d Add required poolheader types and change the PoolHeaderSymbolTable to match the inheritted constructor signature. 2018-10-24 19:31:22 +01:00
Mike Auty d799d4edd8 Add additional typing information. 2018-10-11 16:41:59 +01:00
Mike Auty 2288f54a44 Raise exception instead of returning None. 2018-10-11 14:26:37 +01:00
Mike Auty f1c5b3ca29 Improve the typing in places. 2018-10-11 11:14:29 +01:00
Mike Auty 21384be035 Remove the confusing max/min address values in scan chunk (the iterator should only pass chunks that need scanning). 2018-10-11 11:14:07 +01:00
Mike Auty d829028a36 Apply various type annotation/bug fixes. 2018-10-05 00:16:42 +01:00
Mike Auty 9c101aee91 Ensure pointers are masked based on their native_layer not their instantiated layer. 2018-10-04 02:44:26 +01:00
Mike Auty f044569613 Fix up catching the wrong exception type (and the lack of context). 2018-10-04 02:07:33 +01:00
Mike Auty 77a894b224 Convert 64bit checks to a symbol utility function. 2018-10-03 23:36:28 +01:00
Michael Ligh 97ae236fcc add the pool header json files to be used when kernels fail to define their own _POOL_HEADER 2018-10-03 17:07:07 -05:00
Mike Auty da6d211a40 The isf_url parameter is never populated, so this can go away. 2018-10-03 21:32:31 +01:00
Mike Auty c0b7376226 Ensure we don't break all plugins on versions where _POOL_HEADER doesn't exist. 2018-09-30 17:00:25 +01:00
Mike Auty 701c56558b Fix a typo from the big refactor in commit 190ffaf2. 2018-09-28 12:51:55 +01:00
Mike Auty de3bfad135 Replace 'raise StopIteration' with a blank 'return', since changes in python-3.7 change StopIeration to a RuntimeError. 2018-09-28 12:44:19 +01:00
Mike Auty 3e176c8a50 Use the prefered method of dynamic importing. 2018-09-28 12:05:57 +01:00
Mike Auty 99ba8bfb3f Change plugin runner to use a base_config_path. 2018-09-24 00:45:36 +01:00
Mike Auty e5024420c8 Refactor plugin running to ensure automagics and reconstruction occur properly. 2018-09-24 00:36:40 +01:00
Mike Auty 821841e7ee Refactor wher ethe UnsatisfiedException lives. 2018-09-23 22:56:24 +01:00
Mike Auty 4eb30d5003 Rework the config_value method. 2018-09-23 22:55:10 +01:00
Mike Auty 00a118a06a Reduce return results from find_requirements. 2018-09-23 22:24:44 +01:00
Mike Auty 81bef5ace8 Minor fixes to the requirement framework. 2018-09-23 18:13:58 +01:00
Mike Auty 828652f9cb Convert LayerList into more generic ComplexType List. 2018-09-23 13:11:59 +01:00
Mike Auty e203d11e0b Ensure the swap list configuration gets set appropriately. 2018-09-23 13:06:48 +01:00
Mike Auty c9ecf5fa2a ConfigurableRequirements should be Requirements. 2018-09-21 11:43:33 +01:00
Mike Auty 190ffaf28b Refactor where certain types of requirement live (given they're more concrete than interface). 2018-09-20 16:14:57 +01:00
Mike Auty 8d5a6ffdd4 Refactor InstanceRequirement into SimpleTypeRequirement. 2018-09-20 14:56:16 +01:00
Mike Auty 222b5f14a7 There is no need to cast as ord. 2018-09-16 16:24:34 +01:00
Mike Auty 90d13be9a9 Ensure we pass the native_layer_name whenever constructing a subobject. 2018-09-16 15:59:30 +01:00
Mike Auty 569bc97bc2 Fix up the use of native_layer_name in the poolscanning code. 2018-09-16 15:31:50 +01:00
Mike Auty efd9dffdfe Fix up the passing of native_layer_name to object constructors. 2018-09-16 14:33:24 +01:00
Michael Lighandikelos ac60d36e04 pass in native_layer_name to _POOL_HEADER.get_object() and remove FIXME 2018-09-15 15:22:38 +01:00
Michael Lighandikelos 88f73365ee remove vol magic comment 2018-09-15 15:22:38 +01:00
Michael Lighandikelos 668f8ad037 add pydocs to windows extension classes 2018-09-15 15:22:38 +01:00
Michael Lighandikelos 5d20faa0a7 work on _POOL_HEADER.get_object() 2018-09-15 15:22:38 +01:00
Michael Lighandikelos be6a351a11 start adding the _POOL_HEADER extension. expand the pool constraints to include processes 2018-09-15 15:22:38 +01:00
Mike Auty fa552aa3b0 Add in the native_layer_name concept to ObjectInformation. 2018-09-12 22:45:34 +01:00
Mike Auty dd5edc395a Add in commented code for keeping the zip file in sync if we decide it's needed. 2018-09-03 22:14:48 +01:00
Mike Auty abee0f8de7 Change the ASLR finding code to return no shift values (and log when it's found none). 2018-09-03 21:48:16 +01:00
Mike Auty f584be8d18 Fix up the linux symbol caching code. 2018-09-03 21:39:48 +01:00
Mike Auty 0c46da22c3 Readd the check to ensure we don't stack on top of an existing Intel layer. 2018-09-02 19:03:39 +01:00
Mike Auty 7f966901cf Ensure the dtb can't get specified from an earlier run around the loop. 2018-09-02 18:28:59 +01:00
Mike Auty c1dc36a327 Fix up the breakage from the preivous commit. 2018-09-02 18:27:28 +01:00
Mike Auty 29f1a0f216 Change the default state for stacking to ensure layer isn't set unless successful. 2018-09-02 17:42:55 +01:00