Search found 105 matches

by manehscripts
30 May 2019, 16:40
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Re: Segurança do .exe AHK

Sim, ele pode pegar o ip que está sendo usado com o banco de dados junto com as credenciais dele (já que os sniffers de rede pega tanto o ip alvo quanto os dados da conexão), por isso fazendo uma API que controle isso seria muito melhor, e tendo as credenciais no script tb é algo meio perigoso, ofu...
by manehscripts
30 May 2019, 16:17
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Re: Segurança do .exe AHK

Sim, tendo o programa ele pode facilmente descobrir como funciona, e as vezes nem precisa do programa, colocando algo para observar trafego de rede ele pode pegar facilmente essas coisas. Sobre isso de verificação de token, caso o token expire, a api comece a ignorar requests do usuário, assim evit...
by manehscripts
30 May 2019, 15:47
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Re: Segurança do .exe AHK

Por experiência própria recomendo fazer um servidor para processar informações delicadas, já que mesmo ofuscando, comprimindo, e deixando o script quase impossível de ler se alguém quer modificar ele e tiver muio tempo e conhecimento ela vai conseguir fazer isso. Mas não precisa se preocupar tanto ...
by manehscripts
30 May 2019, 13:07
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Re: Segurança do .exe AHK

Por experiência própria recomendo fazer um servidor para processar informações delicadas, já que mesmo ofuscando, comprimindo, e deixando o script quase impossível de ler se alguém quer modificar ele e tiver muio tempo e conhecimento ela vai conseguir fazer isso. Mas não precisa se preocupar tanto ...
by manehscripts
30 May 2019, 13:00
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Re: Segurança do .exe AHK

Gio , eu tenho certeza que essa sua AULA vai servir para tantos outros camaradas que precisaram de ajuda como eu! :bravo: Agradeço de verdade a disposição em querer ajudar e estou muito satisfeito com tudo que aprendi. Eu não sei nem o que dizer, visto que tudo que você falou é exatamente o que eu ...
by manehscripts
30 May 2019, 10:24
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Re: Segurança do .exe AHK

Bom dia Manehscripts. Seja bem-vindo ao fórum da comunidade do AutoHotkey :thumbup: A questão da segurança do código é um tema importante, mas que precisa ser corretamente ponderado pelo desenvolvedor. Eu diria que em mais de 99% das vezes, a segurança básica que o arquivo compilado do AutoHotkey f...
by manehscripts
29 May 2019, 21:25
Forum: Scripts and Functions
Topic: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation
Replies: 46
Views: 19986

Re: [TOOL] AHK Dynamic Obfuscator L - Protect your code by Obfuscation

Hello guys! DigiDon I'm have a problem while trying to obfuscate this code below: ;$OBFUSCATOR: $DYNAMIC_MODE: ; -------------------- obf_dumpcommonobjfrags() obf_dumpunclassed() obf_dumpunsecclasses() obf_dumpall() ;$OBFUSCATOR: $DEFGLOBVARS: COUNT,Variable Gui, +AlwaysOnTop Gui, Add, Edit, r1 Read...
by manehscripts
29 May 2019, 19:45
Forum: Ajuda e Suporte Geral
Topic: Segurança do .exe AHK
Replies: 18
Views: 3635

Segurança do .exe AHK

Fazem alguns dias que descobri o AHK e estou super interessado em aprender mais e mais. O engraçado é que até então, eu não sabia da existência do sub-fórum em português, embora a participação em outros idiomas não seja o meu problema. Talvez aqui fique mais fácil de compreender as dicas pois eu acr...
by manehscripts
29 May 2019, 18:48
Forum: Ask For Help
Topic: About AHK Security
Replies: 4
Views: 572

Re: About AHK Security

There are many things you can do to try and hide source code information from a hacker (but be advised: security is just like the height of a wall: there are always some practical limits and perhaps even problems to applying too many methods). Here a few examples: 1. Obfuscator (you are using alrea...
by manehscripts
29 May 2019, 17:39
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

Oh, no! Don't use my def of Space! I use s14 size besides the physical size of the monitor matters too! … To create your own definition just capture e.g. s reduce the width to 1/3 or the like (need to experiment) and use for gray difference mode value 255. That should do the trick! Yes of course. I...
by manehscripts
29 May 2019, 17:30
Forum: Ask For Help
Topic: About AHK Security
Replies: 4
Views: 572

About AHK Security

Hello everybody, I'm developing a test-to-learn project, I'm doing my best to finish it, but I've been thinking about the security issue of all the code I've already developed. I have found an AHK-Obfuscator (https://www.everfastaccess.com/AHK-Obfuscator/), where I have adapted all of my code, but I...
by manehscripts
29 May 2019, 16:32
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

@manehscripts Hello! :wave: 1. I hadn't found that object keys were case-insensitive before: arr["abc"]==arr["ABC"] So please modify this Pic() function: Pic(comments, add_to_Lib=0) { static Lib:=[] if (add_to_Lib) { re:="<([^>]*)>[^$]+\$\d+\.[\w+/]+" Loop, Parse, comments, | if RegExMatch(A_LoopFi...
by manehscripts
28 May 2019, 17:58
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

There was a bug. Run the code, type in e.g. : zba and press Search Gui, +AlwaysOnTop Gui, Font, s14 Gui, Add, Edit, w295 vFindName Gui, Add, Button, w295 gSearch, Search Gui, Show, x1400 y150 `t Gui, Show, x1400 y150 `t a:=Ord("a"), Txt_%a%:="|<a>*136$10.7lzq3MA0lzTzUw3sRznvU" b:=Ord("b"), Txt_%b%:...
by manehscripts
28 May 2019, 17:19
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

Just made edit on the previous page. Take a look how to distinguish them! Hmm interesting ... Error in: Text.=Txt_%Ord(A_LoopField)% (24) : ==> This parameter contains a variable name missing its ending percent sign. Gui, +AlwaysOnTop Gui, Add, Edit, w295 vFindName Gui, Add, Button, w295 gSearch, S...
by manehscripts
28 May 2019, 16:55
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

Try this idea (e.g. a_Code is: 177$9.DXyMs3DvzsS7zvvU etc. ;~ ... Gui, Show, x1400 y150 `t Txt_a:="|<a>*a_Code" Txt_b:="|<b>*b_Code" ;~ ... Txt_z:="|<z>*z_Code" Txt_A:="|<A>*A_Code" Txt_B:="|<B>*B_Code" ;~ ... Txt_Z:="|<Z>*Z_Code" ;~ ... ;~ etc. return Search: Text:="" GuiControlGet, FindName loop,...
by manehscripts
28 May 2019, 15:55
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

This works for me: t1:=A_TickCount Text.="|<S>*139$14.3w3zlkCM1a0NU0S03y0Dw0DU0T03s0q0RsCDz0z2" Text.="|<s>*141$10.Dlzi7k3k7w3s1k3kTzXwU" if (ok:=FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0.1, 0.1, Text, 1, 1, JoinText:=1)) { CoordMode, Mouse X:=ok.1.1, Y:=ok.1.2, W:=ok.1.3, H:=ok.1.4, Comment:...
by manehscripts
28 May 2019, 13:43
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

Try: if (ok:=FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0.1, 0.1, PicN(FindName), 1, 1, JoinText:=1)) P.s.: Why don't you capture Soul Points as one entity? I think it would be less prone to fail! Hello, your suggestion continues with the same problem. My idea is to put a text box for the person...
by manehscripts
28 May 2019, 13:08
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

if (ok:=FindText(0, 0, A_ScreenWidth, A_ScreenHeight, 0, 0, PicN(FindName), 1, 1, JoinText:=1)) This function is clearly returning false when you expect it to return true, as that is the only way that you could get the "Not Found" msgbox PicN(FindName) refers to an image. What is in the image when ...
by manehscripts
28 May 2019, 12:49
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

evilC wrote:
28 May 2019, 12:43
So in your code, I am assuming that ok := FindText(...) is returning false, when you expect it to return true?
When type a word that has a lowercase equal to a capital letter, it conflicts. In my example the S (uppercase) and the s (lowercase) are not recognized separately.
exemple2.gif
exemple2.gif (1.5 MiB) Viewed 3347 times
by manehscripts
28 May 2019, 12:38
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 192812

Re: FindText - Capture screen image into text and then find it Topic is solved

Dude... it's 2000 lines of code! If you cannot boil your problem down to less code, or at the very least say "when line X executes, I am expecting Y to happen but Z happens", I simply cannot be bothered... exemple.gif My code has 34 rows. The rest are FindText functions. Idk if you know how FindTex...

Go to advanced search