From: "Денис Смирнов" <mithraen@freesource.info>
To: community@altlinux.ru
Subject: [Comm] Re: How did catch *.php from Apache?
Date: Mon, 8 Dec 2003 14:11:56 +0300
Message-ID: <20031208111156.GB3156@localhost.localdomain> (raw)
In-Reply-To: <200312081232.32658.iscander@mercuri.mk.ua>
On Mon, Dec 08, 2003 at 12:32:32PM +0200, Alexandr R. Ogurtzoff wrote:
> Есть ли какой то способ забрать у апача файлы php, а не то что они
> воспроизводят? Хочу продемонстрировать необходимость хранения index.php в
> каталоге... Каталоги доступны на чтение по http имена php файлов знаю. Ответы
> по соображениям безопасности можно в личку....
Да, можно, но только в случае обнаружения дырки в любом из PHP-скриптов
(чтение из файла, который оказалось возможным задать из GET или
POST-запроса).
Так как PHP автоматически импортирует переменные из GET/POST-запросов, и
большинство программистов не любят это выключать, взломать, если очень
постараться, реально очень часто.
--
С уважением, Денис
http://freesource.info
prev parent reply other threads:[~2003-12-08 11:11 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-08 10:32 [Comm] [JT] " Alexandr R. Ogurtzoff
2003-12-08 10:35 ` Ruslan Kosolapov
2003-12-08 11:11 ` Денис Смирнов [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031208111156.GB3156@localhost.localdomain \
--to=mithraen@freesource.info \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git