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 /
multi_json /
adapters /
[ HOME SHELL ]
Name
Size
Permission
Action
gson.rb
425
B
-rw-r--r--
jr_jackson.rb
615
B
-rw-r--r--
json_common.rb
643
B
-rw-r--r--
json_gem.rb
222
B
-rw-r--r--
json_pure.rb
221
B
-rw-r--r--
nsjsonserialization.rb
1.3
KB
-rw-r--r--
oj.rb
2.05
KB
-rw-r--r--
ok_json.rb
634
B
-rw-r--r--
yajl.rb
437
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : nsjsonserialization.rb
# This adapter is here for legacy reasons. We can't really test it, so it's hard # to tell if it's even working properly. If you're still using it, please # consider migrating to any other adapter out there. framework 'Foundation' require 'multi_json/adapters/ok_json' module MultiJson module Adapters class Nsjsonserialization < MultiJson::Adapters::OkJson ParseError = ::MultiJson::OkJson::Error def load(string, options = {}) data = string.dataUsingEncoding(NSUTF8StringEncoding) object = NSJSONSerialization.JSONObjectWithData(data, :options => NSJSONReadingMutableContainers | NSJSONReadingMutableLeaves, :error => nil) if object object = symbolize_keys(object) if options[:symbolize_keys] object else super(string, options) end end def dump(object, options = {}) pretty = options[:pretty] ? NSJSONWritingPrettyPrinted : 0 object = object.as_json if object.respond_to?(:as_json) if NSJSONSerialization.isValidJSONObject(object) data = NSJSONSerialization.dataWithJSONObject(object, :options => pretty, :error => nil) NSMutableString.alloc.initWithData(data, :encoding => NSUTF8StringEncoding) else super(object, options) end end end end end
Close