Comments (4)
Hey @intrd,
Can you add some sample URLs where it gets failed, so we can make changes accordingly.
sure, this input breaks the httpx:
http://target.com:80/%22:269092299880021,%224456808911257%22:117599551732038,%224456808791254%22:219099868222532,%224456808631250%22:117241395101609,%224456808471246%22:379290365485680,%224456808271241%22:217348818399031,%224456808071236%22:512726018751670,%224456807991234%22:291913630927125,%224456807831230%22:291001267685617,%224456807791229%22:378181278930281%7D
maybe a good idea is to hash or randomize the url path and stores like this:
/target.com_80/32e152b6824592d175fc8cfda4237433e595292770a67c543c4992d30cb0f9f2
from httpx.
@intrd This is fixed with #113
from httpx.
Hey @intrd,
Can you add some sample URLs where it gets failed, so we can make changes accordingly.
from httpx.
Dirty/temporary fix @ httpx/cmd/httpx/httpx.go:
"encoding/hex"
"crypto/md5"
...
// store responses in directory
if scanopts.StoreResponse {
splitted := strings.Split(domain, "/")
path := ""
if len(splitted) == 1 {
path = "/"
}else{
path = splitted[1]
}
domain := splitted[0]
hasher := md5.New()
hasher.Write([]byte(path))
out := hex.EncodeToString(hasher.Sum(nil))
fullpath := "output/"+domain+"/"+out
if _, err := os.Stat("output/"+domain); os.IsNotExist(err) {
os.MkdirAll("output/"+domain, 0700)
}
err := ioutil.WriteFile(fullpath, []byte(resp.Raw), 0644)
if err != nil {
gologger.Fatalf("Could not write response, at path to disc: %s", fullpath)
}
}
$ find output/
output/
output/target1.com
output/target1.com/a8f5f167f44f4964e6c998dee827110c
output/target2.com
output/target2.com/a660a4c512ce611d365624fe1bc6b5c6
output/target2.com/22bd4dae3f7b3f28e87813a4ccd13a12
output/help.target3.com
output/help.target3.com/2f8a6bf31f3bd67bd2d9720c58b19c9a
from httpx.
Related Issues (20)
- issue with custom resolvers in httpx
- JSONL/CSV default output fields improvements
- exclude option still has bugs in version 1.5.0 HOT 5
- Rate Limit Minute (-rlm) behavior does not distribute requests evenly
- Attributes Error : module ' collection' has mo attribute 'Mutable Set' HOT 1
- How to match an empty response body? HOT 1
- aaaa (ipv6) records in "a"
- Force HTTP1.1 Only
- Split the response file into a header file and a body file. HOT 4
- Using HTTPX as a library response callback body data was Zero resulting in the same Hash HOT 2
- Multiple string matchers with an AND operator
- An ability to get multiple hash types at the same type HOT 2
- error during httpx HOT 1
- I call httpx in my program. When a no address found for host appears in the target list, it will cause other ones to exit. How can I turn off this function? HOT 2
- Identify apps with login page HOT 4
- Changing runner.Options doesn't change live domain output, only goes to stdout HOT 1
- Cannot use `gophish` from outside install directory (stand-alone bin) HOT 2
- Change options.TechDetect variable type from string to boolean
- While using list of resolver can we check specifically which resolver is used to find if website is alive or not. HOT 1
- Identifying unmaintained/unmanaged/abandoned assets using expired certificates and home page content analysis
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from httpx.