summaryrefslogtreecommitdiff
path: root/sample/trojan.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/trojan.rb')
-rw-r--r--sample/trojan.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/sample/trojan.rb b/sample/trojan.rb
index 3a35ac21c2..cea0dae098 100644
--- a/sample/trojan.rb
+++ b/sample/trojan.rb
@@ -5,9 +5,9 @@ path = ENV['PATH'].split(File::PATH_SEPARATOR)
for dir in path
if File.directory?(dir)
for f in d = Dir.open(dir)
- fpath = File.join(dir, f)
+ fpath = File.join(dir, f)
if File.file?(fpath) && (File.stat(fpath).mode & 022) != 0
- printf("file %s is writable from other users\n", fpath)
+ printf("file %s is writable from other users\n", fpath)
end
end
d.close