0

Android terminal setup ...

I have been using the Terminal-UI but most of my shell commads are not executed. Even after SU privileges. Help

26th Sep 2017, 9:49 AM
Antony O. Onyango
Antony O. Onyango - avatar
29 odpowiedzi
+ 2
safer alternative is to copy the files in share >nmap folder with names 'nmap-mac-prefixes' to 'nmap-services' (7 files) to /etc directory..and change permissions to 755....and then run nmap os detection.. OR Follow this tutorial with your own risk... but everything should turn out well if u follow all instructions carefully..... https://forum.xda-developers.com/showthread.php?t=908513
28th Oct 2017, 2:46 PM
Kalo 'smi
Kalo 'smi - avatar
+ 1
thanks aagain Taylor but damn! im lost.. I surely need some more knowledge on this...
27th Sep 2017, 8:44 PM
Antony O. Onyango
Antony O. Onyango - avatar
+ 1
I found a pre compiled version of arm and I checked my phone its arm7 :)
28th Sep 2017, 10:38 AM
Antony O. Onyango
Antony O. Onyango - avatar
+ 1
this is what im talking about https://github.com/kost/nmap-android/releases/tag/v7.12 ** arm **
29th Sep 2017, 10:07 PM
Antony O. Onyango
Antony O. Onyango - avatar
+ 1
use TERMUX bro ...its great....
1st Oct 2017, 9:07 AM
Kalo 'smi
Kalo 'smi - avatar
+ 1
hey guys .. so I followed this tutorial https://secwiki.org/w/Nmap/Android but my phone is rooted. I need help using the extracted files from sdcard/opt/Nmap on my jackpal terminal. I copied the files from the Nmap/bin to data/data/jackpal.androidterm/nmap but I still cant use it on my terminal, what seems to be the problem?
27th Oct 2017, 3:49 PM
Antony O. Onyango
Antony O. Onyango - avatar
+ 1
check the permissions of the binaries....use ES file explorer to change it...
28th Oct 2017, 8:16 AM
Kalo 'smi
Kalo 'smi - avatar
+ 1
@Martin taylor thats my problem, I dont know the path since im rooted. the non-root was at "data/data/jackp... " . when I execute $ PATH "sh: /sbin: /vendor/bin: /system/sbin: /system/bin: /system/xbin :not found "
28th Oct 2017, 10:05 AM
Antony O. Onyango
Antony O. Onyango - avatar
+ 1
@ Antony are you on kitkat or lollipop ?
28th Oct 2017, 2:07 PM
Kalo 'smi
Kalo 'smi - avatar
0
thank u .. so I tried "set" and it executed and listed a whole lot of sys info but path didnt execute... whats the alternative for a good workable terminal, im looking forward to trying some tools like nmap and other tools...**please dont tell me to run Nethunter** running android 4.2 and not farmiliar with ROM porting...
26th Sep 2017, 6:35 PM
Antony O. Onyango
Antony O. Onyango - avatar
0
so "echo $PATH" returns "sbin:/vendor/bin:/system/sbin:/system/bin:/system/xbin:/" so is it possible to add programs to the environment path so as to execute?
27th Sep 2017, 9:04 AM
Antony O. Onyango
Antony O. Onyango - avatar
0
take an example.. Nmap
27th Sep 2017, 9:07 AM
Antony O. Onyango
Antony O. Onyango - avatar
0
I was thinking of getting the compiled version. tho its not preferred for a start I just wanted to see how far I can go with it. and with the installation instructions ive got it doesnt seem that complicated. although I might be back with more questions :D
28th Sep 2017, 2:36 AM
Antony O. Onyango
Antony O. Onyango - avatar
0
but its only available for 4.4/5.0 I think and above
1st Oct 2017, 7:31 PM
Antony O. Onyango
Antony O. Onyango - avatar
0
Great,I got a bash script online and managed to install it just fine although not the one I intended to install first tho. ill look into that later. Now my difficulty is in using nmap "nmap -A (os detection) scanme.nmap.org" I get an err "os scan cannot nmap-os-db file" and then points to some directory it should be.since I used a bash script I dont know where to get that file.. whoooooo !!
28th Oct 2017, 9:26 AM
Antony O. Onyango
Antony O. Onyango - avatar
0
@chinmay im on jellybean
28th Oct 2017, 3:07 PM
Antony O. Onyango
Antony O. Onyango - avatar
0
did u follow the tutorial ?
3rd Nov 2017, 2:12 PM
Kalo 'smi
Kalo 'smi - avatar
0
hey guys .. need some help on a post if u may? Martin Taylor Chinmay Moghe ..anyone!? https://www.sololearn.com/discuss/1238801/?ref=app
26th Apr 2018, 7:25 PM
Antony O. Onyango
Antony O. Onyango - avatar