Closed KINGSABRI closed 9 years ago
I thought I fixed that resp returning nil bug. Apparently not. Thanks for the recommendation regarding colorize gem. Much better. I'll implement all this today, hopefully. Thanks again.
Hi, I got same error:
I, [2015-06-16T11:42:30.912541 #111765] INFO -- : Discovered open port: 172.16.15.248:8080
I, [2015-06-16T11:42:30.975298 #111765] INFO -- : <<>>
Yasuo found an unauthenticated instance of Apache Tomcat at http://172.16.15.248:8080/manager.
yasuo.rb:291:in `block (2 levels) in find_vulnerable_applications': undefined method `code' for nil:NilClass (NoMethodError)
from yasuo.rb:282:in `each'
from yasuo.rb:282:in `each_with_index'
from yasuo.rb:282:in `block in find_vulnerable_applications'
from yasuo.rb:276:in `each_key'
from yasuo.rb:276:in `find_vulnerable_applications'
from yasuo.rb:192:in `block (2 levels) in process_nmap_scan'
And there is an false positive in it. The running service is actually Asterisk/1.4.19.
I have fixed this issue. Please test and let me know if you are still having issues. There may be some false positives every now and then if the application signatures are same for 2 or more apps.
Hi, when running the script against some target it rises the the following error
the error is the follwowing line
https://github.com/0xsauby/yasuo/blob/master/yasuo.rb#L291
That's because
resp
getting nil valueyou can place the following before it to debug
another thing ,, you're using colorize gem which is great gem but it lot more than what you need
you can just place the following at the beginning and add what you need
use it as colorize gem
I was trying to contribute more effectively but it got hit by punch of tasks :D more usefull things in RubyFu book (http://kingsabri.gitbooks.io/rubyfu)
HTH Regards and respect