|
-
July 29th, 2003, 12:06 AM
#1
Obfuscated Visual Basic ?
Hi Guys,
Is there a way to write Obfuscated code in Visual Basic, as we do in C / C++ ?
Kindly help.
Thanks
Suhaib
-
July 29th, 2003, 12:19 AM
#2
yes you can write obfuscated code... but it is a WHOLE bunch harder in VB because of the well defined structure and inflexibility of the language and the self-formatting VB engine. So it is a pretty stupid idea...
Mike
-
July 29th, 2003, 12:36 AM
#3
Originally posted by Pinky98
yes you can write obfuscated code... but it is a WHOLE bunch harder in VB because of the well defined structure and inflexibility of the language and the self-formatting VB engine. So it is a pretty stupid idea...
Stupid though it might be, please tell me how.
-
July 29th, 2003, 12:47 AM
#4
what do you mean "How"?
You decide what kind of obfuscation you want and then you write it...
It like asking how do you type a Word document? You open the editor and then you start typing. And once you are finished stop.
Mike
-
July 29th, 2003, 12:51 AM
#5
say you want code that rotates a text file by 90 degrees, and if you put the original document into itself it still works...
you would start off by writing the program, and then putting in comments such that, when flipped by 90 deg, your code is all commented out. Then put in the new code which will now become visible once flipped....
e.g. (assume that this code would flip though 90 degrees)
Code:
Dim a as integer
a = a+1
''''''''''''''''
'D a
'i
'm =
'
'a a
' +
'a 1
's
'
'i
'n
't
'e
'g
'e
'r
Mike
-
July 29th, 2003, 01:30 AM
#6
make that:
Code:
'D a
'i
'm =
'
'a a
' +
'a 1
's
'
'i
'n
't
'e
'g
'e
'r
''''''''''''''''
Dim a as integer
a = a+1
Mike
-
July 29th, 2003, 07:57 AM
#7
I downloaded a vb obfuscator once, but I never had time to test it out. It basically anaylses your exe then makes a new one that is supposedly obfuscated.
Go to http://www.joryanick.com/ and look for the vb obfuscator link.
hth
Cheers,
Laurent
For an aviator, the three best things in life are a good landing, a good orgasm, and a good sh*t. A night carrier landing is one of the few opportunities to experience all three at the same time.
-
July 29th, 2003, 08:24 AM
#8
Ok.... I read this post and thought this would be an interesting topic. Then I realized that I didn't have a clue as to what 'Obfuscated' code was.
1. Could someone please define what obfuscated code is
and
2. What purpose does it serve?
Based on the example provided by Pinky I don't see why you would want to do such a thing.
-
July 29th, 2003, 10:28 AM
#9
by definition, obfuscated means to make something obscure or unclear, especially by making it unnecessarily complicated.
purpose might be to make it harder for someone to figure out what you're doing in code.
-
July 29th, 2003, 10:58 AM
#10
Search the web for Obfuscated Perl, Perl is the best language for obfuscated code. I remember an encryption code wich looked like an ascii dolphin.
I don't think you can achieve any level of obfuscated code with VB.
-
July 29th, 2003, 12:23 PM
#11
Some obfuscators i have read about even make sure to give a hacker a hard time trying to monitor variables or functions by making them look the same.
There is an excellent article on this subject by Robert Cringely on his site:
http://www.pbs.org/cringely/pulpit/pulpit20020613.html
if that didn't work, go to http://www.pbs.org/cringely and look for the article titled "How Obfuscation Is Emerging as a Technology That Is Critical to .NET, Yet Somehow Not Owned by Microsoft" under the 'Old Hat' link.
Cheers,
Laurent
For an aviator, the three best things in life are a good landing, a good orgasm, and a good sh*t. A night carrier landing is one of the few opportunities to experience all three at the same time.
-
July 30th, 2003, 05:23 AM
#12
I downloaded a vb obfuscator once, but I never had time to test it out. It basically anaylses your exe then makes a new one that is supposedly obfuscated.
no idea what you are talking about, but obfuscation is inherently a process that takes place on SOURCE code, most emphatically NOT on an EXE.
phinds
vs2008, 3.5SP1 Version 9.0.21022.8 RTM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|