11件ヒット
[1-11件を表示]
(0.327秒)
検索結果
先頭1件
-
find (37.0)
-
ディレクトリ配下のファイルを探索するためのモジュールです。
...人が書き込み可能な危険なコマンドを探す
for dir in ENV['PATH'].split(File::PATH_SEPARATOR)
Find.find(dir) do |fpath|
if File.file?(fpath) and (File.stat(fpath).mode & 022) != 0
printf("file %s is writable from other users\n", fpath)
end
end
end...