for Dr.COM variant
- It runs/starts faster than Python version on OpenWrt (→_→)
(又不是不能用 - User experience improvements
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)
- Edit
config.php
(refer to drcom-generic for configuration, note that some syntax differs)
If using Windows/OpenWrt, you can useconfig-*.php
, which will automatically get some fields from interface name (especiallyhost_ip
) - Run
drcomfucker.php
in PHP CLI SAPI.
e.g.php drcomfucker.php
orphp5-cli drcomfucker.php