Skip to content

Instantly share code, notes, and snippets.

@crschmidt
Forked from dmitrig01/gist:445085
Created June 19, 2010 17:34
Show Gist options
  • Save crschmidt/445090 to your computer and use it in GitHub Desktop.
Save crschmidt/445090 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.
abc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment