Skip to content

DrCOM network access control client in PHP (Dr.COM variant)

Notifications You must be signed in to change notification settings

dantmnf/drcom-client

Repository files navigation

drcom-client

for Dr.COM variant

about

Why This

  • It runs/starts faster than Python version on OpenWrt (→_→) (又不是不能用
  • User experience improvements

Requirements

PHP modules/extensions:

  • sockets
  • json (for getting interface information on OpenWrt)
  • com_dotnet (for getting interface information on Windows)
  • mbstring (for displaying server-sent messages)
  • pcntl (for Ctrl-C to logout)

Usage

  1. Edit config.php (refer to drcom-generic for configuration, note that some syntax differs)
    If using Windows/OpenWrt, you can use config-*.php, which will automatically get some fields from interface name (especially host_ip)
  2. Run drcomfucker.php in PHP CLI SAPI.
    e.g. php drcomfucker.php or php5-cli drcomfucker.php

About

DrCOM network access control client in PHP (Dr.COM variant)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages