commit bcee9bd5aa53b81ed3d6c66eac7df4908e008a51 from: jrmu date: Tue Aug 1 05:03:07 2023 UTC Minor fixes and reorganization commit - 71d1e25001b7351b471a19c15a0a1633938f7f4d commit + bcee9bd5aa53b81ed3d6c66eac7df4908e008a51 blob - b5156896312b287db974aecd9bcbae60f58b6ea0 blob + 31a1d636a82601eb62fb523378af90ef07118a37 --- BNC.pm +++ BNC.pm @@ -230,8 +230,8 @@ sub mbnc { SQLite::set("bnc", "ircid", $ircid, "email", $email); SQLite::set("bnc", "ircid", $ircid, "captcha", $captcha); SQLite::set("bnc", "ircid", $ircid, "hashid", $hashid); - main::whois($bot->{sock}, $nick); - main::ctcp($bot->{sock}, $nick); + main::whois($bot, $nick); + main::ctcp($bot, $nick); main::putserv($bot, "PRIVMSG $nick :".`figlet $captcha`); #main::putserv($bot, "PRIVMSG $nick :https://$hostname/$hashid/captcha.png"); #main::putserv($bot, "PRIVMSG $nick :https://$hostname/register.php?hashirc=$hashid"); blob - d62b6590fa4a32e12ed973c95b93d8ef33f59340 blob + 05d15dadf59244a9965f24f31dc5d10e59f07a6e --- Mail.pm +++ Mail.pm @@ -178,8 +178,8 @@ sub mmail { SQLite::set("mail", "ircid", $ircid, "email", $email); SQLite::set("mail", "ircid", $ircid, "captcha", $captcha); SQLite::set("mail", "ircid", $ircid, "hashid", $hashid); - main::whois($bot->{sock}, $nick); - main::ctcp($bot->{sock}, $nick); + main::whois($bot, $nick); + main::ctcp($bot, $nick); main::putserv($bot, "PRIVMSG $nick :".`figlet $captcha`); #main::putserv($bot, "PRIVMSG $nick :https://$hostname/$hashid/captcha.png"); #main::putserv($bot, "PRIVMSG $nick :https://$hostname/register.php?hashirc=$hashid"); blob - b548c1f34c6a20fdaa4ad8088ddd766dff6cda88 blob + fdecabd5e6ad2389c035cefd6e66af6952fd031c --- Shell.pm +++ Shell.pm @@ -175,8 +175,8 @@ sub mshell { SQLite::set("shell", "ircid", $ircid, "username", $username); SQLite::set("shell", "ircid", $ircid, "email", $email); SQLite::set("shell", "ircid", $ircid, "captcha", $captcha); - main::whois($bot->{sock}, $nick); - main::ctcp($bot->{sock}, $nick); + main::whois($bot, $nick); + main::ctcp($bot, $nick); main::putserv($bot, "PRIVMSG $nick :".`figlet $captcha`); # main::putserv($bot, "PRIVMSG $nick :$captchaURL".encode_base64($captcha)); main::putserv($bot, "PRIVMSG $nick :Type !shell captcha "); blob - 922c5d3ab0fcb632c7562c93dca8fc2b9fd94563 blob + c4e3f6af459a52333aed4f9ba0cc6bcddcbc75a2 --- VPN.pm +++ VPN.pm @@ -100,8 +100,8 @@ EOF SQLite::set("vpn", "ircid", $ircid, "username", $username); SQLite::set("vpn", "ircid", $ircid, "email", $email); SQLite::set("vpn", "ircid", $ircid, "captcha", $captcha); - main::whois($bot->{sock}, $nick); - main::ctcp($bot->{sock}, $nick); + main::whois($bot, $nick); + main::ctcp($bot, $nick); main::putserv($bot, "PRIVMSG $nick :".`figlet $captcha`); # main::putserv($bot, "PRIVMSG $nick :$captchaURL".encode_base64($captcha)); main::putserv($bot, "PRIVMSG $nick :Type !vpn captcha "); blob - 7a377ea442291577a084b97eaba84c6bc7d64614 blob + 56e8c1c3f9446c9728425a7af09d8534eef525d5 Binary files botnow and botnow differ