ANTICHAT

ANTICHAT (https://forum.antichat.io/index.php)
-   Болталка (https://forum.antichat.io/forumdisplay.php?f=46)
-   -   как залить shell (https://forum.antichat.io/showthread.php?t=114401)

Student :) 03.04.2009 22:03

как залить shell
 
привет всем!!!

нашол я на сайте скрипт на php уменьшающий картинку
:)

вот он
PHP код:

<?
 
// The file
$filename =$HTTP_GET_VARS['f'];
 
// Set a maximum height and width
$width =120 ; 
$height =70 ; 
 
// Content type
header ( 'Content-type: image/jpeg' ); 
// Get new dimensions
list( $width_orig , $height_orig ) = getimagesize ( $filename ); 
if ( 
$width && ( $width_orig < $height_orig )) { 
$width = ( $height / $height_orig ) * $width_orig ; 
} else { 
$height = ( $width / $width_orig ) * $height_orig ; 
} 
// Resample
$image_p = imagecreatetruecolor ( $width , $height ); 
$image = imagecreatefromjpeg ( $filename ); 
imagecopyresampled ( $image_p , $image , 0 , 0 , 0 , 0 , $width , $height , $width_orig , $height_orig ); 
// Output
imagejpeg ( $image_p , null , 100 ); 
?>

могу ли я через переменную $filename =$HTTP_GET_VARS['f'];

залить shell ?

-Hormold- 03.04.2009 22:21

Нет.

Student :) 03.04.2009 22:34

:(


Время: 16:57