This file is indexed.

/usr/lib/ruby/1.8/bunny/channel08.rb is in libbunny-ruby1.8 0.6.2-3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
module Bunny
	class Channel < Qrack::Channel
		
		def initialize(client)
			super
		end
		
		def open
			client.channel = self
			client.send_frame(Qrack::Protocol::Channel::Open.new)
			
			method = client.next_method
			
			client.check_response(method, Qrack::Protocol::Channel::OpenOk, "Cannot open channel #{number}")

			@active = true
			:open_ok
		end
		
		def close
			client.channel = self
			client.send_frame(
	      Qrack::Protocol::Channel::Close.new(:reply_code => 200, :reply_text => 'bye', :method_id => 0, :class_id => 0)
	    )
	
			method = client.next_method
			
			client.check_response(method, Qrack::Protocol::Channel::CloseOk, "Error closing channel #{number}")
	
			@active = false
			:close_ok
		end
		
		def open?
			active
		end
		
	end
end