Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
hashery /
[ HOME SHELL ]
Name
Size
Permission
Action
association.rb
4.58
KB
-rw-r--r--
casting_hash.rb
3.27
KB
-rw-r--r--
core_ext.rb
2.57
KB
-rw-r--r--
crud_hash.rb
8.64
KB
-rw-r--r--
dictionary.rb
12.46
KB
-rw-r--r--
fuzzy_hash.rb
3.94
KB
-rw-r--r--
ini_hash.rb
8.08
KB
-rw-r--r--
key_hash.rb
1.47
KB
-rw-r--r--
linked_list.rb
4.47
KB
-rw-r--r--
lru_hash.rb
5.6
KB
-rw-r--r--
open_cascade.rb
3.95
KB
-rw-r--r--
open_hash.rb
3.5
KB
-rw-r--r--
ordered_hash.rb
3.18
KB
-rw-r--r--
path_hash.rb
6.82
KB
-rw-r--r--
property_hash.rb
3.53
KB
-rw-r--r--
query_hash.rb
2.19
KB
-rw-r--r--
stash.rb
203
B
-rw-r--r--
static_hash.rb
1.24
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : core_ext.rb
class Hash # # Create a hash given an `initial_hash`. # # initial_hash - Hash or hash-like object to use as priming data. # block - Procedure used by initialize (e.g. default_proc). # # Returns a `Hash`. # def self.create(initial_hash={}, &block) o = new &block o.update(initial_hash) o end # # Like #fetch but returns the results of calling `default_proc`, if defined, # otherwise `default`. # # key - Hash key to lookup. # # Returns value of Hash entry or `nil`. # def retrieve(key) fetch(key, default_proc ? default_proc[self, key] : default) end # # Convert to Hash. # def to_hash dup # -or- `h = {}; each{ |k,v| h[k] = v }; h` ? end \ unless method_defined?(:to_hash) # # For a Hash, `#to_h` is the same as `#to_hash`. # alias :to_h :to_hash \ unless method_defined?(:to_h) # # Synonym for Hash#rekey, but modifies the receiver in place (and returns it). # # key_map - Hash of old key to new key. # block - Procedure to convert keys, which can take just the key # or both key and value as arguments. # # Examples # # foo = { :name=>'Gavin', :wife=>:Lisa } # foo.rekey!{ |k| k.to_s } #=> { "name"=>"Gavin", "wife"=>:Lisa } # foo.inspect #=> { "name"=>"Gavin", "wife"=>:Lisa } # # Returns `Hash`. # def rekey(key_map=nil, &block) if !(key_map or block) block = lambda{|k| k.to_sym} end key_map ||= {} hash = {} (keys - key_map.keys).each do |key| hash[key] = self[key] end key_map.each do |from, to| hash[to] = self[from] if key?(from) end hash2 = {} if block case block.arity when 0 raise ArgumentError, "arity of 0 for #{block.inspect}" when 2 hash.each do |k,v| nk = block.call(k,v) hash2[nk] = v end else hash.each do |k,v| nk = block[k] hash2[nk] = v end end else hash2 = hash end hash2 end # # Synonym for Hash#rekey, but modifies the receiver in place (and returns it). # # key_map - Hash of old key to new key. # block - Procedure to convert keys, which can take just the key # or both key and value as arguments. # # Examples # # foo = { :name=>'Gavin', :wife=>:Lisa } # foo.rekey!{ |k| k.to_s } #=> { "name"=>"Gavin", "wife"=>:Lisa } # foo #=> { "name"=>"Gavin", "wife"=>:Lisa } # # Returns `Hash`. # def rekey!(key_map=nil, &block) replace(rekey(key_map, &block)) end end
Close