⚝
One Hat Cyber Team
⚝
Your IP:
216.73.217.4
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
proc
/
self
/
root
/
usr
/
lib
/
ruby
/
3.0.0
/
irb
/
cmd
/
View File Name :
measure.rb
require_relative "nop" # :stopdoc: module IRB module ExtendCommand class Measure < Nop def initialize(*args) super(*args) end def execute(type = nil, arg = nil, &block) case type when :off IRB.conf[:MEASURE] = nil IRB.unset_measure_callback(arg) when :list IRB.conf[:MEASURE_CALLBACKS].each do |type_name, _, arg_val| puts "- #{type_name}" + (arg_val ? "(#{arg_val.inspect})" : '') end when :on IRB.conf[:MEASURE] = true added = IRB.set_measure_callback(type, arg) puts "#{added[0]} is added." if added else if block_given? IRB.conf[:MEASURE] = true added = IRB.set_measure_callback(&block) puts "#{added[0]} is added." if added else IRB.conf[:MEASURE] = true added = IRB.set_measure_callback(type, arg) puts "#{added[0]} is added." if added end end nil end end end end # :startdoc: