Merge in extapi post mixin

bug/bundler_fix
Meatballs 2013-12-19 14:25:02 +00:00
parent 244cf3b3f6
commit 6e43edff4c
No known key found for this signature in database
GPG Key ID: 5380EAF01F2F8B38
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
# -*- coding: binary -*-
module Msf
class Post
module Windows
module ExtAPI
def load_extapi
if session.extapi
return true
else
begin
return session.core.use("extapi")
rescue Errno::ENOENT
print_error("Unable to load Extended API.")
return false
end
end
end
end # ExtAPI
end # Windows
end # Post
end # Msf