Willi Ballenthin
65e8300145
introduce flake8-simplify
2023-07-12 11:40:44 +02:00
Aayush Goel
1baa7a5e4b
flake8 checks resolved
2023-07-11 02:30:09 +05:30
Aayush Goel
ef39bc3c3a
Merged Changes from PR #1591
2023-07-11 01:14:38 +05:30
Aayush Goel
8e346cb411
Merge branch 'Aayush-Goel-04/Issue#1534' of https://github.com/Aayush-Goel-04/capa into Aayush-Goel-04/Issue#1534
2023-07-11 00:59:21 +05:30
Willi Ballenthin
ae10a2ea34
introduce flake8-todos linter
2023-07-09 23:35:52 +02:00
Willi Ballenthin
7fe738e28f
introduce flake8-no-implicit-concat linter
2023-07-09 22:18:01 +02:00
Willi Ballenthin
54203f3be9
introduce flake8-logging-format linter
2023-07-09 22:11:46 +02:00
Aayush Goel
673af45c55
Update args.sample type to Path and str vs as_posix comparisons
2023-07-09 16:02:28 +05:30
Aayush Goel
e0ed8c6e04
Resolved the suggestions.
2023-07-08 13:51:41 +05:30
Aayush Goel
a8f1067f8a
Fixed Path issue in cache-ruleset.py
2023-07-07 12:39:18 +05:30
Aayush Goel
ef9b0737a8
Merge branch 'master' into Aayush-Goel-04/Issue#1534
2023-07-07 12:05:57 +05:30
Aayush Goel
14924174c5
convert str(path) usage to path.as_posix() to get str format of Path
...
Update fixtures.py
2023-07-07 12:03:05 +05:30
Aayush Goel
edeb458b33
some more changes
2023-07-07 12:03:05 +05:30
Willi Ballenthin
13a8e252f0
introduce flake8-comprehensions
2023-07-06 20:04:27 +02:00
Willi Ballenthin
ff47270681
add flake8-encoding plugin
2023-07-06 19:42:57 +02:00
Willi Ballenthin
982dc46623
add flake8-bugbear linter
2023-07-06 19:30:51 +02:00
Willi Ballenthin
90e607fe9a
flake8
2023-07-06 18:11:48 +02:00
Willi Ballenthin
9441da4887
isort
2023-07-06 17:50:34 +02:00
Willi Ballenthin
47074fd129
fix ruff issues
2023-07-06 17:49:40 +02:00
Willi Ballenthin
691ef1c72f
remove old linter configs
2023-07-06 17:12:00 +02:00
Willi Ballenthin
f9248262f5
Merge branch 'master' into fix/dont-leave-tqdm
2023-07-06 14:36:43 +02:00
Aayush Goel
62db346b49
Style , mypy checks
2023-07-06 05:28:13 +05:30
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
23ed0a5d9d
main: don't leave behind traces of the progress bar
2023-07-05 19:06:33 +02:00
Willi Ballenthin
694143ce6b
import-to-ida: use Metadata type not json document
2023-07-05 18:24:37 +02:00
Willi Ballenthin
19a5ef8a64
import-to-ida: use existing result document json parser
2023-07-05 18:21:03 +02:00
Willi Ballenthin
169b3d60a8
import-to-ida: update to use v5 JSON format
...
closes #1584
2023-07-05 18:04:15 +02:00
Willi Ballenthin
bb053561ef
import-to-ida: decode MD5 to hex
2023-07-05 18:03:57 +02:00
mr-tz
1a2e034ee0
update data via script
2023-07-05 12:30:54 +02:00
Aayush Goel
b4870b120e
Remove from_capa API for MetaData
2023-06-03 15:33:49 +05:30
Aayush Goel
f03ad2d208
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1411
2023-06-02 14:47:24 +05:30
Aayush Goel
445214b23b
Update Metadata type in capa main
2023-06-02 00:40:38 +05:30
Aayush Goel
66ea0451e9
Merge branch 'mandiant:master' into Aayush-Goel-04/Issue#1451
2023-05-18 16:30:08 +05:30
Aayush Goel
275386806d
Add redirect print to capa main
2023-05-17 23:57:52 +05:30
Aayush Goel
807efec40f
Create RuleSet to test overlap script
2023-05-12 22:44:26 +05:30
Aayush Goel
187a4712cb
Update test_scripts.py
...
Here new_rule_path and expected_overlaps will be changed based on the new test rule designed.
Adding tests to check if the code works fine
2023-05-10 20:55:22 +05:30
Aayush Goel
d91070c116
Update detect_duplicate_features.py
2023-05-08 20:17:29 +05:30
Aayush Goel
39d2a70679
Update detect_duplicate_features.py
...
Using get_rules menthod to get set of all existing rules.
2023-05-08 17:29:01 +05:30
Aayush Goel
ec6b6a2266
Update detect_duplicate_features.py
2023-05-08 14:58:30 +05:30
Aayush Goel
9eacf72366
Update detect_duplicate_features.py
...
loading yaml file using capa.rule.Rule.from_yaml.
Returning any exception/errors occuring while checking the files.
2023-05-06 17:36:13 +05:30
Aayush Goel
30516c33b7
Update detect_duplicate_features.py
...
Improved parse routine based on suggestions.
Co-Authored-By: Moritz <mr-tz@users.noreply.github.com >
2023-05-05 15:17:43 +05:30
Aayush Goel
1c558a203d
Update detect_duplicate_features.py
...
Added a main routine and using argparse to retrieve these from the command line
2023-05-03 22:32:22 +05:30
Aayush Goel
09865ccd9b
Fixes Linting Issues
...
Update detect_duplicate_features.py
2023-04-27 06:46:02 +05:30
Aayush Goel
256611bef5
Create detect_duplicate_features.py
...
Fixes #1451
Python script to detect feature overlap between new and existing CAPA rules. Checks if the a feature in new rules exists in an existing rule
2023-04-27 06:00:38 +05:30
Pratham Chauhan
068ac0ca2c
fix black
2023-04-05 16:29:53 +05:30
Pratham Chauhan
eef1548baa
fix capy2yara.py
2023-04-05 16:28:00 +05:30
Willi Ballenthin
80112bac64
add scripts showing conversion to/from protobuf format
2023-03-23 10:58:22 +01:00
Willi Ballenthin
a9ba133506
bulk-process: fix some variable references
2023-03-22 09:48:20 +01:00
Willi Ballenthin
7ef167fcd0
Update scripts/bulk-process.py
...
Co-authored-by: Moritz <mr-tz@users.noreply.github.com >
2023-03-22 09:44:00 +01:00
Willi Ballenthin
c1ca4ab703
isort
2023-03-21 17:22:43 +01:00