This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
drush_shell_exec('tar -tf %s', $filename); | |
$info = drush_shell_exec_output(); | |
if ($info) { | |
// Use info to check for tarbomb. | |
abc |