/
githubmirror
/
metasploit-framework
Обзор
Документация
Войти
/
githubmirror
/
metasploit-framework
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
lib/rex/post/dir.rb
51 строка
765 B
Jonathan
removed shebangs from files within rex
08 ноя 2013, 03:51
08 ноя 2013, 03:51
5750725
Код
Авторство
О чём код?
# -*- coding: binary -*- module Rex module Post ### # # This class wraps the behavior of the Ruby Dir class against a remote entity. # Refer to the Ruby documentation for expected behavior. # ### class Dir def Dir.entries(name) raise NotImplementedError end def Dir.foreach(name, &block) entries(name).each(&block) end def Dir.chdir(path) raise NotImplementedError end def Dir.mkdir(path) raise NotImplementedError end def Dir.pwd raise NotImplementedError end def Dir.getwd raise NotImplementedError end def Dir.delete(path) raise NotImplementedError end def Dir.rmdir(path) raise NotImplementedError end def Dir.unlink(path) raise NotImplementedError end end end; end # Post/Rex