Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to encrypt the password field in the command line
#1
I use the following code to create a compressed file with a password, but the password(123456) in the command line is plain, how to encrypt this field, thanks in advance

Macro Macro1
Trigger SF9     Help - how to add the trigger to the macro
Code:
Copy      Help
str z7.expandpath("$qm$\7z.exe")
str zf.expandpath("$desktop$\test\file.7z")
str f.expandpath("$desktop$\test\file.doc")
RunConsole2(F"{z7} a -p123456 {zf} {f}")
#2
Option 1. Encrypt the macro.
Option 2. Put the password in some encrypted database or Excel file or even on the internet, and let the macro get it from there. If need, use an encrypted function to get it.
#3
Thank you very much, is it set in the security option?

Use this way encryption, with binary view tool, do not see the password string?


Attached Files Image(s)
   
#4
Will not see.
#5
That's great, thank you very much Big Grin


Forum Jump:


Users browsing this thread: 1 Guest(s)