!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/usr/bin/   drwxr-xr-x
Free 52.23 GB of 127.8 GB (40.87%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ecryptfs-rewrite-file (1.84 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /usr/bin/ecryptfs-rewrite-file
Size 1.84 KB
MD5 a2d334a86546cc43b46d56bb6d5fd2af
Owner/Group root/root
Perms-rwxr-xr-x
Create time 25/04/2011 18:11:18
Access time 31/07/2024 20:26:13
MODIFY time 04/09/2009 08:13:04

FULL HEXDUMP
00000000
00000018
00000030
00000048
00000060
00000078
00000090
000000A8
000000C0
000000D8
000000F0
00000108
00000120
00000138
00000150
00000168
00000180
00000198
000001B0
000001C8
000001E0
000001F8
00000210
00000228
00000240
00000258
00000270
00000288
000002A0
000002B8
000002D0
000002E8
00000300
00000318
00000330
00000348
00000360
00000378
00000390
000003A8
000003C0
000003D8
000003F0
00000408
00000420
00000438
00000450
00000468
00000480
00000498
000004B0
000004C8
000004E0
000004F8
00000510
00000528
00000540
00000558
00000570
00000588
000005A0
000005B8
000005D0
000005E8
00000600
00000618
00000630
00000648
00000660
00000678
00000690
000006A8
000006C0
000006D8
000006F0
00000708
00000720
00000738
00000750
23 21 2F 62 69 6E 2F 73 68 20 2D 65 0A 23 0A 23 20 20 20 20 65 63 72 79
70 74 66 73 2D 72 65 77 72 69 74 65 2D 66 69 6C 65 0A 23 20 20 20 20 43
6F 70 79 72 69 67 68 74 20 28 43 29 20 32 30 30 38 20 43 61 6E 6F 6E 69
63 61 6C 20 4C 74 64 2E 0A 23 0A 23 20 20 20 20 41 75 74 68 6F 72 73 3A
20 44 75 73 74 69 6E 20 4B 69 72 6B 6C 61 6E 64 20 3C 6B 69 72 6B 6C 61
6E 64 40 63 61 6E 6F 6E 69 63 61 6C 2E 63 6F 6D 3E 0A 23 0A 23 20 20 20
20 54 68 69 73 20 70 72 6F 67 72 61 6D 20 69 73 20 66 72 65 65 20 73 6F
66 74 77 61 72 65 3A 20 79 6F 75 20 63 61 6E 20 72 65 64 69 73 74 72 69
62 75 74 65 20 69 74 20 61 6E 64 2F 6F 72 20 6D 6F 64 69 66 79 0A 23 20
20 20 20 69 74 20 75 6E 64 65 72 20 74 68 65 20 74 65 72 6D 73 20 6F 66
20 74 68 65 20 47 4E 55 20 47 65 6E 65 72 61 6C 20 50 75 62 6C 69 63 20
4C 69 63 65 6E 73 65 20 61 73 20 70 75 62 6C 69 73 68 65 64 20 62 79 0A
23 20 20 20 20 74 68 65 20 46 72 65 65 20 53 6F 66 74 77 61 72 65 20 46
6F 75 6E 64 61 74 69 6F 6E 2C 20 76 65 72 73 69 6F 6E 20 32 20 6F 66 20
74 68 65 20 4C 69 63 65 6E 73 65 2E 0A 23 0A 23 20 20 20 20 54 68 69 73
20 70 72 6F 67 72 61 6D 20 69 73 20 64 69 73 74 72 69 62 75 74 65 64 20
69 6E 20 74 68 65 20 68 6F 70 65 20 74 68 61 74 20 69 74 20 77 69 6C 6C
20 62 65 20 75 73 65 66 75 6C 2C 0A 23 20 20 20 20 62 75 74 20 57 49 54
48 4F 55 54 20 41 4E 59 20 57 41 52 52 41 4E 54 59 3B 20 77 69 74 68 6F
75 74 20 65 76 65 6E 20 74 68 65 20 69 6D 70 6C 69 65 64 20 77 61 72 72
61 6E 74 79 20 6F 66 0A 23 20 20 20 20 4D 45 52 43 48 41 4E 54 41 42 49
4C 49 54 59 20 6F 72 20 46 49 54 4E 45 53 53 20 46 4F 52 20 41 20 50 41
52 54 49 43 55 4C 41 52 20 50 55 52 50 4F 53 45 2E 20 20 53 65 65 20 74
68 65 0A 23 20 20 20 20 47 4E 55 20 47 65 6E 65 72 61 6C 20 50 75 62 6C
69 63 20 4C 69 63 65 6E 73 65 20 66 6F 72 20 6D 6F 72 65 20 64 65 74 61
69 6C 73 2E 0A 23 0A 23 20 20 20 20 59 6F 75 20 73 68 6F 75 6C 64 20 68
61 76 65 20 72 65 63 65 69 76 65 64 20 61 20 63 6F 70 79 20 6F 66 20 74
68 65 20 47 4E 55 20 47 65 6E 65 72 61 6C 20 50 75 62 6C 69 63 20 4C 69
63 65 6E 73 65 0A 23 20 20 20 20 61 6C 6F 6E 67 20 77 69 74 68 20 74 68
69 73 20 70 72 6F 67 72 61 6D 2E 20 20 49 66 20 6E 6F 74 2C 20 73 65 65
20 3C 68 74 74 70 3A 2F 2F 77 77 77 2E 67 6E 75 2E 6F 72 67 2F 6C 69 63
65 6E 73 65 73 2F 3E 2E 0A 0A 65 72 72 6F 72 28 29 20 7B 0A 09 65 63 68
6F 20 22 5B 46 41 49 4C 45 44 5D 22 0A 09 65 63 68 6F 20 22 45 52 52 4F
52 3A 20 24 31 22 20 31 3E 26 32 0A 7D 0A 6A 3D 30 0A 4F 4B 73 3D 30 0A
66 6F 72 20 69 20 69 6E 20 22 24 40 22 3B 20 64 6F 0A 09 6A 3D 60 65 78
70 72 20 24 6A 20 2B 20 31 60 0A 09 65 63 68 6F 20 2D 6E 20 22 49 4E 46
4F 3A 20 52 65 77 72 69 74 69 6E 67 20 5B 24 6A 2F 24 23 5D 20 5B 24 69
5D 20 2E 2E 2E 20 22 0A 09 69 66 20 5B 20 21 20 2D 65 20 22 24 69 22 20
5D 20 3B 20 74 68 65 6E 0A 09 09 65 72 72 6F 72 20 22 46 69 6C 65 20 64
6F 65 73 20 6E 6F 74 20 65 78 69 73 74 73 22 0A 09 09 63 6F 6E 74 69 6E
75 65 0A 09 66 69 0A 09 69 66 20 5B 20 22 24 69 22 20 3D 20 22 2E 22 20
5D 3B 20 74 68 65 6E 0A 09 09 65 63 68 6F 20 22 5B 45 58 43 4C 55 44 45
44 5D 22 20 3E 26 32 0A 09 09 63 6F 6E 74 69 6E 75 65 0A 09 66 69 0A 09
6F 70 74 3D 0A 09 69 66 20 5B 20 2D 64 20 22 24 69 22 20 2D 61 20 21 20
2D 68 20 22 24 69 22 20 5D 3B 20 74 68 65 6E 0A 09 09 23 20 41 20 64 69
72 65 63 74 6F 72 79 2C 20 72 65 2D 65 6E 63 72 79 70 74 20 74 68 65 20
66 69 6C 65 6E 61 6D 65 0A 09 09 74 65 6D 70 31 3D 60 6D 6B 74 65 6D 70
20 2D 64 20 22 24 69 22 2E 58 58 58 58 58 58 58 58 58 58 60 20 7C 7C 20
7B 0A 09 09 09 65 72 72 6F 72 20 22 43 6F 75 6C 64 20 6E 6F 74 20 63 72
65 61 74 65 20 74 65 6D 70 64 69 72 22 0A 09 09 09 63 6F 6E 74 69 6E 75
65 0A 09 09 7D 0A 09 09 6D 76 20 2D 66 20 2D 54 20 22 24 69 22 20 22 24
74 65 6D 70 31 22 20 32 3E 2F 64 65 76 2F 6E 75 6C 6C 20 20 7C 7C 20 7B
0A 09 09 09 65 72 72 6F 72 20 22 43 6F 75 6C 64 20 6E 6F 74 20 72 65 6E
61 6D 65 20 5B 24 69 5D 20 74 6F 20 5B 24 74 65 6D 70 31 5D 22 0A 09 09
09 72 6D 64 69 72 20 22 24 74 65 6D 70 31 22 0A 09 09 09 63 6F 6E 74 69
6E 75 65 0A 09 09 7D 0A 09 09 6D 76 20 2D 66 20 22 24 74 65 6D 70 31 22
20 22 24 69 22 20 32 3E 2F 64 65 76 2F 6E 75 6C 6C 20 7C 7C 20 7B 0A 09
09 09 65 72 72 6F 72 20 22 43 6F 75 6C 64 20 6E 6F 74 20 72 65 6E 61 6D
65 20 5B 24 74 65 6D 70 31 5D 20 74 6F 20 5B 24 69 5D 22 0A 09 09 7D 0A
09 65 6C 73 65 0A 09 09 23 20 41 20 66 69 6C 65 20 6F 72 20 73 79 6D 6C
69 6E 6B 2C 20 72 65 2D 65 6E 63 72 79 70 74 20 74 68 65 20 63 6F 6E 74
65 6E 74 73 0A 09 09 74 65 6D 70 31 3D 60 6D 6B 74 65 6D 70 20 22 24 69
22 2E 58 58 58 58 58 58 58 58 58 58 60 20 7C 7C 20 7B 0A 09 09 09 65 72
72 6F 72 20 22 43 6F 75 6C 64 20 6E 6F 74 20 63 72 65 61 74 65 20 74 65
6D 70 66 69 6C 65 22 0A 09 09 09 63 6F 6E 74 69 6E 75 65 0A 09 09 7D 0A
09 09 63 70 20 2D 61 20 22 24 69 22 20 22 24 74 65 6D 70 31 22 20 32 3E
2F 64 65 76 2F 6E 75 6C 6C 20 7C 7C 20 7B 0A 09 09 09 65 72 72 6F 72 20
22 43 6F 75 6C 64 20 6E 6F 74 20 63 6F 70 79 20 5B 24 69 5D 20 74 6F 20
5B 24 74 65 6D 70 31 5D 22 0A 09 09 09 72 6D 20 2D 66 20 22 24 74 65 6D
70 31 22 0A 09 09 09 63 6F 6E 74 69 6E 75 65 0A 09 09 7D 0A 09 09 6D 76
20 2D 66 20 22 24 74 65 6D 70 31 22 20 22 24 69 22 20 32 3E 2F 64 65 76
2F 6E 75 6C 6C 20 7C 7C 20 7B 0A 09 09 09 65 72 72 6F 72 20 22 43 6F 75
6C 64 20 6E 6F 74 20 72 65 6E 61 6D 65 20 5B 24 74 65 6D 70 31 5D 20 74
6F 20 5B 24 69 5D 22 0A 09 09 09 63 6F 6E 74 69 6E 75 65 0A 09 09 7D 0A
09 66 69 0A 09 65 63 68 6F 20 22 5B 4F 4B 5D 22 0A 09 4F 4B 73 3D 24 28
28 4F 4B 73 2B 31 29 29 0A 64 6F 6E 65 0A 65 63 68 6F 20 22 24 4F 4B 73
2F 24 6A 20 72 65 77 72 69 74 65 73 20 73 75 63 63 65 65 64 65 64 22 0A
5B 20 24 4F 4B 73 20 2D 6E 65 20 24 6A 20 5D 20 26 26 20 65 78 69 74 20
31 0A 65 78 69 74 20 30 0A
#!/bin/sh -e # #    ecry
ptfs-rewrite-file #    C
opyright (C) 2008 Canoni
cal Ltd. # #    Authors:
 Dustin Kirkland <kirkla
nd@canonical.com> # #   
 This program is free so
ftware: you can redistri
bute it and/or modify # 
   it under the terms of
 the GNU General Public 
License as published by 
#    the Free Software F
oundation, version 2 of 
the License. # #    This
 program is distributed 
in the hope that it will
 be useful, #    but WIT
HOUT ANY WARRANTY; witho
ut even the implied warr
anty of #    MERCHANTABI
LITY or FITNESS FOR A PA
RTICULAR PURPOSE.  See t
he #    GNU General Publ
ic License for more deta
ils. # #    You should h
ave received a copy of t
he GNU General Public Li
cense #    along with th
is program.  If not, see
 <http://www.gnu.org/lic
enses/>.  error() {  ech
o "[FAILED]"  echo "ERRO
R: $1" 1>&2 } j=0 OKs=0 
for i in "$@"; do  j=`ex
pr $j + 1`  echo -n "INF
O: Rewriting [$j/$#] [$i
] ... "  if [ ! -e "$i" 
] ; then  error "File d
oes not exists"  contin
ue  fi  if [ "$i" = "." 
]; then  echo "[EXCLUDE
D]" >&2  continue  fi 
opt=  if [ -d "$i" -a ! 
-h "$i" ]; then  # A di
rectory, re-encrypt the 
filename  temp1=`mktemp
 -d "$i".XXXXXXXXXX` || 
{  error "Could not cr
eate tempdir"  continu
e  }  mv -f -T "$i" "$
temp1" 2>/dev/null  || {
  error "Could not ren
ame [$i] to [$temp1]" 
rmdir "$temp1"  conti
nue  }  mv -f "$temp1"
 "$i" 2>/dev/null || { 
error "Could not renam
e [$temp1] to [$i]"  } 
else  # A file or syml
ink, re-encrypt the cont
ents  temp1=`mktemp "$i
".XXXXXXXXXX` || {  er
ror "Could not create te
mpfile"  continue  } 
cp -a "$i" "$temp1" 2>
/dev/null || {  error 
"Could not copy [$i] to 
[$temp1]"  rm -f "$tem
p1"  continue  }  mv
 -f "$temp1" "$i" 2>/dev
/null || {  error "Cou
ld not rename [$temp1] t
o [$i]"  continue  } 
fi  echo "[OK]"  OKs=$(
(OKs+1)) done echo "$OKs
/$j rewrites succeeded" 
[ $OKs -ne $j ] && exit 
1 exit 0 

HEXDUMP: [Full] [Preview]
Base64:
[Encode [+chunk [+chunk+quotes [Decode


:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0127 ]--