diff --git a/README.md b/README.md index 671b687..bd76c4b 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # OpenVPN Admin ## Résumé -Administrer son OpenVPN via une interface web (visualisation des logs, modifications des utilisateurs pouvant se connecter...). +Administrer son OpenVPN via une interface web (visualisation des logs, modifications des utilisateurs pouvant se connecter...) selon un VPN configuré pour fonctionner avec SQL (un article de blog va venir). ## Prérequis Serveur web, php et mysql. @@ -13,4 +13,4 @@ Serveur web, php et mysql. ## Notes Utilisation du projet [SlickGrid](https://github.com/mleibman/SlickGrid) ainsi que de [SlickGridEnhancementPager](https://github.com/kingleema/SlickGridEnhancementPager) pour la pagination. -Utilisation des scripts de [pajhome](http://pajhome.org.uk/crypt/md5/index.html) pour l'algorithme sha1 en JavaScript. \ No newline at end of file +Utilisation des scripts de [pajhome](http://pajhome.org.uk/crypt/md5/index.html) pour l'algorithme sha1 en JavaScript. diff --git a/index.php b/index.php index 688ba2d..ff64f45 100644 --- a/index.php +++ b/index.php @@ -35,10 +35,11 @@ --> - +
16){e=binb_sha1(e,c.length*8)}var a=Array(16),d=Array(16);for(var b=0;b<16;b++){a[b]=e[b]^909522486;d[b]=e[b]^1549556828}var g=binb_sha1(a.concat(rstr2binb(f)),512+f.length*8);return binb2rstr(binb_sha1(d.concat(g),512+160))}function rstr2hex(c){try{hexcase}catch(g){hexcase=0}var f=hexcase?"0123456789ABCDEF":"0123456789abcdef";var b="";var a;for(var d=0;d