Защита на админку

(Ответов: 4, Просмотров: 426)
  1. Гуру Аватар для Septik
    • Регистрация: 03.04.2010
    • Сообщений: 790
    • Репутация: 168
    • Webmoney BL: ?
    Привет всем. Имеется сайт, который нужно администрировать (на джумле), но админка каким-то образом защищена, то есть при входе /administrator выходит окно, где нужно ввести логин и пароль (рисунок ниже). Может кто-нибудь сталкивался с таким и знает как убрать эту защиту?
    Нажмите на изображение для увеличения.  Название:	??????????.jpg  Просмотров:	21  Размер:	8.6 Кб  ID:	14666
    • 0
  2. Опытный
    • Регистрация: 01.10.2013
    • Сообщений: 301
    • Репутация: 26
    А как Вам дали вести контентную часть и не дали паролей к ней?
    Посмотрите .htaccess в папке /administrator
    Если есть доступ к FTP, конечно.
    =)
    Последний раз редактировалось rawebmaster; 02.06.2014 в 18:17.
    • 0
  3. Гуру Аватар для Septik
    • Регистрация: 03.04.2010
    • Сообщений: 790
    • Репутация: 168
    • Webmoney BL: ?
    Все логины/пароли есть, в htaccess ничего нет запрещающего. Сайт перенесли с другой студии, сам владелец не знает в чем дело.
    На всякий htaccess, вдруг что упустил:
    PHP код:
    ##
    # @version $Id: htaccess.txt 21064 2011-04-03 22:12:19Z dextercowley $
    # @package Joomla
    # @copyright Copyright (C) 2005 - 2010 Open Source Matters. All rights reserved.
    # @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
    # Joomla! is Free Software
    ##


    #####################################################
    #  READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE
    #
    # The line just below this section: 'Options +FollowSymLinks' may cause problems
    # with some server configurations.  It is required for use of mod_rewrite, but may already
    # be set by your server administrator in a way that dissallows changing it in
    # your .htaccess file.  If using it causes your server to error out, comment it out (add # to
    # beginning of line), reload your site in your browser and test your sef url's.  If they work,
    # it has been set by your server administrator and you do not need it set here.
    #
    #####################################################

    ##  Can be commented out if causes errors, see notes above.
    Options +FollowSymLinks

    #
    #  mod_rewrite in use

    RewriteEngine On

    ########## Begin - Rewrite rules to block out some common exploits
    ## If you experience problems on your site block out the operations listed below
    ## This attempts to block the most common type of exploit `attempts` to Joomla!
    #
    ## Deny access to extension xml files (uncomment out to activate)
    #<Files ~ "\.xml$">
    #Order allow,deny
    #Deny from all
    #Satisfy all
    #</Files>
    ## End of deny access to extension xml files
    # Block out any script trying to set a mosConfig value through the URL
    RewriteCond %{QUERY_STRINGmosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR]
    # Block out any script trying to base64_encode data within the URL
    RewriteCond %{QUERY_STRINGbase64_encode[^(]*\([^)]*\) [OR]
    # Block out any script that includes a <script> tag in URL
    RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR]
    # Block out any script trying to set a PHP GLOBALS variable via URL
    RewriteCond %{QUERY_STRINGGLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR]
    # Block out any script trying to modify a _REQUEST variable via URL
    RewriteCond %{QUERY_STRING_REQUEST(=|\[|\%[0-9A-Z]{0,2})
    # Return 403 Forbidden header and show the content of the root homepage
    RewriteRule .* index.php [F]
    #
    ########## End - Rewrite rules to block out some common exploits


    ########## Begin - Custom redirects
    #
    # If you need to redirect some pages, or set a canonical non-www to
    # www redirect (or vice versa), place that code here. Ensure those
    # redirects use the correct RewriteRule syntax and the [R=301,L] flags.
    #
    ########## End - Custom redirects


    #  Uncomment following line if your webserver's URL
    #  is not directly related to physical file paths.
    #  Update Your Joomla! Directory (just / for root)

    # RewriteBase /


    ########## Begin - Joomla! core SEF Section
    #
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    #
    # If the requested path and file is not /index.php and the request
    # has not already been internally rewritten to the index.php script
    RewriteCond %{REQUEST_URI} !^/index\.php
    # and the request is for root, or for an extensionless URL, or the
    # requested URL ends with one of the listed extensions
    RewriteCond %{REQUEST_URI} (/[^.]*|\.(php|html?|feed|pdf|raw))$ [NC]
    # and the requested path and file doesn't directly match a physical file
    RewriteCond %{REQUEST_FILENAME} !-f
    # and the requested path and file doesn't directly match a physical folder
    RewriteCond %{REQUEST_FILENAME} !-d
    # internally rewrite the request to the index.php script
    RewriteRule .* index.php [L]
    #
    ########## End - Joomla! core SEF Section 
    • 0
  4. Разработка любых сайтов Аватар для ArhStrAngeR
    • Регистрация: 08.06.2011
    • Сообщений: 3,376
    • Записей в дневнике: 1
    • Репутация: 2506
    Septik, у вас скорее всего "basic authentication" - посмотрите картинки в поиске. Ну и решения по снятию в гугле:)
    • 1

    Спасибо сказали:

    Septik(02.06.2014),
  5. Гуру Аватар для Septik
    • Регистрация: 03.04.2010
    • Сообщений: 790
    • Репутация: 168
    • Webmoney BL: ?
    ArhStrAngeR, ага, спасибо, разобрался:)
    Можно закрывать тему.
    • 0

Тэги топика:

Похожие темы

Темы Раздел Ответов Последний пост
ограниченный доступ в админку!
DLE 11 11.03.2013 00:58
Не могу зайти в админку
Вопросы от новичков 1 06.01.2013 18:10
Вход в админку WP
WordPress 9 27.01.2012 13:50
Вход в админку WP
Софт, скрипты, сервисы 2 27.08.2011 10:22
Как взломать админку в DLE?
Дайджест блогосферы 4 10.11.2010 21:25

У кого попросить инвайт?

Вы можете попросить инвайт у любого модератора:

Информеры