Probe a host through a given ip from the input list
Los mantenedores suelen responder en 3 días
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- cli, networking
Línea de trabajo
The issue names -pa, the fastdialer.IP context value, favicon requests, ztls handshakes, and -maxhr, but does not identify source files or tests. Start by tracing how -pa passes IPs into the dialer and how redirects and auxiliary requests use that context; the issue says the implementation is in #2668 and depends on projectdiscovery/fastdialer#580. Done means a given IP is used while hostname-based Host and SNI are preserved, with the listed redirect, IPv6, favicon, ztls, and per-IP error cases handled.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Please describe your feature request:
An input line that gives the ip to probe a target through, like curl --resolve: the connection goes to the ip, and the hostname stays in the Host header and SNI. The JSON line nuclei would use for the same thing (https://github.com/orgs/projectdiscovery/discussions/7862) fits, so one list could feed both tools:
{"target": "https://app.example.com", "ip": "192.0.2.10"}
{"target": "https://app.example.com", "ip": "192.0.2.11"}
Describe the use case of this feature:
Probing a vhost on a given server, an origin behind a CDN, or one host on each of its servers. The vhost,ip input form builds the URL from the ip and sends the vhost only as the Host header, so there is no SNI, and url and host report the ip. -pa probes the ips DNS returns, not given ones, and the way it passes each ip doesn't reach them correctly. With app.test resolving to 127.0.0.1 and 127.0.0.2, a server on each whose title is its address, and redir.test redirecting to other.test, which resolves to 127.0.0.3 (dev at c9148f0):
$ echo http://app.test:18080 | httpx -pa -title -ip -silent
http://app.test:18080 [srv=127.0.0.2 host=app.test:18080] [127.0.0.1]
http://app.test:18080 [srv=127.0.0.2 host=app.test:18080] [127.0.0.2]
$ echo http://redir.test:18201 | httpx -pa -fr -title -ip -sc -silent
http://redir.test:18201 [302,200] [srv=127.0.0.1 host=other.test:18202] [127.0.0.1]
-papasses each ip in thefastdialer.IPcontext value, and fastdialer serves the second ip from the dialer cached for the first one (projectdiscovery/fastdialer#579, PR projectdiscovery/fastdialer#580).- That value pins every dial made for the request, so a redirect to another host followed with
-frgoes to the probed ip. - IPv6 ips are passed in brackets, which fastdialer doesn't accept as an ip, so those probes fail with
no ips provided in dialWrap. - The favicon request and the ztls handshake are made with
context.Background(), so they drop the ip and reach the host through DNS, and-maxhrcounts errors per host:port, so errors on one ip skip the other ips of the host.
Implemented in #2691, which replaces #2668. The fastdialer change it needs (projectdiscovery/fastdialer#580) is released in v0.6.0, which dev already requires.
- Lenguaje dominante
- Go
- Estrellas
- 10.6k
- Forks
- 1.1k
- Merge medio
- 2 d 13 h
- PR fusionados (30 d)
- 16
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de projectdiscovery/httpx
-
Favicon fetch drops a user-set Host headerPosiblemente ocupada @mynhe la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
projectdiscovery/httpx#2700 ·
Los mantenedores suelen responder en 3 días
-
Custom cookies and auth headers are kept on redirects to another hostPosiblemente ocupada @Mzack9999 la tomó hace 1 día. AbiertoType: Bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
projectdiscovery/httpx#2696 ·
Los mantenedores suelen responder en 3 días
-
Screenshot requests do not follow the network policyPosiblemente ocupada @Mzack9999 la tomó hace 1 día. AbiertoType: Bug
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
projectdiscovery/httpx#2694 ·
Los mantenedores suelen responder en 3 días
-
Headless screenshots are slow and can capture half-rendered SPAsPosiblemente ocupada @Mzack9999 la tomó hace 76 días. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
projectdiscovery/httpx#2646 ·
Los mantenedores suelen responder en 3 días
-
Add a local mirror of the hugging face model JSONPosiblemente ocupada @dogancanbakir la tomó hace 52 días. AbiertoType: Enhancement
projectdiscovery/httpx#2568 · 1 comentario · 1 reacción · 1 asignado ·
Los mantenedores suelen responder en 3 días
Todos los issues de projectdiscovery/httpx
Issues similares
-
ux
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
evcc-io/evcc#35605 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug report
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
type:bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
nightgauge/nightgauge#2732 ·
Los mantenedores suelen responder en 1 día
-
fix below CVEsAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
Los mantenedores suelen responder en 5 días
-
good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100