Some Ruby core methods accept string data that includes text to be executed as a system command.
They should not be called with unknown or unsanitized commands.
These methods include:
`command` (backtick method) (also called by the expression %x[command]
).
IO.popen
(when called with other than "-"
).
Some methods execute a system command only if the given path name starts with a |
:
Note that some of these methods do not execute commands when called from subclass File
:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4