Skip to content

Commit

Permalink
max found limit to 3000
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Apr 26, 2015
1 parent c98a4fc commit aefd85f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A simple and fast sub domain brute tool for pentesters

这个脚本的主要目标是发现其他工具无法探测到的域名. 比如大家常用的Google,aizhan,fofa。

##Dependencies
First you need install [dnspython](http://www.dnspython.org/kits/1.12.0/) to do DNS query

Expand Down
2 changes: 1 addition & 1 deletion subDomainsBrute.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def _scan(self):
thread_id = int( threading.currentThread().getName() )
self.resolvers[thread_id].nameservers = [self.dns_servers[thread_id % self.dns_count]] # must be a list object
self.resolvers[thread_id].lifetime = self.resolvers[thread_id].timeout = 1.0
while self.queue.qsize() > 0:
while self.queue.qsize() > 0 and self.found_count < 3000: # limit found count to 3000
sub = self.queue.get(timeout=1.0)
try:
cur_sub_domain = sub + '.' + self.target
Expand Down

0 comments on commit aefd85f

Please sign in to comment.