mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
document -t (tag) option
This commit is contained in:
19
doc/usage.md
19
doc/usage.md
@@ -1,5 +1,7 @@
|
||||
# Usage
|
||||
## Command line
|
||||
# capa usage
|
||||
|
||||
|
||||
# command line
|
||||
After you have downloaded the standalone version of capa or installed it via `pip` (see the [installation](installation.md) documentation) you can run capa directly from your terminal shell.
|
||||
|
||||
- `$ capa -h`
|
||||
@@ -7,14 +9,21 @@ After you have downloaded the standalone version of capa or installed it via `pi
|
||||
|
||||
In this mode capa relies on vivisect which only runs under Python 2.
|
||||
|
||||
## IDA Pro
|
||||
## only run selected rules
|
||||
Use the `-t` option to only run selected rules. This is the preferred method over specifying a rule path which fails if dependent rules reside in other directories.
|
||||
|
||||
```
|
||||
$ capa -t communication malware.exe
|
||||
```
|
||||
|
||||
# IDA Pro
|
||||
capa runs from within IDA Pro. Run `capa/main.py` via File - Script file... (ALT + F7).
|
||||
|
||||
When running in IDA, capa uses IDA's disassembly and file analysis as its backend. These results may vary from the standalone version that uses vivisect.
|
||||
|
||||
In IDA, capa supports Python 2 and Python 3. If you encounter issues with your specific setup please open a new [Issue](https://github.com/fireeye/capa/issues).
|
||||
|
||||
## IDA plugins
|
||||
## IDA Pro plugins
|
||||
capa comes with two IDA Pro plugins located in the `capa/ida` directory.
|
||||
|
||||
### capa explorer
|
||||
@@ -22,5 +31,5 @@ The capa explorer allows you to interactively display and browse capabilities ca
|
||||
|
||||

|
||||
|
||||
### Rule generator
|
||||
### rule generator
|
||||
The rule generator helps you to easily write new rules based on the function you are currently analyzing in your IDA disassembly view.
|
||||
|
||||
Reference in New Issue
Block a user