Home Page Wireshark In VNC
Wireshark In VNC Viewer
What is Wireshark.
Wireshark is a well-known professional tool that can detect vulnerabilities within a network and across multiple firewall rules. Wireshark is used by thousands of security professionals to analyze networks, capture sent packets, and carefully scan hundreds of protocols.
Wireshark helps you read real-time data from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI, and other sources.
This free Ethernet tool has the basic functions and command line support in Wireshark; this version is called Tshark.
How to Install Wireshark in Termux
First, we need to update our repository by typing the following command in Termux.
apt update
apt upgrade -y
Now type the following command in Termux and press enter.
pkg install x11-repo
Wait for the process to finish.
Now we need to install Wireshark by typing the following command
apt install wireshark-gtk
Wait for the installation to finish. It will take about 4 to 5 minutes to install Wireshark. It may take longer depending on your internet speed.
Install the required tools
Wireshark has a graphical user interface (GUI), while we can only run command-line interface tools in Termux. To run Wireshark on Termux, we need to install some tools that will help us to run Wireshark on Termux.
Follow the commands below:
pkg install xterm
apt install tigervnc
apt install tigervnc-viewer
Note: Type the commands one by one and wait for the installation to finish.
Now we need to configure Tigervnc run command vncserver configure Tigervnc and press Enter.
tigervnc
If you are running this command for the first time then it will ask you to enter the VNC password. You can enter any password you want. But you must remember the password that you type.
#123*456*789!
For a GUI application to use the display, you must set the environment variable with the DISPLAY=”:1″ command.
DISPLAY=”:1″
Now the last step, we need to install VNC viewer remote desktop application for Android. VNC viewer will help us to run Wireshark in GUI mode. You can simply install VNC viewer from Google Playstore
VNC Viewer For Android: Download
After successfully installing VNC viewer. Open the VNC viewer application on your Android device.
After opening the application, click on the + sign.
Normally VNC server listens on localhost i.e. 127.0.0.1 and port 5901.
On the address field add: 127.0.0.1:5901
and on the name field, you can add whatever you like for example Termux, Desktop, Wireshark etc.
And then click Create. Next, you will be prompted to add a password. Now type the password that you typed while configuring the VNC Server.
Now you are successfully connected. You will see the terminal in the VNC viewer, just type the following commands in the VNC viewer order to run Wireshark:
wireshark-gtk
So we have successfully installed and run Wireshark on Termux without any errors.
To run Wireshark again simply open Termux and type the following command to run the VNC Server.
vncserver
Then type the following command:
export DISPLAY=”:1″
Then go to your Android menu and open the VNC viewer Android application and click on your machine. Type the password and click continue. Type the following command in the VNC terminal:
wireshark-gtk
You are now free to use Wireshark.
Read This Post In Hindi..
Go Home
Discover more from MNS.Code.Blog
Subscribe to get the latest posts sent to your email.
