2018-04-02

recover the signature

http://weeklyalgo.codes/2017/07/16/Reverse%20Engineer%20a%20stripped%20binary/
stripped staticly linked binaries' information can be recovered by using lscan and rizzo

mujs

  1. the var is stored by binary tree using it's name as the key.
  2. fread only read 256 bytes each time.
  3. load("xxx") can read a file to the heap. So all we need now is a attribute address leak. leak the heap address and leak everything in the heap.

the var in mujs

each member of the var in mujs is a property. with the idx as the name..
every time you want to get the element in the var list, it select it by js_getindex(J, 0, k);
and k is the idx number.

volatile

an example:
char *volatile out;
it will make sure that the out pointer wont be optimized, to avoid the mistakes. Every time when it will be used, the volatile parameter should be re-read from the memory.

你可能感兴趣的:(2018-04-02)