» Documentation


Big thanks goes out to Sander "Nakebod" Rutten from The Netherlands for making this awsome documentation

Running phpBNC

We are ready to give phpbnc a test run.
$ php main.php

If you got errors, like the one stated below, you need to edit either phpbnc's config, or your ident.conf
This error is caused because your user doesn't have the rights to use the ident port (113).

To solve this, you can run phpbnc as the user root, which is a possible security risk, so this is not recommend.

Another solution it to edit config.php, and disable the ident. (Change true to false)
$ nano config.php
define("enableident", false);

The last solution is to modify the file /etc/inetd.conf.
After you have selected one of the 3 above sollutions, start phpbnc again.
If everything went fine, it should look like this:
$ php main.php
Connecting to MySQL...
Connected to MySQL.
Starting listening sockets...
0
0
Sockets up and runnning.
Loading usersettings into memory...
Loaded usersettings into memory.
Loading blowfish keys into memory...
Loaded blowfish keys into memory.
Im good to go, phpBNC v.0.17-beta, http://www.phpBNC.se/
Starting in..5..4..3..2..1..
Index:
[+] installing
-windows
-linux/freebsd
-configuration
-ssl certificate

[+] running
-starting the software
-logging in for the first time
-different ways of logging in
-updating users settings

[+] commands
-bconnect
-breconnect
-bquit
-brestore
-bclear
-readlog
-dellog
-pb set
-pb list
-pb del
-pb myinfo
-pb uptime

-pb aset
-pb stats
-pb kick
-pb banchan
-pb unbanchan
-pb find
-pb check
-pb info
-pb ban
-pb unban
-pb addhost
-pb delhost
-pb allmsg
-pb trail
-pb untrail
-pb admin
-pb adduser
-pb deluser

© 2007-2010 phpBNC.se