2016-11-04 04:49:01 +08:00
|
|
|
# Usage
|
|
|
|
|
2016-11-04 04:29:37 +08:00
|
|
|
Invoke-Capstone is ready for use, there are two options to access the capstone library from PowerShell:
|
|
|
|
|
2016-11-04 04:49:01 +08:00
|
|
|
* Script dot sourcing:
|
2016-11-04 04:29:37 +08:00
|
|
|
|
|
|
|
PS C:\> . .\Invoke-Capstone.ps1
|
|
|
|
|
2016-11-04 04:49:01 +08:00
|
|
|
* Adding the script to one of the PowerShell module directories:
|
|
|
|
|
|
|
|
# Global PSModulePath path
|
|
|
|
%Windir%\System32\WindowsPowerShell\v1.0\Modules
|
|
|
|
|
|
|
|
# User PSModulePath path
|
|
|
|
%UserProfile%\Documents\WindowsPowerShell\Modules
|
2016-11-04 04:29:37 +08:00
|
|
|
|
2016-11-04 04:49:01 +08:00
|
|
|
# Notes
|
2016-11-04 04:29:37 +08:00
|
|
|
|
2016-11-04 04:49:01 +08:00
|
|
|
Invoke-Capstone drops the Capstone DLL, x32/64 respectively, to the user's temporary folder the first time it runs.
|