metasploit-framework/lib/rex/post/dir.rb

19 lines
200 B
Ruby
Raw Normal View History

#!/usr/bin/ruby
module Rex
module Post
class Dir
def Dir.entries(name)
raise NotImplementedError
end
def Dir.foreach(name, &block)
entries(name).each(&block)
end
end
end; end # Post/Rex