Uname:Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64

403WebShell
403Webshell
Server IP : 3.111.61.48  /  Your IP : 216.73.216.67
Web Server : Apache
System : Linux ip-10-0-5-176 6.8.0-1057-aws #60~22.04.1-Ubuntu SMP Wed May 27 08:16:59 UTC 2026 x86_64
User : ubuntu ( 1000)
PHP Version : 8.2.31
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/PIL/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/PIL/__pycache__/ImageGrab.cpython-310.pyc
o

Z#�a)�@sLddlZddlmZejdkrddlZddlZddlZd
dd�Zdd	�ZdS)�N�)�Image�darwinFc	CsF|dur{tjdkr:t�d�\}}t�|�t�dd|g�t�	|�}|�
�t�|�|r8|�|�}|��|S|Stjdkr{tj
�||�\}}	}
t�d|	|
dd|	d	d
d
d@d�}|ry|\}}|\}
}}}|�|
|||||||f�}|Stj
js�td
��tj
�|�\}	}
t�d|	|
dd|	d	dd�}|r�|�|�}|S)Nrz.png�
screencapturez-x�win32�RGB�raw�BGRr�������z$Pillow was built without XCB support�BGRX�r)�sys�platform�tempfile�mkstemp�os�close�
subprocess�callr�open�load�unlink�crop�core�grabscreen_win32�	frombytes�HAVE_XCB�OSError�grabscreen_x11)�bbox�include_layered_windows�all_screens�xdisplay�fh�filepath�im�
im_cropped�offset�size�data�x0�y0�left�top�right�bottom�r2�//usr/lib/python3/dist-packages/PIL/ImageGrab.py�grabsL






��
"
r4cCs~tjdkrIt�d�\}}t�|�d|dddddg}d	g}|D]}|d
|g7}q!t�|�d}t�|�j	dkrBt
�|�}|��t�
|�|Stjdkr�t
j��\}}|d
kr�ddl}|�d|�d}	|ddkrx||	d��d��d�}
n||	d��d��d�}
|
d|
�d��St|t�r�ddl}|�|�}|dkr�ddlm}|�|�S|dkr�ddlm}
|
�|�SdStd��)Nrz.jpgz,set theFile to (open for access POSIX file "z" with write permission)�tryz4    write (the clipboard as JPEG picture) to theFilezend tryzclose access theFile�	osascriptz-err�file�I�zutf-16le��mbcs��pngr)�PngImagePlugin�DIB)�BmpImagePluginz3ImageGrab.grabclipboard() is macOS and Windows only)rrrrrrrr�stat�st_sizerrrrr�grabclipboard_win32�struct�unpack_from�decode�split�index�
isinstance�bytes�io�BytesIOr<r>�PngImageFiler@�DibImageFile�NotImplementedError)r%r&�commands�script�commandr'�fmtr+rD�o�filesrKr>r@r2r2r3�
grabclipboardGsV

���	







rV)NFFN)	rr<rrrrrr4rVr2r2r2r3�<module>s

+

Youez - 2016 - github.com/yon3zu
LinuXploit