Closed amalmurali47 closed 4 years ago
Interesting issue. We will look into it.
In the meantime, try removing the following flags: -noresolvrate false -noresolvscore false
@amalmurali47 So far, I was not been able to reproduce the bug you have reported
Were there more stack traces @amalmurali47 ? Those two goroutine stack traces just appear to be waiting to grab a mutex which isn't a problem in itself.
I've been experiencing the same with -brute option. When used as -> amass enum -brute -d
amass version 3.4.0 installed via snap.
I'm having the same issue as sumgr0. When running a simple "amass enum -brute -d
This is also amass 3.4.0 installed via snap on Ubuntu 18.04.3 LTS.
@sumgr0 @lappsec It's not clear that the problem you're experiencing is the same as OPs. However, I do have a fix for your problem that should land in the next release.
@amalmurali47 Any other feedback on the issue you're experiencing would be appreciated.
@fork-while-fork on the contrary, going through the OPs problem, it looks different. However, the error is encountered while using the -brute option itself. My bad to report it in the same thread.
Kindly suggest.
@sumgr0 Follow #335 to track the fix for your issue.
Not sure if the same, but I was picking this back up and got stuck a 1 dns query / sec
:
#mode = passive
maximum_dns_queries = 10000
[domains]
****
[resolvers]
resolver = 1.1.1.1 ; Cloudflare
resolver = 8.8.8.8 ; Google
resolver = 64.6.64.6 ; Verisign
resolver = 74.82.42.42 ; Hurricane Electric
resolver = 1.0.0.1 ; Cloudflare Secondary
resolver = 8.8.4.4 ; Google Secondary
resolver = 9.9.9.10 ; Quad9 Secondary
resolver = 64.6.65.6 ; Verisign Secondary
resolver = 77.88.8.1 ; Yandex.DNS Secondary
[shodan]
apikey = ***
Started fast (1K+ qry/s) then => 1/s:
./amass/binary/amass_v3.4.1_linux_amd64/amass \
enum -config ./amass/config.ini \
-json ./amass/out.json \
-src -log err.log
=>
...
Querying GoogleCT for ***.com subdomains
Average DNS queries performed: 1/sec
Average DNS queries performed: 1/sec
I'll switch to passive - would not be surprised if operator error here, though I thought we had the above cmd working before :) Maybe there's a timeout option or something, and when speed drops to clearly inoperable like this, should emit a "You should likely X"
warning?
Cool, will give a spin right now. Thanks @caffix !
Switched to 3.4.2 and still seeing slowdown. Not sure if the tool or just config settings getting us rate limited. @caffix anything that would help?
I'm seeing this issue as well in v3.5.1
It happens after a few (5-10) runs tho of an enum.ini
amass enum -config /root/amass/bin/enum.ini -d alios.cn
https://pastebin.com/v4SHqKwE
Then even a simple
amass enum -d alios.cn
won't work
Sits like this for hours
@JesseClarkND Please upgrade to the latest version (v3.5.4) and try again, since some important improvements have been released. I would wipe out the default output directory ($HOME/.config/amass
on Linux) before using the latest version of the tool
Thanks @caffix everything has been working well since the update!
Great to hear. Thank you!
@caffix I am using v3.10.5 and I am facing this exact same issue.
After wiping out the data like you suggest it works for a bit, until it sudden starts being stuck again and I need to wipe the config again to get it to work.
Any suggestions on what I might be missing?
github.com/OWASP/Amass/v3/resolvers.(ResolverPool).SubdomainToDomain(0xc000215220, 0xc004ee42a0, 0x28, 0xc005a989b4, 0xc) /home/caffix/go/src/github.com/OWASP/Amass/resolvers/pool.go:178 +0x9d github.com/OWASP/Amass/v3/intel.(Collection).investigateAddr(0xc009c40a00, 0xc005a989b4, 0xc) /home/caffix/go/src/github.com/OWASP/Amass/intel/intel.go:192 +0x606 created by github.com/OWASP/Amass/v3/intel.(*Collection).HostedDomains /home/caffix/go/src/github.com/OWASP/Amass/intel/intel.go:136
i was getting issue with amass intel -ans [number] @caffix
Installed amass from snap.
Command:
Not sure why this is happening.