Anchor all regexen

This commit is contained in:
Jon Hart 2015-12-23 08:33:47 -08:00
parent 26fa916cc9
commit 6b0ae754bd
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 2 additions and 2 deletions

View File

@ -483,8 +483,8 @@ class Msftidy
end
prefix_super_map = {
'auxiliary' => /Msf::Auxiliary$/,
'exploits' => /Msf::Exploit(?:::Local|::Remote)?$/,
'auxiliary' => /^Msf::Auxiliary$/,
'exploits' => /^Msf::Exploit(?:::Local|::Remote)?$/,
'encoders' => /^(?:Msf|Rex)::Encoder/,
'nops' => /^Msf::Nop$/,
'post' => /^Msf::Post$/