Commit e52edf4
committed
fix(handlers): improve squashfs extraction by providing endianness explicitly.
Sasquatch does not switch to the other endianness when the current
endianness is not valid on some specific sample from Netgear such as
https://www.downloads.netgear.com/files/GDC/WNR3500Lv2/WNR3500Lv2-V1.2.0.40_40.0.80.zip
Improved by creating a custom Extractor that is just a wrapper around
Command that detects the file endianness and provides either '-le' or
'-be' endianness options to sasquatch.1 parent e7e8ff4 commit e52edf4
1 file changed
+40
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
17 | 50 | | |
18 | 51 | | |
19 | 52 | | |
20 | | - | |
21 | | - | |
22 | | - | |
| 53 | + | |
23 | 54 | | |
24 | 55 | | |
25 | 56 | | |
| |||
145 | 176 | | |
146 | 177 | | |
147 | 178 | | |
| 179 | + | |
| 180 | + | |
148 | 181 | | |
149 | 182 | | |
150 | 183 | | |
| |||
170 | 203 | | |
171 | 204 | | |
172 | 205 | | |
| 206 | + | |
| 207 | + | |
173 | 208 | | |
174 | 209 | | |
175 | 210 | | |
| |||
196 | 231 | | |
197 | 232 | | |
198 | 233 | | |
| 234 | + | |
| 235 | + | |
199 | 236 | | |
200 | 237 | | |
201 | 238 | | |
| |||
0 commit comments