403Webshell
Server IP : 127.0.0.1  /  Your IP : 192.168.99.1
Web Server : Apache/2.4.35 (Win64) OpenSSL/1.1.1b mod_fcgid/2.3.9
System : Windows NT WIN-JEJMB9EN0L0 10.0 build 14393 (Windows Server 2016) AMD64
User : Administrator ( 0)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /laragon/www/antrian/petugas/assets/html2pdf_v4.03/examples/res/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /laragon/www/antrian/petugas/assets/html2pdf_v4.03/examples/res/exemple09.png.php
<?php
    $px = isset($_GET['px']) ? $_GET['px'] : 0; $px = preg_replace('/[^0-9]/isU', '', $px);
    $py = isset($_GET['py']) ? $_GET['py'] : 0; $py = preg_replace('/[^0-9]/isU', '', $py);

    if ($px<1) $px = 5;
    if ($py<1) $py = 5;

    if ($px>20) $px = 20;
    if ($py>20) $py = 20;

    $width  = 100;
    $height = 100;
    $im = imagecreatetruecolor($width, $height);

    for ($y=0; $y<$height; $y+= $py) {
        for ($x=0; $x<$width; $x+= $px) {
            $c = imagecolorallocate($im, 200-$x, 100+$y, 100+$x-$y);
            imagefilledrectangle($im, $x, $y, $x+$px, $y+$py, $c);
        }
    }

    header("Content-type: image/png");
    imagepng($im);
    imagedestroy($im);

Youez - 2016 - github.com/yon3zu
LinuXploit