hashmap size -s argument #259
-
@ehsandeep @Mzack9999 shuffledns is not accepting the custom value given through the argument -mcmd for |
Beta Was this translation helpful? Give feedback.
Replies: 10 comments
-
I couldn't repro the issue. Do you mind sharing full cmd: $ go run . -d example.com -list example-subdomains.txt -r resolvers.txt -mcmd '-s 0'
__ ________ __
___ / / __ __/ _/ _/ /__ ___/ /__ ___
(_-</ _ \/ // / _/ _/ / -_)/ _ / _ \(_-<
/___/_//_/\_,_/_//_//_/\__/ \_,_/_//_/___/
projectdiscovery.io
[INF] Current shuffledns version v1.0.9 (latest)
[INF] Creating temporary massdns output file: /var/folders/hx/f8qcbgj91795xdrdnb55qkdc0000gn/T/shuffledns-3174722994/cmsd76va2ua2t2pctoa0
[INF] Executing massdns on example.com
[ERR] Could not run massdns: could not execute massdns: could not execute massdns: exit status 1
detailed error: The argument -s requires a value between 1 and 18446744073709551615.
[INF] Finished resolving. Hack the Planet! |
Beta Was this translation helpful? Give feedback.
-
@dogancanbakir Thank you for looking into this, Indeed it throws error when we supply |
Beta Was this translation helpful? Give feedback.
-
After reviewing the issue again, I believe that the reason behind it is shuffledns/pkg/massdns/process.go Line 93 in db34c66 If you want to modify the -s option, try setting -t instead. For instance:
go run . -d example.com -list example-subdomains.txt -r resolvers.txt -t 35 Let me know if you have any questions! |
Beta Was this translation helpful? Give feedback.
-
@dogancanbakir but this does't help to solve my issue as I want to control the concurrent lookups which is available through -s flag |
Beta Was this translation helpful? Give feedback.
-
shuffledns' |
Beta Was this translation helpful? Give feedback.
-
@dogancanbakir if you still check the running massdns behind the shuffledns wrapper then it still consist the flag -s 10000 which i want to control with -s 50 |
Beta Was this translation helpful? Give feedback.
-
Could you please share the details of how you conducted the testing process? This is how I did: $ go run . -d example.com -list example-subdomains.txt -r resolvers.txt -t 35 & sleep 5; ps -o command -p $(pgrep massdns)
[1] 31144
__ ________ __
___ / / __ __/ _/ _/ /__ ___/ /__ ___
(_-</ _ \/ // / _/ _/ / -_)/ _ / _ \(_-<
/___/_//_/\_,_/_//_//_/\__/ \_,_/_//_/___/
projectdiscovery.io
[INF] Current shuffledns version v1.0.9 (latest)
[INF] Creating temporary massdns output file: /var/folders/hx/f8qcbgj91795xdrdnb55qkdc0000gn/T/shuffledns-1229974457/cmt08dna2ua7jgq1o570
[INF] Executing massdns on example.com
COMMAND
/usr/local/bin/massdns -r resolvers.txt -o Snl -t A example-subdomains.txt -w /var/folders/hx/f8qcbgj91795xdrdnb55qkdc0000gn/T/shuffledns-1229974457/cmt08dna2ua7jgq1o570 -s 35 |
Beta Was this translation helpful? Give feedback.
-
@dogancanbakir Thank you, it works.One more thing, is there any workaround to use massdns -processes flag in shuffledns as I need to use --processes 2 |
Beta Was this translation helpful? Give feedback.
-
You can use |
Beta Was this translation helpful? Give feedback.
-
Closing this. Feel free to reopen if you have any other questions. |
Beta Was this translation helpful? Give feedback.
Could you please share the details of how you conducted the testing process? This is how I did: