Using EXECryptor with PureBasic

Share your advanced PureBasic knowledge/code with the community.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

don't challenge him

but i guess *he* is not the one you should be afraid of, it's the big bad ones out there <insert sweepign motion to the eternal catacombs of the endless web > that you should worry about

if it's good enough, any fool will buy it, so thefool as well :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

blueznl wrote:don't challenge him

but i guess *he* is not the one you should be afraid of, it's the big bad ones out there <insert sweepign motion to the eternal catacombs of the endless web > that you should worry about

if it's good enough, any fool will buy it, so thefool as well :-)
hehe :D
well. if its proven to work, and it works with .net, and its not too expensive, it wouldnt be stupid to buy it (if you have something to protect that is). But first, i gotta finish some products :)

@utopimania: watch out :P
Last edited by thefool on Mon May 08, 2006 2:04 pm, edited 1 time in total.
josku_x
Addict
Addict
Posts: 997
Joined: Sat Sep 24, 2005 2:08 pm

Post by josku_x »

thefool wrote:But first, i gotta finnish some products :)
How can you finnish some products? Do you translate them from english to finnish? That would be great!

Oh, I see you meant 'finish',.. but well, duh..
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

:lol:
BillyColl
New User
New User
Posts: 3
Joined: Sat May 06, 2006 10:58 am

Post by BillyColl »

thefool wrote:
hehe :D
well. if its proven to work, and it works with .net, and its not too expensive, it wouldnt be stupid to buy it (if you have something to protect that is). But first, i gotta finish some products :)

@utopimania: watch out :P
Unfortunately EXECryptor does not work with .Net
Armoured
Enthusiast
Enthusiast
Posts: 365
Joined: Mon Jan 26, 2004 11:39 am
Location: ITALY
Contact:

Post by Armoured »

Unfortunately EXECryptor does not work with .Net
Fortunately Purebasic don't use .NET :D
BillyColl
New User
New User
Posts: 3
Joined: Sat May 06, 2006 10:58 am

Post by BillyColl »

To all who is interested.

EXECryptor http://www.strongbit.com protection next update will be Vista compatible. They announced the beta of the new release is going to be available to registered users.
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

b.t.w.: what's the current status of the EXECryptor / PB4 combination? Anyone with experience around here? I'd like to know, what tools/scripts to use to use all of the EC API with PB4...
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

One way is in ->this<- post. To use it in unicode mode adding W to the end of all the functions should be enough e.g. use EXECryptor_MessageBoxW everywhere.
Mat
dell_jockey
Enthusiast
Enthusiast
Posts: 767
Joined: Sat Jan 24, 2004 6:56 pm

Post by dell_jockey »

MrMat wrote:One way is in ->this<- post. To use it in unicode mode adding W to the end of all the functions should be enough e.g. use EXECryptor_MessageBoxW everywhere.
thanks Mat!
cheers,
dell_jockey
________
http://blog.forex-trading-ideas.com
Sabour
User
User
Posts: 31
Joined: Sun Apr 02, 2006 7:41 am

Post by Sabour »

any new updated pbi files for 4.02?
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

PureBasic's generated asm for ProcedureDLL has changed in 4.02 and no longer includes the procedure name as a label, hence the !public directives fail. For instance here is the generated code for a short procedure in 4.01 with the missing line marked:

Code: Select all

; ProcedureDLL addten(somevar.l)
macro MP0{
_Procedure0:
_addten: ; <-- ** This line missing in 4.02 **
  PUSH   ebx
  PS0=12
  XOR    eax,eax
  PUSH   eax                                                                                                                                                                                                                  
; var.l = 10
  MOV    dword [esp],10
; ProcedureReturn somevar + var
  MOV    ebx,dword [esp+PS0+0]
  ADD    ebx,dword [esp]
  MOV    eax,ebx
  JMP   _EndProcedure1
; EndProcedure
  XOR    eax,eax
_EndProcedure1:
  ADD    esp,4
  POP    ebx
  RET    4
}
The only things i can think of are using the _Procedurexx: labels directly (not good since they can easily change - but may work as a quick hack), writing something that processes the generated asm to insert the labels manually (too much work...), wait for someone to come up with a better idea or...

...ask Fred kindly if he doesn't mind adding the labels back in (if there is no reason against it).

I like the last idea :D

By the way, we cannot insert the label e.g. !_addten: directly into the PureBasic code because it doesn't get inserted at the start of the procedure.
Mat
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Post by utopiomania »

StrongBit is working to fix this ASAP :)
Sabour
User
User
Posts: 31
Joined: Sun Apr 02, 2006 7:41 am

ho

Post by Sabour »

finally :twisted: 2 month?
Micko
Enthusiast
Enthusiast
Posts: 244
Joined: Thu May 24, 2007 7:36 pm
Location: Senegal
Contact:

Post by Micko »

Hi
Someone can tell me the link to download PBCoffee for EXECryptor please ?
Post Reply