Kod: Zaznacz cały
Interesting ports on 10.0.1.100:
Not shown: 1674 closed ports
PORT STATE SERVICE
21/tcp open ftp
22/tcp open ssh
80/tcp open http
139/tcp open netbios-ssn
445/tcp open microsoft-ds
3306/tcp open mysql
#ustalanie polityki dzialania
Kod: Zaznacz cały
iptables -P INPUT DROP
iptables -A INPUT -i eth1 -j ACCEPT
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT
Kod: Zaznacz cały
root 13048 1 0 15:36 ? 00:00:00 /usr/sbin/cupsd
Kod: Zaznacz cały
p apcupsd - APC UPS Power Management
p apcupsd-cgi - Cgi for APC UPS Power Management
p apcupsd-doc - Documentation for apcupsd
p bluez-cups - Bluetooth printer driver for CUPS
i cups-pdf - PDF printer for CUPS
i cupsys - Common UNIX Printing System(tm) - server
p cupsys-bsd - Common UNIX Printing System(tm) - BSD comm
i cupsys-client - Common UNIX Printing System(tm) - client p
i A cupsys-common - Common UNIX Printing System(tm) - common f
p cupsys-dbg - Common UNIX Printing System(tm) - debuggin
i cupsys-driver-gimpprint - printer drivers for CUPS
i cupsys-driver-gutenprint - printer drivers for CUPS
i cupsys-pt - Tool for viewing/managing print jobs under
p gnome-cups-manager - CUPS printer admin tool for GNOME
v libcupsimage-dev -
i A libcupsimage2 - Common UNIX Printing System(tm) - image li
p libcupsimage2-dev - Common UNIX Printing System(tm) - image de
v libcupsys-dev -
i A libcupsys2 - Common UNIX Printing System(tm) - libs
p libcupsys2-dev - Common UNIX Printing System(tm) - developm
p libcupsys2-gnutls10 - Common UNIX Printing System(tm) - dummy li
p libgnomecups1.0-1 - GNOME library for CUPS interaction
p libgnomecups1.0-dev - GNOME library for CUPS interaction (header
p libgnomecupsui1.0-1c2a - UI extensions to libgnomecups
p libgnomecupsui1.0-dev - UI extensions to libgnomecups (headers)