Fixed an exploit in QDB that allowed users to use services fantasy commands with the bot's account.

This commit is contained in:
Elijah Perrault committed 2011-03-14 21:56:29 -06:00
1 parent ddf2e8bdea
commit 618cc6cccb
3 files changed
+7 -3

No files matched your search

+2
View File
@@ -20,6 +20,8 @@ In this alpha8 release, we have added:
Bug fixes: Bug fixes:
* Fixed an issue in auto --help that incorrectly displayed the binary name. * Fixed an issue in auto --help that incorrectly displayed the binary name.
* Fixed an exploit in QDB that allowed users to use services fantasy commands
with the bot's account.
Incompatibilities: Incompatibilities:
+2
View File
@@ -3,6 +3,8 @@ Auto IRC Bot 3.0: Change Log
3.0 Indev 3.0 Indev
=============================================================================== ===============================================================================
* Fixed an exploit in QDB that allowed users to use services fantasy
commands with the bot's account.
* Heavily improved ./install. * Heavily improved ./install.
3.0 Alpha 7 3.0 Alpha 7
+3 -3
View File
@@ -86,7 +86,7 @@ sub cmd_qdb
# Send it back. # Send it back.
privmsg($src->{svr}, $src->{chan}, "\002Submitted by\002 $data[1] \002on\002 ".POSIX::strftime('%F', localtime($data[2]))." \002at\002 ".POSIX::strftime('%I:%M %p', localtime($data[2]))); privmsg($src->{svr}, $src->{chan}, "\002Submitted by\002 $data[1] \002on\002 ".POSIX::strftime('%F', localtime($data[2]))." \002at\002 ".POSIX::strftime('%I:%M %p', localtime($data[2])));
privmsg($src->{svr}, $src->{chan}, $data[3]); privmsg($src->{svr}, $src->{chan}, '> '.$data[3]);
} }
when ('COUNT') { when ('COUNT') {
# Get count. # Get count.
@@ -211,7 +211,7 @@ sub cmd_qdb
} }
API::Std::mod_init('QDB', 'Xelhua', '1.02', '3.0.0a7', __PACKAGE__); API::Std::mod_init('QDB', 'Xelhua', '1.03', '3.0.0a7', __PACKAGE__);
# build: perl=5.010000 # build: perl=5.010000
__END__ __END__
@@ -222,7 +222,7 @@ QDB - Quote database module.
=head1 VERSION =head1 VERSION
1.02 1.03
=head1 SYNOPSIS =head1 SYNOPSIS