vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Administrative and Maintenance Tools - Fix-it: Template Edition (https://vborg.vbsupport.ru/showthread.php?t=220967)

Zachery 11-12-2009 09:27 PM

This is a tool intended to fixed defaced websites, not revert your templatest to the stock vBulletin templates. Read the description.

Gav-n-Tn 11-12-2009 09:32 PM

Quote:

Originally Posted by Zachery (Post 1913256)
This is a tool intended to fixed defaced websites, not revert your templatest to the stock vBulletin templates. Read the description.

What I asked was WILL it still allow you to revert if were to choose to as you can now or does it affect that function.

Zachery 11-13-2009 02:01 AM

What it does:
Checks all of the templates in the database;
- Makes a new parsed version from the unparsed template.
- Compares the current parsed template to the new parsed template
- If they differ it updates the template, then rebuilds all of the styles.


It does not do anything strange or funky, it does not effect the revert function in the least.

Gav-n-Tn 11-13-2009 02:13 AM

Quote:

Originally Posted by Zachery (Post 1913361)
What it does:
Checks all of the templates in the database;
- Makes a new parsed version from the unparsed template.
- Compares the current parsed template to the new parsed template
- If they differ it updates the template, then rebuilds all of the styles.


It does not do anything strange or funky, it does not effect the revert function in the least.

I love it. Thanks for the reply. Consider it installed.

vktechnology 12-07-2009 02:28 AM

thank for this mod

my site infect today and just remove it

i donlt know how they put ifram in my site..
i host my private server.

jimjam 12-27-2009 06:47 PM

Thanks for this mod. It worked for me a treat. :up:

But I am having to use it every day!! What can i do to stop the ba$tards messing with my templates.

Zachery 01-06-2010 05:45 AM

Contact your webhost.

Parture 01-10-2010 01:07 AM

Does it work with 4.0?

Did I hear correctly, if I rebuild styles correctly it won't do anything?

I run it for awhile and then I get an error.

Bashar 01-18-2010 10:35 AM

as a webhost how we can edit it to do the fix without the need for the admin user/pass ? so we don't need to ask each user for his admin user/pass as i noticed few forums got infected on one of the servers

Thanks

Bashar 01-19-2010 07:36 PM

anyone?

Link14716 01-22-2010 01:35 PM

1 Attachment(s)
Here's a version that doesn't require admin privileges to run.

As for the unrelated question of whether it works on 4.0 - probably. I looked at how vB4 compiles templates and it is the same function call. I don't guarantee that something bad won't happen, but it'll probably work just as smoothly as it does on vB3. Maybe.

Bashar 01-22-2010 03:42 PM

still asks for login

Link14716 01-23-2010 12:50 AM

Put it in the forum root directory instead of the admincp directory. Sorry, I forgot to mention that.

Bashar 01-23-2010 08:59 PM

Quote:

Originally Posted by Link14716 (Post 1963973)
Put it in the forum root directory instead of the admincp directory. Sorry, I forgot to mention that.

thanks a bunch!

Gargi 02-13-2010 10:13 AM

Does it cause any troubles using the TMS (template modification system)?

Zachery 02-15-2010 08:38 AM

It shouldn't, but a link to the product would help

Gargi 02-15-2010 09:43 AM

Quote:

Originally Posted by Zachery (Post 1982749)
It shouldn't, but a link to the product would help

This one from Andreas: https://vborg.vbsupport.ru/showthread.php?t=152931

cu
Gargi

Zachery 02-15-2010 09:30 PM

I would say backup first. but this is intended to fix defaced sites.

gsmlover4u 03-17-2010 09:00 AM

Quote:

Originally Posted by Link14716 (Post 1963366)
Here's a version that doesn't require admin privileges to run.

As for the unrelated question of whether it works on 4.0 - probably. I looked at how vB4 compiles templates and it is the same function call. I don't guarantee that something bad won't happen, but it'll probably work just as smoothly as it does on vB3. Maybe.

not working on vb 4.0.2

warezgen.com 03-28-2010 01:30 PM

Can you please make it work on vbulletin 4.02 or give me some alternative?

Bashar 05-01-2010 06:48 PM

true it doesn't work with 4.0.2 anymore

can anyone make it works for 4.0.2 ?

saudihost 05-27-2010 08:28 AM

Unfortunately, it still doesn't work with me, whenever I try to browse it and run it, I got the hacked pages, so it seems to me the hacked pages would show up in all the files for the forum, like if it would be a header or something like that.

Please advise,

Thank you,

BBForums 02-10-2011 06:00 AM

any ideas if this will work with 3.6.12 PL2?

diggity1 03-01-2011 11:48 PM

any chance this would work on v3.5x?

diggity1 03-02-2011 12:06 AM

sorry, nm

Lee G 07-19-2011 10:03 PM

How would you make this work on a cron job
Basically set and forget.
Let it run once or twice a day
Thanks in advance for any help

Bashar 11-07-2011 07:30 PM

for some reason this doesn't work anymore even on 3.6.x or 3.8.x it still shows the hacked page

any idea what might be the reason?

Zachery 11-07-2011 10:42 PM

they didn't hack your templates.

TheLastSuperman 11-07-2011 10:49 PM

Quote:

Originally Posted by Bashar (Post 2265466)
for some reason this doesn't work anymore even on 3.6.x or 3.8.x it still shows the hacked page

any idea what might be the reason?

Quote:

Originally Posted by Zachery (Post 2265515)
they didn't hack your templates.

Check your plugins Bashar, Zachery has a point ;).

Bashar 11-08-2011 01:43 AM

hmm, which plungins? thing is all pages loads the hacked page, i checked the files they are intact, i restored older DB forum(s) worked

different forums installations different plugins

i even tried to dump the db and grep into the sql file for a word but since its encrypted JS no results matched

any other hints?

thanks :)

Magle 02-06-2012 11:23 AM

Unfortunately it doesn't work under vB 4.1.10, but I really need this a s my forum was compromised. I have since closed the hole (I hope), but the bad templates are still in there I believe

Is there any way to get this to work, and if not, how can I manually reparse the templates?

Any help wold be greatly appreciated, thanks.

Zachery 02-07-2012 05:54 PM

Are you positive its in the templates?

Brandon Sheley 02-08-2012 01:05 AM

Is there a 4.1.x version of this?
I found this thread via theadminzone
http://www.theadminzone.com/forums/s...2&postcount=81
and want to make sure a client is secure.

Thanks

kh99 02-08-2012 02:10 AM

I think for this to work in vb4 you just need to take the "false" parameter off the compile_template line so it looks like this:

Code:

    $template['newparsed'] = compile_template($template['template_un']);

Magle 02-08-2012 04:37 PM

Quote:

Originally Posted by Zachery (Post 2297206)
Are you positive its in the templates?

I'm not 100% sure, but I believe this may be what happened:

https://www.vbulletin.com/forum/show...=1#post2185387

Both my forums were compromised at the same time, and even after I had plugged the hole this mod continued to send blank emails to me for several days (which according the the author means it found an infection but missed some phrases). It has stopped now though, but does that mean the templates are "clean"?

This may also be what happened (or both), but how to tell? I'd rather be safe than sorry

Magle 02-08-2012 04:46 PM

Quote:

Originally Posted by kh99 (Post 2297386)
I think for this to work in vb4 you just need to take the "false" parameter off the compile_template line so it looks like this:

Code:

    $template['newparsed'] = compile_template($template['template_un']);

Thanks a lot!

I'll try this if/when I can muster the courage to run the untested code on my forums :)

kh99 02-08-2012 05:09 PM

Quote:

Originally Posted by Magle (Post 2297579)
Thanks a lot!

I'll try this if/when I can muster the courage to run the untested code on my forums :)

That's fair. I did run it on a test forum and it runs without errors, recompiled a template where I had gone in to the db and changed the compiled string, and didn't seem to have any other effects. But personally I don't think I'd even run the original version unless I suspected a problem.

Magle 02-08-2012 05:14 PM

Quote:

Originally Posted by kh99 (Post 2297589)
That's fair. I did run it on a test forum and it runs without errors, recompiled a template where I had gone in to the db and changed the compiled string, and didn't seem to have any other effects. But personally I don't think I'd even run the original version unless I suspected a problem.

I see, thanks for testing it. I think what I'll do is run it right after the daily backup of my server, that way if something goes wrong It'll be at most a few hours I lose.

neverstop 03-01-2012 04:27 PM

When I try running this file (vb4) I get a blank page. Funny thing is it seemed to work the first time I ran it but got "hung" on a particular template. Now everytime I try to run it i just get a blank page. Any thoughts?

aVirulence 03-10-2012 07:25 AM

I'm getting a 500 error when I try to run this on my vb4 forum (after changing the parameter as discussed above).


All times are GMT. The time now is 01:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01879 seconds
  • Memory Usage 1,818KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete