Skip to content

Instantly share code, notes, and snippets.

@dmitrig01
Created June 19, 2010 17:31
Show Gist options
  • Save dmitrig01/445085 to your computer and use it in GitHub Desktop.
Save dmitrig01/445085 to your computer and use it in GitHub Desktop.
drush_shell_exec('tar -tf %s', $filename);
$info = drush_shell_exec_output();
if ($info) {
// Use info to check for tarbomb.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment