Skip to content

Commit 79dacfe

Browse files
committed
add hash checks for downloads
1 parent fbbd000 commit 79dacfe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,15 @@ runs:
1515
mkdir aim
1616
cd aim
1717
curl -L -o aim_ll.zip https://github.com/ArsenalRecon/Arsenal-Image-Mounter/raw/5961f922c5b99ec29acc4af4b60b909b402eed95/Command%20line%20applications/aim_ll.zip
18+
echo "a628fd0bb4b1657b2b89fd8972937b4d9c4b1292ea16764208fa63fc0ce84d54 aim_ll.zip" | sha256sum --check
1819
# unzip properly extracts everything but warns that "aim_ll.zip appears to use backslashes as path separators"
1920
# it then exits with a non-zero status code. the warning is harmless, so we ignore it.
2021
unzip aim_ll.zip || true
2122
mkdir ~/bin
2223
mv x64/* ~/bin
2324
2425
curl -L -o DriverFiles.zip https://github.com/ArsenalRecon/Arsenal-Image-Mounter/raw/5961f922c5b99ec29acc4af4b60b909b402eed95/DriverSetup/DriverFiles.zip
26+
echo "cc03472b689f23b1c66d1764b7a12e7212146b5c1f70e2613666efcd93b97192 DriverFiles.zip" | sha256sum --check
2527
# like above
2628
unzip DriverFiles.zip -d DriverFiles || true
2729
aim_ll --install DriverFiles

0 commit comments

Comments
 (0)