class Zoom::SecurityProfile::UnsafeJava
Public Class Methods
new(n = nil, t = nil, f = nil, b = nil, a = nil)
click to toggle source
Calls superclass method
Zoom::SecurityProfile::new
# File lib/zoom/profile/unsafe_java.rb, line 2 def initialize(n = nil, t = nil, f = nil, b = nil, a = nil) t = Zoom::ProfileManager.default_tool super(n, t, f, b, a) @exts = ["java", "properties"] functions = [ "\\.exec", "\\.getRuntime", "readObject", "Runtime" ] imports = "(sun\\.misc\\.)?Unsafe" @regex = [ imports, "(#{functions.join("|")})\\(", ].join("|") end