Skip to content
This repository has been archived by the owner on Jun 3, 2020. It is now read-only.
/ cjdns-php-gui Public archive
forked from thefinn93/cjdns-php-gui

A nice GUI for editing cjdroute.conf - also horribly insecure

Notifications You must be signed in to change notification settings

MunGell/cjdns-php-gui

 
 

Repository files navigation

A simple GUI for editing cjdroute.conf

Some screenshots, so you know what you're getting into

Installing:

  1. Drop into an http-accessable directory

  2. Copy config.inc.example.php to cjdns.inc.php and edit it to point to your cjdroute.conf file

  3. ensure that your webserver's user has read write access to cjdroute.conf - this is proly a bad idea. Also make sure it's PHP readable JSON (so no comments). Try this to parse them out: cat cjdroute.conf | perl -p0e 's!/\*.*?\*/!!sg' | grep -v "//"

  4. Restrict access to the directory. One way to do this is to make a .htaccess file that looks like this:

Order Deny,Allow
Deny from all
Allow from <your IP here>

About

A nice GUI for editing cjdroute.conf - also horribly insecure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published