Aayush Goel
c0d712acea
Changes os.path to pathlib.Path usage
...
changed args.rules , args.signatures types in handle_common_args.
2023-07-06 05:12:50 +05:30
Willi Ballenthin
f1c495dc0a
*: use FORMAT_AUTO instead of string literal
2023-03-21 16:54:48 +01:00
Willi Ballenthin
1f3582c9c3
mypy
2023-03-21 16:45:24 +01:00
manasghandat
1336796c0c
code style : update remaining files ( #1353 )
...
* code style: update string formatting using fstrings
---------
Co-authored-by: Willi Ballenthin <willi.ballenthin@gmail.com >
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-03-16 11:16:18 +01:00
Willi Ballenthin
b819033da0
lots of mypy
2022-12-14 10:37:39 +01:00
Willi Ballenthin
8527d02dc8
pylint fixes
2022-12-06 15:37:31 +00:00
Willi Ballenthin
3ef126fbd7
show-features: fix rendering addresses
2022-06-06 15:27:06 -06:00
Willi Ballenthin
f8b10a2c0a
render: verbose: update to use new result document
2022-06-06 13:48:41 -06:00
Willi Ballenthin
02cef8297c
pep8
2022-05-25 15:27:56 -06:00
Willi Ballenthin
b1fa5be7b1
show-features: render features in a tree to better group scopes
2022-05-25 15:08:44 -06:00
Moritz Raabe
d8c9941f6b
fix: filter address
2022-05-12 16:39:36 +02:00
Moritz Raabe
716a73dfb4
feat: add handles and type annotations
2022-05-12 15:42:25 +02:00
Willi Ballenthin
e029547035
show-features: learn to use Addresses
2022-04-08 18:33:49 -06:00
Mike Hunhoff
580a2d7e45
dotnet: basic detection and feature extraction ( #987 )
2022-04-08 14:55:00 -06:00
Baptistin Boilot
4739d121a2
scripts: add backend parameter (-b) to show-features.py
2021-12-31 20:07:34 +01:00
Moritz Raabe
8de69c639a
s/fireeye/mandiant
2021-09-29 12:55:16 +02:00
William Ballenthin
8e757d2099
show-features: print function addresses, too
2021-08-24 16:32:44 -06:00
William Ballenthin
34819b289d
pep8
2021-08-11 15:08:31 -06:00
William Ballenthin
c1910d47f0
move is_global_feature into capa.features.common
2021-08-11 15:02:10 -06:00
William Ballenthin
294f74b209
extractors: viv: extract format and OS at all scopes
2021-08-11 14:44:41 -06:00
Moritz Raabe
5c8a4aafd7
test scripts and fix show-features
2021-06-29 21:16:31 +02:00
William Ballenthin
48858e114d
main: refactor handling of rules, signatures cli arguments
2021-06-15 11:54:57 -06:00
William Ballenthin
6f1f928434
main: when --signatures provided, override default set
...
closes #630
2021-06-15 11:43:38 -06:00
William Ballenthin
766dcacdbe
move logic out of capa/render/__init__.py
2021-06-09 18:06:51 -06:00
William Ballenthin
fc9ad6c737
move extractors/ida/__init__.py logic to extractor.py
2021-06-09 17:55:44 -06:00
Willi Ballenthin
dcf4a056ee
show-features: skip library functions ( #570 )
...
* show-features: skip library functions
closes #569
* changelog
2021-05-20 10:34:48 +02:00
William Ballenthin
14abb7d4f6
pep8
2021-04-27 13:41:59 -06:00
William Ballenthin
bd92933030
show-features: accept signatures or use default
2021-04-27 13:27:59 -06:00
William Ballenthin
9ca1a7ebb6
extractors: do cast-to-int correctly
2021-04-27 13:07:27 -06:00
William Ballenthin
1ee7b7b856
merge master
2021-03-05 15:23:47 -07:00
William Ballenthin
eacd70329a
merge from master, sorry
2021-03-05 11:06:40 -07:00
William Ballenthin
3a1d5d068c
scripts: use common argument handler
...
closes #449
2021-03-05 10:58:40 -07:00
William Ballenthin
c2a4629c62
scripts: add cli arguments to specify signatures
2021-03-04 15:04:33 -07:00
Ana Maria Martinez Gomez
40ed2f39a4
Make backend a required parameter in get_extractor
...
Make the `backend` argument required in the `get_extractor` internal
routine. Specify a backend in the scripts which call this function. Add
a CLI backend option in capa/features/freeze.py as well.
2021-03-03 17:36:50 +01:00
Ana Maria Martinez Gomez
d28ba3c628
Make backend a required parameter in get_extractor
...
Make the `backend` argument required in the `get_extractor` internal
routine. Specify a backend in the scripts which call this function. Add
a CLI backend option in capa/features/freeze.py as well.
2021-02-25 10:04:19 +01:00
Michael Hunhoff
cc0aaa301f
update to support running in IDA w/ Python 3
2021-02-19 14:28:20 -07:00
Michael Hunhoff
1eb615f97c
mirror show-capabilities-by-function to enable multiple backends
2021-02-17 14:40:33 -07:00
Moritz Raabe
76b46d7957
ensure function is defined in vivisect (or do so)
...
and show features in IDA
2020-10-20 15:09:07 +02:00
William Ballenthin
308c78844d
show-features: fix error when piping features to less
2020-07-25 00:59:32 -06:00
William Ballenthin
baeea5b6ec
*: update license header to reference Apache 2.0
...
closes #173
2020-07-22 15:05:24 -06:00
Ana María Martínez Gómez
07764fb31f
Use isort 5
...
Run `isort --profile black --length-sort --line-width 120 .`
Update documentation as well.
2020-07-16 22:02:53 +02:00
William Ballenthin
3faf175da7
*: add license header
...
closes #144
2020-07-15 14:14:53 -06:00
William Ballenthin
845938d4e6
scripts: show-features: add doc
2020-07-06 13:48:30 -06:00
William Ballenthin
23e70b4e85
pep8: scripts
2020-07-01 12:42:33 -06:00
Moritz Raabe
beba3fb3c7
double to single quotes
2020-06-24 15:00:35 +02:00
William Ballenthin
add3537447
import source files, forgetting about 938 prior commits
2020-06-18 09:13:19 -06:00