Skip to content

Commit 9942e2f

Browse files
committed
SandAnalyze
Updated dllscollector.bat
1 parent 9a06d21 commit 9942e2f

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

dllscollector.bat

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
:: Create the emulated Windows directory structure and registry ::
55
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
66

7+
:: Test for Admin privileges
8+
NET SESSIONS > NUL 2>&1
9+
IF %ERRORLEVEL% NEQ 0 (
10+
ECHO Error: This script requires administrative privileges.
11+
EXIT /B 1
12+
)
13+
714
:: Host system directories
815
SET SYSDIR32="%WINDIR%\SysWOW64"
916
SET SYSDIR64="%WINDIR%\System32"
@@ -118,6 +125,8 @@ CALL :collect_dll64 shlwapi.dll
118125
CALL :collect_dll64 user32.dll
119126
CALL :collect_dll64 vcruntime140.dll
120127
CALL :collect_dll64 vcruntime140d.dll
128+
CALL :collect_dll64 vcruntime140_1.dll
129+
CALL :collect_dll64 vcruntime140_1d.dll
121130
CALL :collect_dll64 win32u.dll
122131
CALL :collect_dll64 winhttp.dll
123132
CALL :collect_dll64 wininet.dll
@@ -156,4 +165,4 @@ EXIT /B
156165

157166
:collect_dll32
158167
CALL :collect %SYSDIR32%, %~1, %QL_SYSDIR32%, %~2
159-
EXIT /B
168+
EXIT /B

0 commit comments

Comments
 (0)