Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
erubis /
[ HOME SHELL ]
Name
Size
Permission
Action
engine
[ DIR ]
drwxr-xr-x
helpers
[ DIR ]
drwxr-xr-x
context.rb
1.6
KB
-rw-r--r--
converter.rb
10.54
KB
-rw-r--r--
engine.rb
2.93
KB
-rw-r--r--
enhancer.rb
15.56
KB
-rw-r--r--
error.rb
297
B
-rw-r--r--
evaluator.rb
2.16
KB
-rw-r--r--
generator.rb
1.72
KB
-rw-r--r--
helper.rb
848
B
-rw-r--r--
local-setting.rb
176
B
-rw-r--r--
main.rb
15.76
KB
-rw-r--r--
preprocessing.rb
992
B
-rw-r--r--
tiny.rb
4.03
KB
-rw-r--r--
util.rb
542
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : context.rb
## ## $Release: 2.7.0 $ ## copyright(c) 2006-2011 kuwata-lab.com all rights reserved. ## module Erubis ## ## context object for Engine#evaluate ## ## ex. ## template = <<'END' ## Hello <%= @user %>! ## <% for item in @list %> ## - <%= item %> ## <% end %> ## END ## ## context = Erubis::Context.new(:user=>'World', :list=>['a','b','c']) ## # or ## # context = Erubis::Context.new ## # context[:user] = 'World' ## # context[:list] = ['a', 'b', 'c'] ## ## eruby = Erubis::Eruby.new(template) ## print eruby.evaluate(context) ## class Context include Enumerable def initialize(hash=nil) hash.each do |name, value| self[name] = value end if hash end def [](key) return instance_variable_get("@#{key}") end def []=(key, value) return instance_variable_set("@#{key}", value) end def keys return instance_variables.collect { |name| name[1..-1] } end def each instance_variables.each do |name| key = name[1..-1] value = instance_variable_get(name) yield(key, value) end end def to_hash hash = {} self.keys.each { |key| hash[key] = self[key] } return hash end def update(context_or_hash) arg = context_or_hash if arg.is_a?(Hash) arg.each do |key, val| self[key] = val end else arg.instance_variables.each do |varname| key = varname[1..-1] val = arg.instance_variable_get(varname) self[key] = val end end end end end
Close