Jump to content
Sign in to follow this  
spyrorocks

ConfuseGen

Recommended Posts

spyrorocks

ConfuseGen

v1.0

confusegen.au3

OK, so you need to embed a sting into a script, and you don't want people to be able to read it just by looking at it?

Well, ConfuseGen is for you!

ConfuseGen will take a string like "Hello" and turn it into code simmiler to this (Each time you generate code with confusegen, the code will always be different!)

func OutConfusedWord()
Dim $sWord

if Number(Chr(55)&Chr(50)) > Number(Chr(51)&Chr(55)) Then
$sWord &= Chr(11 + 18.5 + 42.5)
Else
$sWord &= Chr(-14 + 43 + 99)
EndIf

if Number(Chr(49)&Chr(48)&Chr(49)) < Number(Chr(56)&Chr(53)) Then
$sWord &= Chr(-184 + 57+ 44)
Else
$sWord &= Chr(71 + 3 + 27)
EndIf

if Number(Chr(49)&Chr(48)&Chr(56)) < Number(Chr(57)&Chr(49)) Then
$sWord &= Chr(-474 + 145.5+ 50)
Else
$sWord &= Chr(27 + 28.5 + 52.5)
EndIf

if Number(Chr(49)&Chr(48)&Chr(56)) > Number(Chr(50)&Chr(52)) Then
$sWord &= Chr(15 + 37.5 + 55.5)
Else
$sWord &= Chr(-87 + 65 + 22)
EndIf

if Number(Chr(49)&Chr(49)&Chr(49)) > Number(Chr(54)&Chr(51)) Then
$sWord &= Chr(106 + -14.5 + 19.5)
Else
$sWord &= Chr(-10 + 40.3333333333333 + 41)
EndIf

Return $sWord
EndFunc

Very confusing!

I plan to make it even more confusing in the future.

So whatcha think?

Share this post


Link to post
Share on other sites
SmOke_N

So it's hard coded? Do you plan on writing a udf to ouput the correct pattern for the words you want?

----------

Could have use Int() rather than Number()

----------

A funny form of obfuscation :D (A bit easy to figure out :) ).


Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Share this post


Link to post
Share on other sites
spyrorocks

I dont plan of writing a UDF. The function is in there (Confuse()) that will automatically output the right code.

Yeah, its is pretty funny. I plan on making it more random.

Share this post


Link to post
Share on other sites
BALA

I dont plan of writing a UDF. The function is in there (Confuse()) that will automatically output the right code.

Yeah, its is pretty funny. I plan on making it more random.

Perhaps you could try using Random() to produce a nearly random number rather than use a predefine number system. (Not sure if this will work, I don't have much experience with obfuscation.)

Edited by BALA

[font="Comic Sans MS"]BA-LA[/font]http://ba-la.110mb.comJoin my community, CLICK HEREAlternative links to my site:http://www.ba-la.tkhttp://www.ba-la.co.nrContact me if you would like to help with some of my projects: joeythepirate@gmail.com

Share this post


Link to post
Share on other sites
jaenster

ROFFEL , ROFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEEEEEEEEEEEEELLLLLLLLLLLLLLLLL !!!!!!!!!!!!!

:) REALLY COOL


-jaenster

Share this post


Link to post
Share on other sites
McGod

It did what its called, it generated confusion. No point to it what so ever :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.