Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/10/2011, 15:07
_Manu_
 
Fecha de Ingreso: junio-2010
Mensajes: 9
Antigüedad: 13 años, 11 meses
Puntos: 0
Necesito orienteción..

Hola gracias por leer mi duda, me gustaría que me dijerais como puedo introducir los datos de nombre y contraseña de mi router(Linksys WRT120N) mediante algún tipo de código. Con el liveHeader he conseguido estas cabeceras mientras introducía manualmente la contraseña y usuario:
Código:
http://192.168.1.1/



GET / HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 401 Unauthorized

Server: Apache

Pragma: no-cache

Cache-Control: max-age=0, must-revalidate

Connection: close

Content-Type: text/html

WWW-Authenticate: Basic realm="WRT120N"

----------------------------------------------------------

http://192.168.1.1/



GET / HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Pragma: no-cache

Cache-Control: max-age=0, must-revalidate

Connection: close

Content-Type: text/html

----------------------------------------------------------

http://192.168.1.1/jslib.js



GET /jslib.js HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: */*

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: http://192.168.1.1/

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Connection: close

Content-Type: application/x-javascript

----------------------------------------------------------

http://192.168.1.1/LANG_ES.js



GET /LANG_ES.js HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: */*

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: http://192.168.1.1/

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Connection: close

Content-Type: application/x-javascript

----------------------------------------------------------

http://192.168.1.1/header.js



GET /header.js HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: */*

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: http://192.168.1.1/

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Connection: close

Content-Type: application/x-javascript

----------------------------------------------------------

http://192.168.1.1/main.css



GET /main.css HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: text/css,*/*;q=0.1

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: http://192.168.1.1/

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Connection: close

Content-Type: text/css

Content-Length: 4282

----------------------------------------------------------

http://192.168.1.1/func.js



GET /func.js HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: */*

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: http://192.168.1.1/

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Connection: close

Content-Type: application/x-javascript

----------------------------------------------------------

http://192.168.1.1/images/UI_Linksys.gif



GET /images/UI_Linksys.gif HTTP/1.1

Host: 192.168.1.1

User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:7.0.1) Gecko/20100101 Firefox/7.0.1

Accept: image/png,image/*;q=0.8,*/*;q=0.5

Accept-Language: es-es,es;q=0.8,en-us;q=0.5,en;q=0.3

Accept-Encoding: gzip, deflate

Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7

Connection: keep-alive

Referer: http://192.168.1.1/

Authorization: Basic YWRtaW46MDYwNDIwMDY=



HTTP/1.0 200 OK

Server: Apache

Pragma: no-cache

Cache-Control: max-age=0, must-revalidate

Connection: close

Content-Type: image/gif

Content-Length: 1561

----------------------------------------------------------
Y el generador me muestra lo siguiente:
Código:
GET /
GET /jslib.js
GET /LANG_ES.js
GET /header.js
GET /main.css
GET /func.js
GET /images/UI_Linksys.gif
GET /images/UI_10.gif
GET /images/UI_07.gif
GET /images/UI_06.gif
GET /images/UI_02.gif
GET /images/UI_03.gif
GET /images/UI_Cisco.gif
GET /images/UI_04.gif
GET /images/UI_05.gif
Gracias
Salu2.