Thursday, March 3, 2011

Aluratek AIREC01F #8

Let's make a small script to try to understand what we have found in episode 7:

#!/bin/sh

LIST="0x00000000 0x00004020 0x00008040 0x000081f3 0x0000c213 0x00010233 0x00010f55 0x00014f75 0x00018f95 0x0001cfb5 0x00020fd5 0x00024ff5 0x00029015 0x0002d035 0x0002f089 0x000330a9 0x0003403b 0x0003805b 0x0003c07b 0x0004009b 0x000440bb 0x000480db 0x0004c0fb 0x0005011b 0x0005413b 0x0005815b 0x0005c17b 0x0006019b 0x000641bb 0x000681db 0x0006c1fb 0x0007021b 0x0007423b 0x0007825b 0x0007c27b 0x0008029b 0x00083c30 0x00087c50 0x0008bc70 0x0008fc90"

for addr in $LIST
do
    hd -s $(($addr)) -n 32 $1 | head -n 2
    printf "\n"
done

And here's what it displays:

$ ./list.sh ShrekW.BIN
00000000 be d9 ea 39 fc fe ff ff ff ff ff ff ff ff 6f ff |ŸÙê9üþÿÿÿÿÿÿÿÿoÿ|
00000010 fd ff f7 ff ff ff ff ff ff 3a 6f ff 1f f7 91 16 |ýÿ÷ÿÿÿÿÿÿ:oÿ.÷..|

00004020 be 59 ea 39 fc fe ff ff ff ff ef ff ff ff 6f ff |ŸYê9üþÿÿÿÿïÿÿÿoÿ|
00004030 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 a0 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷ V|

00008040 be d9 ea 39 fc fe fb 1d ff ff df ff ff ff 6f ff |ŸÙê9üþû.ÿÿßÿÿÿoÿ|
00008050 fd ff ff ff ff ff ff e1 ff 3b 6f ff 1f f7 d8 57 |ýÿÿÿÿÿÿáÿ;oÿ.÷ØW|

000081f3 be 59 ea 19 fc fe ff ff ff ff ff ff ff ff 6f ff |ŸYê.üþÿÿÿÿÿÿÿÿoÿ|
00008203 fd ff f7 ff ff ff ff ff ff 3a 6f ff 1f f7 92 16 |ýÿ÷ÿÿÿÿÿÿ:oÿ.÷..|

0000c213 be d9 ea 19 fc fe ff ff ff ff ef ff ff ff 6f ff |ŸÙê.üþÿÿÿÿïÿÿÿoÿ|
0000c223 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 a0 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷ V|

00010233 be d9 ea 19 fc fe cf 3f ff ff df ff ff ff 6f ff |ŸÙê.üþÏ?ÿÿßÿÿÿoÿ|
00010243 fd ff ff ff ff ff ff e1 fe 3b 6f ff 1f f7 90 63 |ýÿÿÿÿÿÿáþ;oÿ.÷.c|

00010f55 be 59 ea f9 fc fe ff ff ff fc ff ff ff ff 6f ff |ŸYêùüþÿÿÿüÿÿÿÿoÿ|
00010f65 fd ff ff 9f ff ff ff ff ff 3a 6f ff 1f f7 91 1c |ýÿÿ.ÿÿÿÿÿ:oÿ.÷..|

00014f75 be 59 ea f9 fc fe ff ff ff fc ef ff ff ff 6f ff |ŸYêùüþÿÿÿüïÿÿÿoÿ|
00014f85 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 a0 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷ V|

00018f95 be 59 ea f9 fc fe ff ff ff fc df ff ff ff 6f ff |ŸYêùüþÿÿÿüßÿÿÿoÿ|
00018fa5 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 a0 96 |ýÿÿÿÿÿÿáÿ:oÿ.÷ .|

0001cfb5 be 59 ea f9 fc fe ff ff ff fc cf ff ff ff 6f ff |ŸYêùüþÿÿÿüÏÿÿÿoÿ|
0001cfc5 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 a0 d6 |ýÿÿÿÿÿÿáÿ:oÿ.÷ Ö|

00020fd5 be d9 ea f9 fc fe ff ff ff fc ff ff ff ff 6f ff |ŸÙêùüþÿÿÿüÿÿÿÿoÿ|
00020fe5 fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 a0 16 |ýÿÿÿÿÿ.áÿ:oÿ.÷ .|

00024ff5 be d9 ea f9 fc fe ff ff ff fc ef ff ff ff 6f ff |ŸÙêùüþÿÿÿüïÿÿÿoÿ|
00025005 fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 a0 56 |ýÿÿÿÿÿ.áÿ:oÿ.÷ V|

00029015 be d9 ea f9 fc fe ff ff ff fc df ff ff ff 6f ff |ŸÙêùüþÿÿÿüßÿÿÿoÿ|
00029025 fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 a0 96 |ýÿÿÿÿÿ.áÿ:oÿ.÷ .|

0002d035 be d9 ea f9 fc fe 7f db ff fc cf ff ff ff 6f ff |ŸÙêùüþ.ÛÿüÏÿÿÿoÿ|
0002d045 fd ff ff ff ff ff 7f e1 ff 3b 6f ff 1f f7 a9 b6 |ýÿÿÿÿÿ.áÿ;oÿ.÷©¶|

0002f089 be 59 ea 59 fc fe ff ff ff ff ff ff ff ff 6f ff |ŸYêYüþÿÿÿÿÿÿÿÿoÿ|
0002f099 fd ff f7 ff ff ff ff ff ff 3a 6f ff 1f f7 91 16 |ýÿ÷ÿÿÿÿÿÿ:oÿ.÷..|

000330a9 be d9 ea 59 fc fe c3 5f ff ff ef ff ff ff 6f ff |ŸÙêYüþÃ_ÿÿïÿÿÿoÿ|
000330b9 fd ff ff ff ff ff ff e1 ff 3b 6f ff 1f f7 c7 25 |ýÿÿÿÿÿÿáÿ;oÿ.÷Ç%|

0003403b be d9 ea f9 fc fe ff ff ff ff ff ff ff f8 6f ff |ŸÙêùüþÿÿÿÿÿÿÿøoÿ|
0003404b fd ff 07 ff ff ff ff ff ff 3a 6f ff 1f f7 8d 17 |ýÿ.ÿÿÿÿÿÿ:oÿ.÷..|

0003805b be 59 ea f9 fc fe ff ff ff ff ef ff ff ff 6f ff |ŸYêùüþÿÿÿÿïÿÿÿoÿ|
0003806b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9d 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷.V|

0003c07b be 59 ea f9 fc fe ff ff ff ff df ff ff ff 6f ff |ŸYêùüþÿÿÿÿßÿÿÿoÿ|
0003c08b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9d 96 |ýÿÿÿÿÿÿáÿ:oÿ.÷..|

0004009b be 59 ea f9 fc fe ff ff ff ff cf ff ff ff 6f ff |ŸYêùüþÿÿÿÿÏÿÿÿoÿ|
000400ab fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9d d6 |ýÿÿÿÿÿÿáÿ:oÿ.÷.Ö|

000440bb be d9 ea f9 fc fe ff ff ff ff ff ff ff ff 6f ff |ŸÙêùüþÿÿÿÿÿÿÿÿoÿ|
000440cb fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9d 16 |ýÿÿÿÿÿ.áÿ:oÿ.÷..|

000480db be d9 ea f9 fc fe ff ff ff ff ef ff ff ff 6f ff |ŸÙêùüþÿÿÿÿïÿÿÿoÿ|
000480eb fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9d 56 |ýÿÿÿÿÿ.áÿ:oÿ.÷.V|

0004c0fb be d9 ea f9 fc fe ff ff ff ff df ff ff ff 6f ff |ŸÙêùüþÿÿÿÿßÿÿÿoÿ|
0004c10b fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9d 96 |ýÿÿÿÿÿ.áÿ:oÿ.÷..|

0005011b be d9 ea f9 fc fe ff ff ff ff cf ff ff ff 6f ff |ŸÙêùüþÿÿÿÿÏÿÿÿoÿ|
0005012b fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9d d6 |ýÿÿÿÿÿ.áÿ:oÿ.÷.Ö|

0005413b be 59 ea f9 fc fe ff ff ff fe ff ff ff ff 6f ff |ŸYêùüþÿÿÿþÿÿÿÿoÿ|
0005414b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9e 16 |ýÿÿÿÿÿÿáÿ:oÿ.÷..|

0005815b be 59 ea f9 fc fe ff ff ff fe ef ff ff ff 6f ff |ŸYêùüþÿÿÿþïÿÿÿoÿ|
0005816b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9e 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷.V|

0005c17b be 59 ea f9 fc fe ff ff ff fe df ff ff ff 6f ff |ŸYêùüþÿÿÿþßÿÿÿoÿ|
0005c18b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9e 96 |ýÿÿÿÿÿÿáÿ:oÿ.÷..|

0006019b be 59 ea f9 fc fe ff ff ff fe cf ff ff ff 6f ff |ŸYêùüþÿÿÿþÏÿÿÿoÿ|
000601ab fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9e d6 |ýÿÿÿÿÿÿáÿ:oÿ.÷.Ö|

000641bb be d9 ea f9 fc fe ff ff ff fe ff ff ff ff 6f ff |ŸÙêùüþÿÿÿþÿÿÿÿoÿ|
000641cb fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9e 16 |ýÿÿÿÿÿ.áÿ:oÿ.÷..|

000681db be d9 ea f9 fc fe ff ff ff fe ef ff ff ff 6f ff |ŸÙêùüþÿÿÿþïÿÿÿoÿ|
000681eb fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9e 56 |ýÿÿÿÿÿ.áÿ:oÿ.÷.V|

0006c1fb be d9 ea f9 fc fe ff ff ff fe df ff ff ff 6f ff |ŸÙêùüþÿÿÿþßÿÿÿoÿ|
0006c20b fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9e 96 |ýÿÿÿÿÿ.áÿ:oÿ.÷..|

0007021b be d9 ea f9 fc fe ff ff ff fe cf ff ff ff 6f ff |ŸÙêùüþÿÿÿþÏÿÿÿoÿ|
0007022b fd ff ff ff ff ff 7f e1 ff 3a 6f ff 1f f7 9e d6 |ýÿÿÿÿÿ.áÿ:oÿ.÷.Ö|

0007423b be 59 ea f9 fc fe ff ff ff fd ff ff ff ff 6f ff |ŸYêùüþÿÿÿýÿÿÿÿoÿ|
0007424b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9f 16 |ýÿÿÿÿÿÿáÿ:oÿ.÷..|

0007825b be 59 ea f9 fc fe ff ff ff fd ef ff ff ff 6f ff |ŸYêùüþÿÿÿýïÿÿÿoÿ|
0007826b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9f 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷.V|

0007c27b be 59 ea f9 fc fe ff ff ff fd df ff ff ff 6f ff |ŸYêùüþÿÿÿýßÿÿÿoÿ|
0007c28b fd ff ff ff ff ff ff e1 ff 3a 6f ff 1f f7 9f 96 |ýÿÿÿÿÿÿáÿ:oÿ.÷..|

0008029b be d9 ea f9 fc fe 1b 59 ff fd cf ff ff ff 6f ff |ŸÙêùüþ.YÿýÏÿÿÿoÿ|
000802ab fd ff ff ff ff ff ff e1 ff 3b 6f ff 1f f7 c8 cf |ýÿÿÿÿÿÿáÿ;oÿ.÷ÈÏ|

00083c30 be d9 ea f9 fc fe ff ff ff ff ff ff ff ff 6f ff |ŸÙêùüþÿÿÿÿÿÿÿÿoÿ|
00083c40 fd ff f7 ff ff ff ff ff ff 3a 6f ff 1e f7 92 16 |ýÿ÷ÿÿÿÿÿÿ:oÿ.÷..|

00087c50 be 59 ea f9 fc fe ff ff ff ff ef ff ff ff 6f ff |ŸYêùüþÿÿÿÿïÿÿÿoÿ|
00087c60 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1e f7 a1 56 |ýÿÿÿÿÿÿáÿ:oÿ.÷¡V|

0008bc70 be 59 ea f9 fc fe ff ff ff ff df ff ff ff 6f ff |ŸYêùüþÿÿÿÿßÿÿÿoÿ|
0008bc80 fd ff ff ff ff ff ff e1 ff 3a 6f ff 1e f7 a1 96 |ýÿÿÿÿÿÿáÿ:oÿ.÷¡.|

0008fc90 be 59 ea f9 fc fe b3 df ff ff cf ff ff ff 6f ff |ŸYêùüþ³ßÿÿÏÿÿÿoÿ|
0008fca0 fd ff ff ff ff ff ff e1 ff 3b 6f ff 1e f7 a9 a9 |ýÿÿÿÿÿÿáÿ;oÿ.÷©©|

No comments:

Post a Comment