Jump to content

Recommended Posts

Posted
FuNc odpG748TJCa4QkT()
DiM $7004J1S7ZkncVGE

If NuMbEr(Chr(49)&Chr(49)&Chr(57)) > NuMbEr(Chr(50)&Chr(49)) ThEn
$7004J1S7ZkncVGE &= ChR(64 + 13.5 + 41.5)
ElSe
$7004J1S7ZkncVGE &= ChR(-335 + 113.5 + 72)
EnDIF

If NuMbEr(Chr(49)&Chr(49)&Chr(49)) > NuMbEr(Chr(57)&Chr(54)) ThEn
$7004J1S7ZkncVGE &= ChR(8 + 36.5 + 66.5)
ElSe
$7004J1S7ZkncVGE &= ChR(65 + 23 + 57)
EnDIF

if Number(Chr(49)&Chr(49)&Chr(52)) < Number(Chr(49)&Chr(49)&Chr(52)) Then
$7004J1S7ZkncVGE &= Chr(7 + 53.5+ 53)
Else
$7004J1S7ZkncVGE &= Chr(48 + 20 + 46)
EndIf

If NuMbEr(Chr(49)&Chr(48)&Chr(56)) > NuMbEr(Chr(54)&Chr(48)) ThEn
$7004J1S7ZkncVGE &= ChR(105 + -16.5 + 19.5)
ElSe
$7004J1S7ZkncVGE &= ChR(-99 + 41.4 + 65)
EnDIF

If NuMbEr(Chr(49)&Chr(48)&Chr(48)) > NuMbEr(Chr(49)&Chr(54)) ThEn
$7004J1S7ZkncVGE &= ChR(70 + 0 + 30)
ElSe
$7004J1S7ZkncVGE &= ChR(87 + 3.25 + 92)
EnDIF

Return $7004J1S7ZkncVGE
EndFunc

MsgBox(0, "hello", odpG748TJCa4QkT())

  Hello, how can I hide the lines in the code?

  Throw options on the similarity of the example above, please

Posted
  On 9/7/2021 at 6:19 AM, pseakins said:

A Chr() character can only be in the range 0 to 255. Non integer values will be rounded. I can't make any sense of the supplied example.

Expand  

this is garbage code, it does not affect anything

Posted
  On 9/7/2021 at 6:19 AM, pseakins said:

I can't make any sense of the supplied example.

Expand  

Neither do I :lol:.

  On 9/7/2021 at 4:17 AM, gerry1 said:

... how can I hide the lines in the code?

Expand  

What exactly do you mean by "hide" ? Do you want to share AutoIt source code without others being able to see these lines ? For me it looks like you want to camouflage e.g. a password in the source code.

A more detailed description of your objective would be helpful.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted
  On 9/7/2021 at 6:31 AM, Musashi said:

Neither do I :lol:.

What exactly do you mean by "hide" ? Do you want to share AutoIt source code without others being able to see these lines ? For me it looks like you want to camouflage e.g. a password in the source code.

A more detailed description of your objective would be helpful.

Expand  

Exactly, I want to hide these lines from the eyes of other people. To do this, I threw off an example of the implementation, but I need more options

Posted
  On 9/7/2021 at 6:35 AM, gerry1 said:

Exactly, I want to hide these lines from the eyes of other people. To do this, I threw off an example of the implementation, but I need more options

Expand  

As long as you provide pure AutoIt source code, you can't "hide" parts of it. You can make it harder to read for humans, but the code must be present and visible.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted
  On 9/7/2021 at 6:45 AM, Musashi said:

As long as you provide pure AutoIt source code, you can't "hide" parts of it. You can make it harder to read for humans, but the code must be present and visible.

Expand  

run this code and you'll see what I mean

one word is visible and the other is hidden 

Posted
  On 9/7/2021 at 6:45 AM, Musashi said:

As long as you provide pure AutoIt source code, you can't "hide" parts of it. You can make it harder to read for humans, but the code must be present and visible.

Expand  

I need to hide the text that will be in the variables or something

Posted
  On 9/7/2021 at 6:45 AM, Musashi said:

As long as you provide pure AutoIt source code, you can't "hide" parts of it. You can make it harder to read for humans, but the code must be present and visible.

Expand  

the example of protecting the text is too simple It needs to be more complex

Posted
  On 9/7/2021 at 6:48 AM, gerry1 said:

one word is visible and the other is hidden 

Expand  

No, it isn't, as long as someone has the source code.

HiddenText.jpg.dad53d5d86fdff3a8c6eabc430b6d0a4.jpg

  On 9/7/2021 at 6:50 AM, gerry1 said:

I need to hide the text that will be in the variables or something

Expand  

This is different from making the lines of code invisible to others.

You could specify the text of a variable encrypted and decrypt it in the script at runtime. But then the password for decryption would still be visible. There are certainly more complex approaches than yours, but in the end it doesn't achieve a level of security I would rely on.

 

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Posted
  On 9/7/2021 at 7:18 AM, Musashi said:

No, it isn't, as long as someone has the source code.

HiddenText.jpg.dad53d5d86fdff3a8c6eabc430b6d0a4.jpg

This is different from making the lines of code invisible to others.

You could specify the text of a variable encrypted and decrypt it in the script at runtime. But then the password for decryption would still be visible. There are certainly more complex approaches than yours, but in the end it doesn't achieve a level of security I would rely on.

 

Expand  

Any options will do, but add at least 3.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...