Code :
- # perl hashref output
- {
- DATE => 'Tue Oct 12 11:13:42 2004',
- CMDLINE => [
- 'nbtscan',
- '-P',
- '10',
- ],
- NBTSCAN => {
- '10.10.10.20' => {
- rDNS => '108708.toto.com',
- IPAddress => '10.10.10.20',
- MACAddress => '00:0f:1f:00:00:00',
- DomainName => 'NT-DOM',
- ComputerName => '108708',
- Sharing => 1,
- DC => 0,
- Exchange => 0,
- IIS => 0,
- LotusNotes => 0,
- Nodes => [
- [ '108708' , 0x00, 'UNIQUE', 'Workstation Service' ],
- [ 'NT-DOM', 0x00, 'GROUP ', 'Domain Name' ],
- [ '108708' , 0x03, 'UNIQUE', 'Messenger Service<3>' ],
- [ '108708' , 0x20, 'UNIQUE', 'File Server Service' ],
- [ 'NT-DOM', 0x1E, 'GROUP ', 'Browser Service Elections'
- ],
- [ 'toto' , 0x03, 'UNIQUE', 'Messenger Service<3>' ],
- ],
- },
- }
- }
|