2013-01-07 22:08:58 +00:00
|
|
|
#This is the step definition file for cucumber features relating to the framework handler feature
|
|
|
|
|
|
|
|
Given /^I launch the exploit multi handler$/ do
|
2013-09-30 18:47:53 +00:00
|
|
|
steps %Q{
|
|
|
|
|
|
|
|
When I run `./msfcli exploit/multi/handler E`
|
|
|
|
Then the output should contain "Please wait while we load the module tree..."
|
|
|
|
Then the output should contain "Started reverse handler on"
|
|
|
|
Then the output should contain "Starting the payload handler..."
|
2013-01-07 22:08:58 +00:00
|
|
|
|
2013-09-30 18:47:53 +00:00
|
|
|
}
|
2013-01-07 22:08:58 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
Given /^I launch the generic multi handler$/ do
|
|
|
|
steps %Q{
|
|
|
|
|
|
|
|
When I run `./msfcli multi/handler E`
|
|
|
|
Then the output should contain "Please wait while we load the module tree..."
|
|
|
|
Then the output should contain "Started reverse handler on"
|
|
|
|
Then the output should contain "Starting the payload handler..."
|
|
|
|
|
|
|
|
}
|
|
|
|
end
|