Повышение прав [задай вопрос - получи ответ]

Discussion in 'Уязвимости' started by Expl0ited, 1 Oct 2011.

  1. good.god

    good.god Member

    Joined:
    23 Nov 2009
    Messages:
    260
    Likes Received:
    32
    Reputations:
    0
    Всем доброго времени суток, такая проблема, с которой не могу разобраться, при попытках забиндпортиться, всегда (абсолютно:)) nc пишет мне ошибку:
    Code:
    Cmd line: nc site.ru 44444
    nc: forward host lookup failed: h_errno 11001: HOST_NOT_FOUND
    
    Раньше бросал, искал тот избранный, к которому нормально приконнектится смогу, но как то уж надоело.:)
    Я понимаю что хост не найден, но что надо сделать чтобы он его нашел? И да, через телнет тоже не получается подключится. Как я понимаю скорее всего не открывается порт.
    Да, при попытке открытия бинд порта пише следующее:
    Code:
    user 91516  0.0  0.0  3064  2432  ??  I     3:46PM   0:00.01 perl /tmp/bp.pl 44
    
    И еще чтобы я хотел добавить, неткат даже к 80 порту не хочет коннектиться, как это вообще исправить?
     
    #241 good.god, 15 Feb 2012
    Last edited: 15 Feb 2012
  2. good.god

    good.god Member

    Joined:
    23 Nov 2009
    Messages:
    260
    Likes Received:
    32
    Reputations:
    0
    Что можно тут использовать?
    sh-3.2$ uname -a
    Code:
    Linux hawkeye 2.6.32.8-grsec-2.1.14-modsign-xeon-64 #2 SMP Sat Mar 13 00:42:43 P
    ST 2010 x86_64 GNU/Linux
    sh-3.2$ ls -la /boot
    Code:
    total 32900
    drwxr-xr-x  3 root root    4096 Oct  2 05:11 .
    drwxr-xr-x 25 root root    4096 Sep 16 00:06 ..
    -rw-r--r--  1 root root 1225451 Mar 13  2009 System.map-2.6.26-1-amd64
    -rw-r--r--  1 root root 1227280 Sep 20 23:04 System.map-2.6.26-2-amd64
    -rw-r--r--  1 root root   85588 Mar 13  2009 config-2.6.26-1-amd64
    -rw-r--r--  1 root root   85694 Sep 20 23:04 config-2.6.26-2-amd64
    drwxr-xr-x  2 root root    4096 Oct  2 05:11 grub
    -rw-r--r--  1 root root 6928695 Apr 29  2010 initrd.img-2.6.26-1-amd64
    -rw-r--r--  1 root root 6651999 Mar  5  2009 initrd.img-2.6.26-1-amd64.bak
    -rw-r--r--  1 root root 6931947 Oct  2 05:11 initrd.img-2.6.26-2-amd64
    -rw-r--r--  1 root root 6936102 Apr 29  2010 initrd.img-2.6.26-2-amd64.bak
    -rw-r--r--  1 root root 1755120 Mar 13  2009 vmlinuz-2.6.26-1-amd64
    -rw-r--r--  1 root root 1756944 Sep 20 23:02 vmlinuz-2.6.26-2-amd64
    sh-3.2$ ls -la --full-time /lib/lib*
    Code:
    -rw-r--r-- 1 root root    6176 2011-01-07 13:33:04.000000000 -0800 /lib/libBroke
    nLocale-2.7.so
    lrwxrwxrwx 1 root root      22 2011-01-12 03:17:19.000000000 -0800 /lib/libBroke
    nLocale.so.1 -> libBrokenLocale-2.7.so
    -rw-r--r-- 1 root root   18600 2011-01-07 13:33:04.000000000 -0800 /lib/libSegFa
    ult.so
    lrwxrwxrwx 1 root root      15 2010-06-02 10:05:41.000000000 -0700 /lib/libacl.s
    o.1 -> libacl.so.1.1.0
    -rw-r--r-- 1 root root   29360 2008-04-23 14:01:34.000000000 -0700 /lib/libacl.s
    o.1.1.0
    -rw-r--r-- 1 root root   14832 2011-01-07 13:33:04.000000000 -0800 /lib/libanl-2
    .7.so
    lrwxrwxrwx 1 root root      13 2011-01-12 03:17:19.000000000 -0800 /lib/libanl.s
    o.1 -> libanl-2.7.so
    lrwxrwxrwx 1 root root      16 2010-06-02 10:05:41.000000000 -0700 /lib/libattr.
    so.1 -> libattr.so.1.1.0
    -rw-r--r-- 1 root root   17424 2009-02-10 01:47:21.000000000 -0800 /lib/libattr.
    so.1.1.0
    lrwxrwxrwx 1 root root      15 2010-06-02 10:05:41.000000000 -0700 /lib/libblkid
    .so.1 -> libblkid.so.1.0
    -rw-r--r-- 1 root root   46608 2008-10-12 20:54:02.000000000 -0700 /lib/libblkid
    .so.1.0
    lrwxrwxrwx 1 root root      15 2010-09-21 02:57:53.000000000 -0700 /lib/libbz2.s
    o.1 -> libbz2.so.1.0.4
    lrwxrwxrwx 1 root root      15 2010-09-21 02:57:53.000000000 -0700 /lib/libbz2.s
    o.1.0 -> libbz2.so.1.0.4
    -rw-r--r-- 1 root root   66224 2010-08-18 10:44:47.000000000 -0700 /lib/libbz2.s
    o.1.0.4
    -rwxr-xr-x 1 root root 1375536 2011-01-07 13:33:04.000000000 -0800 /lib/libc-2.7
    .so
    lrwxrwxrwx 1 root root      11 2011-01-12 03:17:19.000000000 -0800 /lib/libc.so.
    6 -> libc-2.7.so
    lrwxrwxrwx 1 root root      14 2010-06-02 10:05:41.000000000 -0700 /lib/libcap.s
    o.1 -> libcap.so.1.10
    -rw-r--r-- 1 root root   14880 2006-03-16 03:56:29.000000000 -0800 /lib/libcap.s
    o.1.10
    lrwxrwxrwx 1 root root      14 2010-06-02 10:05:41.000000000 -0700 /lib/libcap.s
    o.2 -> libcap.so.2.11
    -rw-r--r-- 1 root root   16976 2008-07-26 08:52:16.000000000 -0700 /lib/libcap.s
    o.2.11
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libcfont
    .so.0 -> libcfont.so.0.0.0
    -rw-r--r-- 1 root root   12776 2008-04-15 14:40:42.000000000 -0700 /lib/libcfont
    .so.0.0.0
    -rw-r--r-- 1 root root  190760 2011-01-07 13:33:04.000000000 -0800 /lib/libcidn-
    2.7.so
    lrwxrwxrwx 1 root root      14 2011-01-12 03:17:19.000000000 -0800 /lib/libcidn.
    so.1 -> libcidn-2.7.so
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libcom_e
    rr.so.2 -> libcom_err.so.2.1
    -rw-r--r-- 1 root root   11648 2008-10-12 20:54:02.000000000 -0700 /lib/libcom_e
    rr.so.2.1
    lrwxrwxrwx 1 root root      19 2010-06-02 10:05:41.000000000 -0700 /lib/libconso
    le.so.0 -> libconsole.so.0.0.0
    -rw-r--r-- 1 root root  140840 2008-04-15 14:40:42.000000000 -0700 /lib/libconso
    le.so.0.0.0
    -rw-r--r-- 1 root root   39112 2011-01-07 13:33:04.000000000 -0800 /lib/libcrypt
    -2.7.so
    lrwxrwxrwx 1 root root      15 2011-01-12 03:17:19.000000000 -0800 /lib/libcrypt
    .so.1 -> libcrypt-2.7.so
    lrwxrwxrwx 1 root root      19 2010-06-02 10:05:41.000000000 -0700 /lib/libctuti
    ls.so.0 -> libctutils.so.0.0.0
    -rw-r--r-- 1 root root   21024 2008-04-15 14:40:42.000000000 -0700 /lib/libctuti
    ls.so.0.0.0
    -rw-r--r-- 1 root root   98840 2008-10-01 07:33:16.000000000 -0700 /lib/libdevma
    pper.so.1.02.1
    -rw-r--r-- 1 root root   14616 2011-01-07 13:33:04.000000000 -0800 /lib/libdl-2.
    7.so
    lrwxrwxrwx 1 root root      12 2011-01-12 03:17:19.000000000 -0800 /lib/libdl.so
    .2 -> libdl-2.7.so
    lrwxrwxrwx 1 root root      13 2010-06-02 10:05:41.000000000 -0700 /lib/libe2p.s
    o.2 -> libe2p.so.2.3
    -rw-r--r-- 1 root root   25424 2008-10-12 20:54:02.000000000 -0700 /lib/libe2p.s
    o.2.3
    lrwxrwxrwx 1 root root      16 2010-06-02 10:05:41.000000000 -0700 /lib/libext2f
    s.so.2 -> libext2fs.so.2.4
    -rw-r--r-- 1 root root  187416 2008-10-12 20:54:02.000000000 -0700 /lib/libext2f
    s.so.2.4
    -rw-r--r-- 1 root root   93016 2009-01-02 03:14:18.000000000 -0800 /lib/libgcc_s
    .so.1
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libhisto
    ry.so.5 -> libhistory.so.5.2
    -rw-r--r-- 1 root root   32968 2009-01-14 03:19:12.000000000 -0800 /lib/libhisto
    ry.so.5.2
    -rw-r--r-- 1 root root   32016 2008-07-12 15:07:47.000000000 -0700 /lib/libiw.so
    .29
    -rw-r--r-- 1 root root    7736 2008-09-01 04:59:38.000000000 -0700 /lib/libkeyut
    ils-1.2.so
    lrwxrwxrwx 1 root root      18 2010-06-02 10:05:41.000000000 -0700 /lib/libkeyut
    ils.so.1 -> libkeyutils-1.2.so
    -rw-r--r-- 1 root root  534736 2011-01-07 13:33:04.000000000 -0800 /lib/libm-2.7
    .so
    lrwxrwxrwx 1 root root      11 2011-01-12 03:17:19.000000000 -0800 /lib/libm.so.
    6 -> libm-2.7.so
    -rw-r--r-- 1 root root   18592 2011-01-07 13:33:04.000000000 -0800 /lib/libmemus
    age.so
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libncurs
    es.so.5 -> libncurses.so.5.7
    -rw-r--r-- 1 root root  256288 2008-12-14 13:31:27.000000000 -0800 /lib/libncurs
    es.so.5.7
    lrwxrwxrwx 1 root root      18 2010-06-02 10:05:41.000000000 -0700 /lib/libncurs
    esw.so.5 -> libncursesw.so.5.7
    -rw-r--r-- 1 root root  305952 2008-12-14 13:31:28.000000000 -0800 /lib/libncurs
    esw.so.5.7
    -rw-r--r-- 1 root root   88968 2011-01-07 13:33:04.000000000 -0800 /lib/libnsl-2
    .7.so
    lrwxrwxrwx 1 root root      13 2011-01-12 03:17:19.000000000 -0800 /lib/libnsl.s
    o.1 -> libnsl-2.7.so
    -rw-r--r-- 1 root root   31536 2011-01-07 13:33:04.000000000 -0800 /lib/libnss_c
    ompat-2.7.so
    lrwxrwxrwx 1 root root      20 2011-01-12 03:17:19.000000000 -0800 /lib/libnss_c
    ompat.so.2 -> libnss_compat-2.7.so
    -rw-r--r-- 1 root root   18752 2011-01-07 13:33:04.000000000 -0800 /lib/libnss_d
    ns-2.7.so
    lrwxrwxrwx 1 root root      17 2011-01-12 03:17:19.000000000 -0800 /lib/libnss_d
    ns.so.2 -> libnss_dns-2.7.so
    -rw-r--r-- 1 root root   47520 2011-01-07 13:33:04.000000000 -0800 /lib/libnss_f
    iles-2.7.so
    lrwxrwxrwx 1 root root      19 2011-01-12 03:17:19.000000000 -0800 /lib/libnss_f
    iles.so.2 -> libnss_files-2.7.so
    -rw-r--r-- 1 root root   18784 2011-01-07 13:33:04.000000000 -0800 /lib/libnss_h
    esiod-2.7.so
    lrwxrwxrwx 1 root root      20 2011-01-12 03:17:19.000000000 -0800 /lib/libnss_h
    esiod.so.2 -> libnss_hesiod-2.7.so
    -rw-r--r-- 1 root root   43472 2011-01-07 13:33:04.000000000 -0800 /lib/libnss_n
    is-2.7.so
    lrwxrwxrwx 1 root root      17 2011-01-12 03:17:19.000000000 -0800 /lib/libnss_n
    is.so.2 -> libnss_nis-2.7.so
    -rw-r--r-- 1 root root   51616 2011-01-07 13:33:04.000000000 -0800 /lib/libnss_n
    isplus-2.7.so
    lrwxrwxrwx 1 root root      21 2011-01-12 03:17:19.000000000 -0800 /lib/libnss_n
    isplus.so.2 -> libnss_nisplus-2.7.so
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libpam.s
    o.0 -> libpam.so.0.81.12
    -rw-r--r-- 1 root root   46256 2009-03-24 02:08:13.000000000 -0700 /lib/libpam.s
    o.0.81.12
    lrwxrwxrwx 1 root root      21 2010-06-02 10:05:41.000000000 -0700 /lib/libpam_m
    isc.so.0 -> libpam_misc.so.0.81.3
    -rw-r--r-- 1 root root   10920 2009-03-24 02:08:13.000000000 -0700 /lib/libpam_m
    isc.so.0.81.3
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libpamc.
    so.0 -> libpamc.so.0.81.0
    -rw-r--r-- 1 root root   11464 2009-03-24 02:08:13.000000000 -0700 /lib/libpamc.
    so.0.81.0
    lrwxrwxrwx 1 root root      23 2010-06-02 10:05:41.000000000 -0700 /lib/libparte
    d-1.8.so.10 -> libparted-1.8.so.10.0.0
    -rw-r--r-- 1 root root  389040 2008-11-23 18:28:09.000000000 -0800 /lib/libparte
    d-1.8.so.10.0.0
    -rw-r--r-- 1 root root    6192 2011-01-07 13:33:04.000000000 -0800 /lib/libpcpro
    file.so
    lrwxrwxrwx 1 root root      16 2010-06-02 10:05:41.000000000 -0700 /lib/libpopt.
    so.0 -> libpopt.so.0.0.0
    -rw-r--r-- 1 root root   37712 2008-06-25 04:06:15.000000000 -0700 /lib/libpopt.
    so.0.0.0
    -rw-r--r-- 1 root root   68064 2009-01-11 14:08:40.000000000 -0800 /lib/libproc-
    3.2.7.so
    -rwxr-xr-x 1 root root  130114 2011-01-07 13:33:04.000000000 -0800 /lib/libpthre
    ad-2.7.so
    lrwxrwxrwx 1 root root      17 2011-01-12 03:17:19.000000000 -0800 /lib/libpthre
    ad.so.0 -> libpthread-2.7.so
    lrwxrwxrwx 1 root root      18 2010-06-02 10:05:41.000000000 -0700 /lib/libreadl
    ine.so.5 -> libreadline.so.5.2
    -rw-r--r-- 1 root root  258616 2009-01-14 03:19:12.000000000 -0800 /lib/libreadl
    ine.so.5.2
    -rw-r--r-- 1 root root   72568 2011-01-07 13:33:04.000000000 -0800 /lib/libresol
    v-2.7.so
    lrwxrwxrwx 1 root root      16 2011-01-12 03:17:19.000000000 -0800 /lib/libresol
    v.so.2 -> libresolv-2.7.so
    -rw-r--r-- 1 root root   35784 2011-01-07 13:33:04.000000000 -0800 /lib/librt-2.
    7.so
    lrwxrwxrwx 1 root root      12 2011-01-12 03:17:19.000000000 -0800 /lib/librt.so
    .1 -> librt-2.7.so
    -rw-r--r-- 1 root root  109464 2008-09-16 00:22:47.000000000 -0700 /lib/libselin
    ux.so.1
    -rw-r--r-- 1 root root  187136 2009-01-05 15:06:30.000000000 -0800 /lib/libseman
    age.so.1
    -rw-r--r-- 1 root root  237168 2008-07-12 07:29:13.000000000 -0700 /lib/libsepol
    .so.1
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libslang
    .so.2 -> libslang.so.2.1.3
    -rw-r--r-- 1 root root  952736 2008-03-17 12:22:37.000000000 -0700 /lib/libslang
    .so.2.1.3
    lrwxrwxrwx 1 root root      12 2010-06-02 10:05:41.000000000 -0700 /lib/libss.so
    .2 -> libss.so.2.0
    -rw-r--r-- 1 root root   24416 2008-10-12 20:54:02.000000000 -0700 /lib/libss.so
    .2.0
    lrwxrwxrwx 1 root root      17 2010-06-02 10:05:41.000000000 -0700 /lib/libsysfs
    .so.2 -> libsysfs.so.2.0.1
    -rw-r--r-- 1 root root   43920 2008-09-06 02:26:29.000000000 -0700 /lib/libsysfs
    .so.2.0.1
    -rw-r--r-- 1 root root   31376 2011-01-07 13:33:04.000000000 -0800 /lib/libthrea
    d_db-1.0.so
    lrwxrwxrwx 1 root root      19 2011-01-12 03:17:19.000000000 -0800 /lib/libthrea
    d_db.so.1 -> libthread_db-1.0.so
    lrwxrwxrwx 1 root root      13 2010-06-02 10:05:41.000000000 -0700 /lib/libtic.s
    o.5 -> libtic.so.5.7
    -rw-r--r-- 1 root root   77328 2008-12-14 13:31:27.000000000 -0800 /lib/libtic.s
    o.5.7
    lrwxrwxrwx 1 root root      14 2010-06-02 10:05:41.000000000 -0700 /lib/libticw.
    so.5 -> libticw.so.5.7
    -rw-r--r-- 1 root root   77328 2008-12-14 13:31:28.000000000 -0800 /lib/libticw.
    so.5.7
    lrwxrwxrwx 1 root root      19 2010-06-02 10:05:41.000000000 -0700 /lib/libusb-0
    .1.so.4 -> libusb-0.1.so.4.4.4
    -rw-r--r-- 1 root root   32608 2008-09-05 03:18:53.000000000 -0700 /lib/libusb-0
    .1.so.4.4.4
    -rw-r--r-- 1 root root   10560 2011-01-07 13:33:04.000000000 -0800 /lib/libutil-
    2.7.so
    lrwxrwxrwx 1 root root      14 2011-01-12 03:17:19.000000000 -0800 /lib/libutil.
    so.1 -> libutil-2.7.so
    lrwxrwxrwx 1 root root      14 2010-06-02 10:05:41.000000000 -0700 /lib/libuuid.
    so.1 -> libuuid.so.1.2
    -rw-r--r-- 1 root root   15344 2008-10-12 20:54:02.000000000 -0700 /lib/libuuid.
    so.1.2
    lrwxrwxrwx 1 root root      22 2010-06-02 10:05:41.000000000 -0700 /lib/libvolum
    e_id.so.0 -> libvolume_id.so.0.85.0
    -rw-r--r-- 1 root root   33368 2009-08-26 03:27:16.000000000 -0700 /lib/libvolum
    e_id.so.0.85.0
    lrwxrwxrwx 1 root root      16 2010-06-02 10:05:41.000000000 -0700 /lib/libwrap.
    so.0 -> libwrap.so.0.7.6
    -rw-r--r-- 1 root root   36208 2008-07-25 17:05:10.000000000 -0700 /lib/libwrap.
    so.0.7.6
    -rw-r--r-- 1 root root  137000 2008-06-26 08:51:57.000000000 -0700 /lib/libx86.s
    o.1
    lrwxrwxrwx 1 root root      19 2010-06-02 10:05:41.000000000 -0700 /lib/libxtabl
    es.so.0 -> libxtables.so.0.0.0
    -rw-r--r-- 1 root root   23392 2009-02-09 11:35:51.000000000 -0800 /lib/libxtabl
    es.so.0.0.0
    sh-3.2$ mount
    Code:
    /dev/sda1 on / type ext3 (rw,errors=remount-ro)
    tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
    proc on /proc type proc (rw,noexec,nosuid,nodev)
    sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
    devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
    /dev/sda2 on /tmp type ext3 (rw,noexec,noatime,nodiratime,data=ordered,commit=30
    0)
    /dev/sda6 on /var/spool/cron/crontabs type ext3 (rw,nosuid,nodev)
    /dev/sdb1 on /home type ext3 (rw,nosuid,nodev,noatime,nodiratime,errors=remount-
    ro,data=ordered)
    sh-3.2$ df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda1              60G   33G   24G  59% /
    tmpfs                 5.9G     0  5.9G   0% /lib/init/rw
    tmpfs                 5.9G  456K  5.9G   1% /dev/shm
    /dev/sda2             3.8G  111M  3.7G   3% /tmp
    /dev/sda6              92M  4.2M   83M   5% /var/spool/cron/crontabs
    /dev/sdb1             3.6T  3.4T  187G  95% /home
    sh-3.2$ cat /etc/issue
    Code:
    Debian GNU/Linux 5.0 \n \l
    sh-3.2$ cat /etc/crontab
    Code:
    # /etc/crontab: system-wide crontab
    # Unlike any other crontab you don't have to run the `crontab'
    # command to install the new version when you edit this file
    # and files in /etc/cron.d. These files also have username fields,
    # that none of the other crontabs do.
    
    SHELL=/bin/sh
    PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
    
    # m h dom mon dow user  command
    17 *    * * *   root    cd / && run-parts --report /etc/cron.hourly
    25 6    * * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --repor
    t /etc/cron.daily )
    47 6    * * 7   root    test -x /usr/sbin/anacron || ( cd / && run-parts --repor
    t /etc/cron.weekly )
    52 6    1 * *   root    test -x /usr/sbin/anacron || ( cd / && run-parts --repor
    t /etc/cron.monthly )
    #
    
    
    * * * * * root touch /tmp/croncheck.tmp
    sh-3.2$ cat /proc/version
    Code:
    Linux version 2.6.32.8-grsec-2.1.14-modsign-xeon-64 (root@wom
    .2 (Debian 4.3.2-1.1) ) #2 SMP Sat Mar 13 00:42:43 PST 2010
    sh-3.2$ cat /proc/sys/vm/mmap_min_addr
    Code:
    cat: /proc/sys/vm/mmap_min_addr: Operation not permitted
    sh-3.2$ pwd
    Code:
    /tmp
     
  3. boortyhuhtyu

    boortyhuhtyu Member

    Joined:
    2 Feb 2011
    Messages:
    727
    Likes Received:
    26
    Reputations:
    -6
    good god http://www.securityfocus.com/bid/42585/exploit
    фулл нельсон ещё попробуй.хотя сомнения что grsec пробьет
     
  4. good.god

    good.god Member

    Joined:
    23 Nov 2009
    Messages:
    260
    Likes Received:
    32
    Reputations:
    0
    boortyhuhtyu, вот что мне отвечает, со своим английским я понял что ему чего-то в ядре не понравилось.
    Code:
    sh-3.2$ ./conf
    [+] looking for symbols...
    [-] symbol table not availabe, aborting!
    [-] symbol table not availabe, aborting!
    [+] setting up exploit payload...
    [+] creating PF_CAN socket...
    [-] kernel lacks CAN packet family support
    
     
  5. boortyhuhtyu

    boortyhuhtyu Member

    Joined:
    2 Feb 2011
    Messages:
    727
    Likes Received:
    26
    Reputations:
    -6
    не поддерживает ядро сокеты.
     
  6. Ereee

    Ereee Elder - Старейшина

    Joined:
    1 Dec 2011
    Messages:
    560
    Likes Received:
    370
    Reputations:
    267
    Glibc-ом порутай.
     
  7. gl0w

    gl0w Member

    Joined:
    31 Dec 2011
    Messages:
    59
    Likes Received:
    21
    Reputations:
    5
    sh-3.2$ uname -a
    sh-3.2$ ls -la /boot
    sh-3.2$ ls -la --full-time /lib/lib*
    sh-3.2$ mount
    sh-3.2$ df -h
    sh-3.2$ cat /etc/issue
    sh-3.2$ cat /etc/crontab
    sh-3.2$ cat /proc/version
    Linux version 2.6.18-274.3.1.el5 ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-51)) #1 SMP Tue Sep 6 20:13:52 EDT 2011
    sh-3.2$ cat /proc/sys/vm/mmap_min_addr
    4096
    sh-3.2$ pwd
    /var/www/vhosts/************/httpdocs
    sh-3.2$ ls -la /usr/bin/staprun
    ls: /usr/bin/staprun: No such file or directory

    Glibc не катит, gcc нету
     
    #247 gl0w, 23 Feb 2012
    Last edited: 23 Feb 2012
  8. bimbim

    bimbim New Member

    Joined:
    24 Sep 2010
    Messages:
    10
    Likes Received:
    1
    Reputations:
    0
    wso
    Code:
    Userful: gcc, cc, ld, make, php, perl, python, tar, gzip, bzip2, nc, locate
    Danger: iptables, logwatch
    Downloaders: wget, lynx, curl, lwp-mirror
    $ uname -a
    Code:
    Linux vps213.site.biz 2.6.26-2-openvz-686 #1 SMP Sat Jun 11 15:22:24 UTC 2011 i686 i686 i386 GNU/Linux
    
    $ ls -la /boot
    Code:
    total 96
    drwxr-xr-x  3 root root  4096 Jun 17  2011 .
    drwxr-xr-x 22 root root  4096 Feb 13 13:37 ..
    drwxr-xr-x  2 root root  4096 Sep  3  2009 grub
    -rw-r--r--  1 root root 80032 Mar 12  2009 message
    
    $ ls -la --full-time /lib/lib*
    Code:
    -rwxr-xr-x 1 root root    7664 2011-11-28 19:28:47.000000000 +0200 /lib/libBrokenLocale-2.5.so
    lrwxrwxrwx 1 root root      22 2011-12-31 08:25:14.000000000 +0200 /lib/libBrokenLocale.so.1 -> libBrokenLocale-2.5.so
    -rwxr-xr-x 1 root root   16704 2011-11-28 19:28:47.000000000 +0200 /lib/libSegFault.so
    lrwxrwxrwx 1 root root      15 2011-06-17 17:40:33.000000000 +0300 /lib/libacl.so.1 -> libacl.so.1.1.0
    -rwxr-xr-x 1 root root   25624 2010-01-27 00:57:13.000000000 +0200 /lib/libacl.so.1.1.0
    -rwxr-xr-x 1 root root   14128 2011-11-28 19:28:47.000000000 +0200 /lib/libanl-2.5.so
    lrwxrwxrwx 1 root root      13 2011-12-31 08:25:14.000000000 +0200 /lib/libanl.so.1 -> libanl-2.5.so
    lrwxrwxrwx 1 root root      18 2011-09-09 15:55:46.000000000 +0300 /lib/libasound.so.2 -> libasound.so.2.0.0
    -rwxr-xr-x 1 root root  908940 2009-01-21 05:47:23.000000000 +0200 /lib/libasound.so.2.0.0
    lrwxrwxrwx 1 root root      16 2011-06-17 17:40:32.000000000 +0300 /lib/libattr.so.1 -> libattr.so.1.1.0
    -rwxr-xr-x 1 root root   15780 2007-01-06 07:12:05.000000000 +0200 /lib/libattr.so.1.1.0
    lrwxrwxrwx 1 root root      17 2011-06-17 17:40:32.000000000 +0300 /lib/libaudit.so.0 -> libaudit.so.0.0.0
    -rwxr-xr-x 1 root root   97220 2011-03-06 03:22:55.000000000 +0200 /lib/libaudit.so.0.0.0
    lrwxrwxrwx 1 root root      19 2011-06-17 17:40:33.000000000 +0300 /lib/libauparse.so.0 -> libauparse.so.0.0.0
    -rwxr-xr-x 1 root root   54832 2011-03-06 03:22:55.000000000 +0200 /lib/libauparse.so.0.0.0
    lrwxrwxrwx 1 root root      15 2011-12-31 08:25:28.000000000 +0200 /lib/libblkid.so.1 -> libblkid.so.1.0
    -rwxr-xr-x 1 root root   38332 2011-07-22 08:04:15.000000000 +0300 /lib/libblkid.so.1.0
    -rwxr-xr-x 1 root root 1693812 2011-11-28 19:28:47.000000000 +0200 /lib/libc-2.5.so
    lrwxrwxrwx 1 root root      11 2011-12-31 08:25:14.000000000 +0200 /lib/libc.so.6 -> libc-2.5.so
    lrwxrwxrwx 1 root root      14 2011-06-17 17:40:32.000000000 +0300 /lib/libcap.so.1 -> libcap.so.1.10
    -rwxr-xr-x 1 root root   11560 2007-03-14 20:15:10.000000000 +0200 /lib/libcap.so.1.10
    -rwxr-xr-x 1 root root  191708 2011-11-28 19:28:47.000000000 +0200 /lib/libcidn-2.5.so
    lrwxrwxrwx 1 root root      14 2011-12-31 08:25:14.000000000 +0200 /lib/libcidn.so.1 -> libcidn-2.5.so
    lrwxrwxrwx 1 root root      17 2011-12-31 08:25:28.000000000 +0200 /lib/libcom_err.so.2 -> libcom_err.so.2.1
    -rwxr-xr-x 1 root root    7812 2011-07-22 08:04:15.000000000 +0300 /lib/libcom_err.so.2.1
    -rwxr-xr-x 1 root root   45432 2011-11-28 19:28:47.000000000 +0200 /lib/libcrypt-2.5.so
    lrwxrwxrwx 1 root root      15 2011-12-31 08:25:14.000000000 +0200 /lib/libcrypt.so.1 -> libcrypt-2.5.so
    -rwxr-xr-x 1 root root 1295616 2011-08-14 04:43:56.000000000 +0300 /lib/libcrypto.so.0.9.8e
    lrwxrwxrwx 1 root root      19 2011-12-31 08:25:28.000000000 +0200 /lib/libcrypto.so.6 -> libcrypto.so.0.9.8e
    -rwxr-xr-x 1 root root 1011760 2010-07-12 19:11:02.000000000 +0300 /lib/libdb-4.3.so
    lrwxrwxrwx 1 root root      18 2011-12-31 08:27:09.000000000 +0200 /lib/libdbus-1.so.3 -> libdbus-1.so.3.4.0
    -rwxr-xr-x 1 root root  253392 2011-08-11 20:33:53.000000000 +0300 /lib/libdbus-1.so.3.4.0
    lrwxrwxrwx 1 root root      31 2011-12-31 08:25:43.000000000 +0200 /lib/libdevmapper-event-lvm2.so -> libdevmapper-event-lvm2.so.2.02
    -r-xr-xr-x 1 root root    4992 2011-09-02 19:21:34.000000000 +0300 /lib/libdevmapper-event-lvm2.so.2.02
    lrwxrwxrwx 1 root root      46 2011-12-31 08:25:43.000000000 +0200 /lib/libdevmapper-event-lvm2mirror.so -> device-mapper/libdevmapper-event-lvm2mirror.so
    lrwxrwxrwx 1 root root      48 2011-12-31 08:25:43.000000000 +0200 /lib/libdevmapper-event-lvm2snapshot.so -> device-mapper/libdevmapper-event-lvm2snapshot.so
    -r--r--r-- 1 root root   42988 2011-07-22 08:43:06.000000000 +0300 /lib/libdevmapper-event.a
    lrwxrwxrwx 1 root root      26 2011-12-31 08:25:27.000000000 +0200 /lib/libdevmapper-event.so -> libdevmapper-event.so.1.02
    -r-xr-xr-x 1 root root   19136 2011-07-22 08:43:10.000000000 +0300 /lib/libdevmapper-event.so.1.02
    -r--r--r-- 1 root root  469522 2011-07-22 08:43:01.000000000 +0300 /lib/libdevmapper.a
    lrwxrwxrwx 1 root root      20 2011-12-31 08:25:27.000000000 +0200 /lib/libdevmapper.so -> libdevmapper.so.1.02
    -r-xr-xr-x 1 root root  153548 2011-07-22 08:43:10.000000000 +0300 /lib/libdevmapper.so.1.02
    -rwxr-xr-x 1 root root   20668 2011-11-28 19:28:47.000000000 +0200 /lib/libdl-2.5.so
    lrwxrwxrwx 1 root root      12 2011-12-31 08:25:14.000000000 +0200 /lib/libdl.so.2 -> libdl-2.5.so
    lrwxrwxrwx 1 root root      34 2011-12-31 08:27:29.000000000 +0200 /lib/libdmraid-events-isw.so -> libdmraid-events-isw.so.1.0.0.rc13
    -rwxr-xr-x 1 root root   19740 2011-07-22 08:07:41.000000000 +0300 /lib/libdmraid-events-isw.so.1.0.0.rc13
    -r-xr-xr-x 1 root root   19740 2011-07-22 08:07:40.000000000 +0300 /lib/libdmraid-events-isw.so.1.0.0.rc13-17
    lrwxrwxrwx 1 root root      23 2011-12-31 08:27:29.000000000 +0200 /lib/libdmraid.so -> libdmraid.so.1.0.0.rc13
    -rwxr-xr-x 1 root root  219964 2011-07-22 08:07:41.000000000 +0300 /lib/libdmraid.so.1.0.0.rc13
    -r-xr-xr-x 1 root root  221640 2011-07-22 08:07:40.000000000 +0300 /lib/libdmraid.so.1.0.0.rc13-17
    lrwxrwxrwx 1 root root      13 2011-12-31 08:25:28.000000000 +0200 /lib/libe2p.so.2 -> libe2p.so.2.3
    -rwxr-xr-x 1 root root   21640 2011-07-22 08:04:15.000000000 +0300 /lib/libe2p.so.2.3
    lrwxrwxrwx 1 root root      17 2011-06-17 17:40:33.000000000 +0300 /lib/libexpat.so.0 -> libexpat.so.0.5.0
    -rwxr-xr-x 1 root root  133184 2010-09-07 18:37:44.000000000 +0300 /lib/libexpat.so.0.5.0
    lrwxrwxrwx 1 root root      16 2011-12-31 08:25:28.000000000 +0200 /lib/libext2fs.so.2 -> libext2fs.so.2.4
    -rwxr-xr-x 1 root root  115344 2011-07-22 08:04:15.000000000 +0300 /lib/libext2fs.so.2.4
    -rwxr-xr-x 1 root root   46676 2011-07-22 11:11:54.000000000 +0300 /lib/libgcc_s-4.1.2-20080825.so.1
    lrwxrwxrwx 1 root root      28 2011-12-31 08:25:12.000000000 +0200 /lib/libgcc_s.so.1 -> libgcc_s-4.1.2-20080825.so.1
    lrwxrwxrwx 1 root root      23 2011-06-17 17:40:32.000000000 +0300 /lib/libglib-2.0.so.0 -> libglib-2.0.so.0.1200.3
    -rwxr-xr-x 1 root root  644472 2009-03-25 03:52:17.000000000 +0200 /lib/libglib-2.0.so.0.1200.3
    lrwxrwxrwx 1 root root      26 2011-06-17 17:40:32.000000000 +0300 /lib/libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.1200.3
    -rwxr-xr-x 1 root root   11396 2009-03-25 03:52:17.000000000 +0200 /lib/libgmodule-2.0.so.0.1200.3
    lrwxrwxrwx 1 root root      26 2011-06-17 17:40:32.000000000 +0300 /lib/libgobject-2.0.so.0 -> libgobject-2.0.so.0.1200.3
    -rwxr-xr-x 1 root root  259128 2009-03-25 03:52:17.000000000 +0200 /lib/libgobject-2.0.so.0.1200.3
    lrwxrwxrwx 1 root root      26 2011-06-17 17:40:32.000000000 +0300 /lib/libgthread-2.0.so.0 -> libgthread-2.0.so.0.1200.3
    -rwxr-xr-x 1 root root   16212 2009-03-25 03:52:17.000000000 +0200 /lib/libgthread-2.0.so.0.1200.3
    -rwxr-xr-x 1 root root   29440 2007-03-15 05:26:22.000000000 +0200 /lib/libiw.so.28
    -rwxr-xr-x 1 root root    7880 2007-01-06 09:57:38.000000000 +0200 /lib/libkeyutils-1.2.so
    lrwxrwxrwx 1 root root      18 2011-06-17 17:40:32.000000000 +0300 /lib/libkeyutils.so.1 -> libkeyutils-1.2.so
    -r--r--r-- 1 root root 3765808 2011-09-02 19:21:33.000000000 +0300 /lib/liblvm2cmd.a
    lrwxrwxrwx 1 root root      18 2011-12-31 08:25:43.000000000 +0200 /lib/liblvm2cmd.so -> liblvm2cmd.so.2.02
    -r-xr-xr-x 1 root root  829936 2011-09-02 19:21:34.000000000 +0300 /lib/liblvm2cmd.so.2.02
    -rwxr-xr-x 1 root root  216544 2011-11-28 19:28:47.000000000 +0200 /lib/libm-2.5.so
    lrwxrwxrwx 1 root root      11 2011-12-31 08:25:14.000000000 +0200 /lib/libm.so.6 -> libm-2.5.so
    -rwxr-xr-x 1 root root  109740 2011-11-28 19:28:47.000000000 +0200 /lib/libnsl-2.5.so
    lrwxrwxrwx 1 root root      13 2011-12-31 08:25:14.000000000 +0200 /lib/libnsl.so.1 -> libnsl-2.5.so
    -rwxr-xr-x 1 root root   36416 2011-11-28 19:28:47.000000000 +0200 /lib/libnss_compat-2.5.so
    lrwxrwxrwx 1 root root      20 2011-12-31 08:25:14.000000000 +0200 /lib/libnss_compat.so.2 -> libnss_compat-2.5.so
    -rwxr-xr-x 1 root root  825028 2010-05-13 14:02:40.000000000 +0300 /lib/libnss_db-2.2.so
    lrwxrwxrwx 1 root root      16 2011-06-17 18:04:06.000000000 +0300 /lib/libnss_db.so.2 -> libnss_db-2.2.so
    -rwxr-xr-x 1 root root   23800 2011-11-28 19:28:47.000000000 +0200 /lib/libnss_dns-2.5.so
    lrwxrwxrwx 1 root root      17 2011-12-31 08:25:14.000000000 +0200 /lib/libnss_dns.so.2 -> libnss_dns-2.5.so
    -rwxr-xr-x 1 root root   52664 2011-11-28 19:28:47.000000000 +0200 /lib/libnss_files-2.5.so
    lrwxrwxrwx 1 root root      19 2011-12-31 08:25:14.000000000 +0200 /lib/libnss_files.so.2 -> libnss_files-2.5.so
    -rwxr-xr-x 1 root root   22764 2011-11-28 19:28:47.000000000 +0200 /lib/libnss_hesiod-2.5.so
    lrwxrwxrwx 1 root root      20 2011-12-31 08:25:14.000000000 +0200 /lib/libnss_hesiod.so.2 -> libnss_hesiod-2.5.so
    -rwxr-xr-x 1 root root 3208544 2011-10-31 15:18:04.000000000 +0200 /lib/libnss_ldap-2.5.so
    lrwxrwxrwx 1 root root      18 2011-12-31 08:25:44.000000000 +0200 /lib/libnss_ldap.so.2 -> libnss_ldap-2.5.so
    -rwxr-xr-x 1 root root   46536 2011-11-28 19:28:48.000000000 +0200 /lib/libnss_nis-2.5.so
    lrwxrwxrwx 1 root root      17 2011-12-31 08:25:14.000000000 +0200 /lib/libnss_nis.so.2 -> libnss_nis-2.5.so
    -rwxr-xr-x 1 root root   55804 2011-11-28 19:28:48.000000000 +0200 /lib/libnss_nisplus-2.5.so
    lrwxrwxrwx 1 root root      21 2011-12-31 08:25:14.000000000 +0200 /lib/libnss_nisplus.so.2 -> libnss_nisplus-2.5.so
    lrwxrwxrwx 1 root root      16 2011-06-17 17:40:32.000000000 +0300 /lib/libpam.so.0 -> libpam.so.0.81.5
    -rwxr-xr-x 1 root root   44532 2010-11-01 23:32:19.000000000 +0200 /lib/libpam.so.0.81.5
    lrwxrwxrwx 1 root root      21 2011-06-17 17:40:33.000000000 +0300 /lib/libpam_misc.so.0 -> libpam_misc.so.0.81.2
    -rwxr-xr-x 1 root root   10204 2010-11-01 23:32:19.000000000 +0200 /lib/libpam_misc.so.0.81.2
    lrwxrwxrwx 1 root root      17 2011-06-17 17:40:32.000000000 +0300 /lib/libpamc.so.0 -> libpamc.so.0.81.0
    -rwxr-xr-x 1 root root    9868 2010-11-01 23:32:19.000000000 +0200 /lib/libpamc.so.0.81.0
    lrwxrwxrwx 1 root root      16 2011-06-17 17:40:32.000000000 +0300 /lib/libpcre.so.0 -> libpcre.so.0.0.1
    -rwxr-xr-x 1 root root  129208 2011-03-31 03:08:14.000000000 +0300 /lib/libpcre.so.0.0.1
    -rwxr-xr-x 1 root root   54340 2011-04-28 14:25:26.000000000 +0300 /lib/libproc-3.2.7.so
    -rwxr-xr-x 1 root root  137908 2011-11-28 19:28:48.000000000 +0200 /lib/libpthread-2.5.so
    lrwxrwxrwx 1 root root      17 2011-12-31 08:25:14.000000000 +0200 /lib/libpthread.so.0 -> libpthread-2.5.so
    -rwxr-xr-x 1 root root   80636 2011-11-28 19:28:48.000000000 +0200 /lib/libresolv-2.5.so
    lrwxrwxrwx 1 root root      16 2011-12-31 08:25:14.000000000 +0200 /lib/libresolv.so.2 -> libresolv-2.5.so
    -rwxr-xr-x 1 root root   48156 2011-11-28 19:28:48.000000000 +0200 /lib/librt-2.5.so
    lrwxrwxrwx 1 root root      12 2011-12-31 08:25:14.000000000 +0200 /lib/librt.so.1 -> librt-2.5.so
    -rwxr-xr-x 1 root root   93508 2011-03-06 06:51:56.000000000 +0200 /lib/libselinux.so.1
    -rwxr-xr-x 1 root root  159412 2009-09-04 01:49:09.000000000 +0300 /lib/libsemanage.so.1
    -rwxr-xr-x 1 root root  245376 2010-03-31 11:26:18.000000000 +0300 /lib/libsepol.so.1
    lrwxrwxrwx 1 root root      12 2011-12-31 08:25:28.000000000 +0200 /lib/libss.so.2 -> libss.so.2.0
    -rwxr-xr-x 1 root root   20524 2011-07-22 08:04:15.000000000 +0300 /lib/libss.so.2.0
    -rwxr-xr-x 1 root root  291556 2011-08-14 04:43:56.000000000 +0300 /lib/libssl.so.0.9.8e
    lrwxrwxrwx 1 root root      16 2011-12-31 08:25:28.000000000 +0200 /lib/libssl.so.6 -> libssl.so.0.9.8e
    lrwxrwxrwx 1 root root      19 2011-06-17 17:40:33.000000000 +0300 /lib/libtermcap.so.2 -> libtermcap.so.2.0.8
    -rwxr-xr-x 1 root root   13084 2007-01-06 15:01:17.000000000 +0200 /lib/libtermcap.so.2.0.8
    -rwxr-xr-x 1 root root   33852 2011-11-28 19:28:48.000000000 +0200 /lib/libthread_db-1.0.so
    lrwxrwxrwx 1 root root      19 2011-12-31 08:25:14.000000000 +0200 /lib/libthread_db.so.1 -> libthread_db-1.0.so
    -rwxr-xr-x 1 root root   15308 2011-11-28 19:28:48.000000000 +0200 /lib/libutil-2.5.so
    lrwxrwxrwx 1 root root      14 2011-12-31 08:25:14.000000000 +0200 /lib/libutil.so.1 -> libutil-2.5.so
    lrwxrwxrwx 1 root root      14 2011-12-31 08:25:28.000000000 +0200 /lib/libuuid.so.1 -> libuuid.so.1.2
    -rwxr-xr-x 1 root root   16032 2011-07-22 08:04:15.000000000 +0300 /lib/libuuid.so.1.2
    lrwxrwxrwx 1 root root      22 2011-12-31 08:25:59.000000000 +0200 /lib/libvolume_id.so.0 -> libvolume_id.so.0.66.0
    -rwxr-xr-x 1 root root   38480 2011-11-14 12:43:31.000000000 +0200 /lib/libvolume_id.so.0.66.0
    lrwxrwxrwx 1 root root      16 2011-06-17 17:40:33.000000000 +0300 /lib/libwrap.so.0 -> libwrap.so.0.7.6
    -rwxr-xr-x 1 root root   31344 2009-09-22 01:37:30.000000000 +0300 /lib/libwrap.so.0.7.6
    lrwxrwxrwx 1 root root      13 2011-12-31 08:26:09.000000000 +0200 /lib/libz.so -> libz.so.1.2.3
    lrwxrwxrwx 1 root root      13 2011-12-31 08:25:20.000000000 +0200 /lib/libz.so.1 -> libz.so.1.2.3
    -rwxr-xr-x 1 root root   75120 2011-05-11 13:57:17.000000000 +0300 /lib/libz.so.1.2.3
    $ mount
    Code:
    simfs on / type simfs (rw,noatime)
    /dev/sdb1 on /storage type ext3 (rw,noatime,nodiratime,errors=continue,data=ordered)
    tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,noatime)
    /proc on /proc type proc (rw)
    /sys on /sys type sysfs (rw)
    none on /dev type tmpfs (rw,mode=755)
    none on /dev/pts type devpts (rw,mode=600)
    $ df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    simfs                 914G  768G   99G  89% /
    /dev/sdb1             917G  191G  727G  21% /storage
    tmpfs                 8.0G  4.0K  8.0G   1% /dev/shm
    none                  8.0G  4.0K  8.0G   1% /dev
    $ cat /etc/issue
    Code:
    CentOS release 5.7 (Final)
    Kernel \r on an \m
    $ cat /etc/crontab
    Code:
    SHELL=/bin/bash
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    MAILTO=root
    HOME=/
    # run-parts
    21 * * * * root run-parts /etc/cron.hourly
    6 0 * * * root run-parts /etc/cron.daily
    22 5 * * 0 root run-parts /etc/cron.weekly
    42 6 1 * * root run-parts /etc/cron.monthly
    
    */5 * * * * root ( netstat -an > /var/log/netstat.log; /opt/scripts/mrtg95th.sh; echo > /var/log/iostat.log ) 1>/dev/null 2>/dev/null
    
    */1 * * * * root /usr/local/directadmin/scripts/nginx_task.sh 1>/dev/null 2>/dev/null
    
    */1 * * * * root cd /opt/scripts;./nginx_start.sh 1>/dev/null 2>/dev/null
    
    15 23 * * * root cd /opt/scripts;./apache_restart.sh 1>/dev/null 2>/dev/null
    15 01 * * * root /etc/init.d/mysqld restart  1>/dev/null 2>/dev/null
    5 * * * * root /opt/scripts/flv_hotlink_protection.sh 1>/dev/null 2>/dev/null
    $ cat /proc/version
    Code:
    Linux version 2.6.26-2-openvz-686 (Debian 2.6.26-26lenny3) ([email protected]) (gcc version 4.1.3 20080704 (prerelease) (Debian 4.1.2-25)) #1 SMP Sat Jun 11 15:22:24 UTC 2011
    $ cat /proc/sys/vm/mmap_min_addr
    Code:
    4096
    $ pwd
    Code:
    /home/******1/domains/******.com/public_html/forum
    
    $ ls -la /usr/bin/staprun
    Code:
     
    Пробовал
    $ gcc half-nelson.c -o half-nelson -lrt
    Code:
    half-nelson.c: In function 'get_kstack':
    half-nelson.c:193: error: 'MAP_32BIT' undeclared (first use in this function)
    half-nelson.c:193: error: (Each undeclared identifier is reported only once
    half-nelson.c:193: error: for each function it appears in.)
    half-nelson.c:241: warning: integer constant is too large for 'long' type
    half-nelson.c:241: warning: comparison is always true due to limited range of data type
    half-nelson.c:241: warning: integer constant is too large for 'long' type
    half-nelson.c:241: warning: comparison is always false due to limited range of data type
    half-nelson.c:209: error: unknown register name 'r8' in 'asm'
    half-nelson.c: In function 'do_child_upper':
    half-nelson.c:416: warning: integer constant is too large for 'long' type
    half-nelson.c:524:2: warning: no newline at end of file
    ./i-can-haz-modharden
    Code:
    [+] looking for symbols...
    [-] symbol table not availabe, aborting!
    [-] symbol table not availabe, aborting!
    [+] setting up exploit payload...
    [+] creating PF_CAN socket...
    [-] kernel lacks CAN packet family support
    Что делать, уважаемые?
     
  9. Expl0ited

    Expl0ited Members of Antichat

    Joined:
    16 Jul 2010
    Messages:
    1,035
    Likes Received:
    534
    Reputations:
    935
    bimbim, как видно из предоставленной инфы, в кронтабе затесалось несколько заданий которые запускаются от рута:
    Code:
    */5 * * * * root ( netstat -an > /var/log/netstat.log; /opt/scripts/mrtg95th.sh; echo > /var/log/iostat.log ) 1>/dev/null 2>/dev/null
    
    */1 * * * * root /usr/local/directadmin/scripts/nginx_task.sh 1>/dev/null 2>/dev/null
    
    */1 * * * * root cd /opt/scripts;./nginx_start.sh 1>/dev/null 2>/dev/null
    
    15 23 * * * root cd /opt/scripts;./apache_restart.sh 1>/dev/null 2>/dev/null
    15 01 * * * root /etc/init.d/mysqld restart  1>/dev/null 2>/dev/null
    5 * * * * root /opt/scripts/flv_hotlink_protection.sh 1>/dev/null 2>/dev/null
    если скрипты доступны на правку, то можно вполне это заюзать для повышения привилегий

    gl0w, ядро не рутабельное.
     
    _________________________
    #249 Expl0ited, 1 Mar 2012
    Last edited: 1 Mar 2012
  10. Expl0ited

    Expl0ited Members of Antichat

    Joined:
    16 Jul 2010
    Messages:
    1,035
    Likes Received:
    534
    Reputations:
    935
    Внимание!
    Если в выводе команды uname -a, вы наблюдаете нечто похожее: Linux ****** 2.*.**-NX
    Это сервер принадлежит компании SpaceWeb (sweb.ru), и порутать его (сервер) практически невозможно! Так что все посты в котором фигурирует эти сервера (сервера SpaceWeb) УДАЛЯЮТСЯ!

    Тоже самое касается серверов компаний Джино (www.jino.ru), Мастерхост (masterhost.ru) и 1gb (1gb.ru).
     
    _________________________
    1 person likes this.
  11. bimbim

    bimbim New Member

    Joined:
    24 Sep 2010
    Messages:
    10
    Likes Received:
    1
    Reputations:
    0
    К сожалению только Read права =(
    Вообщем я так понимаю, надо ждать с моря погоды, иногда навещая сервак и проверяя " а вдруг че-то изменилось и стало дырявым"?
     
  12. Expl0ited

    Expl0ited Members of Antichat

    Joined:
    16 Jul 2010
    Messages:
    1,035
    Likes Received:
    534
    Reputations:
    935
    Да, все правильно понимаешь.
     
    _________________________
  13. bimbim

    bimbim New Member

    Joined:
    24 Sep 2010
    Messages:
    10
    Likes Received:
    1
    Reputations:
    0
    Опять мне "повезло"?
    $ uname -a
    Code:
    Linux ххх.ххх.net 3.2.7-1.fc16.x86_64 #1 SMP Tue Feb21 01:40:47 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux 
    $ ls -la /boot
    Code:
    total 62364
    dr-xr-xr-x  3 root root     4096 Feb 28 11:15 .
    dr-xr-xr-x 22 root root     4096 Feb 28 11:29 ..
    -rw-------  1 root root  2360182 Dec 22 00:46 System.map-3.1.6-1.fc16.x86_64
    -rw-------  1 root root  2375555 Feb 13 22:40 System.map-3.2.6-3.fc16.x86_64
    -rw-------  1 root root  2375702 Feb 21 03:56 System.map-3.2.7-1.fc16.x86_64
    -rw-r--r--  1 root root   114099 Dec 22 00:46 config-3.1.6-1.fc16.x86_64
    -rw-r--r--  1 root root   111286 Feb 13 22:40 config-3.2.6-3.fc16.x86_64
    -rw-r--r--  1 root root   111642 Feb 21 03:56 config-3.2.7-1.fc16.x86_64
    -rw-r--r--  1 root root    18421 Feb 13 22:41 config.mk-compat-wireless-3.3-rc1-2-3.2.6-3.fc16.x86_64
    -rw-r--r--  1 root root    18421 Feb 21 03:57 config.mk-compat-wireless-3.3-rc1-2-3.2.7-1.fc16.x86_64
    drwxr-xr-x  3 root root    12288 Mar  5 03:53 grub2
    -rw-r--r--  1 root root 14850556 Dec 27 01:35 initramfs-3.1.6-1.fc16.x86_64.img
    -rw-r--r--  1 root root 13710741 Feb 28 11:12 initramfs-3.2.6-3.fc16.x86_64.img
    -rw-r--r--  1 root root 13710411 Feb 28 11:14 initramfs-3.2.7-1.fc16.x86_64.img
    -rw-r--r--  1 root root   254986 Dec 26 20:57 initrd-plymouth.img
    -rwxr-xr-x  1 root root  4580496 Dec 22 00:46 vmlinuz-3.1.6-1.fc16.x86_64
    -rwxr-xr-x  1 root root  4604944 Feb 13 22:40 vmlinuz-3.2.6-3.fc16.x86_64
    -rwxr-xr-x  1 root root  4607184 Feb 21 03:56 vmlinuz-3.2.7-1.fc16.x86_64
    $ ls -la --full-time /lib/lib*
    Code:
     
    $ mount
    Code:
    proc on /proc type proc (rw,relatime)
    sysfs on /sys type sysfs (rw,relatime)
    devtmpfs on /dev type devtmpfs (rw,nosuid,relatime,size=8205204k,nr_inodes=2051301,mode=755)
    devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
    tmpfs on /dev/shm type tmpfs (rw,relatime)
    /dev/md0p1 on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755)
    selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
    tmpfs on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
    cgroup on /sys/fs/cgroup/systemd type cgroup (rw,nosuid,nodev,noexec,relatime,release_agent=/lib/systemd/systemd-cgroups-agent,name=systemd)
    cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset)
    cgroup on /sys/fs/cgroup/cpu,cpuacct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct,cpu)
    cgroup on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
    cgroup on /sys/fs/cgroup/devices type cgroup (rw,nosuid,nodev,noexec,relatime,devices)
    cgroup on /sys/fs/cgroup/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
    cgroup on /sys/fs/cgroup/net_cls type cgroup (rw,nosuid,nodev,noexec,relatime,net_cls)
    cgroup on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
    cgroup on /sys/fs/cgroup/perf_event type cgroup (rw,nosuid,nodev,noexec,relatime,perf_event)
    systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=29,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    debugfs on /sys/kernel/debug type debugfs (rw,relatime)
    configfs on /sys/kernel/config type configfs (rw,relatime)
    mqueue on /dev/mqueue type mqueue (rw,relatime)
    tmpfs on /media type tmpfs (rw,nosuid,nodev,noexec,relatime,mode=755)
    securityfs on /sys/kernel/security type securityfs (rw,relatime)
    hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime)
    /dev/md0p7 on /virt type ext4 (rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered,jqfmt=vfsv1,usrjquota=aquota.user)
    /dev/md0p7 on /tmp type ext4 (rw,nosuid,nodev,relatime,user_xattr,acl,barrier=1,data=ordered,jqfmt=vfsv1,usrjquota=aquota.user)
    /dev/md0p6 on /var type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p5 on /usr type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p1 on /var/named/chroot/etc/named type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p6 on /var/named/chroot/var/named type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p1 on /var/named/chroot/etc/named.conf type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p1 on /var/named/chroot/etc/named.rfc1912.zones type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p1 on /var/named/chroot/etc/rndc.key type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p5 on /var/named/chroot/usr/lib64/bind type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p1 on /var/named/chroot/etc/named.iscdlv.key type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    /dev/md0p1 on /var/named/chroot/etc/named.root.key type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
    binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)
    $ df -h
    Code:
    Filesystem      Size  Used Avail Use% Mounted on
    rootfs         1022M  495M  476M  51% /
    devtmpfs        7.9G  4.0K  7.9G   1% /dev
    tmpfs           7.9G     0  7.9G   0% /dev/shm
    /dev/md0p1     1022M  495M  476M  51% /
    tmpfs           7.9G   41M  7.8G   1% /run
    tmpfs           7.9G     0  7.9G   0% /sys/fs/cgroup
    tmpfs           7.9G     0  7.9G   0% /media
    /dev/md0p7      906G  244G  618G  29% /virt
    /dev/md0p7      906G  244G  618G  29% /tmp
    /dev/md0p6       10G  2.3G  7.3G  24% /var
    /dev/md0p5       10G  3.1G  6.4G  33% /usr
    $ cat /etc/issue
    Code:
    Fedora release 16 (Verne)
    Kernel \r on an \m (\l)
    $ cat /etc/crontab
    Code:
    SHELL=/bin/bash
    PATH=/sbin:/bin:/usr/sbin:/usr/bin
    MAILTO=root
    
    # For details see man 4 crontabs
    
    # Example of job definition:
    # .---------------- minute (0 - 59)
    # |  .------------- hour (0 - 23)
    # |  |  .---------- day of month (1 - 31)
    # |  |  |  .------- month (1 - 12) OR jan,feb,mar,apr ...
    # |  |  |  |  .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
    # |  |  |  |  |
    # *  *  *  *  * user-name  command to be executed
    
    $ cat /proc/version
    Code:
    Linux version 3.2.7-1.fc16.x86_64 ([email protected]) (gcc version 4.6.2 20111027 (Red Hat 4.6.2-1) (GCC) ) #1 SMP Tue Feb 21 01:40:47 UTC 2012
    $ cat /proc/sys/vm/mmap_min_addr
    Code:
    4096
    $ pwd
    Code:
    /virt
    $ ls -la /usr/bin/staprun
    Code:
     
    Mempodipper - Linux Local Root for >=2.6.39, 32-bit and 64-bit
    Code:
    [+] Opening parent mem /proc/19380/mem in child.
    [+] Sending fd 3 to parent.
    sh: [5092: 2 (255)] tcsetattr: Inappropriate ioctl for device
     
  14. Expl0ited

    Expl0ited Members of Antichat

    Joined:
    16 Jul 2010
    Messages:
    1,035
    Likes Received:
    534
    Reputations:
    935
    Вообще уязвимые системы делятся на данный момент так:
    2.6.18/2.6.27+ - 64-bit - до августа 2010
    2.x - 32-bit - до декабря 2009 (январь-февраль 2010?)
    2.6.39+ 64/32 bit - до 10 января 2012
    и glibc бьет всё до сентября (начало октября) 2010

    И всё, всё остальное опциональное: наличие исполняемых скриптов в crontab, бажный софт, ошибки с правами и т.д.

    Так что постить, что-то новое в данную тему смысла не имеет.
     
    _________________________
  15. Pirotexnik

    Pirotexnik Member

    Joined:
    13 Oct 2010
    Messages:
    376
    Likes Received:
    73
    Reputations:
    38
    Ребята, выручайте :(

    $ ls -la /boot
    Code:
    total 17249
    drwxr-xr-x  4 root root    1024 May 11  2011 .
    drwxr-xr-x 27 root root    4096 Mar  6 04:37 ..
    -rw-r--r--  1 root root   65937 Sep  3  2009 config-2.6.18-164.el5
    -rw-r--r--  1 root root   61583 Nov 12  2007 config-2.6.18-53.el5
    -rw-r--r--  1 root root   62400 Dec 17  2008 config-2.6.18-92.1.22.el5
    drwxr-xr-x  2 root root    1024 Oct 23  2009 grub
    -rw-------  1 root root 2687297 Oct 23  2009 initrd-2.6.18-164.el5.img
    -rw-------  1 root root 2545250 Aug 26  2008 initrd-2.6.18-53.el5.img
    -rw-------  1 root root 2567095 Mar  3  2009 initrd-2.6.18-92.1.22.el5.img
    drwx------  2 root root   12288 Aug 26  2008 lost+found
    -rw-r--r--  1 root root   80032 Mar 17  2009 message
    -rw-r--r--  1 root root  108707 Sep  3  2009 symvers-2.6.18-164.el5.gz
    -rw-r--r--  1 root root   88644 Nov 12  2007 symvers-2.6.18-53.el5.gz
    -rw-r--r--  1 root root   92793 Dec 17  2008 symvers-2.6.18-92.1.22.el5.gz
    -rw-r--r--  1 root root 1225101 Sep  3  2009 System.map-2.6.18-164.el5
    -rw-r--r--  1 root root 1150812 Nov 12  2007 System.map-2.6.18-53.el5
    -rw-r--r--  1 root root 1163830 Dec 17  2008 System.map-2.6.18-92.1.22.el5
    -rw-r--r--  1 root root 1932284 Sep  3  2009 vmlinuz-2.6.18-164.el5
    -rw-r--r--  1 root root     158 Sep  3  2009 .vmlinuz-2.6.18-164.el5.hmac
    -rw-r--r--  1 root root 1844028 Nov 12  2007 vmlinuz-2.6.18-53.el5
    -rw-r--r--  1 root root 1861692 Dec 17  2008 vmlinuz-2.6.18-92.1.22.el5

    df -h
    Code:
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/sda6             2.0G  602M  1.3G  32% /
    /dev/sda8             201G   46G  145G  24% /home
    /dev/sda7             487M   11M  451M   3% /tmp
    /dev/sda3             7.6G  3.4G  3.9G  47% /usr
    /dev/sda2              76G   20G   53G  28% /var
    /dev/sda1              99M   23M   72M  25% /boot
    tmpfs                 3.9G     0  3.9G   0% /dev/shm

    ls -la /lib/libc*
    Code:
    -rwxr-xr-x 1 root root 1690396 Feb 14 07:40 /lib/libc-2.5.so
    lrwxrwxrwx 1 root root      14 Aug 26  2008 /lib/libcap.so.1 -> libcap.so.1.10
    -rwxr-xr-x 1 root root   11560 Mar 15  2007 /lib/libcap.so.1.10
    -rwxr-xr-x 1 root root  191708 Feb 14 07:40 /lib/libcidn-2.5.so
    lrwxrwxrwx 1 root root      14 Mar  8 11:06 /lib/libcidn.so.1 -> libcidn-2.5.so
    lrwxrwxrwx 1 root root      17 Nov 16 13:13 /lib/libcom_err.so.2 -> libcom_err.so.2.1
    -rwxr-xr-x 1 root root    6364 Jul 22  2011 /lib/libcom_err.so.2.1
    -rwxr-xr-x 1 root root   43616 Feb 14 07:40 /lib/libcrypt-2.5.so
    -rwxr-xr-x 1 root root 1295552 Feb  7 19:05 /lib/libcrypto.so.0.9.8e
    lrwxrwxrwx 1 root root      19 Mar  8 11:06 /lib/libcrypto.so.6 -> libcrypto.so.0.9.8e
    lrwxrwxrwx 1 root root      15 Mar  8 11:06 /lib/libcrypt.so.1 -> libcrypt-2.5.so
    lrwxrwxrwx 1 root root      11 Mar  8 11:06 /lib/libc.so.6 -> libc-2.5.so

    $ ls -la /lib
    Code:
    total 13592
    drwxr-xr-x 11 root root    4096 Mar  8 11:06 .
    drwxr-xr-x 27 root root    4096 Mar  6 04:37 ..
    drwxr-xr-x  2 root root    4096 Mar  8 11:07 bdevid
    lrwxrwxrwx  1 root root      14 Nov 16 13:12 cpp -> ../usr/bin/cpp
    drwxr-xr-x  2 root root    4096 Nov 17 04:49 dbus-1
    drwxr-xr-x  2 root root    4096 Nov 14 18:43 firmware
    drwxr-xr-x  3 root root    4096 Feb 14 07:02 i686
    drwxr-xr-x  6 root root    4096 Jan 21  2009 kbd
    -rwxr-xr-x  1 root root  128596 Feb 14 07:40 ld-2.5.so
    lrwxrwxrwx  1 root root       9 Mar  8 11:06 ld-linux.so.2 -> ld-2.5.so
    lrwxrwxrwx  1 root root      15 Jun  1  2010 libacl.so.1 -> libacl.so.1.1.0
    -rwxr-xr-x  1 root root   24144 Jan 27  2010 libacl.so.1.1.0
    -rwxr-xr-x  1 root root   14128 Feb 14 07:40 libanl-2.5.so
    lrwxrwxrwx  1 root root      13 Mar  8 11:06 libanl.so.1 -> libanl-2.5.so
    lrwxrwxrwx  1 root root      18 Oct 23  2009 libasound.so.2 -> libasound.so.2.0.0
    -rwxr-xr-x  1 root root  908940 Jan 21  2009 libasound.so.2.0.0
    lrwxrwxrwx  1 root root      16 Aug 26  2008 libattr.so.1 -> libattr.so.1.1.0
    -rwxr-xr-x  1 root root   14296 Jan  6  2007 libattr.so.1.1.0
    lrwxrwxrwx  1 root root      17 Nov 16 13:13 libaudit.so.0 -> libaudit.so.0.0.0
    -rwxr-xr-x  1 root root   95740 Mar  6  2011 libaudit.so.0.0.0
    lrwxrwxrwx  1 root root      19 Nov 16 13:13 libauparse.so.0 -> libauparse.so.0.0.0
    -rwxr-xr-x  1 root root   54832 Mar  6  2011 libauparse.so.0.0.0
    lrwxrwxrwx  1 root root      15 Nov 16 13:13 libblkid.so.1 -> libblkid.so.1.0
    -rwxr-xr-x  1 root root   36708 Jul 22  2011 libblkid.so.1.0
    -rwxr-xr-x  1 root root    7664 Feb 14 07:40 libBrokenLocale-2.5.so
    lrwxrwxrwx  1 root root      22 Mar  8 11:06 libBrokenLocale.so.1 -> libBrokenLocale-2.5.so
    -rwxr-xr-x  1 root root 1690396 Feb 14 07:40 libc-2.5.so
    lrwxrwxrwx  1 root root      14 Aug 26  2008 libcap.so.1 -> libcap.so.1.10
    -rwxr-xr-x  1 root root   11560 Mar 15  2007 libcap.so.1.10
    -rwxr-xr-x  1 root root  191708 Feb 14 07:40 libcidn-2.5.so
    lrwxrwxrwx  1 root root      14 Mar  8 11:06 libcidn.so.1 -> libcidn-2.5.so
    lrwxrwxrwx  1 root root      17 Nov 16 13:13 libcom_err.so.2 -> libcom_err.so.2.1
    -rwxr-xr-x  1 root root    6364 Jul 22  2011 libcom_err.so.2.1
    -rwxr-xr-x  1 root root   43616 Feb 14 07:40 libcrypt-2.5.so
    -rwxr-xr-x  1 root root 1295552 Feb  7 19:05 libcrypto.so.0.9.8e
    -rw-r--r--  1 root root      65 Feb  7 19:05 .libcrypto.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      19 Mar  8 11:06 libcrypto.so.6 -> libcrypto.so.0.9.8e
    lrwxrwxrwx  1 root root      25 Mar  8 11:06 .libcrypto.so.6.hmac -> .libcrypto.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      15 Mar  8 11:06 libcrypt.so.1 -> libcrypt-2.5.so
    lrwxrwxrwx  1 root root      11 Mar  8 11:06 libc.so.6 -> libc-2.5.so
    -rwxr-xr-x  1 root root 1010204 Jul 13  2010 libdb-4.3.so
    lrwxrwxrwx  1 root root      18 Nov 16 13:18 libdbus-1.so.3 -> libdbus-1.so.3.4.0
    -rwxr-xr-x  1 root root  253392 Aug 12  2011 libdbus-1.so.3.4.0
    -r--r--r--  1 root root  469522 Jul 22  2011 libdevmapper.a
    -r--r--r--  1 root root   42988 Jul 22  2011 libdevmapper-event.a
    lrwxrwxrwx  1 root root      26 Nov 16 13:13 libdevmapper-event.so -> libdevmapper-event.so.1.02
    -r-xr-xr-x  1 root root   17548 Jul 22  2011 libdevmapper-event.so.1.02
    lrwxrwxrwx  1 root root      20 Nov 16 13:13 libdevmapper.so -> libdevmapper.so.1.02
    -r-xr-xr-x  1 root root  151964 Jul 22  2011 libdevmapper.so.1.02
    -rwxr-xr-x  1 root root   18812 Feb 14 07:40 libdl-2.5.so
    lrwxrwxrwx  1 root root      12 Mar  8 11:06 libdl.so.2 -> libdl-2.5.so
    lrwxrwxrwx  1 root root      13 Nov 16 13:13 libe2p.so.2 -> libe2p.so.2.3
    -rwxr-xr-x  1 root root   20192 Jul 22  2011 libe2p.so.2.3
    lrwxrwxrwx  1 root root      17 Sep 30  2010 libexpat.so.0 -> libexpat.so.0.5.0
    -rwxr-xr-x  1 root root  133184 Sep  7  2010 libexpat.so.0.5.0
    lrwxrwxrwx  1 root root      16 Nov 16 13:13 libext2fs.so.2 -> libext2fs.so.2.4
    -rwxr-xr-x  1 root root  113860 Jul 22  2011 libext2fs.so.2.4
    -rwxr-xr-x  1 root root   46676 Jul 22  2011 libgcc_s-4.1.2-20080825.so.1
    lrwxrwxrwx  1 root root      28 Nov 16 13:11 libgcc_s.so.1 -> libgcc_s-4.1.2-20080825.so.1
    lrwxrwxrwx  1 root root      23 Oct 23  2009 libglib-2.0.so.0 -> libglib-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root  644472 Mar 25  2009 libglib-2.0.so.0.1200.3
    lrwxrwxrwx  1 root root      26 Oct 23  2009 libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root   11396 Mar 25  2009 libgmodule-2.0.so.0.1200.3
    lrwxrwxrwx  1 root root      26 Oct 23  2009 libgobject-2.0.so.0 -> libgobject-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root  259128 Mar 25  2009 libgobject-2.0.so.0.1200.3
    lrwxrwxrwx  1 root root      26 Oct 23  2009 libgthread-2.0.so.0 -> libgthread-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root   16212 Mar 25  2009 libgthread-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root   27964 Mar 15  2007 libiw.so.28
    -rwxr-xr-x  1 root root    6404 Jan  6  2007 libkeyutils-1.2.so
    lrwxrwxrwx  1 root root      18 Aug 26  2008 libkeyutils.so.1 -> libkeyutils-1.2.so
    -rwxr-xr-x  1 root root  214572 Feb 14 07:40 libm-2.5.so
    lrwxrwxrwx  1 root root      11 Mar  8 11:06 libm.so.6 -> libm-2.5.so
    -rwxr-xr-x  1 root root  107924 Feb 14 07:40 libnsl-2.5.so
    lrwxrwxrwx  1 root root      13 Mar  8 11:06 libnsl.so.1 -> libnsl-2.5.so
    -rwxr-xr-x  1 root root   36416 Feb 14 07:40 libnss_compat-2.5.so
    lrwxrwxrwx  1 root root      20 Mar  8 11:06 libnss_compat.so.2 -> libnss_compat-2.5.so
    -rwxr-xr-x  1 root root  825028 May 13  2010 libnss_db-2.2.so
    lrwxrwxrwx  1 root root      16 Jun  1  2010 libnss_db.so.2 -> libnss_db-2.2.so
    -rwxr-xr-x  1 root root   21948 Feb 14 07:40 libnss_dns-2.5.so
    lrwxrwxrwx  1 root root      17 Mar  8 11:06 libnss_dns.so.2 -> libnss_dns-2.5.so
    -rwxr-xr-x  1 root root   50848 Feb 14 07:40 libnss_files-2.5.so
    lrwxrwxrwx  1 root root      19 Mar  8 11:06 libnss_files.so.2 -> libnss_files-2.5.so
    -rwxr-xr-x  1 root root   22764 Feb 14 07:40 libnss_hesiod-2.5.so
    lrwxrwxrwx  1 root root      20 Mar  8 11:06 libnss_hesiod.so.2 -> libnss_hesiod-2.5.so
    -rwxr-xr-x  1 root root 3208544 Oct 31 21:18 libnss_ldap-2.5.so
    lrwxrwxrwx  1 root root      18 Nov 16 13:14 libnss_ldap.so.2 -> libnss_ldap-2.5.so
    -rwxr-xr-x  1 root root   46536 Feb 14 07:40 libnss_nis-2.5.so
    -rwxr-xr-x  1 root root   55804 Feb 14 07:40 libnss_nisplus-2.5.so
    lrwxrwxrwx  1 root root      21 Mar  8 11:06 libnss_nisplus.so.2 -> libnss_nisplus-2.5.so
    lrwxrwxrwx  1 root root      17 Mar  8 11:06 libnss_nis.so.2 -> libnss_nis-2.5.so
    lrwxrwxrwx  1 root root      17 Jan  3  2011 libpamc.so.0 -> libpamc.so.0.81.0
    -rwxr-xr-x  1 root root    9868 Nov  2  2010 libpamc.so.0.81.0
    lrwxrwxrwx  1 root root      21 Jan  3  2011 libpam_misc.so.0 -> libpam_misc.so.0.81.2
    -rwxr-xr-x  1 root root    8624 Nov  2  2010 libpam_misc.so.0.81.2
    lrwxrwxrwx  1 root root      16 Jan  3  2011 libpam.so.0 -> libpam.so.0.81.5
    -rwxr-xr-x  1 root root   43020 Nov  2  2010 libpam.so.0.81.5
    -rwxr-xr-x  1 root root  135892 Feb 14 07:40 libpthread-2.5.so
    lrwxrwxrwx  1 root root      17 Mar  8 11:06 libpthread.so.0 -> libpthread-2.5.so
    -rwxr-xr-x  1 root root   78780 Feb 14 07:40 libresolv-2.5.so
    lrwxrwxrwx  1 root root      16 Mar  8 11:06 libresolv.so.2 -> libresolv-2.5.so
    -rwxr-xr-x  1 root root   46144 Feb 14 07:40 librt-2.5.so
    lrwxrwxrwx  1 root root      12 Mar  8 11:06 librt.so.1 -> librt-2.5.so
    -rwxr-xr-x  1 root root   16704 Feb 14 07:40 libSegFault.so
    -rwxr-xr-x  1 root root   91892 Mar  6  2011 libselinux.so.1
    -rwxr-xr-x  1 root root  243928 Mar 31  2010 libsepol.so.1
    -rwxr-xr-x  1 root root  291436 Feb  7 19:05 libssl.so.0.9.8e
    -rw-r--r--  1 root root      65 Feb  7 19:05 .libssl.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      16 Mar  8 11:06 libssl.so.6 -> libssl.so.0.9.8e
    lrwxrwxrwx  1 root root      22 Mar  8 11:06 .libssl.so.6.hmac -> .libssl.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      12 Nov 16 13:13 libss.so.2 -> libss.so.2.0
    -rwxr-xr-x  1 root root   19008 Jul 22  2011 libss.so.2.0
    lrwxrwxrwx  1 root root      19 Aug 26  2008 libtermcap.so.2 -> libtermcap.so.2.0.8
    -rwxr-xr-x  1 root root   11636 Jan  6  2007 libtermcap.so.2.0.8
    -rwxr-xr-x  1 root root   33852 Feb 14 07:40 libthread_db-1.0.so
    lrwxrwxrwx  1 root root      19 Mar  8 11:06 libthread_db.so.1 -> libthread_db-1.0.so
    -rwxr-xr-x  1 root root   13492 Feb 14 07:40 libutil-2.5.so
    lrwxrwxrwx  1 root root      14 Mar  8 11:06 libutil.so.1 -> libutil-2.5.so
    lrwxrwxrwx  1 root root      14 Nov 16 13:13 libuuid.so.1 -> libuuid.so.1.2
    -rwxr-xr-x  1 root root   14472 Jul 22  2011 libuuid.so.1.2
    lrwxrwxrwx  1 root root      22 Nov 16 13:14 libvolume_id.so.0 -> libvolume_id.so.0.66.0
    -rwxr-xr-x  1 root root   37032 Nov 14 18:43 libvolume_id.so.0.66.0
    lrwxrwxrwx  1 root root      16 Oct 23  2009 libwrap.so.0 -> libwrap.so.0.7.6
    -rwxr-xr-x  1 root root   31344 Sep 22  2009 libwrap.so.0.7.6
    lrwxrwxrwx  1 root root      13 Nov 16 13:15 libz.so -> libz.so.1.2.3
    lrwxrwxrwx  1 root root      13 Nov 16 13:13 libz.so.1 -> libz.so.1.2.3
    -rwxr-xr-x  1 root root   75120 May 11  2011 libz.so.1.2.3
    drwxr-xr-x  5 root root    4096 May 11  2011 modules
    drwxr-xr-x  3 root root    4096 Mar  8 11:06 rtkaio
    drwxr-xr-x  4 root root    4096 Nov 16 13:14 security
    drwxr-xr-x  3 root root    4096 Nov 17 04:50 udev

    ls -la /lib64 2>&1
    Code:
    total 22316
    drwxr-xr-x  8 root root    4096 Mar  8 11:05 .
    drwxr-xr-x 27 root root    4096 Mar  6 04:37 ..
    drwxr-xr-x  2 root root    4096 Mar  8 11:05 bdevid
    drwxr-xr-x  2 root root    4096 Nov 17 04:50 dbus-1
    drwxr-xr-x  2 root root    4096 Mar  8 11:05 device-mapper
    drwxr-xr-x  2 root root    4096 May 13  2010 iptables
    -rwxr-xr-x  1 root root  141440 Feb 14 05:55 ld-2.5.so
    lrwxrwxrwx  1 root root       9 Mar  8 11:04 ld-linux-x86-64.so.2 -> ld-2.5.so
    lrwxrwxrwx  1 root root      20 Jan  8  2009 ld-lsb-x86-64.so -> ld-linux-x86-64.so.2
    lrwxrwxrwx  1 root root      15 Jun  1  2010 libacl.so.1 -> libacl.so.1.1.0
    -rwxr-xr-x  1 root root   27920 Jan 27  2010 libacl.so.1.1.0
    -rwxr-xr-x  1 root root   20064 Feb 14 05:55 libanl-2.5.so
    lrwxrwxrwx  1 root root      13 Mar  8 11:04 libanl.so.1 -> libanl-2.5.so
    lrwxrwxrwx  1 root root      18 Oct 23  2009 libasound.so.2 -> libasound.so.2.0.0
    -rwxr-xr-x  1 root root  907552 Jan 21  2009 libasound.so.2.0.0
    lrwxrwxrwx  1 root root      16 Aug 26  2008 libattr.so.1 -> libattr.so.1.1.0
    -rwxr-xr-x  1 root root   17888 Jan  6  2007 libattr.so.1.1.0
    lrwxrwxrwx  1 root root      17 Nov 16 13:12 libaudit.so.0 -> libaudit.so.0.0.0
    -rwxr-xr-x  1 root root   98920 Mar  6  2011 libaudit.so.0.0.0
    lrwxrwxrwx  1 root root      19 Nov 16 13:12 libauparse.so.0 -> libauparse.so.0.0.0
    -rwxr-xr-x  1 root root   58096 Mar  6  2011 libauparse.so.0.0.0
    lrwxrwxrwx  1 root root      15 Nov 16 13:12 libblkid.so.1 -> libblkid.so.1.0
    -rwxr-xr-x  1 root root   43808 Jul 22  2011 libblkid.so.1.0
    -rwxr-xr-x  1 root root    8904 Feb 14 05:55 libBrokenLocale-2.5.so
    lrwxrwxrwx  1 root root      22 Mar  8 11:04 libBrokenLocale.so.1 -> libBrokenLocale-2.5.so
    -rwxr-xr-x  1 root root 1716720 Feb 14 05:55 libc-2.5.so
    lrwxrwxrwx  1 root root      14 Aug 26  2008 libcap.so.1 -> libcap.so.1.10
    -rwxr-xr-x  1 root root   17384 Mar 15  2007 libcap.so.1.10
    -rwxr-xr-x  1 root root  197744 Feb 14 05:55 libcidn-2.5.so
    lrwxrwxrwx  1 root root      14 Mar  8 11:04 libcidn.so.1 -> libcidn-2.5.so
    lrwxrwxrwx  1 root root      17 Nov 16 13:12 libcom_err.so.2 -> libcom_err.so.2.1
    -rwxr-xr-x  1 root root   10096 Jul 22  2011 libcom_err.so.2.1
    -rwxr-xr-x  1 root root   45728 Feb 14 05:55 libcrypt-2.5.so
    -rwxr-xr-x  1 root root 1363984 Feb  7 18:49 libcrypto.so.0.9.8e
    -rw-r--r--  1 root root      65 Feb  7 18:49 .libcrypto.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      19 Mar  8 11:04 libcrypto.so.6 -> libcrypto.so.0.9.8e
    lrwxrwxrwx  1 root root      25 Mar  8 11:04 .libcrypto.so.6.hmac -> .libcrypto.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      15 Mar  8 11:04 libcrypt.so.1 -> libcrypt-2.5.so
    lrwxrwxrwx  1 root root      11 Mar  8 11:04 libc.so.6 -> libc-2.5.so
    -rwxr-xr-x  1 root root 1008656 Jul 13  2010 libdb-4.3.so
    lrwxrwxrwx  1 root root      18 Nov 16 13:15 libdbus-1.so.3 -> libdbus-1.so.3.4.0
    -rwxr-xr-x  1 root root  243280 Aug 12  2011 libdbus-1.so.3.4.0
    -r--r--r--  1 root root  678938 Jul 22  2011 libdevmapper.a
    -r--r--r--  1 root root   61830 Jul 22  2011 libdevmapper-event.a
    lrwxrwxrwx  1 root root      46 Mar  8 11:05 libdevmapper-event-lvm2mirror.so -> device-mapper/libdevmapper-event-lvm2mirror.so
    lrwxrwxrwx  1 root root      48 Mar  8 11:05 libdevmapper-event-lvm2snapshot.so -> device-mapper/libdevmapper-event-lvm2snapshot.so
    lrwxrwxrwx  1 root root      31 Mar  8 11:05 libdevmapper-event-lvm2.so -> libdevmapper-event-lvm2.so.2.02
    -r-xr-xr-x  1 root root    6704 Jan 24 22:33 libdevmapper-event-lvm2.so.2.02
    lrwxrwxrwx  1 root root      26 Nov 16 13:12 libdevmapper-event.so -> libdevmapper-event.so.1.02
    -r-xr-xr-x  1 root root   21608 Jul 22  2011 libdevmapper-event.so.1.02
    lrwxrwxrwx  1 root root      20 Nov 16 13:12 libdevmapper.so -> libdevmapper.so.1.02
    -r-xr-xr-x  1 root root  146256 Jul 22  2011 libdevmapper.so.1.02
    -rwxr-xr-x  1 root root   20424 Feb 14 05:55 libdl-2.5.so
    lrwxrwxrwx  1 root root      12 Mar  8 11:04 libdl.so.2 -> libdl-2.5.so
    lrwxrwxrwx  1 root root      34 Nov 16 13:15 libdmraid-events-isw.so -> libdmraid-events-isw.so.1.0.0.rc13
    -rwxr-xr-x  1 root root   22256 Jul 22  2011 libdmraid-events-isw.so.1.0.0.rc13
    -r-xr-xr-x  1 root root   22256 Jul 22  2011 libdmraid-events-isw.so.1.0.0.rc13-17
    lrwxrwxrwx  1 root root      23 Nov 16 13:15 libdmraid.so -> libdmraid.so.1.0.0.rc13
    -rwxr-xr-x  1 root root  212736 Jul 22  2011 libdmraid.so.1.0.0.rc13
    -r-xr-xr-x  1 root root  215256 Jul 22  2011 libdmraid.so.1.0.0.rc13-17
    lrwxrwxrwx  1 root root      13 Nov 16 13:12 libe2p.so.2 -> libe2p.so.2.3
    -rwxr-xr-x  1 root root   26424 Jul 22  2011 libe2p.so.2.3
    lrwxrwxrwx  1 root root      17 Sep 30  2010 libexpat.so.0 -> libexpat.so.0.5.0
    -rwxr-xr-x  1 root root  143144 Sep  7  2010 libexpat.so.0.5.0
    lrwxrwxrwx  1 root root      16 Nov 16 13:12 libext2fs.so.2 -> libext2fs.so.2.4
    -rwxr-xr-x  1 root root  122296 Jul 22  2011 libext2fs.so.2.4
    -rwxr-xr-x  1 root root   58400 Jul 22  2011 libgcc_s-4.1.2-20080825.so.1
    lrwxrwxrwx  1 root root      28 Nov 16 13:11 libgcc_s.so.1 -> libgcc_s-4.1.2-20080825.so.1
    lrwxrwxrwx  1 root root      23 Oct 23  2009 libglib-2.0.so.0 -> libglib-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root  647608 Mar 25  2009 libglib-2.0.so.0.1200.3
    lrwxrwxrwx  1 root root      26 Oct 23  2009 libgmodule-2.0.so.0 -> libgmodule-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root   13520 Mar 25  2009 libgmodule-2.0.so.0.1200.3
    lrwxrwxrwx  1 root root      26 Oct 23  2009 libgobject-2.0.so.0 -> libgobject-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root  262904 Mar 25  2009 libgobject-2.0.so.0.1200.3
    lrwxrwxrwx  1 root root      26 Oct 23  2009 libgthread-2.0.so.0 -> libgthread-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root   19176 Mar 25  2009 libgthread-2.0.so.0.1200.3
    -rwxr-xr-x  1 root root   31576 Mar 15  2007 libiw.so.28
    -rwxr-xr-x  1 root root    9472 Jan  6  2007 libkeyutils-1.2.so
    lrwxrwxrwx  1 root root      18 Aug 26  2008 libkeyutils.so.1 -> libkeyutils-1.2.so
    -r--r--r--  1 root root 5378492 Jan 24 22:33 liblvm2cmd.a
    lrwxrwxrwx  1 root root      18 Mar  8 11:05 liblvm2cmd.so -> liblvm2cmd.so.2.02
    -r-xr-xr-x  1 root root  756024 Jan 24 22:33 liblvm2cmd.so.2.02
    -rwxr-xr-x  1 root root  611880 Feb 14 05:55 libm-2.5.so
    lrwxrwxrwx  1 root root      11 Mar  8 11:04 libm.so.6 -> libm-2.5.so
    -rwxr-xr-x  1 root root  111480 Feb 14 05:55 libnsl-2.5.so
    lrwxrwxrwx  1 root root      13 Mar  8 11:04 libnsl.so.1 -> libnsl-2.5.so
    -rwxr-xr-x  1 root root   43040 Feb 14 05:55 libnss_compat-2.5.so
    lrwxrwxrwx  1 root root      20 Mar  8 11:04 libnss_compat.so.2 -> libnss_compat-2.5.so
    -rwxr-xr-x  1 root root  791488 May 13  2010 libnss_db-2.2.so
    lrwxrwxrwx  1 root root      16 Jun  1  2010 libnss_db.so.2 -> libnss_db-2.2.so
    -rwxr-xr-x  1 root root   23736 Feb 14 05:55 libnss_dns-2.5.so
    lrwxrwxrwx  1 root root      17 Mar  8 11:04 libnss_dns.so.2 -> libnss_dns-2.5.so
    -rwxr-xr-x  1 root root   53880 Feb 14 05:55 libnss_files-2.5.so
    lrwxrwxrwx  1 root root      19 Mar  8 11:04 libnss_files.so.2 -> libnss_files-2.5.so
    -rwxr-xr-x  1 root root   24736 Feb 14 05:55 libnss_hesiod-2.5.so
    lrwxrwxrwx  1 root root      20 Mar  8 11:04 libnss_hesiod.so.2 -> libnss_hesiod-2.5.so
    -rwxr-xr-x  1 root root 3174608 Oct 31 21:18 libnss_ldap-2.5.so
    lrwxrwxrwx  1 root root      18 Nov 16 13:14 libnss_ldap.so.2 -> libnss_ldap-2.5.so
    -rwxr-xr-x  1 root root   53432 Feb 14 05:55 libnss_nis-2.5.so
    -rwxr-xr-x  1 root root   62944 Feb 14 05:55 libnss_nisplus-2.5.so
    lrwxrwxrwx  1 root root      21 Mar  8 11:04 libnss_nisplus.so.2 -> libnss_nisplus-2.5.so
    lrwxrwxrwx  1 root root      17 Mar  8 11:04 libnss_nis.so.2 -> libnss_nis-2.5.so
    -rwxr-xr-x  1 root root   20720 Aug 30  2011 libnss_winbind.so.2
    -rwxr-xr-x  1 root root 1012008 Aug 30  2011 libnss_wins.so.2
    lrwxrwxrwx  1 root root      17 Jan  3  2011 libpamc.so.0 -> libpamc.so.0.81.0
    -rwxr-xr-x  1 root root   11264 Nov  2  2010 libpamc.so.0.81.0
    lrwxrwxrwx  1 root root      21 Jan  3  2011 libpam_misc.so.0 -> libpam_misc.so.0.81.2
    -rwxr-xr-x  1 root root   13456 Nov  2  2010 libpam_misc.so.0.81.2
    lrwxrwxrwx  1 root root      16 Jan  3  2011 libpam.so.0 -> libpam.so.0.81.5
    -rwxr-xr-x  1 root root   46800 Nov  2  2010 libpam.so.0.81.5
    lrwxrwxrwx  1 root root      16 Nov 16 13:12 libpcre.so.0 -> libpcre.so.0.0.1
    -rwxr-xr-x  1 root root  129984 Mar 31  2011 libpcre.so.0.0.1
    -rwxr-xr-x  1 root root   61248 Apr 28  2011 libproc-3.2.7.so
    -rwxr-xr-x  1 root root  142696 Feb 14 05:55 libpthread-2.5.so
    lrwxrwxrwx  1 root root      17 Mar  8 11:04 libpthread.so.0 -> libpthread-2.5.so
    -rwxr-xr-x  1 root root   89800 Feb 14 05:55 libresolv-2.5.so
    lrwxrwxrwx  1 root root      16 Mar  8 11:04 libresolv.so.2 -> libresolv-2.5.so
    -rwxr-xr-x  1 root root   50288 Feb 14 05:55 librt-2.5.so
    lrwxrwxrwx  1 root root      12 Mar  8 11:04 librt.so.1 -> librt-2.5.so
    -rwxr-xr-x  1 root root   22336 Feb 14 05:55 libSegFault.so
    -rwxr-xr-x  1 root root   95464 Mar  6  2011 libselinux.so.1
    -rwxr-xr-x  1 root root  159592 Sep  4  2009 libsemanage.so.1
    -rwxr-xr-x  1 root root  247496 Mar 31  2010 libsepol.so.1
    -rwxr-xr-x  1 root root  312392 Feb  7 18:49 libssl.so.0.9.8e
    -rw-r--r--  1 root root      65 Feb  7 18:49 .libssl.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      16 Mar  8 11:04 libssl.so.6 -> libssl.so.0.9.8e
    lrwxrwxrwx  1 root root      22 Mar  8 11:04 .libssl.so.6.hmac -> .libssl.so.0.9.8e.hmac
    lrwxrwxrwx  1 root root      12 Nov 16 13:12 libss.so.2 -> libss.so.2.0
    -rwxr-xr-x  1 root root   26688 Jul 22  2011 libss.so.2.0
    lrwxrwxrwx  1 root root      19 Aug 26  2008 libtermcap.so.2 -> libtermcap.so.2.0.8
    -rwxr-xr-x  1 root root   15584 Jan  7  2007 libtermcap.so.2.0.8
    -rwxr-xr-x  1 root root   36200 Feb 14 05:55 libthread_db-1.0.so
    lrwxrwxrwx  1 root root      19 Mar  8 11:04 libthread_db.so.1 -> libthread_db-1.0.so
    -rwxr-xr-x  1 root root   15280 Feb 14 05:55 libutil-2.5.so
    lrwxrwxrwx  1 root root      14 Mar  8 11:04 libutil.so.1 -> libutil-2.5.so
    lrwxrwxrwx  1 root root      14 Nov 16 13:12 libuuid.so.1 -> libuuid.so.1.2
    -rwxr-xr-x  1 root root   17936 Jul 22  2011 libuuid.so.1.2
    lrwxrwxrwx  1 root root      22 Nov 16 13:12 libvolume_id.so.0 -> libvolume_id.so.0.66.0
    -rwxr-xr-x  1 root root   33792 Nov 14 18:43 libvolume_id.so.0.66.0
    lrwxrwxrwx  1 root root      16 Oct 23  2009 libwrap.so.0 -> libwrap.so.0.7.6
    -rwxr-xr-x  1 root root   37368 Sep 22  2009 libwrap.so.0.7.6
    lrwxrwxrwx  1 root root      13 Nov 16 13:14 libz.so -> libz.so.1.2.3
    lrwxrwxrwx  1 root root      13 Nov 16 13:12 libz.so.1 -> libz.so.1.2.3
    -rwxr-xr-x  1 root root   85544 May 11  2011 libz.so.1.2.3
    drwxr-xr-x  2 root root    4096 Mar  8 11:04 rtkaio
    drwxr-xr-x  4 root root    4096 Nov 17 04:50 security

    Uname -a
    Code:
    Linux mforum.cari.com.my 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64

    Пытался пробить этим:
    http://www.exploit-db.com/exploits/15024/

    gcc ABftw.c -m32 -o exploit
    Code:
    In file included from /usr/include/features.h:352,
                     from /usr/include/sys/poll.h:23,
                     from /usr/include/poll.h:1,
                     from ABftw.c:42:
    /usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
    /usr/include/gnu/
    Code:
    lib-names.h
    libc-version.h
    stubs-64.h
    stubs.h
    реально ли рутнуть? Очень нужно. Зарание спасибо!
     
    #255 Pirotexnik, 8 Mar 2012
    Last edited: 8 Mar 2012
  16. Expl0ited

    Expl0ited Members of Antichat

    Joined:
    16 Jul 2010
    Messages:
    1,035
    Likes Received:
    534
    Reputations:
    935
    асидбитчез должен взять
     
    _________________________
  17. Pirotexnik

    Pirotexnik Member

    Joined:
    13 Oct 2010
    Messages:
    376
    Likes Received:
    73
    Reputations:
    38
    Дак это он и был! Его ошибка снизу.
    На рдоте такой тред был, тоже самое. Но как вылечили ошибки (самую последнюю) не скзали.
    там лежит stubs-64.h
     
  18. Pashkela

    Pashkela Динозавр

    Joined:
    10 Jan 2008
    Messages:
    2,750
    Likes Received:
    1,044
    Reputations:
    339
    https://rdot.org/forum/showthread.php?t=817&page=3

    https://rdot.org/forum/attachment.php?attachmentid=173&d=1317225254

    -> glibc_nondebian.sh

    если mount правильный, то сплойт запускать из /tmp или /var/tmp(здесь больше шансов).

    Если нужно найти writeable диру в нужном разделе:

    find /тут_путь_откуда_начинать_искать/ -perm -a+w -type d -ls

    PS: при отсутствии gcc и прочих бинарников их можно загрузить с ОС, где стоит равноценный glibc по версии
     
    #258 Pashkela, 9 Mar 2012
    Last edited: 9 Mar 2012
    1 person likes this.
  19. aydin-ka

    aydin-ka Elder - Старейшина

    Joined:
    3 May 2009
    Messages:
    316
    Likes Received:
    98
    Reputations:
    29
    Нужна помощь :(
    uname -a
    ls -la /boot
    ls -la --full-time /lib/lib*
    df -h
    Пользуюсь этим

    Скачал и скомпилировал...все ок. Запускаю пишет Permission denied.
    P.S: делал chmod
     
    #259 aydin-ka, 11 Mar 2012
    Last edited: 11 Mar 2012
  20. Га-Ноцри

    Га-Ноцри Elder - Старейшина

    Joined:
    16 Oct 2011
    Messages:
    329
    Likes Received:
    177
    Reputations:
    76
    Добрый вечер. Вот такие расклады. Есть ли решения?

    $ uname -a

    FreeBSD 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sun Jul 25 23:33:02 UTC 2010 amd64

    $ ls -la /boot

    total 2004
    drwxr-xr-x 7 root wheel 1024 Feb 18 2011 .
    drwxr-xr-x 19 root wheel 512 Jul 27 2011 ..
    -r--r--r-- 1 root wheel 7647 Jul 19 2010 beastie.4th
    -r--r--r-- 1 root wheel 8192 Jul 19 2010 boot
    -r--r--r-- 1 root wheel 512 Jul 19 2010 boot0
    -r--r--r-- 1 root wheel 512 Jul 19 2010 boot0sio
    -r--r--r-- 1 root wheel 512 Jul 19 2010 boot1
    -r--r--r-- 1 root wheel 7680 Jul 19 2010 boot2
    -r--r--r-- 1 root wheel 1201 Jul 19 2010 cdboot
    drwxr-xr-x 2 root wheel 512 Jul 19 2010 defaults
    -r--r--r-- 1 root wheel 703 Jul 19 2010 device.hints
    drwxr-xr-x 2 root wheel 512 Jul 19 2010 firmware
    -r--r--r-- 1 root wheel 2262 Jul 19 2010 frames.4th
    -r--r--r-- 1 root wheel 7535 Jul 19 2010 gptboot
    -r--r--r-- 1 root wheel 26895 Jul 19 2010 gptzfsboot
    drwxr-xr-x 2 root wheel 29184 Feb 18 2011 kernel
    -r-xr-xr-x 1 root wheel 233472 Jul 19 2010 loader
    -r--r--r-- 1 root wheel 5865 Jul 19 2010 loader.4th
    -rw-r--r-- 1 root wheel 35 Feb 18 2011 loader.conf
    -r--r--r-- 1 root wheel 15219 Jul 19 2010 loader.help
    -r--r--r-- 1 root wheel 396 Jul 19 2010 loader.rc
    -r--r--r-- 1 root wheel 512 Jul 19 2010 mbr
    drwxr-xr-x 2 root wheel 512 Jul 19 2010 modules
    -r--r--r-- 1 root wheel 512 Jul 19 2010 pmbr
    -r--r--r-- 1 root wheel 235520 Jul 19 2010 pxeboot
    -r--r--r-- 1 root wheel 703 Jul 19 2010 screen.4th
    -r--r--r-- 1 root wheel 35136 Jul 19 2010 support.4th
    drwxr-xr-x 2 root wheel 512 Jul 19 2010 zfs
    -r--r--r-- 1 root wheel 33280 Jul 19 2010 zfsboot
    -r-xr-xr-x 1 root wheel 253952 Jul 19 2010 zfsloader

    ls -la /lib/lib*

    -r--r--r-- 1 root wheel 47896 Jul 19 2010 /lib/libalias.so.7
    -r--r--r-- 1 root wheel 7432 Jul 19 2010 /lib/libalias_cuseeme.so
    -r--r--r-- 1 root wheel 5840 Jul 19 2010 /lib/libalias_dummy.so
    -r--r--r-- 1 root wheel 11584 Jul 19 2010 /lib/libalias_ftp.so
    -r--r--r-- 1 root wheel 8936 Jul 19 2010 /lib/libalias_irc.so
    -r--r--r-- 1 root wheel 8256 Jul 19 2010 /lib/libalias_nbt.so
    -r--r--r-- 1 root wheel 8896 Jul 19 2010 /lib/libalias_pptp.so
    -r--r--r-- 1 root wheel 7280 Jul 19 2010 /lib/libalias_skinny.so
    -r--r--r-- 1 root wheel 10112 Jul 19 2010 /lib/libalias_smedia.so
    -r--r--r-- 1 root wheel 8656 Jul 19 2010 /lib/libavl.so.2
    -r--r--r-- 1 root wheel 12944 Jul 19 2010 /lib/libbegemot.so.4
    -r--r--r-- 1 root wheel 143320 Jul 19 2010 /lib/libbsdxml.so.4
    -r--r--r-- 1 root wheel 57992 Jul 19 2010 /lib/libbsnmp.so.5
    -r--r--r-- 1 root wheel 1270640 Jul 19 2010 /lib/libc.so.7
    -r--r--r-- 1 root wheel 114032 Jul 19 2010 /lib/libcam.so.5
    -r--r--r-- 1 root wheel 33600 Jul 19 2010 /lib/libcrypt.so.5
    -r--r--r-- 1 root wheel 1689248 Jul 19 2010 /lib/libcrypto.so.6
    -r--r--r-- 1 root wheel 53800 Jul 19 2010 /lib/libctf.so.2
    -r--r--r-- 1 root wheel 19720 Jul 19 2010 /lib/libdevstat.so.7
    -r--r--r-- 1 root wheel 472808 Jul 19 2010 /lib/libdtrace.so.2
    -r--r--r-- 1 root wheel 109352 Jul 19 2010 /lib/libedit.so.7
    -r--r--r-- 1 root wheel 56992 Jul 19 2010 /lib/libgcc_s.so.1
    -r--r--r-- 1 root wheel 20760 Jul 19 2010 /lib/libgeom.so.5
    -r--r--r-- 1 root wheel 29344 Jul 19 2010 /lib/libipsec.so.4
    -r--r--r-- 1 root wheel 8000 Jul 19 2010 /lib/libipx.so.5
    -r--r--r-- 1 root wheel 20064 Jul 19 2010 /lib/libjail.so.1
    -r--r--r-- 1 root wheel 13136 Jul 19 2010 /lib/libkiconv.so.4
    -r--r--r-- 1 root wheel 35264 Jul 19 2010 /lib/libkvm.so.5
    -r--r--r-- 1 root wheel 150656 Jul 19 2010 /lib/libm.so.5
    -r--r--r-- 1 root wheel 56272 Jul 19 2010 /lib/libmd.so.5
    -r--r--r-- 1 root wheel 315016 Jul 19 2010 /lib/libncurses.so.8
    -r--r--r-- 1 root wheel 369504 Jul 19 2010 /lib/libncursesw.so.8
    -r--r--r-- 1 root wheel 38696 Jul 19 2010 /lib/libnvpair.so.2
    -r--r--r-- 1 root wheel 197152 Jul 19 2010 /lib/libpcap.so.7
    -r--r--r-- 1 root wheel 252928 Jul 19 2010 /lib/libreadline.so.8
    -r--r--r-- 1 root wheel 8344 Jul 19 2010 /lib/libsbuf.so.5
    -r--r--r-- 1 root wheel 9848 Jul 19 2010 /lib/libssp.so.0
    -r--r--r-- 1 root wheel 90896 Jul 19 2010 /lib/libthr.so.3
    -r--r--r-- 1 root wheel 11840 Jul 19 2010 /lib/libufs.so.5
    -r--r--r-- 1 root wheel 6816 Jul 19 2010 /lib/libumem.so.2
    -r--r--r-- 1 root wheel 64952 Jul 19 2010 /lib/libutil.so.8
    -r--r--r-- 1 root wheel 38128 Jul 19 2010 /lib/libuutil.so.2
    -r--r--r-- 1 root wheel 84848 Jul 19 2010 /lib/libz.so.5
    -r--r--r-- 1 root wheel 205184 Jul 19 2010 /lib/libzfs.so.2
    -r--r--r-- 1 root wheel 1003472 Jul 19 2010 /lib/libzpool.so.2

    $ mount

    /dev/ad6s1a on / (ufs, local, with quotas)
    devfs on /dev (devfs, local, multilabel)
    /dev/ad4s1d on /backup (ufs, local, with quotas, soft-updates)

    $ df -h

    Filesystem Size Used Avail Capacity Mounted on
    /dev/ad6s1a 447G 101G 310G 25% /
    devfs 1.0K 1.0K 0B 100% /dev
    /dev/ad4s1d 677G 504G 119G 81% /backup

    $ cat /etc/issue 2>&1

    cat: /etc/issue: No such file or directory

    $ cat /etc/crontab

    # /etc/crontab - root's crontab for FreeBSD
    #
    # $FreeBSD: src/etc/crontab,v 1.33.2.1.4.1 2010/06/14 02:09:06 kensmith Exp $
    #
    SHELL=/bin/sh
    PATH=/etc:/bin:/sbin:/usr/bin:/usr/sbin
    #
    #minute hour mday month wday who command
    #
    */5 * * * * root /usr/libexec/atrun
    #
    # Save some entropy so that /dev/random can re-seed on boot.
    */11 * * * * operator /usr/libexec/save-entropy
    #
    # Rotate log files every hour, if necessary.
    0 * * * * root newsyslog
    #
    # Perform daily/weekly/monthly maintenance.
    1 3 * * * root periodic daily
    15 4 * * 6 root periodic weekly
    30 5 1 * * root periodic monthly
    #
    # Adjust the time zone if the CMOS clock keeps local time, as opposed to
    # UTC time. See adjkerntz(8) for details.
    1,31 0-5 * * * root adjkerntz -a

    $ cat /proc/version 2>&1

    cat: /proc/version: No such file or directory

    $ cat /proc/sys/vm/mmap_min_addr 2>&1


    cat: /proc/sys/vm/mmap_min_addr: No such file or directory

    $ ls -la /usr/bin/staprun 2>&1

    ls: /usr/bin/staprun: No such file or directory

    Благодарю за внимание)