Skip to content
chqrly edited this page Apr 17, 2015 · 4 revisions

Builder-Test

  • TO DO : produce a set of config files
  • for each config file, run Core-Test.

Core-Test

  • ./builder

  • TO DO : produce a banned word list in the binary

  • for wordlist in $(cat banlist.txt) ; do cat libselinux.so | grep $word ; done

  • Compare hooked functions with standard functions:

    LD_PRELOAD=/path/to/my/libselinux.so $cmd > $cmd_output_libselinux.txt
    $cmd > $cmd_output_default.txt`
    diff $cmd_output_libselinux.txt $cmd_output_default.txt
  • Manual Test.

Clone this wiki locally