Code Monkey home page Code Monkey logo

Comments (5)

decidedlygray avatar decidedlygray commented on August 14, 2024 2

This was a pain to track down, and I'm sorry I don't have the time at the moment to submit a proper PR.

For anyone experiencing this issue:
This appears to be happening because the reeper class is not terminating properly, OR because it is throwing some exception that isn't properly handled and the still open Python bug (http://bugs.python.org/issue9400) is hanging the process.

Workaround/Fix:

The final messages printed, mentioned by @aboul3la above, happen at the end of the run method around lines 724-731 of subbrute.py. If you force reeper to terminate, the process will exit properly. That means adding the following code: reep.terminate() at line 727 of subbrute.py (reep is an instance of reeper in this context):

    #We no longer require name servers.
    try:
        killproc(pid = verify_nameservers_proc.pid)
        reep.terminate() #**ADDED THIS LINE HERE, EXITS PROPERLY**
    except:
        #Windows threading.tread
        verify_nameservers_proc.end()
    trace("End")

If some kind soul could submit a proper pull request, or the tool author could do a quick update to master that would be great. Otherwise I will try to get something out in the next week so this is handled.

Cheers

from subbrute.

aboul3la avatar aboul3la commented on August 14, 2024

Great job @binarycanary. Thanks a lot for your help!

from subbrute.

decidedlygray avatar decidedlygray commented on August 14, 2024

PR submitted for permanent fix: #48

from subbrute.

TheRook avatar TheRook commented on August 14, 2024

Due to this problem I have removed reeper entirely. DNSLIb was still hanging on broken sockets. I have updated DNSlib and more testing is needed.

Thanks for your help!

from subbrute.

decidedlygray avatar decidedlygray commented on August 14, 2024

Oh cool! I was wondering if you might consider committing your development branch to github that has the dnslib updates and reeper removed?

At the moment, you can't integrate subbrute into any larger scripted solution because it never returns. I'm currently set up to use my own fork, so I can integrate with automation, but it would be nice to be using the official resource.

from subbrute.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.