Sha256: d2557df212e942ff1faa99ddbc49de9b67caa595d704acefdcc69965a137bbd6

Contents?: true

Size: 443 Bytes

Versions: 43

Compression:

Stored size: 443 Bytes

Contents

#!/usr/bin/env ruby

$:.unshift(File.join(File.dirname(__FILE__), '..', '..', '..'))

require 'rex/test'
require 'rex/proto/smb/constants'

class Rex::Proto::SMB::Constants::UnitTest < Test::Unit::TestCase
	
	Klass = Rex::Proto::SMB::Constants

	def test_defines
		assert_equal(Klass::SMB_COM_CREATE_DIRECTORY,  0x00 )
		assert_equal(Klass::SMB_COM_NT_CREATE_ANDX, 0xa2 )
		assert_equal(Klass::NT_TRANSACT_QUERY_SECURITY_DESC, 0x06)
	end
	
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
librex-0.0.35 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.34 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.33 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.32 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.31 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.30 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.29 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.28 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.27 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.26 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.25 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.23 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.21 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.19 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.17 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.13 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.12 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.7 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.6 lib/rex/proto/smb/constants.rb.ut.rb
librex-0.0.5 lib/rex/proto/smb/constants.rb.ut.rb