!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)

/var/www/html/manage_22222/webboard/   drwxr-xr-x
Free 52.62 GB of 127.8 GB (41.17%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     how2use_show10topic.txt (1.32 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
นำมาจากPHP - Ultimate Webboard 2.00
วิธีการให้โปรแกรม Show10.php สำหรับโปรแกรม 
ให้ทำการเรียกไฟล์ show10.php ในหน้าที่ต้องการให้แสดงดังนี้
เช่นหน้าแรกของเว็บเพจ ซึ่งต้องเป็นไฟล์แบบ php ด้วย
ดุตัวอย่างได้จาก exshow10.php
<?php include("./webboard/show10.php"); ?>

จากนั้นถ้าต้องการให้แสดงกระทู้ที่ส่วนใดของเพจให้ทำการเรียกดังนี้

<? showTop("php",10); ?>
ค่า "php" คือ ค่าของหมวดที่ต้องการให้แสดง
ค่า 5 คือ จำนวนกระทู้ที่ต้องการให้แสดง

ตัวอย่างจากเว็บ http://www.bio39.com/
ผมได้ทำการเรียกใช้ดังนี้
<table width="100%" border="0" cellspacing="1" cellpadding="4" bordercolor="#FFCCFF" bgcolor="#FFCCFF">
	<tr>
		<td align="center"><font color=blue size=3><b>10 อันดับกระทู้ล่าสุด</b></font></td>
	</tr>
	<tr>
		<td bgcolor="#FFFFFF" align="center"> 
		<?php include("show10.php"); 
			showTop("bio39",10);
		?>
		<div align="right"><a href="webboard/webboard.php?Category=bio39">ดูกระทู้ทั้งหมด</a> :: <a href="/webboard/postq.php?Category=bio39">ตั้งกระทู้ใหม่</a></div>
		</td>
	</tr>
</table>
----------------
หลักการก็คือ ให้ทำการ include ไฟล์ show10.php ไว้บนสุดของไฟล์นั้นๆ เช่น ไฟล์ index.php 

จากนั้นให้ทำการเรียกดังนี้
<?php showTop("bio39",10); ?>
// สำหรับ บอร์ดที่ 1
.
.
.
<?php 
showTop("DevCafe",10);
?>


สรุปก็คือให้ include แค่ครั้งเดียวครับ 
ทั้งหมดนี้นำมาจากเว็บ  PHP - Ultimate Webboard 2.00

:: 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.0054 ]--