#
# Copyright (c) 2006-2018 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
class Dlink_dgs_1100_port_mirroring_csrf < BeEF::Core::Command
  
  def self.options
    return [
        {'name' => 'base', 'ui_label' => 'Switch web root', 'value' => 'http://10.90.90.90'}, 
        {'name' => 'mirrorport', 'ui_label' => 'Switch port to mirror traffic on', 'value' => 1},
	{'name' => 'totalports', 'ui_label' => 'Total number of ports on switch', 'value' => 8}
    ]
  end
  
  def post_execute
    save({'result' => @datastore['result']})
  end
  
end
