Showing posts with label Termux. Show all posts
Showing posts with label Termux. Show all posts

Friday, 11 June 2021

Programing enviroment in Termux

Programing enviroment in Termux




 Make a programming environment


We can install some programming languages like Python, C, Ruby, etc on Termux. 


Python


Python is the most used scripting language in hacking and penetration testing. We use it to automate stuff and build tools. Also, Python is highly used in mashing learning.

apt-get install python


C


C language is the core language of many other programming languages. You can learn computer architecture deeply if you get a good knowledge of C.

apt-get install clang


Ruby


If you want to install Metasploit on termux you need Ruby. Because MSF is coded in Ruby.

apt-get install ruby


Assembly


If you are planning to learn  hacking, Assembly is a must to learn. I suggest you write codes in C, Then disassemble them and learn Assembly.

apt-get install binutils


Turn your phone into a web server


You may know that using Python you can build a simple HTTP server. If you don't know about that read our python simple HTTP server tutorial.

You may use the following command to server on port 4444.

python -m SimpleHTTPServer 4444

Actually we install the apache server on your termux environment. Not only apache, PHP, and python also can be installed. So you can run a fully functional web server on your phone.


Some useful tools to install


Linux man pages


These are the Linux manual pages for programmers. There are hundreds of documents explaining various API s and tools. For example, if we want to know about the read() function in C you can just type "man read". It will open a page explaining how to work with read function.

You may install the manual pages with the following command.

apt-get install man


Nano editor


This is a simple text editor that can be used in the terminal. We use this tool often in Linux programming and text editing stuff. In the following image, you can see a screenshot of the nano editor.


Thursday, 10 June 2021

IP-Tracer

 IP-Tracer


What is IP-Tracer ?

IP-Tracer is used to track an ip address. IP-Tracer is developed for Termux and Linux based systems. you can easily retrieve ip address information using IP-Tracer. IP-Tracer use ip-api to track ip address.




How to install IP-Tracer ?


$ apt update


$ apt install git -y


$ git clone https://github.com/rajkumardusad/IP-Tracer.git


$ cd IP-Tracer


$ chmod +x install


$ sh install or ./install


How to use IP-Tracer

trace -m to track your own ip address.

trace -t target-ip to track other's ip address for example ip-tracer -t 127.0.0.1

trace for more information.

OR

ip-tracer -m to track your own ip address.

ip-tracer -t target-ip to track other's ip address for example ip-tracer -t 127.0.0.1

ip-tracer for more information.


CYBER-SCAN

CYBER-SCAN



CyberScan is an open source penetration testing tool that can analyse packets , decoding , scanning ports, pinging and geolocation of an IP including (latitude, longitude , region , country ...)


Installation :


$ apt update && apt upgrade


$ apt install git 


$ apt install python2


$ apt install python


$ git clone https://github.com/medbenali/CyberScan.git


$ cd CyberScan


usage :


$ python2 CyberScan.py -v


$ CyberScan -h


We can perform ping operations with several protocols using CyberScan

The fastest way to discover hosts on a local Ethernet network


is to use ARP:


$ python2 CyberScan -s 192.168.1.0/24 -p arp


In case when ICMP echo requests are blocked, we can still use TCP:


$ CyberScan -s 192.168.1.105 -p tcp -d 80


192.168.1.105 = target IP.

Nikto web server scanner | Termux

Nikto web server scanner

Nikto is a web server assessment tool. 

The Nikto web server scanner is a security tool that will test a web site for thousands of possible security issues. Including dangerous files, mis-configured services, vulnerable scripts and other issues. It is open source and structured with plugins that extend the capabilities. These plugins are frequently updated with new security checks.

It is designed to find various default and insecure files, 

apconfigurations and programs on any type of web server 


Installation in Termux:


$ apt update && apt upgrade


$ apt install git 


$ apt install perl


$ git clone https://github.com/sullo/nikto


$ cd nikto


$ chmod +x *


usage :


perl nikto.pl -H


it shows all options how you can use this tool ...

Tuesday, 8 June 2021

Install kali in Termux | Kalimux

 ABOUT TOOL :

Kalimux is a bash based script which automatically installs kali Linux in termux without any issue and without root. This tool works on both rooted Android device and Non-rooted Android device.


AVAILABLE ON : Termux


TESTED ON : Termux


REQUIREMENTS : internet

                                  1GB storage

                                  storage 400 MB

                                  Vnc viewer app 


FEATURES :

[+] Stable and latest !

[+] Gui in android !

[+] Real time kali Linux !

[+] Easy for Beginners !


INSTALLATION [Termux] :


apt-get update -y

apt-get upgrade -y

pkg install python -y

pkg install python2 -y

pkg install git -y

pip install lolcat

git clone https://github.com/noob-hackers/kalimux

cd $HOME

ls

cd kalimux

ls

sh kalimux.sh

* So after installation completes the text files will occur just copy it by long click on text 

./start-kali.sh

Now Linux has been installed successfully in termux without root. But wait if you like to use kali Linux as GUI in your android device then you need to download a application called VNC viewer after downloading that. just start kali Linux in termux and paste that copied text in that and wait for it to install complete Linux os in termux. After installation completes just apply this command in kali 

vncserver-start

Now the server starts on host 127.0.0.1:5901 Now open VNC viewer and click on + icon and create host access Now the the gui of kali Linux has been started in VNC viewer so start practicing now...... Note:- Don't remove termux from background while using kali Linux in VNC viewer because the vnc host files are present in termux app so. [+]--Now you need internet connection to continue further process... [+]--You can select any option by clicking on your keyboard [+]--Note:- Don't delete any of the scripts included in core files [+]--new session and start TOR (tor) before starting.


Sunday, 6 June 2021

TmVenom generate 6 payloads Termux


TmVenom generate 6 payloads



How to install TmVenom in Termux

Usefull Points

  • Tmvenom is a python based tool specially designed for Termux users.

  • This payload generates some basic payloads using metasploit-framework.

  • So, You must install metasploit framework on your Termux.

  • This tool works both rooted and non rooted devices.

  • This is very helpfull for beginners.

  • This tool also guide you to generate payloads easily


Requirments:-


Termux APp


metasploit-framework


Installation :


$ apt update 


$ apt upgrade


$ apt install git


$ apt install python2


$ git clone https://github.com/TechnicalMujeeb/tmvenom


$ cd tmvenom


$ chmod +x *


$ sh install.sh


usage :


python2 tmvenom.py


Now select payload options and you can easily generates pay

loads