[Solved] Looking for a simple SHA1 checker/verifier

Discussion in 'Application Software' started by SilvMax, Apr 3, 2016.

  1. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    Hi to All,
    I'm looking for a freeware very simple SHA1 cheker/verifier command line portable version utility (one that does not installs or does not need be installed first to be used in command line mode) with following basic features:
    - be executed in command line (no GUI at all).
    - the SHA1 expected value be passed textually in
    command line or read from a single text file
    containning the sHA1 value text.
    - returns a result code (if equal as expected or not).

    example of expected usage something like (in command line):
    sha1chekerutility.exe filetobecheked expectedSHA1hashvalue
    or
    sha1chekerutility.exe filetobecheked expectedSHA1hashTEXTFILE

    I'm looking in internet but til now has not been succesfull to find one that meets my requirements.
    Does somebody knows one?

    Thanks,
    SilvMax.
     
  2. LostED

    LostED SVF Patch Lover

    Jul 30, 2009
    4,782
    11,374
    150
    hashdeep
    Microsoft File Checksum Integrity Verifier
    SlavaSoft FSUM
     
  3. Tito

    Tito Super Mod / Adviser
    Staff Member

    Nov 30, 2009
    17,672
    15,624
    340
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    MS FCIV does not read simple text file. It only reads `xml` based 64. So to prepare the hash you need first encode and then prepare a xml file to be passed to command.

    SlavaSoft - I will check it.

    Thanks.
     
  5. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    Will check it.

    Thanks for the link.
     
  6. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    Will check this one too.

    Thanks.
     
  7. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    I give a fast look in it. Get-hash need the powershell.
    The script I'm doing must run from XP to 10. I'm not sure but think XP does not run powershell, will verify.

    Thanks for this indication too.
     
  8. trungpt

    trungpt MDL Addicted

    Dec 15, 2009
    523
    49
    30
    I use HashTab, integrated into Windows Explorer.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    I also uses it for normal day by day activities.
    I need a very special command line one, see OP.

    Thanks anyway.
     
  10. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    sha1deep.exe, a module of md5deep/hashdeep, was the best one of all indicated (including a lot that I myself find in my searchs) because it usage behavior exactly the way I want to use.

    Solved that part of my script.

    Thanks for your indication. :worthy::clap:
     
  11. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    I would like to thanks to everybody that helped me,
    LostED, EFA11, GezoeSloog, Tito and trungpt.
    I looked and tryed to use all indicated tools and the best one for my necessity was md5deep.

    SOLVED.
    Thanks again for All.:clap:
     
  12. weinter

    weinter MDL Senior Member

    Feb 19, 2009
    252
    9
    10
    certutil -hashfile "C:\Path\To\File" SHA1
     
  13. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    I knew about it already.
    See two posts above your's, there is a simple one solution that suit my needs: md5deep.

    Thank you for your indication too.
     
  14. trungpt

    trungpt MDL Addicted

    Dec 15, 2009
    523
    49
    30
    #17 trungpt, Apr 7, 2016
    Last edited by a moderator: Apr 20, 2017
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. SilvMax

    SilvMax MDL Novice

    Sep 16, 2015
    33
    7
    0
    #18 SilvMax, Apr 8, 2016
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Hi trungpt,

    I knew this too for a long time already.
    I could use it in normal day by day common tasks but it need
    NetFramework 2, instead I do use HashTab for a very long time for these
    common tasks.

    Code:
    Briefly explainning The one I was looked for (already found) 
    should/must run in a command line script (without any kind of GUI being 
    used/presented) because it is to be used in a script that will manage 
    thousands of files from different locations and that have their's SHA1 
    calculated reports already, so the tool should verifies (compares) and 
    returns a status code about the verification (comparison) result that 
    directs my script to the desired action without my intervention.
    Thank you.