STRIX.D: Termux

Hot

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

Sunday, October 24, 2021

50 Linux commands you must know as a regular user

October 24, 2021 0

To view contents of directory (list)- ls

Path of current directory- pwd

Change direction- cd

Make new directory- mkdir

Move files/ Rename files- mv

Copy files- cp

Remove files- rm

Create blank new file- touch

Delete directory- rmdir

List content of file to terminal- cat

Clear terminal window- clear

Move data into file- echo

Read text file one screen at a time- less

Show manual of linux commands- man

Enables you to perform tasks that require administrative or root permission- sudo

Task manager in terminal- top

Used to archive multiple files into a tarball- tar

Used to searching words in specific files- grep

View first line of any text file- head 

View last line of ant text file- tail

Compares the contents of two files line by line- diff

Used to killing unresponsive program- kill

Display all current jobs along with their statuses- jobs

Is a command lime utility for sorting lines of text files- sort

Info about system disk- df

Check how much space files directory takes- du

To compress your files into a zip archive- zip

To extract the zipped files from a zip archive- unzip

A secure encrypted connection between two hosts over and insecure network- ssh

Shows calendar- cal

Command line tool for interaction with packaging system- apt

Custom shortcuts used to represent a command- alias

Current user info- w

Used to locate the binary, source, manual page files- whereis

Used to get one-line man page description- whatis

Used to create a new user- userdd

Used to changing password of current user- passwd

Print current user- whoami

Print current time when machine starts- uptime

Print free disk space info- free

Print used commands history- history

Print detail information about your Linux system- uname

To check connectivity status to a server- ping

To change permission of files and directories- chmod

To change ownership of  files and directories- chown

Using find searches for files and directories- find

Used to locate a file, just like the search command in windows- locate

Print ip address stuff- ifconfig

Similar to ifconfig but shortest print- ip a

Gives you a short dump of info about user- finger


Thanks for visiting.....!
Read More

Friday, April 23, 2021

NGROK Installation in Termux

April 23, 2021 0

 What is Ngrok?

Ngrok may be a reverse proxy that makes a secure "tunnel" from a public termination for an online service running regionally.

In different words, you'll be able to use Ngrok to reveal a port on your system, as an example, the port on that your application or web site is running, to a public URL.

Basically, Ngrok creates a tunnel, wherever its perform is to direct external connections to your localhost.

How Ngrok works?

Let's assume you have a web server running on your machine. Now you intend to share, with a colleague, the address of a website that you developed, but as it is on the private network. To do this, just use Ngrok. Considering that the webserver is at port 8080, you only need to execute the following command:

ngrok http 8080


What is the utilization of Ngrok?

1- Share web site to a colleague that's running on a personal network;

2- Create a communications protocol server on your device;

3- Port forwarding; 4- Testing mobile apps connected to your domestically running backend; 5- Stable addresses for your connected devices that ar deployed within the field; 6- Running personal cloud services from your home; 7- You can conjointly use Ngrok in moral hacking. You might be pondering the way to use Ngrok in moral hacking? primarily, you'll take the reverse shell and reverse the affiliation of any device remotely through the communications protocol tunneling with Ngrok.

How to install Ngrok in Termux?

Here ar the steps to put in Ngrok in Termux. Please follow the steps one by one fastidiously to avoid any style of error. Please note that you just should look forward to every command to urge completed. 1. 1st of all, open your Termux and so sort the below command to update and upgrade your Termux repositories. pkg update && pkg upgrade -y 2. currently sort the below command. The below command can install zip wget packages in your Termux. Here zip are accustomed unfasten the zipped folder of Ngrok whereas wget are accustomed transfer the Ngrok. pkg install wget -y 3. currently sort the below command because it is to transfer Ngrok in your Termux. wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-arm.zip Wait for downloading to be finished. it's going to take up to a pair of to five minutes to transfer Ngrok relying upon your web speed. 4. sort the below command in your Termux to unfasten the Ngrok folder. unzip ngrok-stable-linux-arm.zip 5. once Unzipping, use the below command to administer Ngrok permission to browse, write, and execute. chmod +x ngrok 6. currently open the Ngrok web site by clicking the link below:

Open ngrok website

Now click on the Signup button, and so produce a replacement account on Ngrok.


Now you would like to verify the Ngrok account. Open your email to verify your Ngrok account. There you may see Ngrok email. merely open that mail and click on on the ensure account button.



7. currently login to Ngrok together with your Email Id and watchword and seek for auth token on the Ngrok page. Then merely kind the below command in your Termux And replace  together with your auth token.


./ngrok (paste your authtoken)

Running the higher than command can add your auth token to your ngrok.yml file. Connecting associate degree account can list your open tunnels within the dashboard, provide you with longer tunnel timeouts.


8. thence Ngrok has been with success put in in your Termux. Use the below command to visualize a way to use Ngrok in Termux.

./ngrok help

NOTE- To fix ngrok reconnecting issue open your device hotspot and start ngrok again.


Watch video how to install ngrok server in Termux apk.



Read More