Comments (5)
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.
Great job @binarycanary. Thanks a lot for your help!
from subbrute.
PR submitted for permanent fix: #48
from subbrute.
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.
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)
- No resolvers pass the wildcard test with `--type=ALL` HOT 1
- Wow... This thing is... HOT 3
- TLD
- How i can use threads? HOT 1
- invalid output when using basic parameters
- Feature-Request for more effektive Results
- Feature request: show IP addresses/ranges in results HOT 2
- Mirror subbrute on the Python Package Index
- lots of non-exist subdomain found? HOT 3
- Dealing with wildcards
- -a issue
- 'verify_nameservers' object has no attribute 'pid'
- brute force is too slow! HOT 3
- BlowMeMarried
- Low quality code
- subbrute.run() will not work unless myfile.py is placed in the subbrute directory
- SubBrute
- Its not working working anymore! HOT 1
- Rejected nameserver - wildcard error
- Why the subbrute tool taking hours to find subdomain HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from subbrute.