Hello.

pkg/DESCR
Stan is a console application that analyzes binary streams and
calculates several useful statistical information from the observed
data.  It features statistical, pattern and bit analysis. Stan has been
designed as a "swiss-knife" for first steps in reverse engineering and
cryptographic analysis.

# uname -smrv
OpenBSD 4.3 GENERIC#1 i386
# stan /bsd
General statistics for the stream, bytes 6553113
Arithmetic mean:       101.909093  ~  0x65(e)
Median:                101.000000  ~  0x65(e)
Deviation:              84.768524  ~  0x54(T)
        Chi-Square test:  64250854.330390
        Entropy per byte:        6.456446
        Correlation co.:         0.330670

        Pattern length 1, different 256, total 6553113, bytes
        6553113, depth 20
        - Pattern range
        0x00( ): 0x00123805 - 0xff(Ъ): 0x000535fd
       - 10 most used patterns
         0x00( ): 0x00123805   0xff(Ъ): 0x000535fd   0x8b( ): 0x0003314d
          0x83( ): 0x00027e54   0x89( ): 0x00021c37   0xd0(п): 0x0001c11e
          0x01( ): 0x000177c0   0x85( ): 0x0001707a   0x08( ): 0x00015738
          0x74(t): 0x00014fcf

Pattern length 2, different 63825, total 6553112, bytes 6553113, depth 51
- Pattern range
  0x0000(  ): 0x000bcc9a - 0xffff(ЪЪ): 0x00022d8c
- 10 most used patterns
  0x0000(  ): 0x000bcc9a   0xffff(ЪЪ): 0x00022d8c   0x0100(  ): 0x0000eefc
  0x83c4( д): 0x0000ca74   0x83ec( Л): 0x0000b916   0x008b(  ): 0x00009518
  0xc410(д ): 0x000091d4   0x0200(  ): 0x00008b37   0xff83(Ъ ): 0x00007873
  0x8b45( E): 0x000074db

Reply via email to