Arthur Deierlein
ab19b52d5b
run ruff check --fix
2024-12-17 22:55:39 +01:00
Arthur Deierlein
503999ddca
update black workflow (formatter not a linter)
2024-12-17 22:55:39 +01:00
Arthur Deierlein
f6c852c478
format with black
2024-12-17 22:55:39 +01:00
Arthur Deierlein
eee015033a
add back lgtm imperative
2024-12-17 22:55:39 +01:00
Arthur Deierlein
8dc9bd037d
add fixme to windows/netscan plugin
2024-12-17 22:55:39 +01:00
Arthur Deierlein
0b4d595bac
don't use bare except in windows netscan plugin
2024-12-17 22:55:39 +01:00
Arthur Deierlein
d95c32b25a
run ruff check --fix
2024-12-17 22:55:39 +01:00
Arthur Deierlein
6283ab6a1a
adjust SMBHandler import to use redundat alias
2024-12-17 22:55:39 +01:00
Arthur Deierlein
1c0d0b086a
use redundant import aliases instead of __all__ and noqa's
2024-12-17 22:55:39 +01:00
Arthur Deierlein
53133f4478
fix codeQL error
2024-12-17 22:55:39 +01:00
Arthur Deierlein
ccd3e8f367
move python version check into its own module
2024-12-17 22:55:39 +01:00
Arthur Deierlein
2119b8c7b8
fix framework/__init__
2024-12-17 22:55:39 +01:00
Arthur Deierlein
c33e378c84
chore(framework/__init__): move up imports
2024-12-17 22:55:39 +01:00
Arthur Deierlein
2e093c1a53
chore(framework/automagic/linux): convert lambda to function
2024-12-17 22:55:38 +01:00
Arthur Deierlein
75a324ddba
chore(developement/schema_validate): move logging import up
2024-12-17 22:55:38 +01:00
Arthur Deierlein
e708a62eef
make ruff happy
2024-12-17 22:55:38 +01:00
Arthur Deierlein
a63ea662f4
apply unsafe fixes (ruff check --unsafe-fixes --fix)
2024-12-17 22:55:38 +01:00
Arthur Deierlein
ad7daafc50
linted with ruff (ruff check . --fix)
2024-12-17 22:55:38 +01:00
ikelos and GitHub
c3f27c1bcb
Merge pull request #1423 from dgmcdona/dgmcdona/list_timers_type_hint
...
Windows Extensions: Fixes type-hint on list_timers
2024-12-17 21:54:17 +00:00
Arthur Deierlein
8e9b719a16
use ruff for linting and enforce linting via ci
2024-12-17 22:53:05 +01:00
j-t-1 and GitHub
ae1079f923
Use generator expressions
...
PEP 289 – Generator Expressions.
2024-12-17 20:52:29 +00:00
j-t-1 and GitHub
eeb7cf7131
Use generator expressions
...
PEP 289 – Generator Expressions.
2024-12-17 20:50:38 +00:00
j-t-1 and GitHub
daf7765774
Use generator expressions
...
PEP 289 – Generator Expressions.
2024-12-17 20:48:42 +00:00
j-t-1 and GitHub
c8e2347a0f
Use generator expressions
...
PEP 289 – Generator Expressions.
2024-12-17 20:47:36 +00:00
j-t-1 and GitHub
60ca997107
Use generator expressions
...
PEP 289 – Generator Expressions.
2024-12-17 20:40:54 +00:00
j-t-1 and GitHub
d76bf96f36
Use generator expressions
...
PEP 289 – Generator Expressions.
2024-12-17 20:25:10 +00:00
David McDonald
c134dcd643
Windows Timers: Bump patch version
2024-12-17 13:55:34 -06:00
ikelos and GitHub
ac842bbe74
Merge pull request #1415 from TheMythologist/develop
...
Fix: Error early if no inodes are found in linux.pagecache.InodePages plugin
2024-12-17 19:53:59 +00:00
ikelos and GitHub
068a604a8b
Merge pull request #1397 from j-t-1/library
...
Modify using as a library documentation
2024-12-17 19:36:24 +00:00
ikelos and GitHub
49ad2bdd21
Merge pull request #1422 from dgmcdona/dgmcdona/pedump_contextmanager
...
Windows: PeDump - use contextmanager
2024-12-17 19:35:10 +00:00
David McDonald
b04ca88d07
Windows Extensions: Fixes type-hint on list_timers
...
This method is incorrectly type-hinted as returning a `Tuple` when it
should be returning an instance of the `KTIMER` extension class. This
leaves the version number as is since it only updates the type-hint, but
let me know if that's incorrect and we need to bump it.
2024-12-17 13:29:51 -06:00
j-t-1 and GitHub
6e3defc677
Merge branch 'volatilityfoundation:develop' into library
2024-12-17 19:22:48 +00:00
j-t-1 and GitHub
24e1904376
Modify using as a library documentation
...
Tiny changes.
2024-12-17 19:22:35 +00:00
David McDonald
9ef90c2091
Windows: PeDump - use contextmanager
...
Several tools, including pyright and PyCharm, report that `file_handle`
may be an unbound local. Regardless of whether or not this is likely to
happen in practice, it makes sense to just use a `ContextManager` here
anyway, since `FileHandlerInterface` implements it.
2024-12-17 13:17:27 -06:00
Mike Auty
1b8f831fda
Core: Also fix up the interface to match the concrete classes
2024-12-17 18:37:39 +00:00
Mike Auty
a0b169cf6b
This PR does not strictly change any interfaces, just the inner workings of a function.
2024-12-17 18:34:40 +00:00
Mike Auty
f0f3bb6558
Core: Start to fix up the typing in ModuleCollection
...
Fixes #1418
2024-12-17 18:31:45 +00:00
Mike Auty
c45beb3ebe
Automagic: Fixes #1417
2024-12-17 18:15:59 +00:00
Mike Auty
246d19c0fa
Windows: Fix black issue
2024-12-17 18:14:29 +00:00
Mike Auty
054f0496c1
Windows: Cannot use capstone typing information if capstone didn'tr import
2024-12-17 17:55:52 +00:00
ikelos and GitHub
6c1614de6c
Merge pull request #1414 from gcmoreira/fix_producer_maetadata_bug_introduced_in_1369
...
Fix ProducerMetadata class bug introduced in #1369
2024-12-17 17:48:45 +00:00
TheMythologist
0255151ef5
Fix: Error early if no inodes are found in linux.pagecache.InodePages plugin
2024-12-17 12:15:46 +08:00
Gustavo Moreira
74ff42a12d
Fix ProducerMetadata class bug introduced in #1369
2024-12-17 13:28:57 +11:00
Gustavo Moreira
02f17af8a6
linux: fix task parent pid in several plugins.
...
It also adds a method to get the correct one in a unified way from the task object extension
2024-12-17 12:09:29 +11:00
ikelos and GitHub
0b04a138ad
Merge pull request #1389 from dgmcdona/dgmcdona/24H2_handles_pointer_decoding
...
fix(Windows: Handles): Unreliable SAR value on 24H2
2024-12-17 00:20:05 +00:00
David McDonald
fd9d3ec04c
Windows: Typing - Remove type casts, add signature
...
Removes the needless `int` casts, and adds the return type to the
`get_session_id` method signature.
2024-12-16 18:17:42 -06:00
ikelos and GitHub
b083549e33
Merge pull request #1393 from gcmoreira/linux_pagecache_dumping_convention_1392
...
Linux: Update inode pagecache plugin to conform to framework dumping convention
2024-12-17 00:17:37 +00:00
ikelos and GitHub
03c3488458
Merge pull request #1070 from vobst/add-sanity-check-find_aslr-linux
...
Linux: add sanity check in `find_aslr`
2024-12-17 00:05:09 +00:00
David McDonald
7299f925dc
Windows: Handles - major version bump
...
Bumps the major version in plugin + dependences after removal of a
publicly exposed instance method.
2024-12-16 17:58:53 -06:00
ikelos and GitHub
2cdc0fea5d
Merge pull request #1406 from j-t-1/intel
...
Remove use of int function after math.ceil
2024-12-16 23:54:37 +00:00