Skip to content

Instantly share code, notes, and snippets.

@amalmurali47
Created March 1, 2018 10:29
Show Gist options
  • Save amalmurali47/476b1297e14e9acdd460e8502fcc5630 to your computer and use it in GitHub Desktop.
Save amalmurali47/476b1297e14e9acdd460e8502fcc5630 to your computer and use it in GitHub Desktop.
#!/bin/bash
vpnbook_pass=$(curl -sL vpnbook.com | grep -ioP -m1 "<li><strong>Password: \K(\S+)(?=</strong></li>)" | tr -d '\n')
echo -e "vpnbook\n$vpnbook_pass"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment