# -*- coding: binary -*-12module Rex3module Post45###6#7# This class wraps the behavior of the Ruby Dir class against a remote entity.8# Refer to the Ruby documentation for expected behavior.9#10###11class Dir1213def Dir.entries(name)14raise NotImplementedError15end1617def Dir.foreach(name, &block)18entries(name).each(&block)19end2021def Dir.chdir(path)22raise NotImplementedError23end2425def Dir.mkdir(path)26raise NotImplementedError27end2829def Dir.pwd30raise NotImplementedError31end3233def Dir.getwd34raise NotImplementedError35end3637def Dir.delete(path)38raise NotImplementedError39end4041def Dir.rmdir(path)42raise NotImplementedError43end4445def Dir.unlink(path)46raise NotImplementedError47end48end4950end; end # Post/Rex515253