rm extensions/evasion/helper.rb

This commit is contained in:
Brendan Coles
2019-02-23 01:10:25 +00:00
parent eb3ebba17f
commit 8b5e4abed3

View File

@@ -1,23 +0,0 @@
#
# Copyright (c) 2006-2019 Wade Alcorn - wade@bindshell.net
# Browser Exploitation Framework (BeEF) - http://beefproject.com
# See the file 'doc/COPYING' for copying permission
#
module BeEF
module Extension
module Evasion
# Common methods used by multiple obfuscation techniques
module Helper
def self.random_string(length=5)
chars = 'abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ'
result = ''
length.times { result << chars[rand(chars.size)] }
result
end
end
end
end
end