Come mai andando da telnet ( ho una red hat 9.0)
facendo per esempio
telnet www.tiscali.it 80
mi apre la sessione
ma quando faccio GET / HTTP/1.0
non mi da alcun output ?
lo stesso vale per netcat per quanto riguarda la porta 80
bye
Come mai andando da telnet ( ho una red hat 9.0)
facendo per esempio
telnet www.tiscali.it 80
mi apre la sessione
ma quando faccio GET / HTTP/1.0
non mi da alcun output ?
lo stesso vale per netcat per quanto riguarda la porta 80
bye
perchè ci vuole un newline in più![]()
@_=(115,-17,6);print+map{chr$_[$.=$_-$_]*$_**$.+++$_[$.]*$_**$.+++$_[$.]*$_**$.}$.-$...$#_
cioè prima di mettere GET / HTTP/1.0 bigogna metterci un invio ?
o te intendi subito dopo ?
se intendi subito dopo lo faccio ma non mi da nulla -.-
Ma te l'ha detto lui![]()
$ telnet www.tiscali.it 80
Trying 213.205.32.10...
Connected to www.tiscali.it.
Escape character is '^]'.
get / HTTP/1.0/n
HTTP/1.1 400 Bad Request
Date: Sat, 16 Oct 2004 14:53:22 GMT
Server: Apache/1.3.28 (Unix)
Content-Type: text/html; charset=iso-8859-1
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<HTML><HEAD>
<TITLE>400 Bad Request</TITLE>
</HEAD><BODY>
<H1>Bad Request</H1>
Your browser sent a request that this server could not understand.
The request line contained invalid characters following the protocol string.
<HR>
<ADDRESS>Apache/1.3.28 Server at www.tiscali.it Port 80</ADDRESS>
</BODY></HTML>
il new line normalmente si indica con \nOriginariamente inviato da maiosyet
get / HTTP/1.0/n
HTTP/1.1 400 Bad Request
infatti ti risponde bad request
comunque basta scrivere
GET / HTTP/1.0
e premere due volte invio
Tutti hanno bisogno di credere in qualcosa.
Io credo che mi farò un'altra birra.
a ok -.- sorry