Dienstag, 25. Dezember 2007

Software Anlayse

So, nachdem Weihnachten hinter uns liegt, alle Geschenke ausgepackt sind,
kann ich nun fortfahren.

Die SW-Analyse erweißt sich als einfach und doch schwierig. Warum ?
Einfach, weil es nur wenige Dateien gibt und schwierig, weil die nicht so laufen,
wie man es von einem Linux gewöhnt wäre.

Hier die Datei-Liste und Verzeichnis-Liste die auf der Flashdisk/Platte installiert werden:
kbipd
kbipd\bin
kbipd\bin\dhcpcd
kbipd\bin\ftpd
kbipd\bin\gwadd
kbipd\bin\hdstand
kbipd\bin\hkd
kbipd\bin\ifconfig
kbipd\bin\inetd
kbipd\bin\nmbd
kbipd\bin\rdate
kbipd\bin\remount
kbipd\bin\smbd
kbipd\bin\swat
kbipd\bin\sysboot
kbipd\bin\sysinit
kbipd\etc
kbipd\etc\config
kbipd\etc\dhcpc
kbipd\etc\group
kbipd\etc\lang
kbipd\etc\passwd
kbipd\etc\smb.conf
kbipd\etc\sysfile
kbipd\etc\system.conf
kbipd\home
kbipd\share
kbipd\share\public
kbipd\tmp
kbipd\usr
kbipd\usr\local
kbipd\usr\local\samba
kbipd\usr\local\samba\lib
kbipd\usr\local\samba\private
kbipd\usr\local\samba\private\smbpasswd
kbipd\usr\local\samba\sbin
kbipd\usr\local\samba\swat
kbipd\usr\local\samba\swat\help
kbipd\usr\local\samba\swat\help\welc-cs.html
kbipd\usr\local\samba\swat\help\welc-cs1.html
kbipd\usr\local\samba\swat\help\welc-ct.html
kbipd\usr\local\samba\swat\help\welc-ct1.html
kbipd\usr\local\samba\swat\help\welc-fr.html
kbipd\usr\local\samba\swat\help\welc-fr1.html
kbipd\usr\local\samba\swat\help\welc-ger.html
kbipd\usr\local\samba\swat\help\welc-ger1.html
kbipd\usr\local\samba\swat\help\welc-jp.html
kbipd\usr\local\samba\swat\help\welc-jp1.html
kbipd\usr\local\samba\swat\help\welc-kr.html
kbipd\usr\local\samba\swat\help\welc-kr1.html
kbipd\usr\local\samba\swat\help\welcome.html
kbipd\usr\local\samba\swat\help\welcome1.html
kbipd\usr\local\samba\swat\include
kbipd\usr\local\samba\swat\include\footer.html
kbipd\usr\local\samba\swat\include\header-cs.html
kbipd\usr\local\samba\swat\include\header-ct.html
kbipd\usr\local\samba\swat\include\header-fr.html
kbipd\usr\local\samba\swat\include\header-ger.html
kbipd\usr\local\samba\swat\include\header-jp.html
kbipd\usr\local\samba\swat\include\header-kr.html
kbipd\usr\local\samba\swat\include\header.html
kbipd\usr\local\samba\swat\include\images
kbipd\usr\local\samba\swat\include\images\lang.jpg
kbipd\usr\local\samba\swat\include\images\logo.jpg
kbipd\usr\local\samba\swat\include\sysscript.html
kbipd\usr\local\samba\swat\photo
kbipd\usr\local\samba\swat\photo\photo.html
kbipd\usr\local\samba\swat\photo\photo1.html
kbipd\usr\local\samba\swat\photo\photo2.html
kbipd\usr\local\samba\var
kbipd\usr\local\samba\var\locks
kbipd\var
kbipd\var\run

Die Dateien sind fett markiert. Alles andere sind nur Verzeichnisnamen !

Dreh und Angelpunkt für die Standardkonfiguration sind die Dateien system.conf und smb.conf.
smb.conf ist die Konfigurationsdatei für den SAMBA Server:
# Samba config file created using SWAT
# from 192.168.0.223 (192.168.0.223)
# Date: 1970/01/01 00:13:48

# Global parameters
[global]
dos charset = ISO-8859-1
unix charset = ISO-8859-1
display charset = ISO-8859-1
netbios name = KBIPD
server string = IP Drive
security = SHARE
show add printer wizard = No
local master = No
domain master = No
oplocks = No
level2 oplocks = No

[homes]
valid users = %S
read only = No
browseable = No

[Root]
comment = For Administrator only
path = /mnt
valid users = root
read only = No

[Public]
comment = public share folder
path = /mnt/kbipd/share/public
read only = No
guest ok = Yes

Wie man hier schon erkennen kann, ist das auf der Platte installierte System nicht das eigentliche Linux-System, denn root wird hier mit /mnt angegeben. Eine Recherche ergab, dass es üblich ist auf einem ARM erst aus einem ROMFS zu booten und dann das eigentliche root
bzw. Ergänzungen hinzu zu mounten. Was wir also auf der Platte sehen, ist
nur das hinzu gemaoutete System. Wie sieht wohl das echte aus ?

Die system.conf enthält:
[User]
granted users = 5

[Network]
dhcp enable = yes
fixed ip = yes
ip address = 192.168.0.100
network mask = 255.255.0.0
gateway address =

[Timer]
manual setting = yes
time server = yes
ip address = 129.6.15.29

und damit die Systemeinstellungen des Netzwerks und der Uhrzeit.

system.conf ist keine mir bekannte Konfigurationsdatei. Lets google !

CU Fossi

Keine Kommentare: