Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Trying To Get MD5 out of a .bat file  (Read 18881 times)

0 Members and 1 Guest are viewing this topic.

Bgines

    Topic Starter


    Rookie

    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Trying To Get MD5 out of a .bat file
    « on: January 14, 2014, 03:29:12 PM »
    I am familiar with the term MD5 in windows and PHP
    but I am trying to echo out a MD5 output on a .bat file
    so if someone typed VrsSlilser it would outcome as a MD5 Hash
    How do I convert it to a MD5 with batch?
    It was free for 6 Months.
    But now it's $35 ~ A Virus remover(HINT ME)

    Squashman



      Specialist
    • Thanked: 134
    • Experience: Experienced
    • OS: Other
    Re: Trying To Get MD5 out of a .bat file
    « Reply #1 on: January 14, 2014, 04:27:19 PM »
    As far as I can recall Windows does not have a native MD5 hash utility. You will need to download and use a 3rd party utility.

    Geek-9pm


      Mastermind
    • Geek After Dark
    • Thanked: 1026
      • Gekk9pm bnlog
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 10
    Re: Trying To Get MD5 out of a .bat file
    « Reply #2 on: January 14, 2014, 06:12:57 PM »
    This topic can be more meaningful is the OP would tell why this is needed. The MD5 hash is not part of the Windows set of tools, as was mentioned.
    When data files  transported over a network, there is the danger of error due to noise or poor connections. Some transmissions can   verify by hardware features. In other cases the data itself may have a check built into the data.
    Use of MB5 is rather extreme. It requites CPU power and protocol.

    Perhaps the OP can tell us why he needs MB5 in a typical scenario.


    Bgines

      Topic Starter


      Rookie

      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 7
      Re: Trying To Get MD5 out of a .bat file
      « Reply #3 on: January 14, 2014, 06:37:08 PM »
      I need a MD5 Hash or some other thing to stop prying eyes from looking at a file and knowing that the contents are
      It was free for 6 Months.
      But now it's $35 ~ A Virus remover(HINT ME)

      Squashman



        Specialist
      • Thanked: 134
      • Experience: Experienced
      • OS: Other
      Re: Trying To Get MD5 out of a .bat file
      « Reply #4 on: January 14, 2014, 06:51:44 PM »
      That is called Encryption. You want PGP.  MD5 is used for file integrity.

      Geek-9pm


        Mastermind
      • Geek After Dark
      • Thanked: 1026
        • Gekk9pm bnlog
      • Certifications: List
      • Computer: Specs
      • Experience: Expert
      • OS: Windows 10
      Re: Trying To Get MD5 out of a .bat file
      « Reply #5 on: January 14, 2014, 07:05:45 PM »
      OK.
      This may have been covered before...
      http://www.computerhope.com/forum/index.php/topic,31807.0.html
       Topic: How to hide the contents of batch file

      edit: The page does not help much. Try this:
      http://www.battoexe.com/
      Quote

      Quick Batch File Compiler

      Quick Batch File Compiler convert your batch files into actual program (.EXE format) in one click. This program may be run on Windows 2000/2003/XP/Vista/7 without any limitations. An .EXE file is much harder to casually reverse-engineer, so this could be a way to conceal a particular batch file's operations from an end user. Content of your batch file will be encrypted and protected from changes.
      Quick Batch File Compiler also lets you set various resources in the .EXE file, such as its description, the company name, version information and even the application icon. In additional, you may include any files to compiled exe file and use it during execution.

      Bgines

        Topic Starter


        Rookie

        • Certifications: List
        • Computer: Specs
        • Experience: Expert
        • OS: Windows 7
        Re: Trying To Get MD5 out of a .bat file
        « Reply #6 on: January 14, 2014, 07:33:39 PM »
        OK.
        This may have been covered before...
        http://www.computerhope.com/forum/index.php/topic,31807.0.html
         Topic: How to hide the contents of batch file

        edit: The page does not help much. Try this:
        http://www.battoexe.com/
        No I want to hide other files contents
        It was free for 6 Months.
        But now it's $35 ~ A Virus remover(HINT ME)

        Bgines

          Topic Starter


          Rookie

          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 7
          Re: Trying To Get MD5 out of a .bat file
          « Reply #7 on: January 14, 2014, 07:42:46 PM »
          I NEED THE .BAT To ENCRYPT THE FILE ITS SELF
          It was free for 6 Months.
          But now it's $35 ~ A Virus remover(HINT ME)

          Geek-9pm


            Mastermind
          • Geek After Dark
          • Thanked: 1026
            • Gekk9pm bnlog
          • Certifications: List
          • Computer: Specs
          • Experience: Expert
          • OS: Windows 10
          Re: Trying To Get MD5 out of a .bat file
          « Reply #8 on: January 14, 2014, 07:53:23 PM »
          An EXE file can have lots of features. It can be made for C, C++ or a special tool. With a custom tool, the resulting EXE will  group of files inside a EXE . This might be said to be a kind of  kind of container.

          A suitable tool might have these kind of features:

          Can compile any batch file to EXE format compatible with Windows or Linux.
          "Ghost" mode: application opens no windows and provides no feedback - best way to perform an install or modification silently.
          Custom application resources. You can define Icon and Version Info for EXE-file.
          Protects contents of a batch file from the non-authorized change
          Hides contents of a batch file from viewing. Keep your secrets!
          It is not necessary to be the programmer to create the program
          It is very useful for installation and automation tasks
          The one EXE file does not need run time  or DLL files
          Can store additional files required during execution into one EXE file.

          You can find these using a Google search.


          Bgines

            Topic Starter


            Rookie

            • Certifications: List
            • Computer: Specs
            • Experience: Expert
            • OS: Windows 7
            Re: Trying To Get MD5 out of a .bat file
            « Reply #9 on: January 14, 2014, 08:08:29 PM »
            Here is what a normal non-encrypted file would look like
            Code: [Select]
            --Begin Data Node--
            Zach
            Win7
            sys32
            Adefe758
            PERSONAL DATA
            PERSONAL DATA
            --END Data Node--
            I am trying to encrypt that file and make it like or something like that
            Code: [Select]
            --Begin Data Node--
            4874h8fsfe4d
            3fv79w4
            fdsa84h984
            f8734hp0
            f80aseduu94978
            D454uj9rj9
            --END Data Node--
            It was free for 6 Months.
            But now it's $35 ~ A Virus remover(HINT ME)

            camerongray



              Expert
            • Thanked: 306
              • Yes
              • Cameron Gray - The Random Rambings of a Computer Geek
            • Certifications: List
            • Computer: Specs
            • Experience: Expert
            • OS: Mac OS
            Re: Trying To Get MD5 out of a .bat file
            « Reply #10 on: January 14, 2014, 08:27:05 PM »
            Taking an MD5 hash of a file is not encryption - It's "hashing".  By design it is impossible to take that MD5 hash and turn it back into the file's contents!  What you are looking for is an encryption algorithm.

            Bgines

              Topic Starter


              Rookie

              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Windows 7
              Re: Trying To Get MD5 out of a .bat file
              « Reply #11 on: January 14, 2014, 08:29:00 PM »
              Taking an MD5 hash of a file is not encryption - It's "hashing".  By design it is impossible to take that MD5 hash and turn it back into the file's contents!  What you are looking for is an encryption algorithm.
              OMG YES! BUT CAN I GET THE CODE OR A SOLUTION!!!!
              It was free for 6 Months.
              But now it's $35 ~ A Virus remover(HINT ME)

              camerongray



                Expert
              • Thanked: 306
                • Yes
                • Cameron Gray - The Random Rambings of a Computer Geek
              • Certifications: List
              • Computer: Specs
              • Experience: Expert
              • OS: Mac OS
              Re: Trying To Get MD5 out of a .bat file
              « Reply #12 on: January 14, 2014, 08:35:58 PM »
              OMG YES! BUT CAN I GET THE CODE OR A SOLUTION!!!!

              You need to do research and learn about different encryption systems - It's hardly a case of "Here's a bit code, use it and it will work" - Good encryption is a lot more complicated than that!

              As mentioned above, a good starting point would be looking up and reading about "PGP"

              Bgines

                Topic Starter


                Rookie

                • Certifications: List
                • Computer: Specs
                • Experience: Expert
                • OS: Windows 7
                Re: Trying To Get MD5 out of a .bat file
                « Reply #13 on: January 14, 2014, 08:55:04 PM »
                You need to do research and learn about different encryption systems - It's hardly a case of "Here's a bit code, use it and it will work" - Good encryption is a lot more complicated than that!

                As mentioned above, a good starting point would be looking up and reading about "PGP"
                Well Thanks Anyway.  ;D
                It was free for 6 Months.
                But now it's $35 ~ A Virus remover(HINT ME)

                BC_Programmer


                  Mastermind
                • Typing is no substitute for thinking.
                • Thanked: 1140
                  • Yes
                  • Yes
                  • BC-Programming.com
                • Certifications: List
                • Computer: Specs
                • Experience: Beginner
                • OS: Windows 11
                Re: Trying To Get MD5 out of a .bat file
                « Reply #14 on: January 14, 2014, 09:52:29 PM »
                OMG YES! BUT CAN I GET THE CODE OR A SOLUTION!!!!

                What's the pay?
                I was trying to dereference Null Pointers before it was cool.