ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Bat file Protection

    Scheduled Pinned Locked Moved IT Discussion
    79 Posts 9 Posters 6.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scottalanmillerS
      scottalanmiller
      last edited by

      You need to change fundamentally what you are trying to do. Which we don't know what that is. Why do you want your friend to run this program? Clearly you don't think that he should have this access, so what is going on?

      1 Reply Last reply Reply Quote 1
      • scottalanmillerS
        scottalanmiller @Lakshmana
        last edited by

        @lakshmana said in Bat file Protection:

        Now i am having the file in encrypted which is not viewable in the PC but the file is not running in the machine B.A machine run the file

        You can't run an encrypted file.

        LakshmanaL 1 Reply Last reply Reply Quote 0
        • LakshmanaL
          Lakshmana @scottalanmiller
          last edited by

          @scottalanmiller said in Bat file Protection:

          @lakshmana said in Bat file Protection:

          Then how .exe files are created any ideas ?

          But I just explained that .exe can't do this either. He can still open an exe and see what it is doing.

          How it able to do ?

          scottalanmillerS 1 Reply Last reply Reply Quote 0
          • scottalanmillerS
            scottalanmiller
            last edited by

            I'm going to give you a future recap of where this conversation will go...

            1. We will explain that you can't run something that he can't see.
            2. You'll ask how to do what we just said you can't do.
            3. We'll explain again that you can't do that no matter how you modify the words.
            4. You'll ask again how to do the same thing in a trivially different way.
            5. We'll start the process over.

            Until you change what you are trying to do, the answer will be "you can't do that". What you are trying to do cannot be done, no matter how you attempt to obfuscate it.

            1 Reply Last reply Reply Quote 2
            • LakshmanaL
              Lakshmana @scottalanmiller
              last edited by

              @scottalanmiller said in Bat file Protection:

              @lakshmana said in Bat file Protection:

              Now i am having the file in encrypted which is not viewable in the PC but the file is not running in the machine B.A machine run the file

              You can't run an encrypted file.

              Why the file got encrypted now ??It should be usable Right ?

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @Lakshmana
                last edited by

                @lakshmana said in Bat file Protection:

                @scottalanmiller said in Bat file Protection:

                @lakshmana said in Bat file Protection:

                Then how .exe files are created any ideas ?

                But I just explained that .exe can't do this either. He can still open an exe and see what it is doing.

                How it able to do ?

                Just open it with a hex editor and you can see the commands.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @Lakshmana
                  last edited by

                  @lakshmana said in Bat file Protection:

                  @scottalanmiller said in Bat file Protection:

                  @lakshmana said in Bat file Protection:

                  Now i am having the file in encrypted which is not viewable in the PC but the file is not running in the machine B.A machine run the file

                  You can't run an encrypted file.

                  Why the file got encrypted now ??It should be usable Right ?

                  No, you have to decrypt any file to use it, always.

                  LakshmanaL 1 Reply Last reply Reply Quote 0
                  • LakshmanaL
                    Lakshmana @scottalanmiller
                    last edited by

                    @scottalanmiller How to encrypt the bat file and decrypt it ?

                    scottalanmillerS 1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller @Lakshmana
                      last edited by

                      @lakshmana said in Bat file Protection:

                      @scottalanmiller How to encrypt the bat file and decrypt it ?

                      Why are you asking about this now that you know it is useless?

                      1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        scottalanmiller
                        last edited by

                        There is no need to encrypt and decrypt that BAT file, just give your friend the BAT file. Same results.

                        1 Reply Last reply Reply Quote 0
                        • LakshmanaL
                          Lakshmana
                          last edited by

                          I verified this link but some confusions

                          https://www.computing.net/answers/programming/hide-batch-file-contents/28331.html

                          1 Reply Last reply Reply Quote 0
                          • LakshmanaL
                            Lakshmana
                            last edited by

                            This link too

                            https://superuser.com/questions/62525/run-a-batch-file-in-a-completely-hidden-way

                            scottalanmillerS 1 Reply Last reply Reply Quote 0
                            • LakshmanaL
                              Lakshmana
                              last edited by

                              Its possible i think from the above forums

                              1 Reply Last reply Reply Quote 0
                              • LakshmanaL
                                Lakshmana
                                last edited by

                                Hi @scottalanmiller can you please help me ?

                                1 Reply Last reply Reply Quote 0
                                • scottalanmillerS
                                  scottalanmiller @Lakshmana
                                  last edited by

                                  @lakshmana said in Bat file Protection:

                                  This link too

                                  https://superuser.com/questions/62525/run-a-batch-file-in-a-completely-hidden-way

                                  That's totally different than what you are talking about. He's talking about have the BAT file not pop up any windows.

                                  1 Reply Last reply Reply Quote 1
                                  • scottalanmillerS
                                    scottalanmiller
                                    last edited by

                                    What we have not heard yet is what you are trying to do. What is the goal here?

                                    1 Reply Last reply Reply Quote 0
                                    • scottalanmillerS
                                      scottalanmiller
                                      last edited by

                                      I suspect that this is something really easy to solve that we could have fixed in a few seconds if we only knew what you were trying to accomplish. Do you just want to collect some basic data about someone's computer?

                                      1 Reply Last reply Reply Quote 1
                                      • LakshmanaL
                                        Lakshmana
                                        last edited by

                                        for example we have a exe file, when we try to open the file to see the codes, its all encrypted, like that is there any way to make the Bat file encrypted, according to a machine language?

                                        scottalanmillerS 1 Reply Last reply Reply Quote 0
                                        • scottalanmillerS
                                          scottalanmiller @Lakshmana
                                          last edited by

                                          @lakshmana said in Bat file Protection:

                                          for example we have a exe file, when we try to open the file to see the codes, its all encrypted, like that is there any way to make the Bat file encrypted, according to a machine language?

                                          EXE files cannot be encrypted. You are confusing compiled with encrypted.

                                          1 Reply Last reply Reply Quote 0
                                          • scottalanmillerS
                                            scottalanmiller
                                            last edited by

                                            Again, you keep talking about files. This is not a goal. You must tell me what you are trying to actually accomplish. Don't ask any questions and don't tell me how you want to accomplish anything. Tell me why you are doing any of this, what do you want to have as a result of all of this?

                                            LakshmanaL 1 Reply Last reply Reply Quote 2
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • First post
                                              Last post