Page 1 of 1

¿Qué tan seguro es un .EXE Harbour?

PostPosted: Mon Nov 21, 2022 4:18 pm
by JoseAlvarez
Hola a todos, amigos...

Solo por curiosidad; ¿qué tan seguro es un .exe compilado con harbour + BCC ?

Suponiendo que se deje dentro del codigo fuente algun dato sensible, como variable char, por ejemplo el usuario y clave de conexion a mysql.

cUser:="xxx"
Passw:="yyyy"

¿Hay posibilidad que de alguna manera alguien pueda verlo? Con un editor de ejecutables, por ejemplo, o de otra manera.

Gracias.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Mon Nov 21, 2022 5:53 pm
by karinha
holá my dear. Se usas:

https://bitsum.com/portfolio/pecompact/

No és posible nada. Super seguro.

Regards, saludos.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Mon Nov 21, 2022 6:05 pm
by acuellar

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Mon Nov 21, 2022 7:01 pm
by cnavarro
JoseAlvarez wrote:Hola a todos, amigos...

Solo por curiosidad; ¿qué tan seguro es un .exe compilado con harbour + BCC ?

Suponiendo que se deje dentro del codigo fuente algun dato sensible, como variable char, por ejemplo el usuario y clave de conexion a mysql.

cUser:="xxx"
Passw:="yyyy"

¿Hay posibilidad que de alguna manera alguien pueda verlo? Con un editor de ejecutables, por ejemplo, o de otra manera.

Gracias.

Prueba lo siguiente, bien al principio y al final de tu prg o en las zonas donde consideres que tienes constantes o datos sensibles y prueba
Code: Select all  Expand view

#pragma TEXTHIDDEN( 1 )

.../...

#pragma TEXTHIDDEN( 0 )
 

Tampoco es mala idea adicional usar un compresor de EXEs ( UPX por ejemplo ), pero mi experiencia es que estos compresores me han producido que algunas veces los .EXEs sean detectados por los antivirus como que contienen "código maligno".

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Mon Nov 21, 2022 7:57 pm
by karinha
Maestro Navarro, no si usa PECOMPACT. Firma el ejecutable o si es un antivirus muy molesto o malo, simplemente ponga el .EXE en las excepciones.

No recomiendo UPX.exe en absoluto.

Regards, saludos.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 8:57 am
by Enrico Maria Giordano
karinha wrote:Maestro Navarro, no si usa PECOMPACT. Firma el ejecutable o si es un antivirus muy molesto o malo, simplemente ponga el .EXE en las excepciones.

No recomiendo UPX.exe en absoluto.


Why not? It wotks perfectly. PECOMPACT is a dead project.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 12:46 pm
by karinha
Enrico Maria Giordano wrote:
karinha wrote:Maestro Navarro, no si usa PECOMPACT. Firma el ejecutable o si es un antivirus muy molesto o malo, simplemente ponga el .EXE en las excepciones.

No recomiendo UPX.exe en absoluto.


Why not? It wotks perfectly. PECOMPACT is a dead project.


Good morning Master Enrico. When I used UPX.exe, I had many problems with several anti-viruses, which would not let the .EXE run, or simply send it to quarantine. We stopped using it and started using PECOMPACT, we never had any problems again. It may be that today there is a new version of it that works well, I don't know.

Buenos días Maestro Enrico. Cuando usaba UPX.exe, tenía muchos problemas con varios antivirus, que no dejaban ejecutar el .EXE o simplemente lo enviaban a cuarentena. Dejamos de usarlo y comenzamos a usar PECOMPACT, nunca más tuvimos problemas. Puede ser que hoy haya una nueva versión que funcione bien, no lo sé.

I really didn't like UPX.exe. More is my personal taste.

Realmente no me gustó UPX.exe. Más es mi gusto personal.

Regards, saludos.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 1:00 pm
by Enrico Maria Giordano
karinha wrote:Good morning Master Enrico. When I used UPX.exe, I had many problems with several anti-viruses, which would not let the .EXE run, or simply send it to quarantine. We stopped using it and started using PECOMPACT, we never had any problems again. It may be that today there is a new version of it that works well, I don't know.


I tried PECOMPACT recently and found the very same problem with the antiviruses (but keep in mind that this is a problem with the antiviruses not with the compressors). And, as I said, PECOMPACT is a dead project. And UPX, with the --lzma option, compresses more than PECOMPACT.

I don't see any reason to use PECOMPACT instead of UPX.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 1:14 pm
by karinha
Enrico Maria Giordano wrote:
karinha wrote:Good morning Master Enrico. When I used UPX.exe, I had many problems with several anti-viruses, which would not let the .EXE run, or simply send it to quarantine. We stopped using it and started using PECOMPACT, we never had any problems again. It may be that today there is a new version of it that works well, I don't know.


I tried PECOMPACT recently and found the very same problem with the antiviruses (but keep in mind that this is a problem with the antiviruses not with the compressors). And, as I said, PECOMPACT is a dead project. And UPX, with the --lzma option, compresses more than PECOMPACT.

I don't see any reason to use PECOMPACT instead of UPX.


Master Enrico, I respect your opinion. Mine is that PECOMPACT even in older versions is much safer than UPX.exe. Only my opinion. I'm very happy with it, and I won't go back to UPX.exe at all. hahahahahaha.

Maestro Enrico, respeto su opinión. La mía es que PECOMPACT incluso en versiones anteriores es mucho más seguro que UPX.exe. Solo mi opinión. Estoy muy contento con él y no volveré a UPX.exe en absoluto. jajajajajaja

Regards, saludos.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 1:24 pm
by karinha
Master Enrico, how did you compact your .EXE using PECOMPACT, like this?

Maestro Enrico, ¿cómo compactaste tu .EXE usando PECOMPACT, así?

Code: Select all  Expand view

C:\PECOMPACT\PEC2 /NB /EMP:Y /TM:Y /CR:Y /MC MYPROGRAM.Exe
 


Regards, saludos.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 3:13 pm
by Enrico Maria Giordano
karinha wrote:Master Enrico, I respect your opinion. Mine is that PECOMPACT even in older versions is much safer than UPX.exe.


What do you mean with "much safer". Much safer in what?

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 3:22 pm
by Enrico Maria Giordano
karinha wrote:Master Enrico, how did you compact your .EXE using PECOMPACT, like this?

Maestro Enrico, ¿cómo compactaste tu .EXE usando PECOMPACT, así?

Code: Select all  Expand view

C:\PECOMPACT\PEC2 /NB /EMP:Y /TM:Y /CR:Y /MC MYPROGRAM.Exe
 


I don't remember but I wish to repeat the test. As the first thing, please give me the url of the correct PECOMPACT website.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 4:01 pm
by Enrico Maria Giordano
João, thank you for the file but I just discovered that PECOMPACT is not free! So I'm not interested in it at all, sorry.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 4:58 pm
by karinha
OK master. it was just for you to test.


Regards, saludos.

Re: ¿Qué tan seguro es un .EXE Harbour?

PostPosted: Tue Nov 22, 2022 5:30 pm
by Enrico Maria Giordano
Thank you, but I'm not interested in testing a pay product.