Giter Club home page Giter Club logo

nethunter-in-termux's Introduction

Nethunter-In-Termux

This is a script by which you can install Kali nethunter (Kali Linux) in your termux application without rooted phone

Steps For Installation

  1. Download script in HOME curl -LO https://raw.githubusercontent.com/Hax4us/Nethunter-In-Termux/master/kalinethunter
  2. Give execution permission chmod +x kalinethunter
  3. Run script ./kalinethunter

Usage

  1. Use command startkali to start nethunter. Default user is kali and default password is also kali.
  2. if you want to start nethunter as a root user then use command startkali -r.

VNC Guide

  1. To start a vnc session vnc start
  2. To stop a vnc session vnc stop
  3. To check status ( Display and port number) of vnc session vnc status
  4. If user is kali then by default vnc start will start vncserver with DISPLAY=:2 & PORT=5902 and for root user DISPLAY=:1 & PORT=5901

In Case Of SSL error: certificate verify failed

Rerun script with extra parameter --insecure or copy paste this command ./kalinethunter --insecure

setup LXDE

Default DESKTOP is XFCE4 but you can setup LXDE also https://www.hax4us.com/2018/07/how-to-install-lxde-in-kali-nethunter.html?m=1

You have any idea to improve ? So Just give PR

nethunter-in-termux's People

Contributors

5yntax avatar hax4us avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nethunter-in-termux's Issues

Checksum Request

Thank you for creating this project. Please include error checksum correction function for your download script. We want happy error free Termux users. Undetected failed download errors create all sorts of strange issues.

See https://duckduckgo.com/?q=sha+md5+error+site%3Atldp.org for more information regarding checking downloads for errors. For a working example, see adjustmd5file and makesystem functions in https://raw.githubusercontent.com/sdrausty/TermuxArch/master/scripts/files/stable/necessaryfunctions.sh This should be fairly easy to implement, and will eliminate many upcoming issues for your project and users in the future.

I have this problem.

When done download, then i try to type $ startkali , then this is happen :

[*] Getting SHA ...

Initializing download: https://build.nethunter.com/kalifs/kalifs-20171013/kalifs-arm64-minimal.sha512sum
File size: 158 bytes
Opening output file kalifs-arm64-minimal.sha512sum
Starting download

Connection 0 finished

Downloaded 158 byte in 2 seconds. (0.06 KB/s)

 [*] Checking integrity of file ...
 [*] Script will be terminate immediately in case of integrity failure
kalifs-arm64-minimal.tar.xz: OK

 [*] Extracting ...
 [*] Configuring Nethunter For You ...

 #-----------------------------------------------#

 [∆] My Official Mail :  [email protected]
 [∆] My Website       :  https://hax4us.com
 [∆] My Channel       :  https://youtube.com/hax4us
 #-----------------------------------------------#
$ startkali
mkdir: cannot create directory ‘/dev/net’: Permission denied
ln: failed to create symbolic link '/dev/net/tun': No such file or directory
ln: failed to create symbolic link '/dev/fd': Permission denied
ln: failed to create symbolic link '/dev/stdin': Permission denied
ln: failed to create symbolic link '/dev/stdout': Permission denied
ln: failed to create symbolic link '/dev/stderr': Permission denied
root@localhost:~#

ANYONE CAN HELP ME?

Not in home

Everytime I command ./kalinethunter,
It shows you are not in home!

Not Running

There is no file created for launch nethunter...

Error, I cant run it.

startkali
mkdir: cannot create directory ‘/dev/net’: Permission denied
ln: failed to create symbolic link '/dev/net/tun': No such file or directory
ln: failed to create symbolic link '/dev/fd': Permission denied
ln: failed to create symbolic link '/dev/stdin': Permission denied
ln: failed to create symbolic link '/dev/stdout': Permission denied
ln: failed to create symbolic link '/dev/stderr': Permission denied
root@localhost:~#

173 cannot startkali

Cannot startkali

How to solve this problem?
And I followed steps for installation
But they have failed several times in succession.

[] Checking integrity of file...
[
] The script will immediately terminate in case of integrity failure
kalifs-armhf-minimal.tar.xz: OK
[*] Extracting...

[*] Configuring Kali For You ..../kalinethunter: line 173: /home/kali-armhf/etc/resolv.conf: No such file or directory

Permission denied

"You are going to install Kali Nethunter In Termux Without Root ;) Cool

find: ‘/data/data/com.termux/files/home/.suroot’: Permission denied
$"

What can I do? Also tried with sudo...

apt-get update broken

The updating get broken with the error message "/usr/share/debconf/frontend not found" ...

The base problem is by updating perl, it can't install /usr/pin/perl and some other files.
They are exist and links to /data/data/com.termux/<.../perl and can't access them as user.

Workaround:
I deleted these links with root permission in the termux session and install perl with it depensis.

Doesn't seem to actually do anything...

This is what I've gotten on each command; startkali
mkdir: cannot create directory ‘/dev/net’: Permission denied
ln: failed to create symbolic link '/dev/net/tun': No such file or directory
root@localhost:# apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
Executing: /tmp/apt-key-gpghome.3eNfptmPX0/gpg.1.sh --keyserver hkp://keys.gnupg.net --recv-keys 7D8D0BF6
uid Kali Linux Repository [email protected]
sig!3 ED444FF07D8D0BF6 2015-02-03 [self-signature]
sig!3 ED444FF07D8D0BF6 2012-03-05 [self-signature]
sig!3 ED444FF07D8D0BF6 2018-01-25 [self-signature]
sub A8373E18FC0D0DCB
sig! ED444FF07D8D0BF6 2015-02-03 [self-signature]
sig! ED444FF07D8D0BF6 2012-03-05 [self-signature]
sig! ED444FF07D8D0BF6 2018-01-25 [self-signature]
key ED444FF07D8D0BF6: 1 duplicate signature removed
140 signatures not checked due to missing keys
gpg: key ED444FF07D8D0BF6: "Kali Linux Repository [email protected]" 143 new signatures
gpg: can't connect to the agent: IPC connect call failed
gpg: Total number processed: 1
gpg: new signatures: 143
root@localhost:
# apt-get update
Get:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling InRelease [30.5 kB]
Err:1 http://archive.linux.duke.edu/kalilinux/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]

ifconfig does nothing/isnt recognized by bash, ls presents nothing. There are a lot of issues here... I'd really appreciate your help, I'm trying to access metasploit on my phone, nothing else worked so I turned to this, and it isn't working either.

Kali NetHunter is not updating

root@localhost:# apt-get update
Get:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease [30.5 kB]
Err:1 http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
Reading package lists... Done
W: GPG error: http://ftp.yzu.edu.tw/Linux/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
root@localhost:
#

Regarding nethunter malfunction.

Whenever I execute' ./kalinethunter ' command in termux app, it says "You are not in Home." Already did every step gave chmod permission but still doesn't work.

ruby-therubyracer

can't install BeEF-xss it requires ruby-therubyracer which have not installation candidate

How to uninstall?

I want to reinstall kali, but I dont know how to unistall it.
Pls help. :З

why it is so

I can not update
screenshot_20180501-110456
, how to solve, hope to inform

Getting following error message

You are going to install Kali Nethunter In Termux Without Root ;) Cool

find: /data/data/com.termux/files/home/Nethunter-In-Termux/kali-arm64: No such file or directory

Dbus issue

@Hax4us Now it's working but dbus is not installing.Error log is following
Setting up dbus (1.12.8-2) ...
Cannot open audit interface - aborting.
adduser: `/usr/sbin/groupadd -g 110 messagebus' returned error code 1. Exiting.
dpkg: error processing package dbus (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of libpam-systemd:armhf:
libpam-systemd:armhf depends on dbus; however:
Package dbus is not configured yet.

dpkg: error processing package libpam-systemd:armhf (--configure):
dependency problems - leaving unconfigured

different commands not working

First one
airmon-ng start wlan0
Failed to connect to generic netlink

Second one
ifconfig wlan0 down
permission denied

Third one
iwconfig phy0 info
Failed to connect to generic netlink

and also many others as well.

(Solved)When i type startkali it just show a "#" symbol

Everything is install without any error..
But at doing startkali was giving an error
/bin/sh : 0 : illegal option--
But i fixed it by going to my explorer/data/data/com.termux/files/usr/bin
Then i edited it and replace last word --login with -l. (Thanks to @russelcwarren).

Now when i run startkali it just show a "#" .

How to fix this

Repository not found

help me what i doing for resolve problem?! i want connection termux "git clone and link" then i write my account and password but "repository not found

Cannot install

Hey bro,
I have been trying to install but I have waited to so long, it's extracting...

Downloaded 132.9 Megabyte in 1:19 minute(s). (1718.35 KB/s) [] Getting SHA ... Initializing download: https://build.nethunter.com/kalifs/kalifs-20171013/kalifs-arm64-minimal.sha512sum File size: 158 bytes Opening output file kalifs-arm64-minimal.sha512sum Starting download Connection 3 finished ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, Connection 1 finished ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, ,,,,,,,,,, Connection 0 finished Downloaded 158 byte in 6 seconds. (0.02 KB/s) [] Checking integrity of file ... [] Script will be terminate immediately in case of integrity failure kalifs-arm64-minimal.tar.xz: OK [] Extracting ...

Monitor mode

I have an Alpha Networks awus0neh wifi adapter which I use for monitor mode on my Nexus 9. My latest goal has been to have monitor mode on my pixel 2. Through this Kali chroot, I've been so close. Lsusb recognises device and it lights up when plugged in but ifconfig and the likes do not recognize it. The firmware is in /lib/firmware (rt3070.bin & rt2870.bin) but the issue persists... Help? :)

Size ??

What is the size on Disk of Kalinethunter??

startkali error

proot warning: can't sanitize binding "/data/data/com.termux/files/home/kali-armhf": No such file or directory
fatal error: see proot --help.

Can I use it from PC using VNC Client?

How can I use it from PC? The XSDL app is too much uneasy to use. The mouse emulation doesn't work like VNC apps for Android.

However, is there a way to use it using VNC viewer from Android or PC?

/usr/share/debconf/frontend not found" and dpkg errors

@Hax4us the following are the errors
/bin/sh: 1: /usr/sbin/dpkg-preconfigure: not found
Sub-process /usr/bin/dpkg returned an error code (1)

The recent commits you pushed were for only aarch64 not for armhf so these errors still exist in armhf version.

Help proot error ./startkali.sh

$ ./startkali.sh
proot error '/usr/bin/env' not found (root=/data/data/com.termux/files/home/Nethunter-In-Termux/kali-armhf, cwd= /data/data/com.termux/files/home/Nethunter-In-Termux, $PATH=(null))
fatal error: see proot --help
$

Architecture arm

(solved) /bin/sh: 0: illegal option --

i have tried
$ startkali
$ ./startkali
$ bash startkali
and i keep getting /bin/sh: 0: illegal option --
what am i doing wrong?
if this has been answered and/or resolved, just ignore me

Cannot create dir in arm architecture

maybe my fault but i dont know why it occurs...

2017-12-02 18:13:40 (490 KB/s) - ‘kalifs-armhf-minimal.tar.xz.2’ saved [137551432/137551432]

kali-armhf/dev/urandom: Can't create 'kali-armhf/dev/urandom'
kali-armhf/dev/full: Can't create 'kali-armhf/dev/full'
kali-armhf/dev/random: Can't create 'kali-armhf/dev/random'
kali-armhf/dev/zero: Can't create 'kali-armhf/dev/zero'
kali-armhf/dev/tty: Can't create 'kali-armhf/dev/tty'
kali-armhf/dev/null: Can't create 'kali-armhf/dev/null'
kali-armhf/dev/ptmx: Can't create 'kali-armhf/dev/ptmx'

Not Update

root@localhost:# apt-get update
Get:1 http://mirror.pwnieexpress.com/kali kali-rolling InRelease [30.5 kB]
Err:1 http://mirror.pwnieexpress.com/kali kali-rolling InRelease
The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected]
Reading package lists... Done W: GPG error: http://mirror.pwnieexpress.com/kali kali-rolling InRelease: The following signatures were invalid: EXPKEYSIG ED444FF07D8D0BF6 Kali Linux Repository [email protected] E: The repository 'http://http.kali.org/kali kali-rolling InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. root@localhost:
#

Help me please!

I have a problem in Termux-nethunter proot

. /startkali
proot warning: can't sanitize binding "/data/data/com.termux/files/home/kali-arm64": No such file or directory
fatal error: see `proot --help
I cant install nethunter in termux bc of this problem
How can i solve it !!

I can't find startkali.sh

How can I start Kali?! After the download there is a folder called Kali I've searched for startkali.sh but I found nothing.
My device is Mi A1.

isuse at start

startkali
mkdir: cannot create directory ‘/dev/net’: Permission denied
ln: failed to create symbolic link '/dev/net/tun': No such file or directory

Im not sure how do thats affects work with it well anyway any solutions ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.