exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

checkp.sh

checkp.sh
Posted Mar 16, 2001
Authored by Deepin | Site nsfocus.com

Checkp.sh checks which sun recommended patches need to be installed. Useful for Solaris admins! Uses the 2.6 patch list, but you can change it for others.

systems | unix, solaris
SHA-256 | 48ff8452cb9d9a63feae607a0029586fb3506c2a22be48c86b204ed33c7de576

checkp.sh

Change Mirror Download
#/bin/sh
# Ver 0.1 checkp.sh
#http://www.nsfocus.com deepin@nsfocus.com
#
#For SUN didn't public their patchdiag Tools,#i write a simple
#script to check patches on the solaris system #and just use recommaned
#patchlist of 2.6 .you can use other version patchlist.
#i hope this small script may userful for some SolarisAdmin.

showrev -p | awk '{print $1,$2}'| sort -d > localpatch.nsf
i=0
while read LINE
do
TMP1=`echo $LINE | awk '{print $1}'`
TMP2=`echo $TMP1 | cut -d - -f 1`
grep $TMP1 localpatch.nsf 1>/dev/null
if [ $? -eq 0 ];then
echo "$TMP1,already install"
else
grep $TMP2 localpatch.nsf 1>/dev/null
if [ $? -eq 0 ];then
echo "Need update to $TMP1,"
else
echo "$TMP1,not in the list"
fi
fi
done < 26patches
rm localpatch.nsf
-------------------------------------------------------------------

================================================================
patch list for solaris 2.6
26patches

105181-25 SunOS 5.6: Kernel update patch
105210-33 SunOS 5.6: libaio, libc & watchmalloc patch
105216-04 SunOS 5.6: /usr/sbin/rpcbind patch
105284-37 Motif 1.2.7: Runtime library patch
105338-25 CDE 1.2: dtmail patch
105356-16 SunOS 5.6: /kernel/drv/ssd and /kernel/drv/sd patch
105357-04 SunOS 5.6: /kernel/drv/ses patch
105375-25 SunOS 5.6: sf & socal driver patch
105379-06 SunOS 5.6: /kernel/misc/nfssrv patch
105395-06 SunOS 5.6: /usr/lib/sendmail patch
105401-28 SunOS 5.6: libnsl and NIS+ commands patch
105403-03 SunOS 5.6: ypbind/ypserv patch
105407-01 SunOS 5.6: /usr/bin/volrmmount patch
105464-02 OpenWindows 3.6: Multiple xterm fixes
105472-07 SunOS 5.6: /usr/lib/autofs/automountd patch
105529-10 SunOS 5.6: /kernel/drv/tcp patch
105552-03 SunOS 5.6: /usr/sbin/rpc.nisd_resolv patch
105558-04 CDE 1.2: dtpad patch
105562-03 SunOS 5.6: chkey and keylogin patch
105566-08 CDE 1.2: calendar manager patch
105568-22 SunOS 5.6: /usr/lib/libthread.so.1 patch
105580-16 SunOS 5.6: /kernel/drv/glm patch
105591-09 SunOS 5.6: Shared library patch for C++
105615-08 SunOS 5.6: /usr/lib/nfs/mountd patch
105633-50 OpenWindows 3.6: Xsun patch
105642-08 SunOS 5.6: prtdiag patch
105665-03 SunOS 5.6: /usr/bin/login patch
105667-02 SunOS 5.6: /usr/bin/rdist patch
105669-10 CDE 1.2: libDtSvc Patch
105703-24 CDE 1.2: dtlogin patch
105720-12 SunOS 5.6: /kernel/fs/nfs patch
105722-05 SunOS 5.6: /usr/lib/fs/ufs/ufsdump and ufsrestore patch
105741-07 SunOS 5.6: /kernel/drv/ecpp patch
105755-08 SunOS 5.6: libresolv, in.named, named-xfer, nslookup, nstest patch
105780-05 SunOS 5.6: /kernel/fs/fifofs patch
105786-13 SunOS 5.6: /kernel/drv/ip patch
105800-07 SunOS 5.6: /usr/bin/admintool, y2000 patch
105802-14 OpenWindows 3.6: ToolTalk patch
105837-03 CDE 1.2: dtappgather Patch, including SDE 1.0 installations
105847-08 SunOS 5.6: /kernel/drv/st.conf and /kernel/drv/st patch
105926-01 SunOS 5.6: /usr/sbin/static/tar patch
106027-09 CDE 1.2 / SDE 1.0: dtsession patch
106040-15 SunOS 5.6: X Input & Output Method patch
106049-01 SunOS 5.6: /usr/sbin/in.telnetd patch
106112-06 CDE 1.2: dtfile patch
106123-04 SunOS 5.6: sgml patch
106125-10 SunOS 5.6: Patch for patchadd and patchrm
106193-05 SunOS 5.6: y2000 sysid unzip patch
106222-01 OpenWindows 3.6: filemgr (ff.core) fixes
106226-01 SunOS 5.6: /usr/sbin/format patch
106235-06 SunOS 5.6: lp patch
106242-02 CDE 1.2: libDtHelp.so.1 fixes
106257-05 SunOS 5.6: /usr/lib/libpam.so.1 patch
106271-06 SunOS 5.6: /usr/lib/security/pam_unix.so.1 patch
106285-03 SunOS 5.6: /kernel/sys/msgsys patch
106292-11 SunOS 5.6: pkgadd/pkginstall & related utilities
106301-01 SunOS 5.6: /usr/sbin/in.ftpd patch
106415-03 OpenWindows 3.6: xdm patch
106429-02 SunOS 5.6: /kernel/drv/mm patch
106437-03 CDE 1.2: Print Manager Patch
106439-07 SunOS 5.6: /usr/sbin/syslogd patch
106448-01 SunOS 5.6: /usr/sbin/ping patch
106468-02 SunOS 5.6: /usr/bin/cu and usr/bin/uustat patch
106495-01 SunOS 5.6: truss & truss support library patch
106522-04 SunOS 5.6: /usr/bin/ftp patch
106569-01 SunOS 5.6: libauth.a & libauth.so.1 patch
106592-03 SunOS 5.6: /usr/lib/nfs/statd patch
106625-08 SunOS 5.6: libsec.a, libsec.so.1 and /kernel/fs/ufs patch
106639-05 SunOS 5.6: /kernel/strmod/rpcmod patch
106648-01 OpenWindows 3.6: libce suid/sgid security fix
106649-01 OpenWindows 3.6: libdeskset patch
106650-04 OpenWindows 3.6: mailtool attachment security patch
106828-01 SunOS 5.6: /usr/bin/date patch
106834-02 SunOS 5.6: cp/ln/mv patch
106882-02 SunOS 5.6: /usr/lib/nfs/nfsd patch
106894-01 SunOS 5.6: /usr/bin/uux patch
107336-01 OpenWindows 3.6: KCMS configure tool has a security vulnerability
107434-01 CDE 1.2: Spell checking occasionally kills mail
107565-02 SunOS 5.6: /usr/sbin/in.tftpd patch
107618-01 SunOS 5.6: Permissions problem in /vol.
107733-09 SunOS 5.6: Linker patch
107758-01 SunOS 5.6: Pax incorrectly change mode of symlink target file
107766-01 SunOS 5.6: ASET cklist reports unchanged 6month older files as new
107774-01 SunOS 5.6: inetd denial-of-service attack
107991-01 SunOS 5.6: /usr/sbin/static/rcp patch
108199-01 CDE 1.2: dtspcd Patch
108201-01 CDE 1.2: dtaction Patch
108307-02 SunOS 5.6: keyserv fixes
108333-02 SunOS 5.6: jserver buffer overflow
108346-03 SunOS 5.6: patch usr/sbin/rpc.nispasswdd
108468-02 SunOS 5.6: ldterm streams module fixes
108492-01 SunOS 5.6: Snoop may be exploited to gain root access
108499-01 SunOS 5.6: ASET sets the gid on /tmp, /var/tmp when setting med high
108660-01 SunOS 5.6: Patch for sadmind
108804-01 SunOS 5.6: tip has buffer overrun with security implications
108890-01 SunOS 5.6: patch /usr/lib/netsvc/yp/ypxfrd
108893-01 SunOS 5.6: patch /usr/lib/netsvc/yp/rpc.ypupdated
108895-01 SunOS 5.6: patch /usr/sbin/rpc.bootparamd
109266-01 SunOS 5.6: security: /bin/mail has buffer overflow
109339-01 SunOS 5.6: nscd has a potential security problem
109388-01 SunOS 5.6: patch /usr/vmsys/bin/chkperm
109719-01 SunOS 5.6: arp should lose set-gid bid
=====================================================================================

sample output....


#./cp.sh
Need update to 105181-25,
105210-33,already install
105216-04,already install
105284-37,already install
Need update to 105338-25,
105356-16,already install
105357-04 SunOS 5.6: /kernel/drv/ses patch,not in the list
105375-25,already install
105379-06,already install
105395-06,already install
105401-28,already install
105403-03,already install
105407-01,already install
Need update to 105464-02,
105472-07,already install
105529-10,already install
105552-03,already install
Need update to 105558-04,
105562-03,already install
Need update to 105566-08,
Need update to 105568-22,
105580-16,already install
105591-09,already install
105615-08,already install
Need update to 105633-50,
105642-08,already install
105665-03,already install
105667-02,already install
Need update to 105669-10,
Need update to 105703-24,
105720-12,already install
105722-05,already install
105741-07,already install
105755-08,already install
105780-05,already install
105786-13,already install
105800-07,already install
Need update to 105802-14,
Need update to 105837-03,
Need update to 105847-08,
105926-01 SunOS 5.6: /usr/sbin/static/tar patch,not in the list
Need update to 106027-09,
106040-15,already install
106049-01,already install
Need update to 106112-06,
106123-04,already install
106125-10,already install
106193-05,already install
106222-01 OpenWindows 3.6: filemgr (ff.core) fixes,not in the list
106226-01,already install
106235-06,already install
106242-02,already install
106257-05,already install
106271-06,already install
106285-03,already install
106292-11,already install
106301-01,already install
106415-03 OpenWindows 3.6: xdm patch,not in the list
106429-02 SunOS 5.6: /kernel/drv/mm patch,not in the list
106437-03 CDE 1.2: Print Manager Patch,not in the list
Need update to 106439-07,
106448-01,already install
106468-02 SunOS 5.6: /usr/bin/cu and usr/bin/uustat patch,not in the list
106495-01,already install
106522-04,already install
106569-01,already install
106592-03,already install
106625-08,already install
106639-05,already install
106648-01,already install
106649-01 OpenWindows 3.6: libdeskset patch,not in the list
106650-04 OpenWindows 3.6: mailtool attachment security patch,not in the list
106828-01,already install
106834-02,already install
106882-02,already install
106894-01 SunOS 5.6: /usr/bin/uux patch,not in the list
107336-01 OpenWindows 3.6: KCMS configure tool has a security vulnerability,not in the list
107434-01 CDE 1.2: Spell checking occasionally kills mail,not in the list
107565-02,already install
107618-01,already install
107733-09,already install
107758-01,already install
107766-01 SunOS 5.6: ASET cklist reports unchanged 6month older files as new,not in the list
107774-01,already install
107991-01 SunOS 5.6: /usr/sbin/static/rcp patch,not in the list
108199-01 CDE 1.2: dtspcd Patch,not in the list
108201-01 CDE 1.2: dtaction Patch,not in the list
108307-02,already install
108333-02 SunOS 5.6: jserver buffer overflow,not in the list
108346-03,already install
108468-02,already install
108492-01,already install
108499-01 SunOS 5.6: ASET sets the gid on /tmp, /var/tmp when setting med high,not in the list
108660-01,already install
108804-01,already install
108890-01 SunOS 5.6: patch /usr/lib/netsvc/yp/ypxfrd,not in the list
108893-01 SunOS 5.6: patch /usr/lib/netsvc/yp/rpc.ypupdated,not in the list
108895-01,already install
109266-01,already install
109339-01,already install
109388-01 SunOS 5.6: patch /usr/vmsys/bin/chkperm,not in the list
109719-01,already install
====================================================
finish . . .
Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    45 Files
  • 19
    Apr 19th
    8 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    11 Files
  • 23
    Apr 23rd
    68 Files
  • 24
    Apr 24th
    23 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close