# hexdump baystack.bin -C -n 1024
00000000 00 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 |................|
00000010 00 00 00 00 00 00 41 41 00 30 00 00 01 00 00 0b |......AA.0......|
00000020 00 30 00 0f 00 10 00 04 35 2e 30 2e 32 2e 30 33 |.0......5.0.2.03|
00000030 33 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |3...............|
00000040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000070 00 00 00 00 00 00 00 00 00 00 c3 37 a3 f3 eb 3e |...........7...>|
00000080 90 56 58 44 4f 53 31 32 00 00 02 01 01 00 02 70 |.VXDOS12.......p|
00000090 00 00 08 f9 06 00 11 00 01 00 00 00 00 00 00 00 |................|
000000a0 00 00 00 00 29 ff ff ff ff 00 00 00 00 00 00 00 |....)...........|
000000b0 00 00 00 00 46 41 54 31 32 20 20 20 00 00 00 00 |....FAT12 ....|
000000c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00000270 00 00 00 00 00 00 00 00 00 00 00 00 55 aa f9 ff |............U...|
00000280 ff ff 9f 09 ff 6f 00 ff ff ff ff ff 04 ff ff ff |.....o..........|
00000290 0d f0 ff ff 0f 01 11 20 01 13 40 01 15 60 01 17 |....... ..@..`..|
000002a0 80 01 19 a0 01 1b c0 01 1d e0 01 1f 00 02 21 20 |..............! |
# dd if=baystack.bin of=msdos.img bs=1 skip=126
# mkdir mnt
# mount msdos.img mnt/ -o loop
# ls mnt/
a_inspct.nvr clfrdata.qpa gblCfg.nvr ipt_ping password.nvr
qctempl.cfg softlic telCfg.nvr apps def_cmd.nvr
ifcmap.qpa l3dhcpr.nvr pdtCfg.nvr quickset.cfg staticrt.cfg
usbcfg.nvr asc_cfg d_snoop.nvr igmp.nvr l3mgr.nvr
plcycomp.qpa qVlan stpcfg2.nvr buttonui.nvr eap_enh.nvr
ipmgrcfg.nvr mltScfgS.nvr pmtCfg.nvr rtccfg.nvr stpcfg.nvr
cfgfile.nvr eap.nvr ipt_cfg neap.nvr polcfg.nvr
snmpv3 syslog
Reference:
http://www.c-jump.com/CIS24/Slides/FAT/lecture.html
losetup supports offsets. Also, bs=126 skip=1 is better performance wise.
ReplyDelete