| Skip zero length source sigs - warvox - VoIP based wardialing tool, forked from… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 7b866a7132a6df800dc5e6602005bf1fa73d2271 | |
| parent 97843c47d173a7437e2329017fbc6ae5bab8f836 | |
| Author: HD Moore <[email protected]> | |
| Date: Sun, 27 Mar 2011 18:44:39 +0000 | |
| Skip zero length source sigs | |
| Diffstat: | |
| M bin/create_matches.rb | 4 +++- | |
| 1 file changed, 3 insertions(+), 1 deletion(-) | |
| --- | |
| diff --git a/bin/create_matches.rb b/bin/create_matches.rb | |
| @@ -37,7 +37,7 @@ d.close | |
| puts "[*] Finished loading #{set.keys.length} signatures..." | |
| -max = 1 | |
| +max = 10 | |
| cnt = 0 | |
| stime = Time.now.to_f | |
| @@ -59,6 +59,8 @@ while targs.length > 0 | |
| mine = targ | |
| msig = set[targ] | |
| + exit(0) if msig.length == 0 | |
| + | |
| res = [] | |
| set.each_pair do |n,sig| | |
| next if n == mine |