[].$+'' //smaller undefined 7
You should know that lowercase/uppercase does matter in this case.
So, we have:
a,b,c,d,e,f,i,j,l,n,o,r,s,t,u,y,O,N,I
about the rest of the letters:
g,h,k,p,q,v,x,z
We also miss:
m,w
And almost all uppercase (I know .toUpperCase, but in that case we would miss the p, U, and C).
So for that reason we used "constructor.constructor" on the automatic-sourcecode generation algorithms.. Since not all chars are available.
Anyway, I'm thinking that maybe we can get them with a hack =D
This is only going to work on FF..
probably the char we need the most is the "v" (for eval), so:
Supposing this is the shortest way to get "window":
$=(Å='',[Ç=!(µ=!Å+Å)+{}][Ç[È=++Å-~Å]+Ç[È+È]+µ[Å]+µ[Å-Å]])()
we fetch btoa("\xBE"): // for example, this is true for all chars we want
_=$[Ç[È+È+Å]+µ[Å-Å]+Ç[È+È]+Ç[Å]]("¾")
and we have "v" on _[+[]]
About the numbers:
When working on the source code generator, I concluded that the shortest way of making numbers (with the least chars possible) is the following:
We need 4 variables:
$$=-~!'',$=-~$$,$$$$=$$<<$$,$$$=$$$$+~[];
["($-$)","$/$","$$","$","$$*$$","($$+$)","$*$$","$$$","$$$$","$*$"]
Anyway, at that time I was on a policy of just using $ and no _ nor weird chars (>\x7F), so probably there's a better way.
The way I use to measured the smallest 0-9 char sequence was by comparing the length of a count 0-9 like this:
["($-$)","$/$","$$","$","$$*$$","($$+$)","$*$$","$$$","$$$$","$*$"]
So, the conclusion was:
Being $=3,$$=2,$$$=7,$$$$=8, we can make all numbers from 0-9 with
["($-$)","$/$","$$","$","$$*$$","($$+$)","$*$$","$$$","$$$$","$*$"]
(the parenthesis are needed in + and - because if we want to make 50 for example, we need:
''+($$+$)+($-$)
($-$) is prefered over +[] because +[] also needs parenthesis in the general case (for example: ''++[] makes no sense, and you cannot erase the "+" because then [] is an empty string..)
anyway, that's all I know about no-alnums, now that you know.. go to hack some filters heh :P
--------------------------------
http://sirdarckcat.blogspot.com/ http://www.sirdarckcat.net/ http://foro.elhacker.net/ http://twitter.com/sirdarckcat
Edited 1 time(s). Last edit at 06/15/2009 12:55AM by sirdarckcat.