You are not logged in.

#1 2015-05-07 11:41 am

Ranch Dog
Member
From: Cuero, TX
Registered: 2012-09-29
Posts: 10

Mod for phpbb 3.0.14

The web site reference at Resources> Mods & Plugins> phpbb> Anti-Spam ACP by EXreaction must no longer be active as the link leads me to a blank page. Is there a mod for phpbb 3.0. (not 3.1.)?

Thanks

Offline

#2 2015-05-07 12:52 pm

Old Dragon
Member
Registered: 2012-11-25
Posts: 197

Re: Mod for phpbb 3.0.14

EXreaction's mod is available from the phpBB site. https://www.phpbb.com/customise/db/mod/anti_spam_acp/


Spammers can all go feck themselves. With a cactus. A large one. With two branches.  Sideways
SEO = Spam Emitting Organisation

Offline

#3 2015-05-07 1:17 pm

Ranch Dog
Member
From: Cuero, TX
Registered: 2012-09-29
Posts: 10

Re: Mod for phpbb 3.0.14

Thanks OD, the link you referenced is for a very dated version that does not work with 3.0.9 or higher, I appreciate the effort. I did find the current version on GitHub: Anti-Spam ACP 1.0.6

It is coded for phpbb 3.0.10 but reports as working through 3.0.12. During the auto mod install to 3.0.14, two invalid references in posting.php required a "Force Installation" and then a manual edit to the file. The invalid reference was for a single line, Anti-Spam ACP adding code before and then after the line. Hopefully it is detailed sufficiently below.

Anti-Spam ACP 1.0.6.
phpbb 3.0.14
posting.php manual edit
searched: $redirect_url = submit_post
only one reference at line: 1141

php3 3.0.14 reads:
$redirect_url = submit_post($mode, $post_data['post_subject'], $post_data['username'], $post_data['topic_type'], $poll, $data, $update_message, ($update_message || $update_subject) ? true : false);
mod reads:
$redirect_url = submit_post($mode, $post_data['post_subject'], $post_author_name, $post_data['topic_type'], $poll, $data, $update_message, ($update_message || $update_subject) ? true : false);

I've installed the mod on my test forum and everything seems to be working, I will do the mod to both of my active forums tomorrow morning and report back.

Offline

#4 2015-10-18 12:11 pm

virus_net
Member
From: Moscow
Registered: 2015-10-18
Posts: 3

Re: Mod for phpbb 3.0.14

Hi all.
Thanks for your site and yor work.

I wrote little MOD for phpBB 3.0.14 and API client to import data to your database.
You can download it from here: http://subnets.ru/forum/viewtopic.php?f=19&p=5689

MOD can do logging of unsuccessful register attempts and import data via yours API when too many register error come up.

I don`t include query tool in this MOD because of:

This API is NOT to be used as a general software firewall. Checking every incoming connection against the API will be treated as a denial of service attack against us and will result in the immediate blocking of any offending IP numbers

Last edited by virus_net (2015-10-18 12:15 pm)

Offline

#5 2015-10-18 1:00 pm

Alex Kemp
Moderator
From: Nottingham, England
Registered: 2009-12-02
Posts: 2,457
Website

Re: Mod for phpbb 3.0.14

virus_net wrote:

logging of unsuccessful register attempts and import data via yours API when too many register error come up

That is also a reason for "immediate blocking of any offending IP numbers"

There is one reason, and one reason only, for reporting 'username/email/ip' to SFS:- a user has spammed your website. Any other use of the API means that you get blocked from this site.

Your Mod will be reported to Pedigree. Thanks for the notification.

Offline

#6 2015-10-18 1:26 pm

Papa Parrot
Member
From: Mexico
Registered: 2011-08-19
Posts: 1,826
Website

Re: Mod for phpbb 3.0.14

Besides, that,  I am not downloading something like that ,without being able to see the "script" first, it probably is a "virus",
Considering  the sources user name "virus_net" and where the site is.

Offline

#7 2015-10-18 2:24 pm

Maikuolan
Member
From: Perth, Western Australia
Registered: 2011-08-09
Posts: 802
Website

Re: Mod for phpbb 3.0.14

I've downloaded a copy and looked at the source code.

GarryRicketson wrote:

Besides, that,  I am not downloading something like that ,without being able to see the "script" first, it probably is a "virus",
Considering  the sources user name "virus_net" and where the site is.

Perhaps not the most faith inspiring choice of username, but there weren't any viruses included in the file (at least, the time of my downloading it). :-)

Alex Kemp wrote:
virus_net wrote:

logging of unsuccessful register attempts and import data via yours API when too many register error come up

That is also a reason for "immediate blocking of any offending IP numbers"

Looking at the source code, it appears that's exactly what's being done: Sending unsuccessful registration attempts (all unverified including email, at that, whether or not spamming was involved aside) to the SFS API for submission.

This particular copy of the script that I've looked at appears to send its submissions using the UA of "SUBNETS.RU API CLIENT v0.1"; It would only require changing one line of code to change the UA used, but, for any submissions already sent using this plugin, it should be possible to find them by searching for that UA in the SFS logs, along with any other submissions sent by the originating IPs of those submissions sent using that UA.

Offline

#8 2015-10-18 8:01 pm

Ranch Dog
Member
From: Cuero, TX
Registered: 2012-09-29
Posts: 10

Re: Mod for phpbb 3.0.14

Ranch Dog wrote:

Thanks OD, the link you referenced is for a very dated version that does not work with 3.0.9 or higher, I appreciate the effort. I did find the current version on GitHub: Anti-Spam ACP 1.0.6

It is coded for phpbb 3.0.10 but reports as working through 3.0.12. During the auto mod install to 3.0.14, two invalid references in posting.php required a "Force Installation" and then a manual edit to the file. The invalid reference was for a single line, Anti-Spam ACP adding code before and then after the line. Hopefully it is detailed sufficiently below.

I've installed the mod on my test forum and everything seems to be working, I will do the mod to both of my active forums tomorrow morning and report back.

A subscription brought me back to this topic because of the latest posts and I realized I never had reported back on using EXreaction's mod, with the edits that I indicated, on my 3.0.14 forums. Both forums have been running without issue and the Anti-Spam mod has been working without issue on my two 3.0.14 forums since my original post.

Offline

#9 2015-10-19 5:23 am

virus_net
Member
From: Moscow
Registered: 2015-10-18
Posts: 3

Re: Mod for phpbb 3.0.14

Alex Kemp wrote:

That is also a reason for "immediate blocking of any offending IP numbers"

Hmm... I don`t see any text about this on site. Sorry.
I thought that:
- we need to update your database and insert any bot activity, not only spam messages
- you (and others) want to have fresh information about bots to avoid possibility to leave spam comments

Ok, then I misunderstood and if so, I will immidiatelly remove insertion on failed register attempts to your database at my side.

Alex Kemp wrote:

Besides, that,  I am not downloading something like that ,without being able to see the "script" first, it probably is a "virus"

There no any viruses, in archive only PHP filies and nothing more. Downloading and open arch to see what in it CAN`T infect anything and anyone.

Alex Kemp wrote:

Considering  the sources user name "virus_net"

This is my nickname and what ? If "virus" in it I have to write viruses ? Funnily smile))
If you go to our project website you will see that we also fight against any spam, bot nets, voip frod and etc.
As example, please see <url removed> project. Similar to stopforumspam project but for VoIP networks. We thanks all people who insert any frod activity to our database because "knowledge is power".
Other example: <url removed>
We are NOT virus writers, we are good guys wink

Maikuolan wrote:

Looking at the source code, it appears that's exactly what's being done

Exactly so. Thanks

Maikuolan wrote:

using the UA of "SUBNETS.RU API CLIENT v0.1"

Yes, that was my script UA and all what it already inserted to stopforumspam DB was 100% bot`s accounts.

Last edited by virus_net (2015-10-19 5:35 am)

Offline

#10 2015-10-19 9:59 am

Alex Kemp
Moderator
From: Nottingham, England
Registered: 2009-12-02
Posts: 2,457
Website

Re: Mod for phpbb 3.0.14

virus_net wrote:

I thought that:
- we need to update your database and insert any bot activity, not only spam messages

This site is called "stop forum spam". The clue is in the name.

Offline

#11 2015-10-19 10:47 am

virus_net
Member
From: Moscow
Registered: 2015-10-18
Posts: 3

Re: Mod for phpbb 3.0.14

OK, I understood now.
Thanks again and sorry again for my lack of understanding of the purpose of your project.

Probably I will start making own project and own DB to stop bot registrations. Finally I can use your data through downloads and import it to my DB.

Offline

Board footer

Powered by FluxBB

Close
Close