Add some batch files for dev/malware analysis work
This commit is contained in:
parent
ee3aa1a046
commit
6965090c6f
21
bin/file-portex-analyzer.bat
Normal file
21
bin/file-portex-analyzer.bat
Normal file
|
@ -0,0 +1,21 @@
|
|||
@echo off
|
||||
|
||||
if exist %1\* (
|
||||
echo directory
|
||||
for /F "delims=" %%f in ('dir /b /s %1') do (
|
||||
:: skip folders
|
||||
if not exist "%%~f\" (
|
||||
java -jar %DEV_TOOLS%\PortexAnalyzer.jar -p "%%~f_PortexAnalyzer_Report.png" -o "%%~f_PortexAnalyzer_Report.txt" "%%~f" | more
|
||||
)
|
||||
)
|
||||
) else (
|
||||
if exist "%~1_PortexAnalyzer_Report.txt" (
|
||||
del "%~1_PortexAnalyzer_Report.txt"
|
||||
)
|
||||
if exist "%~1_PortexAnalyzer_Report.png" (
|
||||
del "%~1_PortexAnalyzer_Report.png"
|
||||
)
|
||||
java -jar %DEV_TOOLS%\PortexAnalyzer.jar -p "%~1_PortexAnalyzer_Report.png" -o "%~1_PortexAnalyzer_Report.txt" "%~1" | more
|
||||
start notepad "%~1_PortexAnalyzer_Report.txt"
|
||||
start rundll32 "C:\Program Files (x86)\Windows Photo Viewer\PhotoViewer.dll", ImageView_Fullscreen %~1_PortexAnalyzer_Report.png
|
||||
)
|
4
bin/file-resource-hacker.bat
Normal file
4
bin/file-resource-hacker.bat
Normal file
|
@ -0,0 +1,4 @@
|
|||
@echo off
|
||||
|
||||
cd %DEV_TOOLS%\SysinternalsSuite
|
||||
start %DEV_TOOLS%\ResourceHacker.exe "%~1"
|
12
bin/file-sigcheck.bat
Normal file
12
bin/file-sigcheck.bat
Normal file
|
@ -0,0 +1,12 @@
|
|||
@echo off
|
||||
|
||||
cd %DEV_TOOLS%\SysinternalsSuite
|
||||
if exist %1\* (
|
||||
echo Run on a file
|
||||
) else (
|
||||
if exist "%~1_Report.txt" (
|
||||
del "%~1_Report.txt"
|
||||
)
|
||||
sigcheck.exe /a "%~1" > "%~1_sigcheck_report.txt"
|
||||
start notepad "%~1_sigcheck_report.txt"
|
||||
)
|
Loading…
Reference in New Issue
Block a user