Ticker

6/recent/ticker-posts

How to install Termux API | Termux API.

Termux-API is a companion app to Termux, it creates an interface from Termux to your device features, with termux api you can take photos from your phone camera, get location from GPS, read or send SMS, and a lot of other features. Everything directly from the emulated Linux terminal, you can do so many things without leaving your terminal, like clicking pictures, recording audio, changing your brightness level, accessing call logs, contacts, messages, and many more.


Installing Termux-API


{I recommend you to download it from F-Droid, but if you have installed Termux from PlayStore, then you should install all Termux addons from only PlayStore, or you can uninstall Termux and re-install it from F-Droid}
  • After successful installation of Termux api, open Termux and type the following command.
pkg update && pkg upgrade -y
pkg install termux-api
  • This will install the termux api package. After successful installation, you are ready to use Termux-API, but before that, don’t forget to give all permissions to Termux api from your device settings. Like allowing to access the camera, microphone and also modifying system settings. (You can watch my YouTube video if you got stuck somewhere during the installation process.)

-----------------------------------------------------------------------------------------------------------------------

How to Use Termux-API?

So to run and test Termux api you have type any Termux api based commands to test if everything is properly working or not just type below command.

Get information about Wi-Fi connection

termux-wifi-connectioninfo

Print information about current Wi-Fi connection. This information include: SSID (AP name), BSSID (AP mac address), device IP and other.

Toggles Wi-Fi on/off.

Termux-wifi-enable

Usage

termux-wifi-enable [true | false]

Program accepts a one of these values:

  • true - enable Wi-Fi
  • false - disable Wi-Fi 

Get information about the last wifi scan.

Termux-wifi-scaninfo


Conclusion: 

This was a simple post about how to install Termux:API in your phone since most of the people were having difficulty while installing. I made a long command that will install and update the API packages in Termux so you don't have to do a lot of work. Termux-api is a part of Termux that most of people ignore but they don't know how much they are missing out on good stuff. if you know basic bash then it's recommended for you to make some sort of tool with Termux:API so the community key benefit from it. I am sure you liked this post so make sure you should check out my other posts on [ Termux-API ]. If you have any questions or suggestions, drop them in comments, I am gonna post a lot on Termux:API so make sure you keep checking my new post, thanks for reading and as always Stay Ethical.

Learn DDos attack Termux:  Read>>>

Disclaimer; 
💥This article is for educational purposes only. We have written this article to instruct you about such kinds of phishing attacks that are done by attackers. We are not responsible for any misuse of this article or tool.

Post a Comment

0 Comments