Forum Replies Created
June 15, 2009 at 3:54 am in reply to: Upgrade to 1.0.beta12 – old patches (C100) still active ? #48232
#rm -rf /Database/opt/ && init 6
Permission for the binaries were fixed.
Script was modified. Redownload for both scripts please.
Don’t double click on the exe instead, use Start->Run->cmd
That should do… Provided you put the binaries in folder C:zscp.
Regarding the compilation, you have to create one exe by one exe, the final zipped binaries were combined to make things easy. I kind of skip the steps in my earlier explanations.
Regarding the folder name, you have to change it accordingly.
Explanation on using Zeroshell Captive Portal Auto Login
Step 0.1 – Get http://aljufry.org/zeroshell/zscp-autologin-makecfg.py
Step 0.2 – Get http://aljufry.org/zeroshell/zscp-autologin.py
Condition 1 – Windows/Linux was installed with python
1.Execute $python ~/zscp-autologin-makecfg.py to create the configuration file needed. Answer the questions. Run once or whenever you feel like doing so.
2.Execute $python ~/zscp-autologin.py
3.Put the line below in user’s ~/.bashrc file for automatic login in Linux (sort of…)
Condition 2 – Windows was not installed with python and you want to have the exe version
1.Download and install python from http://www.python.org/download/
2.Download and install py2exe for the same python version that you’ve installed in Step 1 from http://sourceforge.net/projects/py2exe/
3.You need to create a file called setup.py which looks like:
from distutils.core import setup
setup (version = “0.1”,
name = “zscp-autologin”,
console = [“zscp-autologin.py”])
C:zscp>python setup.py py2exe
The executable and DLLs will appear in the “dist” subdirectory of your current working directory. Proceed with Condition 3, Step 2-4.
Condition 3 – You trust ZSCP-autologin so much, that you don’t mind getting the binaries from a stranger
I’ve compiled using py2exe-2.6 and put it up at http://aljufry.org/zeroshell/zscp-autologin.zip
1.Extract the zip file and cd to it
2.Execute C:zscp>zscp-autologin-makecfg.exe to create the configuration file needed. Answer the questions. Run once or whenever you feel like doing so.
4.Put the symlink in Windows Startup for automatic login (sort of…)
Good luck for any of the 3 conditions…
You may check the updates in http://code.google.com/p/zeroshell-autologin/ as well.
fnmunhoz, great! Thanks for the upload.
1. Now the config file stores the password in encoded format and the main script can decode the encoded password directly. No more clear-text password.
2. I’ve created config maker for the non savvy.
1. CN based redirection support, so that user don’t have to put server= values.
2. User keyboard interrupt to disconnect/renew login.
3. GUI based, maybe bundled together modified OpenVPN GUI for windows package and called it Zeroshell client utility or something… What says you Fulvio?
I’ve modified captive portal auto-logon script by Munhoz.
It uses python’s ConfigParser to read from a config file (ie. cp-autologin.conf)
With this we can distribute a binary for cp-autologin.py (ie. cp-autologin.exe+dlls, using py2exe),
while the user handles their user info in a separate files themselves.
Hope that helps.