How to use msfelfscan in kali linux 2.0


in kali 2.0 the msfelfscan is located at '/usr/share/framework2/'
Now you need to make a symbolic link of msfelfscan on /usr/bin directory

    cd /usr/bin
    ln -s /usr/share/framework2/msfelfscan msfelfscan

and thats it.