mirror of
https://github.com/mandiant/capa.git
synced 2026-01-04 08:47:22 -08:00
@@ -5,6 +5,8 @@ Use the -i flag to update the rule in-place.
|
||||
Usage:
|
||||
|
||||
$ python capafmt.py -i foo.yml
|
||||
|
||||
Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
"""
|
||||
import sys
|
||||
import logging
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
# doesn't matter if this gets repeated later on in a hooks file
|
||||
|
||||
# Use a console with emojis support for a better experience
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
# doesn't matter if this gets repeated later on in a hooks file
|
||||
|
||||
# Use a console with emojis support for a better experience
|
||||
|
||||
@@ -19,6 +19,8 @@ and then select the existing capa report from the file system.
|
||||
|
||||
This script will verify that the report matches the workspace.
|
||||
Check the output window for any errors, and/or the summary of changes.
|
||||
|
||||
Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
"""
|
||||
import json
|
||||
import logging
|
||||
|
||||
@@ -4,6 +4,8 @@ Check the given capa rules for style issues.
|
||||
Usage:
|
||||
|
||||
$ python scripts/lint.py rules/
|
||||
|
||||
Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -5,6 +5,8 @@ migrate rules and their namespaces.
|
||||
example:
|
||||
|
||||
$ python scripts/migrate-rules.py migration.csv ./rules ./new-rules
|
||||
|
||||
Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
"""
|
||||
import os
|
||||
import csv
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
# Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
|
||||
@@ -39,6 +39,8 @@ Example::
|
||||
- set socket configuration
|
||||
- connect TCP socket
|
||||
...
|
||||
|
||||
Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
"""
|
||||
import os
|
||||
import sys
|
||||
|
||||
@@ -55,6 +55,8 @@ Example::
|
||||
insn: 0x10001027: number(0x1)
|
||||
insn: 0x10001027: mnemonic(shl)
|
||||
...
|
||||
|
||||
Copyright (C) 2020 FireEye, Inc. All Rights Reserved.
|
||||
"""
|
||||
import sys
|
||||
import logging
|
||||
|
||||
Reference in New Issue
Block a user