Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Out of range errors #1

Closed
kosborn opened this issue Jun 10, 2012 · 7 comments
Closed

Out of range errors #1

kosborn opened this issue Jun 10, 2012 · 7 comments

Comments

@kosborn
Copy link

kosborn commented Jun 10, 2012

Not really doing anything fancy. linode.txt has ns1.linode.com - ns3.linode.com
Domain doesn't have anything fancy with DNS (a few A records and a few CNAME records.)

Unsure if the speed is related to the out of range errors or not, but obviously have issues with speed to (and blocking on ^C)

user1@host:/tmp/subbrute$ time python subbrute.py -r linode.txt -s subs_small.txt kyleosborn.org
Exception in thread Thread-3:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "subbrute.py", line 56, in run
    if self.check(test):
  File "subbrute.py", line 45, in check
    raise e
IndexError: list index out of range

files.kyleosborn.org
ftp.kyleosborn.org
Exception in thread Thread-4:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "subbrute.py", line 56, in run
    if self.check(test):
  File "subbrute.py", line 45, in check
    raise e
IndexError: list index out of range

localhost.kyleosborn.org
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "subbrute.py", line 56, in run
    if self.check(test):
  File "subbrute.py", line 45, in check
    raise e
IndexError: list index out of range

mail.kyleosborn.org
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "subbrute.py", line 56, in run
    if self.check(test):
  File "subbrute.py", line 45, in check
    raise e
IndexError: list index out of range

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "subbrute.py", line 56, in run
    if self.check(test):
  File "subbrute.py", line 45, in check
    raise e
IndexError: list index out of range

^C^C^C^C^C^C






^C^C^C
^Z
[1]+  Stopped                 python subbrute.py -r linode.txt -s subs_small.txt kyleosborn.org

real    11m38.379s
user    0m0.000s
sys 0m0.001s
@TheRook
Copy link
Owner

TheRook commented Jun 10, 2012

Does it still except without the -r? Maybe the resovlers file you provided is malformed.

@kosborn
Copy link
Author

kosborn commented Jun 10, 2012

Same issue without the resolver directive.

@TheRook
Copy link
Owner

TheRook commented Jun 10, 2012

Thats strange, it must be your version of dnspython.

$ time ./subbrute.py -s subs_small.txt kyleosborn.org
files.kyleosborn.org
ftp.kyleosborn.org
localhost.kyleosborn.org
mail.kyleosborn.org
www.kyleosborn.org

real 1m3.395s
user 0m2.868s
sys 0m0.456s

@kosborn
Copy link
Author

kosborn commented Jun 10, 2012

Odd.
Python version 2.6.5
python-dnspython version (from the Ubuntu repos) 1.7.1-1ubuntu0.1 (looks a little out of date.)

Will be unavailable the rest of the day, but I'll provide whatever other information needed. I'll also upgrade python and dnspython beyond what the ubuntu repos provide, to see if that resolves the issue.

@TheRook
Copy link
Owner

TheRook commented Jun 10, 2012

Thanks! Also fyi this same scan took 231 seconds in fierce2, my tool is almost 3 times faster.

@TheRook TheRook closed this as completed Jun 10, 2012
@TheRook
Copy link
Owner

TheRook commented Jun 12, 2012

btw, i modified the exception handler so it should work better for you. Also it should chew though the 31k list of subdomains in about 5 minutes.

@TheRook
Copy link
Owner

TheRook commented Jun 29, 2012

ctrl+c should work better now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants