Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Suse 11 sp1 wireshark combined with vncserver to grab the package of the system

2025-01-20 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Suse 11 sp1 wireshark combined with vncserver to grab the package of the system

1Percentsuse 11 sp1 install wireshark

# zypper insstall wireshark

# zypper se wireshark (check whether it is installed)

Loading repository data...

Reading installed packages...

S | Name | Summary | Type

-- +

I | wireshark | A Network Traffic Analyser | package

| | wireshark | A Network Traffic Analyser | srcpackage |

| | wireshark-devel | A Network Traffic Analyser | package |

2. Open the vnc service port

VNC remote Control under SUSE Linux system

After SSH logs in, execute the vncserver command

Hint: You will require a password to access your desktops.

Set the password for remote access.

Password: (enter password)

Verify: (enter again)

Hint: Would you like to enter a view-only password (yzone)? N (whether to enter a password that can only be viewed, choose No)

The prompts are as follows:

Xauth: creating new authority file / root/.Xauthority

New'X' desktop is linux-eyh7:1 (Desktop number 1)

Creating default startup script / root/.vnc/xstartup

Starting applications specified in / root/.vnc/xstartup

Log file is / root/.vnc/linux-eyh7:1.log

Configure the xstartup startup script. Launch the gnome graphical interface window

Edit / root/.vnc/xstartup script with VI

The contents are as follows:

#! / bin/sh

Xrdb $HOME/.Xresources

Xsetroot-solid grey

Xterm-geometry 80x24+10+10-ls-title "$VNCDESKTOP Desktop" &

Twm &

Change the last line to

Startgnome

DISPLAY=:1 gnome-session

To launch the gnome graphical interface window.

After saving, restart vnc.

How to restart the vncserver service:

[root@testdb ~ # cd / tmp

[root@testdb ~ # rm. X2-lock (delete lock file)

[root@testdb ~ # cd / tmp/.X11-unix

[root@testdb ~ # rm * (delete vnc process)

[root@testdb ~] # vncserver: 1

Download the windows vnc client software.

Run the VNC viewer and enter the IP and desktop number of the server:

For example, 10.60.30.112purl

Then enter the VNC connection password to log in.

Control through the browser:

If the main console does not have vnc viewer installed, it can also be controlled through the browser. For example, if the access address is http://10.60.30.112:5801/ (where the port number = desktop display number + 5800, and the previous configuration prompt that the desktop number is 1, so the port number is 5801), a login interface will appear.

You need a browser to open java applet.

3There is Wireshark to grab the system package.

# wireshark (execute the wireshark pop-up graphical interface to select the network card you want to grab the package)

4 the skill of using Wireshark expression-- IP filtering

(1) Source IP: (take 192.168.0.105 as an example of source IP, see figure 1.1)

Expression: ip.src==192.168.0.105, or ip.srceq192.168.0.105

Meaning: filter out packets whose source IP is 192.168.0.105.

(2) Target IP: (for example, IP for the purpose of 119.147.74.18, see figure 1.2)

Expression: ip.dst==119.147.74.18, or ip.dsteq119.147.74.18

Meaning: filter out the packet whose destination IP is 119.147.74.18.

(3) filter directly by IP: (take 202.105.182.132 as an example IP, see figure 1.3)

Expression: ip.addr==202.105.182.132, or ip.addreq202.105.182.132

Meaning: filter out the packets related to 202.105.182.132

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report