Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ($_REQUEST["screenshot"])
- {
- system("DISPLAY=:0 import -window root /var/www/temp/screenshot.png");
- header("Content-Type: image/png");
- print file_get_contents("/var/www/temp/screenshot.png");
- die;
- }
- return parent::__construct();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement