Skip to content

Commit

Permalink
Armitage fix for NH
Browse files Browse the repository at this point in the history
offensive-security#600

Java issue prevents Armitage from running

Signed-off-by: binkybear <[email protected]>
  • Loading branch information
binkybear committed Oct 15, 2016
1 parent 7216457 commit eb5541a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions nethunter-fs/stages/stage3
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ EOF
# because of inet. Modify passwd to put them in inet group for android
sed -i 's/_apt:x:104:65534/_apt:x:104:3004/g' "$rootfs/etc/passwd"

# Fix armitage to run on NH
# https://github.com/offensive-security/kali-nethunter/issues/600
sed -i s/-XX\:\+AggressiveHeap//g "$rootfs/usr/share/armitage/armitage"

# Insert correct .bashrc file from kali-defaults
chroot_do cp /etc/skel/.bashrc /root/.bashrc

Expand Down

0 comments on commit eb5541a

Please sign in to comment.