Honeypots mailing list archives

Re: sebek problem


From: die tuere <reitenba () fh-brandenburg de>
Date: Tue, 1 Jun 2004 08:43:34 +0200

On Sunday 30 May 2004 21:34, Leon Felipe Villavicencio Fernandez wrote:
Hi, some could help me with this error
when I run sebek from the console, It works, but after a while (4 hours)
and it receives a connection, dies with the following message:


DBD::mysql::st execute failed: MySQL server has gone away at
/etc/honeypots/sbk_upload.pl line 173.
reconnecting to the datbase
DBI connect('database=sebek;host=localhost;port=3306','0',...) failed:
Access denied for user: 'root@localhost' (Using password: YES) at
/etc/honeypots/sbk_upload.pl line 178
Can't call method "prepare" on an undefined value at
/etc/honeypots/sbk_upload.pl line 169.


What's wrong, i think this is a mysql problem.

Someone please help me, it will be very helpfull.


thanx................
hi,
had the same problem some weeks ago, found the problem. have a patched script 
attached. there is one variable with two different logical uses :/

i also added base64 encoding before uploading into the database (and added 
decoding to the web-interface) if you don't want it base64 encoded disable it 
in lines 170, 177. or if you want i can send you my sebek-web.

buzz

hi again ,
as my first mail with the patched version attached, didn't come past the 
moderator, my fault, now a second try, with a link to my edited version.

http://zeus.fh-brandenburg.de/~reitenba/sbk_upload.pl

buzz


Current thread: