line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# |
2
|
|
|
|
|
|
|
# (c) Jan Gehring |
3
|
|
|
|
|
|
|
# |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package Rex::Inventory::DMIDecode::SystemInformation; |
6
|
|
|
|
|
|
|
|
7
|
39
|
|
|
39
|
|
629
|
use v5.12.5; |
|
39
|
|
|
|
|
137
|
|
8
|
39
|
|
|
39
|
|
239
|
use warnings; |
|
39
|
|
|
|
|
92
|
|
|
39
|
|
|
|
|
1663
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
our $VERSION = '1.14.2.2'; # TRIAL VERSION |
11
|
|
|
|
|
|
|
|
12
|
39
|
|
|
39
|
|
269
|
use Rex::Inventory::DMIDecode::Section; |
|
39
|
|
|
|
|
81
|
|
|
39
|
|
|
|
|
1986
|
|
13
|
39
|
|
|
39
|
|
313
|
use base qw(Rex::Inventory::DMIDecode::Section); |
|
39
|
|
|
|
|
88
|
|
|
39
|
|
|
|
|
6725
|
|
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__PACKAGE__->section("System Information"); |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
__PACKAGE__->has( |
18
|
|
|
|
|
|
|
[ |
19
|
|
|
|
|
|
|
'Manufacturer', 'Product Name', 'UUID', 'SKU Number', |
20
|
|
|
|
|
|
|
'Family', 'Version', 'Serial Number', |
21
|
|
|
|
|
|
|
] |
22
|
|
|
|
|
|
|
); |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
sub new { |
25
|
54
|
|
|
54
|
0
|
231
|
my $that = shift; |
26
|
54
|
|
33
|
|
|
811
|
my $proto = ref($that) || $that; |
27
|
54
|
|
|
|
|
1418
|
my $self = $that->SUPER::new(@_); |
28
|
|
|
|
|
|
|
|
29
|
54
|
|
|
|
|
278
|
bless( $self, $proto ); |
30
|
|
|
|
|
|
|
|
31
|
54
|
|
|
|
|
615
|
return $self; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
1; |