Article View: alt.pl.mag.at
Article #24407Re: Agnitum Outpost
From: gophi
Date: Tue, 16 Mar 2004 07:17
Date: Tue, 16 Mar 2004 07:17
86 lines
3718 bytes
3718 bytes
Ku6i <ku6i@ozwei.pl> wrote:
>> > a no właśnie miszcz-tfu :). Co jest z studio.tpi.pl ??? 404?
>>
>> E? No 200 jak byk ;)
>>
>> % echo -e 'HEAD / HTTP/1.0\nHost: studio.tpi.pl:80\n' | nc
>> studio.tpi.pl http | head -n 1
>> HTTP/1.1 200 OK
>
> fajnie, duzo rozumiem :).
Czego konkretnie nie rozumiesz? echo? -e? |? nc? head?
man echo
NAME
echo - display a line of text
[...]
-e enable interpretation of the backslash-escaped characters listed below
man sh
/pipe
Pipelines
A pipeline is a sequence of one or more commands separated by the character |. The
format for a pipeline is:
[time [-p]] [ ! ] command [ | command2 ... ]
The standard output of command is connected via a pipe to the standard input of
command2. This connection is performed before any redirections specified by the
command (see REDIRECTION below).
man nc
NAME
nc - TCP/IP swiss army knife
SYNOPSIS
nc [-options] hostname port[s] [ports] ...
man head
NAME
head - output the first part of files
> To ja od razu powiem Ci tak: jestem uposledzony programistycznie
Od tego są manuale systemowe i zasoby sieci Web.
> wiec jakimis komentdami etc. mi nie rzucaj.
Znalezienie powyższych informacji nie zajęło mi nawet minuty.
> BTW: ZTCW to error 200, to "error not found". Prawda to?
www.google.pl/search?q=http+rfc
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.2.1
10.2.1 200 OK
The request has succeeded. The information returned with the response is dependent on the
method used in the request, for example:
GET an entity corresponding to the requested resource is sent in the response;
HEAD the entity-header fields corresponding to the requested resource are sent in the response
without any message-body;
POST an entity describing or containing the result of the action;
TRACE an entity containing the request message as received by the end server.
Czas szukania kilkanaście sekund, od otworzenia nowego okienka
przeglądarki do znalezienia konkretnej sekcji. Ale oczywiście
się nie chce, bo prościej spytać, nie?
--
Adam Wysocki * www.gophi.net * Unique ID 616KAAX7S * SWL SP5-25-0730
GG 1234 * GSM +48505439030 * gophi@linux.net.pl * gophi@gadu-gadu.pl
System administrator @ apcoh.org, gophi.net and 3ffe:8010:7:6a00::73
Pozbawił mnie sygnaturki strzał z dwururki (C) tren R @ appm 03.2003
Technical Details
Message-ID:
<gophi.2080@news.gophi.net>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!news-stoc.telia.net!news-stoa.telia.net!telia.net!news.nask.pl!newsfeed.gazeta.pl!news.gophi.net!not-for-mailReferences:
<c0lp9f$hm$1@atlantis.news.tpi.pl> <gophi.1482@news.gophi.net> <c0luqa$rmr$1@news.onet.pl> <gophi.1483@news.gophi.net> <c0m08r$21q$1@news.onet.pl> <gophi.1488@news.gophi.net> <f50496e471fabeb5a1446e94bf54d30e@Hugolandia.gdh> <gophi.1595@news.gophi.net> <4050e365@news.home.net.pl> <gophi.2018@news.gophi.net> <4055f6d9@news.home.net.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news2.icm.edu.pl!newsfeed.tpinternet.pl!news-stoc.telia.net!news-stoa.telia.net!telia.net!news.nask.pl!newsfeed.gazeta.pl!news.gophi.net!not-for-mail
From: gophi@studio.tpi.pl
Newsgroups: alt.pl.mag.at
Subject: Re: Agnitum Outpost
Date: Tue, 16 Mar 2004 07:17:59 +0000 (UTC)
Organization: news.gophi.net newsserver
Lines: 86
Sender: Adam Wysocki <gophi@avenger.gophi.net>
Message-ID: <gophi.2080@news.gophi.net>
References: <c0lp9f$hm$1@atlantis.news.tpi.pl> <gophi.1482@news.gophi.net> <c0luqa$rmr$1@news.onet.pl> <gophi.1483@news.gophi.net> <c0m08r$21q$1@news.onet.pl> <gophi.1488@news.gophi.net> <f50496e471fabeb5a1446e94bf54d30e@Hugolandia.gdh> <gophi.1595@news.gophi.net> <4050e365@news.home.net.pl> <gophi.2018@news.gophi.net> <4055f6d9@news.home.net.pl>
NNTP-Posting-Host: shell.gophi.net
Mime-Version: 1.0
X-Trace: avenger.gophi.net 1079421479 6764 62.121.68.209 (16 Mar 2004 07:17:59 GMT)
X-Complaints-To: usenet@apcoh.org
NNTP-Posting-Date: Tue, 16 Mar 2004 07:17:59 +0000 (UTC)
User-Agent: tin/1.7.3-20031220 ("Taransay") (UNIX) (Linux/2.4.24 (i586))
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit