精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>电脑技术>>● 计算机安全>>◇软件解析◇>>BO2K Tutorial

主题:BO2K Tutorial
发信人: trojan()
整理人: williamlong(1999-09-13 19:49:58), 站内信件
Step One: Configure the BO2K Server


Alright, once you've unpacked the BO2K distribution into a directory, 
start up the BO2K server configuration tool by running the  tool.
The configuration program pops up. Now we want to open the BO2K server
, the one that we're going to be installing on the server machine, and
 configure it. First, make a copy of the BO2K executable, and open tha
t one by clicking the open server button  and choosing the proper BO2K
.EXE executable from the list of files.

You can configure the built-in system settings, such as encryption key
s and default ports by using the tree control at the bottom of the win
dow, and changing the setting on the right. For example, to change to 
port that BO2K listens on (aka, what BO2K 'binds to'), Do the followin
g: 

Expand the 'Startup' option folder 
Click on the 'Init Cmd Bind Str' and you'll see the current 'binding s
tring' appear in the 'Current Value' box. A 'binding string' is a prot
ocol-independent way to specify where the protocol will be listening. 
For UDPIO and TCPIO protocols, this is simply a port number. If you we
re running a Netware/IPX plugin or some other protocol, the binding st
ring would have a different syntax. 
Since the default value of the 'Init Cmd Net Type' option is still 'TC
PIO', we'll go ahead and set the port to something like 18006. To do t
his, type 18006 into the 'New Value' box and hit 'Set Value'. Now, the
 server is configured to use TCPIO port 18006. Tada. 

Now let's do one more thing. Add the BO_PEEP plugin. 

To the right of the 'Plugins Loaded:' box, there is an 'Insert...' but
ton. Click it. 
When the 'Insert BO2K plugin' box comes up, choose bo_peep.dll and hit
 Open. 
You'll notice that the BO_PEEP plugin now shows up in the Plugins Load
ed: box. Also, the list of options in the "Option Variables" box has b
een updated to include BO_PEEP options. You can modify these later if 
you wish. Now on with the tour. Save the server by clicking the 'Save 
server' button, and close the program. 
Step Two: Install The BO2K Server

This is a relatively simple task. Just copy the server to the target m
achine, and run it. If you're installing on a Win95/98 machine, the se
rver executable will move itself into the c:\windows\system directory 
and name itself 'UMGR32.EXE'. The name is configurable with the BO2KCF
G tool that we just used. There are other things you can do to customi
ze how BO2K behaves upon installation. A fuller description of these o
ptions are available in the Command Reference section of this website.
 If you are installing under Windows NT, BO2K copies itself into the c
:\winnt\system32 directory (if permissions allow it to do so) and renames itse
lf.
That's it. Wasn't very difficult, was it...


Step Three: Start Up The Client 

First start the client by running the  tool. It should open, and maxim
ize itself. First things first, we want to create a new server connect
ion. So we click on the little computer button in the left hand side o
f the server list window at the bottom. 
This pops up a dialog where you can define the parameters of the machi
ne that you want to contact. You'll want to put in a name for this con
nection (doesn't matter what it is) in the 'Name of this server' field
. Next, put in the server's IP address:port pair. We have to specify t
he port, since we reconfigured the server, and didn't change the defau
lts for the client. So we type in aaa.bbb.ccc.ddd:18006, replacing the
 letters with the real IP address of the server. Connection type shoul
d be TCPIO, encryption should be XOR, and authentication should be NUL
LAUTH. When you're done, hit 'OK'. 

One you've hit OK, the server command client pops up for this server. 
You can minimize and restore the server command client by double-click
ing the server name in the server list box at the bottom. 

Step Four: Configure the Client

Since we installed the BO_PEEP plugin in the server, in order to commu
nicate with it properly, we need to install the same plugin into the c
lient. To do this, we go to the 'Plugins' menu option and the choose '
Configure...'.
This pops up a dialog to insert and remove plugins and configure basic
 setting, much like the BO2KCFG tool, but this time it's for the clien
t. This dialog also doesn't modify any executables. It stores the conf
iguration in the registry.

So, we hit the 'Insert...' button and choose the bo_peep.dll file. Thi
s adds the BO_PEEP plugin and puts the options in the tree control bel
ow. We didn't reconfigure BO_PEEP on the server side, so we won't have
 to configure it here. Just hit 'Done'.


Step Five: Connect To The Server and Fool Around

Simply hit the 'Connect' button on the Server Command Client. It shoul
d sit there for a second, and then spit out the version number of the 
server it has connected to in the output window at the bottom of the c
ommand client. After connecting, you can pick commands out of the 'Ser
ver Commands' tree control. When you choose a command, the parameters 
for the command will appear in the right of the box. Some parameters a
re optional, as indicated by either brackets [], or something like (op
t). All other parameters must be filled in with valid values.
To send a simple ping command, open the "Simple" folder in the tree co
ntrol, and click on the 'Ping' command. Now, click on the 'Send comman
d' button. If the ping was successful, a ping reply message should be 
issued from the server, and will appear in the output window.


Step Six: Try Using The Plugin

To use the plugin, go to the Plugins menu option, and you'll notice th
at there is now a 'BO Peep' submenu. This was added when you inserted 
the plugin into the client. Select the 'VidStream Client' sub-menu ite
m. It should pop up a happy little blue box. 
Before we can connect, though, we need to start the VidStream service 
on the server side. So we go to the BO Peep folder in the server comma
nd client's command list, open it, and choose the "Start Vidstream" co
mmand. A number of options will appear. Type the value '8' into the FP
S box. Type '160,120' in the 'Xres,Yres[,NET][,ENC][,AUTH]' box. Then 
hit 'Send command'. The server should respond, telling you what addres
s you need to connect to in order to get the video stream.

Click on the connect button on the VidStream client, and you'll be pre
sented with a connection dialog. The number in the box is the default 
VidStream port. Modify the address to include the appropriate IP addre
ss (as returned by the server). Such as: aaa.bbb.ccc.ddd:15151. All of
 the other options should be their correct defaults. Hit the OK button
 and you should connect. If you mistyped something, got the port/addre
ss wrong, or picked the wrong network type/encryption/crypto-key, then
 it won't connect. But it all goes well, you'll see a little window in
to the other machine's desktop. Congrats.

Well that's it for the tour, you should be able to figure out lots of 
other things on your own!

--
※ 来源:.月光软件站 http://www.moon-soft.com.[FROM: 202.102.32.74]

[关闭][返回]