Commit Graph

1223 Commits

Author SHA1 Message Date
simonpunk
63172255bf Fixed returning to wrong session view when removing a session view or switching back to app. 2020-06-10 01:33:58 +08:00
simonpunk
e2707d054d Fixed /sdcard: permission denied when trying to access /sdcard in 'Android' shell 2020-06-10 01:21:51 +08:00
Re4son
65f4b481f3 Merge branch 'adding-gitlab-ci' into 'master'
Added .gitlab-ci.yml for Continuous Integration

See merge request kalilinux/nethunter/apps/kali-nethunter-term!5
2020-04-09 00:00:09 +00:00
Paul A
9ee52b0a6f Added .gitlab-ci.yml for Continuous Integration 2020-04-08 22:02:34 +02:00
Re4son
cd1672a4d9 Merge branch 'nethunter-dev' into 'nethunter'
Nethunter dev

See merge request kalilinux/nethunter/apps/kali-nethunter-term!4
2020-01-09 08:29:13 +00:00
Re4son
a8667523aa Bump to 2020010200 2020-01-09 08:28:25 +00:00
simonpunk
f2775ece0a Fix some warnings. 2020-01-09 14:09:24 +08:00
simonpunk
f78a1df799 Add nethunter-app's script path and bin path to PATH so that we can execute the sciprts or executables directly. 2020-01-09 14:08:26 +08:00
simonpunk
96e79fefca Change 'su' to 'su -mm' so that the mounted chroot can be seen by other app or terminal as the fs is mounted as globle namespace. 2020-01-09 14:05:31 +08:00
simonpunk
3bfc2a603f Force enabling UTF-8 mode 2020-01-09 14:00:38 +08:00
simonpunk
0ee3be8b55 Update gradle and define nethunter-app path in BuildConfig 2020-01-09 13:58:44 +08:00
Re4son
a4fb49dda6 Rename chroot to "kalifs" & revert to bootkali_login
Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2020-01-08 23:40:31 +11:00
Re4son
b55baf2db1 Boot KALI_SHELL instead of KALI_LOGIN_SHELL
To avoid errors when "data" is encrypted.
"data" should always be unencrypted but this change will make NetHunter
mostly work when decrypting "data" has been omitted.

Signed-off-by: Re4son <3520622-re4son@users.noreply.gitlab.com>
2019-11-06 14:19:27 +11:00
Re4son
7b0a81b188 Release 2019.2 2019-05-05 13:52:20 +10:00
Re4son
b652516cf2 Make window resizable 2019-04-08 18:12:58 +10:00
Re4son Kernel
431c2d6d73
Update README.md 2019-02-27 22:09:33 +11:00
Re4son
e1c6cebcfd Add versionCode and bump version to 2019.2-rc2 2019-02-27 20:39:46 +11:00
Re4son
1014d0622e Restart NotificationManager on exit if required
Closing the application on Android Nougat and older causes a null
pointer exception so we check if the NotificatiionManager Service
exists and start it if it doesn't
2019-02-27 20:34:33 +11:00
Re4son
f491036658 Consolidate properties at project level
Define common properties at project level:
    compileSdkVersion=28
    minSdkVersion=14
    targetSdkVersion=28
    versionName="2019.2-rc1"

Downgrade gradle version requirements to 3.2
2019-02-26 20:07:13 +11:00
simonpunk
d66e636fb5 Fixed foreground being killed, keep the code updated. 2019-02-15 04:48:39 +08:00
simonpunk
47b2804fc8 updated gradle and properties. 2019-02-15 04:41:40 +08:00
simonpunk
03242c8aa5 updated .gitignore 2019-02-15 04:39:23 +08:00
binkybear
fb2ee1f288 Build libs, fixed so library name
Tested and terminal works now even without Kali

Signed-off-by: binkybear <binkybear@nethunter.com>
2017-09-01 08:31:38 -05:00
binkybear
54bbdd1968 Add android.mk files to build shared libraries
Signed-off-by: binkybear <binkybear@nethunter.com>
2017-09-01 08:23:43 -05:00
binkybear
2f3d69ded6 Fix wifimanager context (for oreo)
Signed-off-by: binkybear <binkybear@nethunter.com>
2017-08-31 23:07:50 -05:00
binkybear
e437a83ba7 Merge branch 'nethunter' of https://github.com/binkybear/Android-Terminal-Emulator into nethunter 2017-08-31 22:48:22 -05:00
binkybear
30fe7da03b Update gradle, fix building
Signed-off-by: binkybear <binkybear@nethunter.com>
2017-08-31 22:48:01 -05:00
binkybear
9b121dafe4 Merge pull request #6 from dic1911/nethunter
Fix app name for Chinese strings.xml
2017-08-31 18:04:52 -05:00
binkybear
ab66be1859 Update gradle build
Signed-off-by: binkybear <binkybear@nethunter.com>
2017-02-13 16:15:28 -06:00
binkybear
f218c4d9e8 Link bootkali directly to app files
Signed-off-by: binkybear <binkybear@nethunter.com>
2017-01-24 18:54:09 -06:00
binkybear
3ba9c54ea8 Add nethunter app folder to env path
We can remove system symlink if we just add nethunter app folder to path.  Will save a lot of hassle hopefully.

Signed-off-by: binkybear <binkybear@nethunter.com>
2017-01-23 21:36:25 -06:00
binkybear
a25ff7f0d4 Rename module to Terminal
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-20 10:25:29 -06:00
binkybear
9d756f54fa Build to system (Android.mk)
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-19 18:00:55 -06:00
binkybear
54247fdbaa Add gradle.properties and missing SDK25
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-07 21:58:18 -06:00
binkybear
583c07f20f Update gradle, sdk to 25
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-11-07 19:15:12 -06:00
binkybear
5f38d2b6b0 Output terminal app to /data instead of system
Android.mk

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-29 11:46:41 -05:00
binkybear
66fdefdae1 Build term folder in gradle
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-27 18:33:08 -05:00
binkybear
8e2c7328dd Update build tools & add Android.mk
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-26 17:53:37 -05:00
DiC1911
37c564c6ec Fix app name for Chinese strings.xml 2016-10-25 20:58:24 +08:00
binkybear
37d0935827 Check for kali dir using RunAsRoot
Ensures we call Su to check for dir

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-10 10:32:09 -05:00
binkybear
ac995248ff New way to check symlinks by running as root
https://github.com/offensive-security/kali-nethunter/issues/604

Based on logcat it appears that su isn’t checking true value of symlinked file.  So we run as root and just do a little a check.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-10 09:12:55 -05:00
binkybear
4737e3eb03 Increaes minSDK to kitkat and buildtools
Also surroud bootkali_login check with kitkat >=

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-09 17:50:53 -05:00
binkybear
914551b4e7 Android N cleanup (part 2)
More cleaning up for Android N

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-09 12:06:56 -05:00
binkybear
9cf8ac765e Revert "Busybox resize command"
This reverts commit 5af38a650f.
2016-10-09 11:53:45 -05:00
binkybear
477a9e9073 Update for Android (N)
* Updated Targeted/Compil SDK to 24 (Android N)
* Redid notification manager since previous one is deprecated
* Term.java add SDK check
* Other lint cleanups

https://github.com/offensive-security/kali-nethunter/issues/604
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-09 11:53:15 -05:00
binkybear
5af38a650f Busybox resize command
We can force the terminal to run busybox resize.  I think this will reduce errors such as:
```
root@bacon:/ # 1;148R
```
because the app is running vice the bootkali script, which is where most of the errors seem to be coming form.

This requires busybox to be in the path…however if the user doesn’t have busybox then they can’t chroot anyways.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-07 18:40:52 -05:00
binkybear
2ac4061f8a Replace homescreen icon icon
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-07 16:21:12 -05:00
binkybear
42e547279e Add paste icon to keyboard
Need to find a better way to center.

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-07 15:11:31 -05:00
binkybear
5567dac8dd Squish size, add paste function (needs icon)
TODO:
Add page up/pagedown
Add clipboard icon

Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-06 21:24:47 -05:00
binkybear
c3b1a110d7 Gradle proguard rules for release
Signed-off-by: binkybear <binkybear@nethunter.com>
2016-10-06 21:06:20 -05:00