Author Topic: Keep a variable secret  (Read 1434 times)

0 Members and 1 Guest are viewing this topic.

baitang36

  • Bull Frog
  • Posts: 213
Keep a variable secret
« on: July 12, 2020, 03:40:28 AM »
If the sensitive information in the running of the program, such as the registration code, is not safe if it is stored in the global variable, can it be kept in a secret place so that the cracker can not find it and take it out at any time when he wants to use it? After many experiments, the preliminary success has been achieved. This program defines two functions (syz-set1 (x)) and (syz-get1), in which syz-set1 is to save variables and syz-get1 to take out variables.
Detailed usage:
Load syzt-new.fas And then call these two functions.
(load “syzt- new.fas ”)
(syz-set1 8888); secret preservation number 8888
(setq B (syz-get1)); take the saved 8888 and put it into the variable B, and the value of B becomes 8888
This variable can also hold strings and floating-point numbers.
This program is manually modified, variable into acad.exe Somewhere in the process, LSP cannot operate it. If the cracker wants to find it, it is quite difficult.
syzt- new.fas It is decoded. The function name in it can be changed at will, not necessarily called syz-set1. It can be changed to whatever you like.

ahsattarian

  • Newt
  • Posts: 112
Re: Keep a variable secret
« Reply #1 on: November 17, 2020, 11:47:24 AM »
I suggest using environments instead of variables.

Use  :   Setenv   &    Getenv

MP

  • Seagull
  • Posts: 17750
  • Have thousands of dwgs to process? Contact me.
Re: Keep a variable secret
« Reply #2 on: November 17, 2020, 12:23:59 PM »
I suggest using environments instead of variables.

Use  :   Setenv   &    Getenv

Engineering Technologist • CAD Automation Practitioner
Automation ▸ Design ▸ Drafting ▸ Document Control ▸ Client
cadanalyst@gmail.comhttp://cadanalyst.slack.comhttp://linkedin.com/in/cadanalyst