| Class | Msf::Module::PlatformList |
| In: |
lib/msf/core/module/platform_list.rb
|
| Parent: | Object |
| platforms | [RW] |
Transformation method, just accept an array or a single entry. This is just to make defining platform lists in a module more convenient, skape‘s a girl like that.
WARNING: I pulled this algorithm out of my ass, it‘s probably broken
Ok, this was a bit weird, but I think it should work. We basically want to do a set intersection, but with like superset expansion or something or another. So I try to do that recursively, and the result should be a the valid platform intersection…
used for say, building a payload from a stage and stager
Do I support plist (do I support all of they support?) use for matching say, an exploit and a payload