← 返回命令列表

Linux command

olevba 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Analyze Office document

olevba [document.docx]

Show VBA code

olevba -c [document.xlsm]

Decode obfuscated strings

olevba -d [document.doc]

JSON output

olevba --json [document.docm]

Analyze all files in directory

olevba [directory/]

说明

olevba extracts and analyzes VBA macros. Detects malicious Office documents. The tool examines embedded macros. Part of oletools security suite.

参数

-c
Show VBA source code.
-d
Decode obfuscated strings.
--json
JSON output format.
-a
Show all information.
--help
Display help information.

FAQ

What is the olevba command used for?

olevba extracts and analyzes VBA macros. Detects malicious Office documents. The tool examines embedded macros. Part of oletools security suite.

How do I run a basic olevba example?

Run `olevba [document.docx]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -c do in olevba?

Show VBA source code.