Advertisement
kidpixo

prova

Mar 17th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.04 KB | None | 0 0
  1. for i in (xxd -c 2 -g 1 -b  packet_TM_MERTIS_PktRawResponseElement_packetID_2.dat | head -20)
  2.         set tmp (echo $i | cut -d' ' -f 5)
  3.         echo $i : (printf "\x$tmp" | xxd -b | cut -d' ' -
  4. end
  5.  
  6. 0000000: 00110000 00110000  00 : 00000000
  7. 0000002: 00110000 00110000  00 : 00000000
  8. 0000004: 00110000 00110000  00 : 00000000
  9. 0000006: 00110000 00110000  00 : 00000000
  10. 0000008: 00110101 00110100  54 : 01010100
  11. 000000a: 00111000 00111001  89 : 11000010
  12. 000000c: 00110110 00111001  69 : 01101001
  13. 000000e: 01100011 01100100  cd : 11000011
  14. 0000010: 00110000 00110000  00 : 00000000
  15. 0000012: 00110000 00110000  00 : 00000000
  16. 0000014: 00110000 00110000  00 : 00000000
  17. 0000016: 00110000 00110000  00 : 00000000
  18. 0000018: 00110101 00110100  54 : 01010100
  19. 000001a: 00111000 00110001  81 : 11000010
  20. 000001c: 00110100 00110010  42 : 01000010
  21. 000001e: 01100011 00110101  c5 : 11000011
  22. 0000020: 00110000 00110000  00 : 00000000
  23. 0000022: 00110000 00110000  00 : 00000000
  24. 0000024: 00110010 00110011  23 : 00100011
  25. 0000026: 00110010 00111000  28 : 00101000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement