Skip to content

Instantly share code, notes, and snippets.

@ericktedeschi
Created November 19, 2011 19:54
Show Gist options
  • Save ericktedeschi/1379281 to your computer and use it in GitHub Desktop.
Save ericktedeschi/1379281 to your computer and use it in GitHub Desktop.
oneline - wordpress plugin verification
below the wp_plugins.txt file was used from original cms-explorer package.
xargs -a wp_plugins.txt -P5 -I XXX bash -c "result=\$(curl -If \"http://targetsite.com/XXX\" | grep \"200 OK\"); if [ \$(expr match \"\$result\" \".*200 OK.*\") != \"0\" ]; then echo \"Existe....: XXX\"; else echo \"Nao Existe: XXX\"; fi" > resultado-targetsite.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment