Giter VIP home page Giter VIP logo

useful_scripts's Introduction

useful_scripts

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!

useful_scripts's People

Contributors

ryanniehaus avatar t6yk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

useful_scripts's Issues

Make the working directory configurable for the openvpn script

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.

Add freevpnsoftware.net as a provider to the openvpn script

@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.

Are versions of the vpnbook script available for vpnme.com and freevpnme.com?

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

Running script multiple times gives multiple auth-user-pass lines in .ovpn files.

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.

Add www.vpngate.net as a provider to the openvpn script

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.