line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::Inventory::SMBios::Bios; |
6
|
|
|
|
|
|
|
|
7
|
38
|
|
|
38
|
|
499
|
use v5.12.5; |
|
38
|
|
|
|
|
128
|
|
8
|
38
|
|
|
38
|
|
210
|
use warnings; |
|
38
|
|
|
|
|
63
|
|
|
38
|
|
|
|
|
1830
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.2.3'; # TRIAL VERSION |
11
|
|
|
|
|
|
|
|
12
|
38
|
|
|
38
|
|
328
|
use Rex::Inventory::SMBios::Section; |
|
38
|
|
|
|
|
94
|
|
|
38
|
|
|
|
|
2035
|
|
13
|
38
|
|
|
38
|
|
261
|
use base qw(Rex::Inventory::SMBios::Section); |
|
38
|
|
|
|
|
68
|
|
|
38
|
|
|
|
|
6940
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->section("BIOS information"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->has( |
18
|
|
|
|
|
|
|
[ 'Vendor', { from => 'Version String', key => 'Version' }, 'Release Date', ], |
19
|
|
|
|
|
|
|
1 |
20
|
|
|
|
|
|
|
); |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub new { |
23
|
0
|
|
|
0
|
0
|
|
my $that = shift; |
24
|
0
|
|
0
|
|
|
|
my $proto = ref($that) || $that; |
25
|
0
|
|
|
|
|
|
my $self = $that->SUPER::new(@_); |
26
|
|
|
|
|
|
|
|
27
|
0
|
|
|
|
|
|
bless( $self, $proto ); |
28
|
|
|
|
|
|
|
|
29
|
0
|
|
|
|
|
|
return $self; |
30
|
|
|
|
|
|
|
} |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1; |