Sha256: 642119998c6e79b1c26898164fd964017b641897c2480002b6b1b857b10e0663

Contents?: true

Size: 1.22 KB

Versions: 9

Compression:

Stored size: 1.22 KB

Contents

alias`#`,`//`
eval;$VERBOSE=if !false^l=<<"":0 end;U=%r~\A.\Z~;F=5;
self << '#'

::Kernel.send :define_method, :method_missing do|*_|_<<self;_[0,1]=[];l,f=_.last,_.first;return _[0]if l==f;_.last.`(_.first).to_s end
O=Object;O=O;Object=O;%%% % %%%;class O;def
end (x=$x)($x=x).reverse end;def
end_(x=$x)($x=x).reverse_end;end end
alias r end;alias a r;alias e end_;public:`,:r,:require
self.`"a \'Ruby script obfuscated\'\x23 is not readable by anyone else."
r <<u<<"""#$x"
u
r[0]^=r[1]
$=||=0;$_||=0_0
i,v=['o',*local_variables].flatten.grep(/\A.\Z/).sort_by{|x|x[0].-(?j).abs.-@}.reverse,false
y=methods.grep(U).sort_by{|x|x[0].-(?e).abs.-@}
#breakpoint
i=[i,y].join(I=Love(%q=(2.**(5).chr)=)).gsub(' '){w=$=^=1;$x[w.inspect[1][0]*F-1,1]}.gsub(/[eyd]/){(?e.+?y.-($&[0])).chr }.delete('z')
i=i.scan(%r:#{I}|.*?(?=#{I})|.*:).inject([]){|r,p|unless(v=!v if(v=!v)...(v))..(v=!v):r<<[]end;r.last<<p;r};v^=!v
i,@v,@u=i.reject{true if (v=!v)..v}.join.capitalize,local_variables.inject(?X){|p,v|p^v[0]}.chr,O.constants.grep(U).pop
i=i.sub(/#@v/i, @v).sub(/#@u/i, @u).gsub!(/./, &proc {|x|$&[0].send(x=='A'? :succ : :to_i).chr}).sub!methods.grep(/^\W/).first do |x| (x[0]|F.to_s[0]).chr end
def i.<<(*);super duper('"\x%s"' % __LINE__)end
i<<='?'
puts i

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rubylexer-0.7.7 test/data/23.rb
rubylexer-0.7.6 test/data/23.rb
rubylexer-0.7.1 test/data/23.rb
rubylexer-0.7.0 test/data/23.rb
rubylexer-0.6.2 testdata/23.rb
rubylexer-0.7.2 test/data/23.rb
rubylexer-0.7.5 test/data/23.rb
rubylexer-0.7.4 test/data/23.rb
rubylexer-0.7.3 test/data/23.rb