Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Chainski authored Mar 3, 2022
1 parent a81b0e1 commit 30c2583
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 0 deletions.
19 changes: 19 additions & 0 deletions checksums.txt
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
23 changes: 23 additions & 0 deletions src.bat
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 --------------------------------------------------------------------------------------

0 comments on commit 30c2583

Please sign in to comment.