A repository for keeping useful utility scripts
Please fork and submit pull requests if you have any useful modifications! The license does not require it, but it's good practice anyway!
A repository for keeping useful utility scripts
License: MIT License
Per Issue #1:
@famewolf made the following comment: "I guess the only addition I would request is a method to overwrite what directory to use as when ran from cron.daily it tries to put the zip files in the /etc/cron.daily dir.....I hardcoded the dir in the previous version."
I think this is a good idea, and should be done when I have time.
@famewolf made this comment in Issue #1 : "Oh I didn't mention them but strictly as an FYI there is also freevpnsoftware.net and http://www.vpngate.net/ both of which do not use username/password. The only problem with vpngate is that even when you find a handful that work the NEXT time you want to use them they are defunct. When you visit the website it pulls up a random amount of nodes for you to use."
This issue is meant to track adding freevpnsoftware.net as a provider.
Hi,
Sorry to impose. I've been staring at your script which works SO WELL for vpnbook...it's really made my life easier however vpnbook for very good reasons prevents use of p2p apps where vpnme and freevpnme do not. I find myself using bittorrent sync and syncthing (open source alternative to btsync...not really ready for primetime)....so I'm wondering if you have versions which would work on these other sites? I attempted to create one but I still am unsure how your script knows which user and password to pull....vpnme also for example puts the user/pass on one page and the configs on another. Thanks for taking the time to read this
You have the zip files being checked for date but apparently the part that writes the auth-user-pass line to the ovpn runs each time because if you run the script 4 times back to back such as cron would do if running it daily you will end up with 4 auth-user-pass lines in the .ovpn files. I realize you have a grep that should exclude the auth-user-pass from the old ovpn but somehow it's still getting copied.
A friend also changed the lines looking for username and password to:
grep "Username:" index.html | tr -cd '\11\12\15\40-\176' | tr -d ' \t' | sed 's/<[^>]>//g' | sort -du | cut -d: -f2 > username_password.txt
grep "Password:" index.html | tr -cd '\11\12\15\40-\176' | tr -d ' \t' | sed 's/<[^>]>//g' | sort -du | cut -d: -f2 >> username_password.txt
This handles non printable characters as well as stripping html tags out. We didn't use dos2unix or unix2dos...not sure if they are still needed.
@famewolf made this comment in Issue #1 : "Oh I didn't mention them but strictly as an FYI there is also freevpnsoftware.net and http://www.vpngate.net/ both of which do not use username/password. The only problem with vpngate is that even when you find a handful that work the NEXT time you want to use them they are defunct. When you visit the website it pulls up a random amount of nodes for you to use."
This issue is meant to track adding www.vpngate.net as a provider. (Not sure this one is really plausible given the way it works)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.