SRL Archive - OSR Help

Compress String


Abu

2012-06-14 17:35:53

I've already seen this thread: http://villavu.com/forum/showthread.php?t=80360&highlight=String

My question is, when compressing the string you still you have to paste your bitmap string - so technically there is still the same amount of lines being entered into your script right?

So how do I actually shorten the code?

EDIT: Pad Output doesn't shorten the code. Just lessens the lines while making it look more ugly.

putonajonny

2012-06-14 17:41:32

For a bitmap? Unticking Pad Output makes it all on one line and out of the way? Problem not solved?

Abu

2012-06-14 17:48:26

No it doesn't make it all one line.

Just makes it fat a and ugly lump of code which looks like this:

Oh wait - I can't put it in because there's over 26,000 characters :cartman:

If I then tick it, it's more lines but with + to make it look neater

putonajonny

2012-06-14 18:00:13

From: abu_jwka
No it doesn't make it all one line.

Just makes it fat a and ugly lump of code which looks like this:

Oh wait - I can't put it in because there's over 26,000 characters :cartman:

If I then tick it, it's more lines but with + to make it look neater


Are you talking about pasting it here or in simba?

Brandon

2012-06-14 19:52:00

Well if you could write the algorithm to bruteforce MD5 then hashing that bitmap string would be a much better option as 9k characters of base64 was hashed just now and it turned into a 6 character bitmap. Reversing it with an online converter has made it back to the exact 9k character sequence.

But as always, MD5 isn't very easy to reverse and since it uses lookup tables, then sometimes your bitmap might be off by a lot resulting in a black bitmap being drawn to it's canvas.

Simba doesn't seem to handle these well.

Something like: RC6_Encrypt('Pass', htMD5, BitmapString); seems to only do about 1/3 of the string. When reversing it with RC6_Decrypt, only 1/3 of the string is reversed.. Though I must say that it certainly does narrow the string down by a couple thousand characters.

MD5(BitmapData) narrows 9k down to 3k both online and in Simba but reversing it is hard as I tried three bitmaps and only one was successfully reverse to it's exact representation. Simba doesn't have a function to reverse them. Online converters only reversed 1/3 as well.

Abu

2012-06-15 06:33:33

From: putonajonny
Are you talking about pasting it here or in simba?


Here and on Simba, there over 26,000 characters in my bitmap string after un ticking padr output

From: Brandon


MD5(BitmapData) narrows 9k down to 3k both online and in Simba but reversing it is hard as I tried three bitmaps and only one was successfully reverse to it's exact representation. Simba doesn't have a function to reverse them. Online converters only reversed 1/3 as well.


Ahh, well that's a shame. Guess I'll just enter my 4000 lines of string into my script :cartman:

putonajonny

2012-06-15 07:05:25

From: abu_jwka
Here and on Simba, there over 26,000 characters in my bitmap string after un ticking padr output

Simba puts it on one line doesn't it? and can't you just put it as an attachment?

Abu

2012-06-15 11:17:24

From: putonajonny
Simba puts it on one line doesn't it? and can't you just put it as an attachment?


Oh my, it actually does!

The first time I did it it was a lump of code, but this time when I pasted all the code it came on one line.

How nice! :D