Author Topic: [original works] adds GOTO instruction to AutoLisp language  (Read 12085 times)

0 Members and 1 Guest are viewing this topic.

baitang36

  • Bull Frog
  • Posts: 213
Re: [original works] adds GOTO instruction to AutoLisp language
« Reply #45 on: April 02, 2020, 08:38:11 PM »
What language is this?
Code: [Select]
      len=php_strlen(utmZone);
       if (len>1)
              {   isNorthHemisphere = substr(utmZone,len,1),                  diflat = -0.00066286966871111111111111111111111111,diflon = -0.0003868060578,
                  utmZone = substr(utmZone,1,len-1);c_sa = 6378137.000000;
  c_sb = 6356752.314245;e2 = math_pow((math_Pow(c_sa, 2) - Math_Pow(c_sb, 2)), 0.5) / c_sb; e2cuadrada = Math_Pow(e2, 2);
  c = math_pow(c_sa, 2) / c_sb;  x = utmX - 500000;
                  isNorthHemisphere =(isNorthHemisphere >"N")?T:nil;
  y = isNorthHemisphere ? utmY : utmY - 10000000;
                  zone=atoi(utmZone); s = ((zone * 6.0) - 183.0);
  lat = y / (6366197.724 * 0.9996); // Change c_sa for 6366197.724
[/quote]thank you  sir

baitang36

  • Bull Frog
  • Posts: 213
Re: [original works] adds GOTO instruction to AutoLisp language
« Reply #46 on: April 02, 2020, 08:52:52 PM »
nice research, baitang36, as always
 how will uncoditional jumping protect your code?
the 'hacker' will simply delete c:zhuce function from the decompiled lsp.
In this program, if the hacker removes c:zhuce, nothing will run. it exit.
Code - Auto/Visual Lisp: [Select]
  1. (defun t1 ()(princ "Check registration code")
The entry of normal program is entered through special goto.
 If c: Zhe is deleted, there will be no entry, and the program will never be executed.
In order to run normal programs, hackers also need to delete (exit). In FAS, exit is hard to find
« Last Edit: April 02, 2020, 08:57:53 PM by baitang36 »