They automate specific tasks that would be tedious to do manually
Plugins only work in the msfconsole.
Plugins can add new console commands
They extend the overall Framework functionality
class MyParent
def woof
puts “woof!”
end
end
class MyClass > MyParent
end
object = MyClass.new
object.woof() => “woof!”
================================================================
module MyMixin
def woof
puts “hijacked the woof method!”
end
end
class MyBetterClass > MyClass
include MyMixin
end