line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# $Id: Host.pm 18 2008-05-05 23:55:18Z jabra $ |
2
|
|
|
|
|
|
|
package MetasploitExpress::Parser::Host; |
3
|
|
|
|
|
|
|
{ |
4
|
1
|
|
|
1
|
|
1393
|
use Object::InsideOut; |
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
5
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
my @address : Field : Arg(address) : Get(address); |
7
|
|
|
|
|
|
|
my @address6 : Field : Arg(address6) : Get(address6); |
8
|
|
|
|
|
|
|
my @arch : Field : Arg(arch) : Get(arch); |
9
|
|
|
|
|
|
|
my @comments : Field : Arg(comments) : Get(comments); |
10
|
|
|
|
|
|
|
my @comm : Field : Arg(comm) : Get(comm); |
11
|
|
|
|
|
|
|
my @created_at : Field : Arg(created_at) : Get(created_at); |
12
|
|
|
|
|
|
|
my @id : Field : Arg(id) : Get(id); |
13
|
|
|
|
|
|
|
my @info : Field : Arg(info) : Get(info); |
14
|
|
|
|
|
|
|
my @mac : Field : Arg(mac) : Get(mac); |
15
|
|
|
|
|
|
|
my @name : Field : Arg(name) : Get(name); |
16
|
|
|
|
|
|
|
my @os_flavor : Field : Arg(os_flavor) : Get(os_flavor); |
17
|
|
|
|
|
|
|
my @os_name : Field : Arg(os_name) : Get(os_name); |
18
|
|
|
|
|
|
|
my @os_lang : Field : Arg(os_lang) : Get(os_lang); |
19
|
|
|
|
|
|
|
my @os_sp : Field : Arg(os_sp) : Get(os_sp); |
20
|
|
|
|
|
|
|
my @purpose : Field : Arg(purpose) : Get(purpose); |
21
|
|
|
|
|
|
|
my @state : Field : Arg(state) : Get(state); |
22
|
|
|
|
|
|
|
my @updated_at : Field : Arg(updated_at) : Get(updated_at); |
23
|
|
|
|
|
|
|
my @workspace_id : Field : Arg(workspace_id) : Get(workspace_id); |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
## TODO |
26
|
|
|
|
|
|
|
# add services |
27
|
|
|
|
|
|
|
# add vulns |
28
|
|
|
|
|
|
|
# add notes |
29
|
|
|
|
|
|
|
} |
30
|
|
|
|
|
|
|
1; |