bin/yawast in yawast-0.6.0.beta2 vs bin/yawast in yawast-0.6.0.beta3

- old
+ new

@@ -23,10 +23,11 @@ c.option '--files', 'Performs a search for a large list of common files' c.option '--srv', 'Scan for known SRV DNS Records' c.option '--subdomains', 'Search for Common Subdomains' c.option '--proxy STRING', String, 'HTTP Proxy Server (such as Burp Suite)' c.option '--cookie STRING', String, 'Session cookie' + c.option '--nodns', 'Disable DNS checks' c.action do |args, options| Yawast::Commands::Scan.process(args, options) end end @@ -39,10 +40,11 @@ c.option '--nociphers', 'Disables check for supported ciphers (only with --internalssl)' c.option '--internalssl', 'Disable SSL Labs integration' c.option '--tdessessioncount', 'Counts the number of messages that can be sent in a single session' c.option '--proxy STRING', String, 'HTTP Proxy Server (such as Burp Suite)' c.option '--cookie STRING', String, 'Session cookie' + c.option '--nodns', 'Disable DNS checks' c.action do |args, options| Yawast::Commands::Head.process(args, options) end end @@ -67,9 +69,18 @@ c.option '--proxy STRING', String, 'HTTP Proxy Server (such as Burp Suite)' c.option '--cookie STRING', String, 'Session cookie' c.action do |args, options| Yawast::Commands::Cms.process(args, options) + end +end + +command :dns do |c| + c.syntax = './yawast dns URL' + c.description = 'Gets information about the server DNS configuration' + + c.action do |args, options| + Yawast::Commands::DNS.process(args, options) end end command :cert do |c| c.syntax = './yawast cert --input <file>'