SMF Shop

SMFShop => Bugs => Topic started by: AZ-{OVGY} on December 19, 2007, 06:06:27 pm

Title: An Error Has Occurred! Hacking attempt...
Post by: AZ-{OVGY} on December 19, 2007, 06:06:27 pm
I'm trying to setup SMFShop 3.0 on my SMF 1.1.4 forum and it is all working apart from getting the following error

An Error Has Occurred! Hacking attempt...

It happens whenever I try to send credits to other members. In my CPanel logs I have an error too

ALERT - script tried to increase memory_limit to 134217728 bytes which is above the allowed value (attacker '82.29.79.45', file '/home/ovgyclan/public_html/Sources/Subs-Package.php', line 1837)

line 1837 it refers to looks like,

if (!empty($modSettings['package_disable_cache']) || ini_set('memory_limit', '128M') !== false || strpos(strtolower(PHP_OS), 'win') !== false)

Any help would be greatly appreciated, thanks.
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: AZ-{OVGY} on December 20, 2007, 11:01:40 am
Please help, when this error happens the credits do actually get sent but the pm doesn't.
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: AZ-{OVGY} on December 21, 2007, 05:54:02 am
My forum error logs show this,

Hacking attempt...

INSERT INTO smf_personal_messages
(ID_MEMBER_FROM, deletedBySender, fromName, msgtime, subject, body)
VALUES (1, 1, SUBSTRING('AZ-{OVGY}', 1, 255), 1198185836, SUBSTRING('u1 (Unreal u's) sent to you by AZ-{OVGY}', 1, 255), SUBSTRING('AZ-{OVGY} has sent you u1 (Unreal u's) . If they left a message explaining why, it will be below:\r\n\r\n JFCGJHGJ\r\nHave a good day,\r\n --Forum Management', 1, 65534))
File: /home/ovgyclan/public_html/Sources/Subs-Post.php
Line: 806
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: AZ-{OVGY} on December 23, 2007, 02:15:21 am
Surely somebody has an idea of what might be wrong.
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: Daniel15 on February 15, 2008, 07:27:45 am
Quote
(Unreal u's)
Try getting rid of the apostrophe and see if that fixes it.
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: Alma on April 24, 2008, 09:06:54 am
Hello the first thing thank you for all the work that haceis here.
I have also this mistake and do not know like solve it, the mistake goes out when I give him to send money to, in my log of mistakes of the forum the mistake that goes out is this:
Code: [Select]
Hacking attempt...

INSERT INTO smf_personal_messages
(ID_MEMBER_FROM, deletedBySender, fromName, msgtime, subject, body)
VALUES (1, 1, SUBSTRING('Alma', 1, 255), 1208990790, SUBSTRING('3 D€SIGN'S enviado hacia ti por Alma', 1, 255), SUBSTRING('Alma te ha enviado 3 D€SIGN'S. Si han enviado un mensaje explicando por que, estara abajo:\r\n\r\n Por que tu lo vales\r\n Ten un buen dia,\r\n --Administracion del foro', 1, 65534))
Archivo: /forum/Sources/Subs-Post.php
Línea: 806
The file Subs-Post.php:
Code: [Select]
// Insert the message itself and then grab the last insert id.
db_query("
INSERT INTO {$db_prefix}personal_messages
(ID_MEMBER_FROM, deletedBySender, fromName, msgtime, subject, body)
VALUES ($from[id], " . ($store_outbox ? '0' : '1') . ", SUBSTRING('$from[username]', 1, 255), " . time() . ", SUBSTRING('$htmlsubject', 1, 255), SUBSTRING('$htmlmessage', 1, 65534))", __FILE__, __LINE__);
$ID_PM = db_insert_id();
And the message of confirmation is not sent, though yes the money is added.
Thank you very much for everything.

Forgive my English, I am using a translator online.
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: Alma on May 01, 2008, 06:40:16 am
Please help me! I'm desperate :'(
Title: Re: An Error Has Occurred! Hacking attempt...
Post by: Alma on July 19, 2008, 06:49:30 am
 :'( :'(

Please help me!