24-07-2017, 04:54 PM
Hi all, it's been a while
I doing some experiments with CmNonVol extractor, so I downloaded the 32kb NonVol from Haxorware and tried to extract the certs with cmnonvol but nothing happens
also, I'm trying to dump the nonvol from another modem via telnet but I´m having a very hard time
the Flash Device Information show the addresses of the permanent and dynamic nonvol, tho they all are 64kb instead of 32.
Is it possible to read the full 2mb from the flash?
the full flash has 8mb, how could I find the 2mb that corresponds to the config?
I doing some experiments with CmNonVol extractor, so I downloaded the 32kb NonVol from Haxorware and tried to extract the certs with cmnonvol but nothing happens
also, I'm trying to dump the nonvol from another modem via telnet but I´m having a very hard time
the Flash Device Information show the addresses of the permanent and dynamic nonvol, tho they all are 64kb instead of 32.
Is it possible to read the full 2mb from the flash?
the full flash has 8mb, how could I find the 2mb that corresponds to the config?
Code:
Flash Device Information:
CFI Compliant: no
Command Set: Generic SPI Flash
Device/Bus Width: x16
Little Word Endian: no
Fast Bulk Erase: no
Multibyte Write: 256 bytes max
Phys base address: 0xbadf1a5
Uncached Virt addr: 0x1badf1a5
Cached Virt addr: 0x2badf1a5
Number of blocks: 129
Total size: 8388608 bytes, 8 Mbytes
Current mode: Read Array
Device Size: 8388608, Write buffer: 256, Busy bit:
Size Device Device Region
Block kB Address Offset Offset Region Allocation
----- ---- ---------- ----------- --------- -----------------
0 32 0x1badf1a5 0 0 Bootloader (32768 bytes)
1 32 0x1bae71a5 32768 ??? {unassigned}
2 64 0x1baef1a5 65536 0 Permanent NonVol (65536 bytes)
3 64 0x1baff1a5 131072 0 Image1
4 64 0x1bb0f1a5 196608 65536 Image1
5 64 0x1bb1f1a5 262144 131072 Image1
6 64 0x1bb2f1a5 327680 196608 Image1
7 64 0x1bb3f1a5 393216 262144 Image1
8 64 0x1bb4f1a5 458752 327680 Image1
9 64 0x1bb5f1a5 524288 393216 Image1
10 64 0x1bb6f1a5 589824 458752 Image1
11 64 0x1bb7f1a5 655360 524288 Image1
12 64 0x1bb8f1a5 720896 589824 Image1
13 64 0x1bb9f1a5 786432 655360 Image1
14 64 0x1bbaf1a5 851968 720896 Image1
15 64 0x1bbbf1a5 917504 786432 Image1
16 64 0x1bbcf1a5 983040 851968 Image1
17 64 0x1bbdf1a5 1048576 917504 Image1
18 64 0x1bbef1a5 1114112 983040 Image1
19 64 0x1bbff1a5 1179648 1048576 Image1
20 64 0x1bc0f1a5 1245184 1114112 Image1
21 64 0x1bc1f1a5 1310720 1179648 Image1
22 64 0x1bc2f1a5 1376256 1245184 Image1
23 64 0x1bc3f1a5 1441792 1310720 Image1
24 64 0x1bc4f1a5 1507328 1376256 Image1
25 64 0x1bc5f1a5 1572864 1441792 Image1
26 64 0x1bc6f1a5 1638400 1507328 Image1
27 64 0x1bc7f1a5 1703936 1572864 Image1
28 64 0x1bc8f1a5 1769472 1638400 Image1
29 64 0x1bc9f1a5 1835008 1703936 Image1
30 64 0x1bcaf1a5 1900544 1769472 Image1
31 64 0x1bcbf1a5 1966080 1835008 Image1
32 64 0x1bccf1a5 2031616 1900544 Image1
33 64 0x1bcdf1a5 2097152 1966080 Image1
34 64 0x1bcef1a5 2162688 2031616 Image1
35 64 0x1bcff1a5 2228224 2097152 Image1
36 64 0x1bd0f1a5 2293760 2162688 Image1
37 64 0x1bd1f1a5 2359296 2228224 Image1
38 64 0x1bd2f1a5 2424832 2293760 Image1
39 64 0x1bd3f1a5 2490368 2359296 Image1
40 64 0x1bd4f1a5 2555904 2424832 Image1
41 64 0x1bd5f1a5 2621440 2490368 Image1
42 64 0x1bd6f1a5 2686976 2555904 Image1
43 64 0x1bd7f1a5 2752512 2621440 Image1
44 64 0x1bd8f1a5 2818048 2686976 Image1
45 64 0x1bd9f1a5 2883584 2752512 Image1
46 64 0x1bdaf1a5 2949120 2818048 Image1
47 64 0x1bdbf1a5 3014656 2883584 Image1
48 64 0x1bdcf1a5 3080192 2949120 Image1
49 64 0x1bddf1a5 3145728 3014656 Image1
50 64 0x1bdef1a5 3211264 3080192 Image1
51 64 0x1bdff1a5 3276800 3145728 Image1
52 64 0x1be0f1a5 3342336 3211264 Image1
53 64 0x1be1f1a5 3407872 3276800 Image1
54 64 0x1be2f1a5 3473408 3342336 Image1
55 64 0x1be3f1a5 3538944 3407872 Image1
56 64 0x1be4f1a5 3604480 3473408 Image1
57 64 0x1be5f1a5 3670016 3538944 Image1
58 64 0x1be6f1a5 3735552 3604480 Image1
59 64 0x1be7f1a5 3801088 3670016 Image1
60 64 0x1be8f1a5 3866624 3735552 Image1
61 64 0x1be9f1a5 3932160 3801088 Image1
62 64 0x1beaf1a5 3997696 3866624 Image1
63 64 0x1bebf1a5 4063232 3932160 Image1
64 64 0x1becf1a5 4128768 3997696 Image1 (4063232 bytes)
65 64 0x1bedf1a5 4194304 0 Image2
66 64 0x1beef1a5 4259840 65536 Image2
67 64 0x1beff1a5 4325376 131072 Image2
68 64 0x1bf0f1a5 4390912 196608 Image2
69 64 0x1bf1f1a5 4456448 262144 Image2
70 64 0x1bf2f1a5 4521984 327680 Image2
71 64 0x1bf3f1a5 4587520 393216 Image2
72 64 0x1bf4f1a5 4653056 458752 Image2
73 64 0x1bf5f1a5 4718592 524288 Image2
74 64 0x1bf6f1a5 4784128 589824 Image2
75 64 0x1bf7f1a5 4849664 655360 Image2
76 64 0x1bf8f1a5 4915200 720896 Image2
77 64 0x1bf9f1a5 4980736 786432 Image2
78 64 0x1bfaf1a5 5046272 851968 Image2
79 64 0x1bfbf1a5 5111808 917504 Image2
80 64 0x1bfcf1a5 5177344 983040 Image2
81 64 0x1bfdf1a5 5242880 1048576 Image2
82 64 0x1bfef1a5 5308416 1114112 Image2
83 64 0x1bfff1a5 5373952 1179648 Image2
84 64 0x1c00f1a5 5439488 1245184 Image2
85 64 0x1c01f1a5 5505024 1310720 Image2
86 64 0x1c02f1a5 5570560 1376256 Image2
87 64 0x1c03f1a5 5636096 1441792 Image2
88 64 0x1c04f1a5 5701632 1507328 Image2
89 64 0x1c05f1a5 5767168 1572864 Image2
90 64 0x1c06f1a5 5832704 1638400 Image2
91 64 0x1c07f1a5 5898240 1703936 Image2
92 64 0x1c08f1a5 5963776 1769472 Image2
93 64 0x1c09f1a5 6029312 1835008 Image2
94 64 0x1c0af1a5 6094848 1900544 Image2
95 64 0x1c0bf1a5 6160384 1966080 Image2
96 64 0x1c0cf1a5 6225920 2031616 Image2
97 64 0x1c0df1a5 6291456 2097152 Image2
98 64 0x1c0ef1a5 6356992 2162688 Image2
99 64 0x1c0ff1a5 6422528 2228224 Image2
100 64 0x1c10f1a5 6488064 2293760 Image2
101 64 0x1c11f1a5 6553600 2359296 Image2
102 64 0x1c12f1a5 6619136 2424832 Image2
103 64 0x1c13f1a5 6684672 2490368 Image2
104 64 0x1c14f1a5 6750208 2555904 Image2
105 64 0x1c15f1a5 6815744 2621440 Image2
106 64 0x1c16f1a5 6881280 2686976 Image2
107 64 0x1c17f1a5 6946816 2752512 Image2
108 64 0x1c18f1a5 7012352 2818048 Image2
109 64 0x1c19f1a5 7077888 2883584 Image2
110 64 0x1c1af1a5 7143424 2949120 Image2
111 64 0x1c1bf1a5 7208960 3014656 Image2
112 64 0x1c1cf1a5 7274496 3080192 Image2
113 64 0x1c1df1a5 7340032 3145728 Image2
114 64 0x1c1ef1a5 7405568 3211264 Image2
115 64 0x1c1ff1a5 7471104 3276800 Image2
116 64 0x1c20f1a5 7536640 3342336 Image2
117 64 0x1c21f1a5 7602176 3407872 Image2
118 64 0x1c22f1a5 7667712 3473408 Image2
119 64 0x1c23f1a5 7733248 3538944 Image2
120 64 0x1c24f1a5 7798784 3604480 Image2
121 64 0x1c25f1a5 7864320 3670016 Image2
122 64 0x1c26f1a5 7929856 3735552 Image2
123 64 0x1c27f1a5 7995392 3801088 Image2
124 64 0x1c28f1a5 8060928 3866624 Image2 (3932160 bytes)
125 64 0x1c29f1a5 8126464 0 Dynamic NonVol
126 64 0x1c2af1a5 8192000 65536 Dynamic NonVol
127 64 0x1c2bf1a5 8257536 131072 Dynamic NonVol
128 64 0x1c2cf1a5 8323072 196608 Dynamic NonVol (262144 bytes)