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 /
tzinfo /
[ HOME SHELL ]
Name
Size
Permission
Action
country.rb
6.1
KB
-rw-r--r--
country_index_definition.rb
962
B
-rw-r--r--
country_info.rb
1.14
KB
-rw-r--r--
country_timezone.rb
5
KB
-rw-r--r--
data_source.rb
6.94
KB
-rw-r--r--
data_timezone.rb
2.14
KB
-rw-r--r--
data_timezone_info.rb
2.01
KB
-rw-r--r--
info_timezone.rb
571
B
-rw-r--r--
linked_timezone.rb
2.36
KB
-rw-r--r--
linked_timezone_info.rb
835
B
-rw-r--r--
offset_rationals.rb
3.64
KB
-rw-r--r--
ruby_core_support.rb
4.57
KB
-rw-r--r--
ruby_country_info.rb
2.44
KB
-rw-r--r--
ruby_data_source.rb
4.15
KB
-rw-r--r--
time_or_datetime.rb
10.46
KB
-rw-r--r--
timezone.rb
24.99
KB
-rw-r--r--
timezone_definition.rb
981
B
-rw-r--r--
timezone_index_definition.rb
1.6
KB
-rw-r--r--
timezone_info.rb
747
B
-rw-r--r--
timezone_offset.rb
3.72
KB
-rw-r--r--
timezone_period.rb
8.76
KB
-rw-r--r--
timezone_proxy.rb
3.7
KB
-rw-r--r--
timezone_transition.rb
4.28
KB
-rw-r--r--
timezone_transition_definition...
3.76
KB
-rw-r--r--
transition_data_timezone_info....
9.67
KB
-rw-r--r--
zoneinfo_country_info.rb
1.19
KB
-rw-r--r--
zoneinfo_data_source.rb
19.12
KB
-rw-r--r--
zoneinfo_timezone_info.rb
11.09
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ruby_data_source.rb
module TZInfo # A DataSource that loads data from the set of Ruby modules included in the # TZInfo::Data library (tzinfo-data gem). # # To have TZInfo use this DataSource, call TZInfo::DataSource.set as follows: # # TZInfo::DataSource.set(:ruby) class RubyDataSource < DataSource # Base path for require. REQUIRE_PATH = File.join('tzinfo', 'data', 'definitions') # Whether the timezone index has been loaded yet. @@timezone_index_loaded = false # Whether the country index has been loaded yet. @@country_index_loaded = false # Returns a TimezoneInfo instance for a given identifier. # Raises InvalidTimezoneIdentifier if the timezone is not found or the # identifier is invalid. def load_timezone_info(identifier) raise InvalidTimezoneIdentifier, 'Invalid identifier' if identifier !~ /\A[A-Za-z0-9\+\-_]+(\/[A-Za-z0-9\+\-_]+)*\z/ identifier = identifier.gsub(/-/, '__m__').gsub(/\+/, '__p__') # Untaint identifier after it has been reassigned to a new string. We # don't want to modify the original identifier. identifier may also be # frozen and therefore cannot be untainted. identifier.untaint identifier = identifier.split('/') begin require_definition(identifier) m = Data::Definitions identifier.each {|part| m = m.const_get(part) } m.get rescue LoadError, NameError => e raise InvalidTimezoneIdentifier, e.message end end # Returns an array of all the available timezone identifiers. def timezone_identifiers load_timezone_index Data::Indexes::Timezones.timezones end # Returns an array of all the available timezone identifiers for # data timezones (i.e. those that actually contain definitions). def data_timezone_identifiers load_timezone_index Data::Indexes::Timezones.data_timezones end # Returns an array of all the available timezone identifiers that # are links to other timezones. def linked_timezone_identifiers load_timezone_index Data::Indexes::Timezones.linked_timezones end # Returns a CountryInfo instance for the given ISO 3166-1 alpha-2 # country code. Raises InvalidCountryCode if the country could not be found # or the code is invalid. def load_country_info(code) load_country_index info = Data::Indexes::Countries.countries[code] raise InvalidCountryCode, 'Invalid country code' unless info info end # Returns an array of all the available ISO 3166-1 alpha-2 # country codes. def country_codes load_country_index Data::Indexes::Countries.countries.keys.freeze end # Returns the name of this DataSource. def to_s "Ruby DataSource" end private # Requires a zone definition by its identifier (split on /). def require_definition(identifier) require_data(*(['definitions'] + identifier)) end # Requires an index by its name. def self.require_index(name) require_data(*['indexes', name]) end # Requires a file from tzinfo/data. def require_data(*file) self.class.require_data(*file) end # Requires a file from tzinfo/data. def self.require_data(*file) require File.join('tzinfo', 'data', *file) end # Loads in the index of timezones if it hasn't already been loaded. def load_timezone_index self.class.load_timezone_index end # Loads in the index of timezones if it hasn't already been loaded. def self.load_timezone_index unless @@timezone_index_loaded require_index('timezones') @@timezone_index_loaded = true end end # Loads in the index of countries if it hasn't already been loaded. def load_country_index self.class.load_country_index end # Loads in the index of countries if it hasn't already been loaded. def self.load_country_index unless @@country_index_loaded require_index('countries') @@country_index_loaded = true end end end end
Close