Adblock breaks this site

How to protect my VB apps?

Discussion in 'Programming General' started by Nunk, Nov 22, 2007.

  1. Nunk

    Nunk Forum Addict
    Banned

    Joined:
    Jan 22, 2007
    Posts:
    289
    Referrals:
    1
    Sythe Gold:
    0
    How to protect my VB apps?

    Hey

    How i can encrypt my visual basic projects to make that its impossible to watch the code with decompiler?
     
  2. speljohan

    speljohan Guru
    Visual Basic Programmers

    Joined:
    Apr 24, 2005
    Posts:
    1,450
    Referrals:
    3
    Sythe Gold:
    0
    How to protect my VB apps?

    If you use VB6 it's impossible to decompile the code.
     
  3. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    How to protect my VB apps?

    He does. No idea where he heard it could be decompiled.:rolleyes:
     
  4. Nunk

    Nunk Forum Addict
    Banned

    Joined:
    Jan 22, 2007
    Posts:
    289
    Referrals:
    1
    Sythe Gold:
    0
    How to protect my VB apps?

    Google VBDecompiler.

    You can see the code like this:
    Code:
    Private Sub mnuOff_Click() '4225A0 
      loc_004225C2: var_08 = &H401530 
      loc_004225CE: and eax, 00000001h 
      loc_004225D1: var_04 = arg_08 
      loc_004225D4: and esi, FFFFFFFEh 
      loc_004225D8: arg_08 = arg_08 
      loc_004225DD: call ecx+04h(arg_08, edi, esi, ebx, fs:[0 
    0h], MSVBVM60.DLL.__vbaExceptHandler, ebp) 
      loc_004225E8: call edx+000003DCh(arg_08) 
      loc_004225F3: var_18 = IsSet(edx+000003DCh(arg_08)) 
      loc_00422603: call ecx+54h(var_18, "650") 
      loc_0042260A: If ecx+54h(var_18, "650") < edi Then 
      loc_00422615:   call MSVBVM60.DLL.__vbaHresultCheckObj(ecx+54h( 
    var_18, "650"), var_18, 0040D854h, 00000054h) 
      loc_0042261B: End If 
      loc_0042261E: call MSVBVM60.DLL.__vbaFreeObj 
      loc_0042262C: GoTo loc_422638 
      loc_00422631: call MSVBVM60.DLL.__vbaFreeObj 
      loc_00422637: ret 
      loc_00422638: 'Referenced from 0042262C 
      loc_00422638: ret 
      loc_0042263F: call edx+08h(arg_08) 
    End Sub
     
  5. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    How to protect my VB apps?

    see this is why people are suss on you when you bring out all this macros saying there your code etc.

    That is native code, and bits of ASM (i think).
     
  6. timk777

    timk777 Active Member

    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0
    How to protect my VB apps?



    Can you read that? No, just like the other 99.9% of runescape cheaters. Don't worry about it.
     
  7. cp

    cp an cat
    Banned

    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0
    How to protect my VB apps?

    Actually, I'm sure you can decompile VB6.

    My friend used VB6 to draw some GUI's (the program is from microsoft) and then he did the coding and everything.

    I used a VB decompiler and I was able to get past his password on the program.

    Not sure if that's what you mean but I'll throw it out there anyways.
     
  8. Nullware

    Nullware Guru

    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0
    How to protect my VB apps?

    Using some form of decompiler it would be possible to find his password if you can read through the machine code or ASM it spits out. As for getting the full source code, I don't think so.
     
  9. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    How to protect my VB apps?

    VB decompilers don't exist - The closest anyone would get with a decompiler is assembly, native or p-code, all of which are very difficult to deal with.
     
  10. Govind

    Govind The One Musketeer
    Mudkips Highly Respected Retired Administrator

    Joined:
    Apr 22, 2005
    Posts:
    7,825
    Referrals:
    13
    Sythe Gold:
    23
    Prove it! Trole Tier 1 Prizebox Tortoise Penis Le Monkey UWotM8? Wait, do you not have an Archer rank? Potamus
    How to protect my VB apps?

    ASM isn't that hard.
     
  11. Varreon

    Varreon Member

    Joined:
    Nov 23, 2007
    Posts:
    59
    Referrals:
    0
    Sythe Gold:
    0
    How to protect my VB apps?

    Honestly, don't bother. If someone is really interested in viewing your sourcecode, they will most likely understand ASM, so it doesn' t matter what you do to your app.
     
  12. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    How to protect my VB apps?

    Do you mean debugging software like OllyDbg32?
     
  13. SOSDeveloper

    SOSDeveloper Newcomer

    Joined:
    May 20, 2011
    Posts:
    1
    Referrals:
    0
    Sythe Gold:
    0
    How to protect my VB apps?

    :idea: Hello
    There are technical ways to protect software so that it can be loaded only once. . I propose a very technical process to use when a Developer want to protect his soft or his application from piracy. That&#8217;s will stop people from getting access to use it , in this way you can to sell your soft ONLINE or on CD or DVD in full security.
    Now I invite you to discover it's utility and free download this solution from
    http://sosdeveloper.atspace.cc/Service.htm
     
< annoying error | Smart Data Recovery 4.4 - Recover All YOUR Deleted FILES! >


 
 
Adblock breaks this site