Required Program
Http://pvpgn.cyfxstudios.com/main.html
Pvpgn-1.6.5.tar.bz2
Pvpgn support files 1.0 (nix)
Battlenet gateway Editor (PC)
W3l.exe
Installation instructions
Http://pvpgn.ez15loan.com/
Http://www.lostcity.cn/bbs/index.php? Showforum = 12
Http://www.soarchin.com/
Chroot pvpgn
The installation path is/home/pvpgn.
Create the directory required by chroot
Mkdir-P/chroot/{home, bin, sbin, Dev, etc, TMP, usr/lib, usr/libexec, var/run, var/log}
Chmod 1777 TMP
Truss/hoem/pvpgn/sbin/bnetd
Kid # truss/home/pvpgn/sbin/bnetd
MMAP (0x1000, 0x672108544,-x 0) = (0x280f9000)
Munmap (0x280f9000, 0x800) = 0 (0x0)
_ Sysctl (0xbfbffaf4, 0x2, 0x280f7fa8, 0xbfbffaf0, 0x0 0x0) = 0 (0x0)
MMAP (0x1002, 0x672108544,-x 0) = (0x280f9000)
Geteuid () = 0 (0x0)
Getuid () = 0 (0x0)
Getegid () = 0 (0x0)
Getgid () = 0 (0x0)
Open ("/etc/libmap. conf", 0x0, 0666) Err #2 'no such file or directory'
Open ("/var/run/ld-elf.so.hints", 0 x) = 3 (0x3)
Read (0x3, 0xbfbffad4, 0x80) = 128 (0x80)
Lseek (128x80, 0) = (0x80)
Read (0x3, 0x280fd000, 0x42) = 66 (0x42)
Close (3) = 0 (0x0)
Access ("/usr/lib/libm. so.2", 0) = 0 (0x0)
Open ("/usr/lib/libm. so.2", 0x0, 05003512133) = 3 (0x3)
Fstat (3, 0xbfbffb1c) = 0 (0x0)
Read (0x3, 0 xbfbfeaec, 0x1000) = 4096 (0x1000)
MMAP (0x672141312, 0x5, 0x28101000, 0x0) = (0 x)
Mprotect (0x28117000,0x1000,0x7) = 0 (0x0)
Mprotect (0x28117000,0x1000,0X5) = 0 (0x0)
MMAP (0x28118000,16384, 0x16000x672235520, 3, 0x28118000) = (0 x)
Close (3) = 0 (0x0)
Access ("/usr/lib/libz. so.2", 0) = 0 (0x0)
Open ("/usr/lib/libz. so.2", 0x0, 05003512133) = 3 (0x3)
Fstat (3, 0xbfbffb1c) = 0 (0x0)
Read (0x3, 0 xbfbfeaec, 0x1000) = 4096 (0x1000)
MMAP (0x672251904, 0x5, 0 x, 0x0) = (0x2811c000)
Mprotect (0x28126000,0x1000,0x7) = 0 (0x0)
Mprotect (0x28126000,0x1000,0X5) = 0 (0x0)
MMAP (0x2810000000,8192, 0x672296960x28127000, 0xa000) = (0 x)
Close (3) = 0 (0x0)
Access ("/usr/lib/libc. so.4", 0) = 0 (0x0)
Open ("/usr/lib/libc. so.4", 0x0, 05003512133) = 3 (0x3)
Fstat (3, 0xbfbffb1c) = 0 (0x0)
Read (0x3, 0 xbfbfeaec, 0x1000) = 4096 (0x1000)
MMAP (0x672305152, 0x5, 0x28129000, 0x0) = (0 x)
Mprotect (0x281aa000, 0x1000,0x7) = 0 (0x0)
Mprotect (0x281aa000, 0x1000,0X5) = 0 (0x0)
MMAP (0x281ab000, 20480, 0x81000x672837632, 3, 0 x) = (0x281ab000)
MMAP (0x281b0000, 73728,0x1012x672858112,-x 0) = (0x281b0000)
Close (3) = 0 (0x0)
MMAP (0x1000, 0x672931840,-x 0) = (0x281c2000)
Munmap (0x281c2000, 0x438) = 0 (0x0)
MMAP (0x1000, 0x672931840,-x 0) = (0x281c2000)
Munmap (0x281c2000, 0x8a0) = 0 (0x0)
MMAP (0x0,968, 0x1000,-672931840x0) = (0x281c2000)
Munmap (0x281c2000, 0x3c8) = 0 (0x0)
MMAP (0x1000, 0x672931840,-x 0) = (0x281c2000)
Munmap (0x281c2000, 0x3430) = 0 (0x0)
Sigaction (sigill, 0xbfbffb74, 0xbfbffb5c) = 0 (0x0)
Sigprocmask (0x1, 0x0, 0x280f7edc) = 0 (0x0)
Sigaction (sigill, 0xbfbffb5c, 0x0) = 0 (0x0)
Sigprocmask (0x1, 0x280f7ea0, 0xbfbffb9c) = 0 (0x0)
Sigprocmask (0x3, 0x280f7eb0, 0x0) = 0 (0x0)
Chdir (0x80b6493) = 0 (0x0)
Fork () = 7993 (0x1f39)
Exit (0x0) process exit, rval = 0
Sorted
Open ("/var/run/ld-elf.so.hints", 0 x) = 3 (0x3)
Open ("/usr/lib/libm. so.2", 0x0, 05003512133) = 3 (0x3)
Open ("/usr/lib/libz. so.2", 0x0, 05003512133) = 3 (0x3)
Open ("/usr/lib/libc. so.4", 0x0, 05003512133) = 3 (0x3)
Obtain the required library file.
CP-P/var/run/ld-elf.so.hints/chroot1/var/run/
CP-P/usr/lib/libm. so.2/chroot/usr/lib/
CP-P/usr/lib/libz. so.2/chroot/usr/lib/
CP-P/usr/lib/libc. so.4/chroot/usr/lib/
Create chroot/etc/
CP-P/etc/group/chroot1/etc/
CP-P/etc/master. passwd/chroot1/etc/
CD/chroot1/etc
VI Group
VI master. passwd
Kid # Cat/chroot1/etc/group
Games: *: 13:
Kid # Cat/chroot1/etc/master. passwd
Games: *: 7: 13: 0: 0: Games pseudo-user:/dev/null:/sbin/nologin
Pwd_mkdb-D/chroot1/etc/master. passwd
Rm/chroot1/etc/master. passwd
-------------------------------------------------------------------
CP-P/sbin/nologin/chroot1/sbin/
Kid # ls-Alo/dev/null
CrW-RW-1 root wheel-2, 2 Oct 19/dev/null
Mknod/chroot1/dev/null C 2 2
Kid # ls-Alo/chroot1/dev
CrW-r -- 1 root wheel-2, 2 Oct 19 null
Kid # chmod 666/chroot1/dev/null
Kid # ls-Alo/chroot1/dev/null
CrW-RW-1 root wheel-2, 2 Oct 19 null
-------------------------------------------------------------------
CP-RP/home/pvpgn/chroot1/home/
CD/chroot1/home/pvpgn
Chown-r games: Games VaR
-------------------------------------------------------------------
Kid # pwd
/Chroot1/home/pvpgn
Kid # ls-Al
Total 14
Drwxr-XR-x 7 root wheel 512 Sep 22.
Drwxr-XR-x 3 root wheel 512 Oct 19 ..
Drwxr-XR-x 2 root wheel 512 Sep 22 Bin
Drwxr-XR-x 2 root wheel 1024 Sep 22 etc
Drwxr-XR-x 4 root wheel 512 Sep 22 man
Drwxr-XR-x 2 root wheel 512 Sep 22 :45 sbin
Drwxr-XR-x 14 games 512 Sep 22 VaR
----------------------------------------------------------------------
Test chroot pvpgn
Chroot/chroot1 // home/pvpgn/sbin/bnetd-d
Elf Interpreter/usr/libexec/ld-elf.so.1 not found
CP-P/usr/libexec/ld-elf.so.1/chroot1/usr/libexec/
Chroot/chroot1 // home/pvpgn/sbin/bnetd-d
OK
Fig | grep 6200
Fig | grep 6112