the continuing saga

nicholas at 10122112.com
Sat Jun 29 04:14:45 EDT 2013


I do not have such error. I am running on CentOS 6.4 with
perl-5.10.1-131.el6_4.x86_64

 

Removal Results

IP address 78.129.223.91 has been removed from the database. It should be
gone from the DNSBL list psbl.sorbl.com after the next zone file rebuild, in
a couple of minutes. 

Note that it will be added back in the next time it sends email to one of
our spam traps, so please minimise any abusive behaviour by 78.129.223.91

 

 

 

From: spamikaze-bounces at kernelnewbies.org
[mailto:spamikaze-bounces at kernelnewbies.org] On Behalf Of Eric Henson
Sent: Saturday, 29 June, 2013 3:28 AM
To: spamikaze at kernelnewbies.org
Subject: the continuing saga

 

Mysql: installed and working

Sendmail: installed and working

Passive.pl: working

remove.cgi: getting this error:

 

DBD::mysql::st execute failed: Out of range value for column 'octa' at row 1
at /var/www/cgi-bin/remove.cgi line 160., referer:
http://prodantispam01.pfsweb.com/remove.html

 

My guess is that the remove.cgi isn’t updating the database correctly.

 

Here it parses the IP:

 

if ($ip =~ /^(\d{1,3})\.(\d{1,3})\.(\d{1,3})\.(\d{1,3})$/) {

                                $octa = $1;

                                $octb = $2;

                                $octc = $3;

                                $octd = $4;

 

Here it writes to the database:

 

    my $dbh;

 

    

                # DBI connect params.

                $dbh = Spamikaze::DBConnect();

                         

                my $sql = "UPDATE ipnumbers SET visible = 0 WHERE

                                                octa = ? AND

                                                octb = ? AND

                                                octc = ? AND

                                                octd = ? AND

                                                visible = 1"; 

 

-- 
ERIC HENSON
Solutions Architect for Systems Organization

PFSweb  |   <http://www.pfsweb.com/> www.pfsweb.com
p:  972.881.2900  x3104
m: 972.948.3424

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/spamikaze/attachments/20130629/873ba184/attachment.html 


More information about the Spamikaze mailing list