Merge pull request #97 from offensive-security/master

I need to git better.  Bringing development branch up to speed.
Fixed LD_PRELOAD issue

Well, this means that `LD_PRELOAD` cant find the library `libsigchain.so` (is and android lib so we dont need it here * i think) , this happends because `LD_PRELOAD` (a enviroment var) is inherited from the  android enviroment.

The lib `libsigchain.so` is located at `/system/lib/` (from phone root)

So, if we add the next line to bootkali && killkali:

     unset LD_PRELOAD

 Errors gone.
 
 Jaime
Fixed LD_PRELOAD issue
Merge pull request #98 from jmingov/development

Fixed #95, LD_PRELOAD
Copy boot.img to flash folder if full update n5

If doing a full install (with rootfs) then we need to copy boot.img to the root folder of flash.

Signed-off-by: binkybear <binkybear@nethunter.com>
Add Nexus 7 2013 (L) support

Testing new kernel/ram disk edit for n7 2013

Signed-off-by: binkybear <binkybear@nethunter.com>
Remove phishing frenzy install, add RAWR

Phishing frenzy install should probably be made from within chroot instead of during build process.

RAWR - http://www.irongeek.com/i.php?page=videos/hack3rcon5/h05-identify-your-web-attack-surface-rawr-tom-moore-adam-byers

Signed-off-by: binkybear <binkybear@nethunter.com>
Switch to MITMf then run setup

https://github.com/offensive-security/kali-nethunter/issues/99

Setup script was running outside of MITMf folder.

Signed-off-by: binkybear <binkybear@nethunter.com>
Bootkali & Killkali = permissive/enforce selinux

We can have bootkali set selinux to permissive and when we are done we can have killkali set to enforcement.

WIthout permissive nothing will work.

Signed-off-by: binkybear <binkybear@nethunter.com>
Rawr install should be handled in chroot

The rawr installer is not automatic so it should probably be done within chroot.

WIll add that to the list with phishing frenzy.

Signed-off-by: binkybear <binkybear@nethunter.com>
Still fixing mitmf install

Still getting errors during mitmf install.  Testing different fixes...

Signed-off-by: binkybear <binkybear@nethunter.com>
Remove setenforce 0 from bootkali/killkali

Testing showed that we can't setenforce from the script: /system/bin/setenforce:  Could not set enforcing status:  Permission denied

Tried changing ownership group but no luck.  Will try ramdisk edits in mean time.

Signed-off-by: binkybear <binkybear@nethunter.com>
Merge pull request #101 from discipuloosho/master

fixes #100 - fix error: only position independent executables (PIE) are ...
Merge branch 'master' of https://github.com/offensive-security/kali-nethunter into development
Merge pull request #102 from offensive-security/master

Push HID keyboard with pie support to development branch
Merge branch 'development' of https://github.com/offensive-security/kali-nethunter into development
fix PIE error in hid-keyboard in Android 5.0
Merge remote-tracking branch 'mainstream/development' into development

merge commit from mainstream/development
fixed keyseed.py file for enter left-ctrl left-shift return keys without hyphens for new version hid-keyboard
MITMf installer fix

cd doesn't work; needs an install script to cd into folder.

Signed-off-by: binkybear <binkybear@nethunter.com>