vBulletin Mods

The Official vBulletin Modifications Site

How do I get sure I'm not being hacked?
by D2S05
30 Jul 2006 03:04

Hi, I'm not sure if this is the correct subforum, feel free to move it if it's not.

I've been contacted by an agent from ztmc.com, this guy offered me $50.00 USD in advance each month for introducing text ads in our vb board. When I accepted, he sent me not a HTTP code as I though he would, but some php and xml files and I'd like to be sure those files are completely safe:

The instructions:


* Upload the empty file named ad_network_ads_405.txt set the web server to have write permissions to this file. An easy way to set the permissions would be with the following command:

chmod 666 ad_network_ads_265.txt

* Upload ad_network_405.php (note both files should be uploaded to the root of the forums)
* In the Styles/Templates section of the Admin section, edit the SHOWTHREAD_SHOWPOST, printthread and footer templates, and add the following to it (somewhere appropriate):


# Import product-advertising_links.xml under AdminCP -> Plugin System -> Manage Products -> Add/Import Product
The xml file:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

The php file:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you find anything suspicious or find them clean I'd really appreciate your opinion as I don't understand a bit of php or xml programming.

Thank you!

Paul M 30 Jul 2006 12:28

The XML is fine - it's just the vb product file to upload the plugins.

The php is quite complicated so it's hard to say really, do you have some reason to suspect it ?

D2S05 30 Jul 2006 16:00

Yes, i never heard before about ads that would need this kind of scripts, and the emails received from the agent never were signed with phones, complete company name, charge, etc. He never sent a brochure or something, and Its maybe nothing, but as I am not sure I'm still investigating... I won't make a step until I know for sure these codes are safe.

AN-net 30 Jul 2006 16:06

have you considered google adsense or yahoo publishers network? they are somewhat more repuitable.

Marco van Herwaarden 30 Jul 2006 16:12

What i think it does is that it will pull the content (didn't really check the script) from an external server. That means that even if it is ok now, they could remotely insert unsecure things. Personally i would only allow this from well known trusted sites.

I don't know this website, but that means not much, not very familiar with advertisement suplliers.

D2S05 31 Jul 2006 05:47

What would be the worst escenario in case these guys were malicious?, I mean, introducing these scripts would put in danger the integrity of the whole forum?, we really don't need that much the money, I'm just curious about it... I think we'll check for google ads...

Thanks to you all.

All times are GMT. The time now is 00:40.

Powered by vBulletin® Version 3.8.14
Copyright © 2021, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.