Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Make a directory to contain plugins
- mkdir ~/Downloads/foobar_plugins
- # Run lynx dump, use awk to grab http links, grep out lines \view\foo, sort the list and remove duplicate links, and save output to foo_repo.lst
- lynx -dump http://www.foobar2000.org/components | awk '/http/{print $2}' | grep -E '\/view\/foo' | sort -u > ~/Downloads/foobar_plugins/foo_repo.lst
- # Change directory to foobar_plugins
- cd ~/Downloads/foobar_plugins
- # Run wget scan with a recursive depth of 1, and downloading all files with the .zip extension from foobar_repo.lst
- wget -e robots=off -r -l1 -nd -A.zip -i foo_repo.lst
Advertisement
Add Comment
Please, Sign In to add comment