-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
42 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
File-Hash-Generator_x64.exe | ||
MD5 checksum: CE5623FF5CC4B992C654AC46E789116C | ||
SHA1 checksum: B0E64B86C970C8A45EB01D3AAE26ACFDAA9E3C28 | ||
SHA256 checksum: 281180F032E9087FCACB2335940255D0FA67AC7DFE6470F443F6848EDD2FFC01 | ||
|
||
File-Hash-Generator_x86.exe | ||
MD5 checksum: 23A9ABB72BC78FB5763E38415B901FBA | ||
SHA1 checksum: 6C2672DB3F45C2E886981F4331E815241E7DDE07 | ||
SHA256 checksum: 1C4606845F2C22AB4E6BC10BC8C832D6E089C6109FFA624D75BD0A8D13448E03 | ||
|
||
File-Hash-Generator_x64.tar.gz | ||
MD5 checksum: 278071C8B59509FC809AB7D066AE0F1E | ||
SHA1 checksum: 2EFAE45585319844C24CAB3E786759B26DC5CF84 | ||
SHA256 checksum: 8555432A1650BD61CF8C16E10B3837D857A225E8238195DBAF1F6249E3DF574A | ||
|
||
File: File-Hash-Generator_x86.tar.gz | ||
MD5 checksum: 27962CBEFF4646577AD8EE80316FE8C5 | ||
SHA1 checksum: DD9990B078740A3B8C835AC458D253DC4CB52357 | ||
SHA256 checksum: A41CF237DD16362FE8F0BCCB52537087EAB173766397D58152391BBEBE017393 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
@echo off | ||
Color 0A & Mode 136,10 | ||
Title GET ( MD2, MD4, MD5, SHA1, SHA256, SHA384, SHA512 ) HASHES from file by drag and drop using Certutil | ||
Set ScriptName=%~nx0 | ||
if "%~1"=="" goto error | ||
Set LogFile=%~nx1_HASHES.txt | ||
If Exist "%LogFile%" Del "%LogFile%" | ||
echo( | ||
SetLocal EnableDelayedExpansion | ||
for %%a in (MD2 MD4 MD5 SHA1 SHA256 SHA384 SHA512) do ( | ||
for /f "skip=1 delims=" %%H in ('CertUtil -hashfile "%~1" %%a ^| findstr /i /v "CertUtil"') do ( set H=%%H) | ||
( echo %%a=!H!) | ||
( echo %%a=!H!)>> "!LogFile!" | ||
) | ||
EndLocal | ||
Timeout /T 1 /NoBreak>nul & Start "" "%LogFile%" & Exit | ||
REM -------------------------------------------------------------------------------------- | ||
:Error | ||
Color 0C & Mode 104,5 | ||
echo( & echo( | ||
echo You should drag and drop a file over this batch file "%ScriptName%" | ||
Timeout /T 5 /nobreak>nul & exit | ||
REM -------------------------------------------------------------------------------------- |