31
Chappy
Re: Might be a DOS attack .... need a sec opinion !!!
  • 2005/10/11 20:33

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


Yeah, the site is elderhope.com. I hope it helps. I may not be understnding what its supposed to do but it certainly is not creating links like I saw on your site snakes. Thank you both for your responses and help.
MMM...It tastes like chicken! ...

32
tzvook
Re: Might be a DOS attack .... need a sec opinion !!!
  • 2005/10/12 22:33

  • tzvook

  • Just can't stay away

  • Posts: 875

  • Since: 2003/2/1 2


I looked @ your site Chappy, and it seems like nothing in there from the hack ...

Since there's no clue to it in your code, and it all needs to be a template hack, I have just one question:

Did you updated your module after code changes ?

33
Chappy
Re: Might be a DOS attack .... need a sec opinion !!!
  • 2005/10/13 1:39

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


Thanks, tzvook:

So, I know I'm just going to end up kicking myself here in some way or another. Have you had those times when you couldn't find the problem for the life of you, you know mostly what you're doing, somewhat, but there's something somewhere screwed up and you just can't get a handle on it. Well, this is the most recent example in recent memory of that feeling for me. I have updated the system module, the weblinks module, both of them multiple times; I deleted the files in the templates_c directory, I set general prefs to "Update module template .html files from themes/your theme/templates directory", all to no avail. I just checked the file weblinks_header.html and the first six lines read:
Quote:

<script language="javascript">
function weblinks_hardlink(link,lid){
link.href='<{$module_url}>/visit.php?lid=' + lid;
return true;
}
</script>
<br />

<{if $logoshow == 1}>
<div align="center">
<a href="<{$module_url}>/index.php"><img src="<{$module_url}>/images/logo.gif" alt="logo" /></a>
</div>
<{/if}>


line 6 of weblinks_link.html reads:

[quote}
<a href="<{$link.url}>" onmousedown="return weblinks_hardlink(this,<{$link.lid}>)" target="_blank">
[/quote]

All the other files in the module directory have been edited as prescribed and updated.

I cleared out my browser cache (on both IE and FF), I turned off zlib compression, turned off caching on the module, all of these in case the data was being saved in cache. No luck though.

I am completely mystified as to why the file itself would have the proper code in it but the code doesn't make it, apparently, to be displayed.

At this point, I suppose the hack wouldn't matter that much but it is now a matter of pride and learning (AKA I'm PO'd).

Any thoughts would be appreciated...

Mike
MMM...It tastes like chicken! ...

34
jdseymour
Re: Might be a DOS attack .... need a sec opinion !!!

Hi Chappy,

Do you happen to use cloned templates? If so then you will need to delete and regenerate the changed templates manually in the clone.

35
snakes
Re: Might be a DOS attack .... need a sec opinion !!!
  • 2005/10/13 8:06

  • snakes

  • Just popping in

  • Posts: 69

  • Since: 2004/8/8 0


yeah, or you can also right click on the system icon in the admin and click on "templates", look at the template set you are using and edit the one of weblinks. Or regenerate them.

But in principle, this should be regenerated automatically when you upgrade the module...

36
Chappy
Re: Might be a DOS attack .... need a sec opinion !!!
  • 2005/10/13 9:17

  • Chappy

  • Friend of XOOPS

  • Posts: 456

  • Since: 2002/12/14


Thanks, jdseymour and snakes!

I'm off to my job at the hospital at the moment, but I will take care of that later this evening. I knew it was something simple like that, just didn't have any idea what. Anyway, we'll give her a shot later. I do appreciate the help...

[edit]

I just couldn't wait... Gave it a shot and yeeeehaaaah, and it worked. Good thing you'all weren't here or you'd have gotten a slobbery kiss . Do appreciate it very much. It was absolutely driving me crazy.
MMM...It tastes like chicken! ...

37
script_fu
Great Hacks!!!

How could I export weblinks data? Then import that data back into a fresh copy of weblinks on another website. Could you give an example?


BTW Thanks for all your hard work. This module is awesome!

38
McDonald
Re: Great Hacks!!!
  • 2005/11/4 0:31

  • McDonald

  • Home away from home

  • Posts: 1072

  • Since: 2005/8/15


With the module XOOPS DB Backup & Restore 3.0 you can make backups of your SQL database tables and restore them.
You can save the backup files to a directory on your server or have the backup files sent to you by email.
This module has the script bigdump.php integrated so it can handle big tables ('til 50MB I think).

39
script_fu
Re: Great Hacks!!!

Okay i've been playing with this tonight and so far its rockin.

I have question...

Im trying to set up reciprocal linking with other sites but the weblinks module still has...

http://www.mysite.com/modules/weblinks/viewcat.php?cid=1

Now my links to other websites because of snakes hack are 100% hard links.

The problem is the different categories within weblinks still have the dreaded(php?cid=whatever)behind them.

So how do the search engines get to the hard coded links?

How can I make the "cats" a hard link so google can get to the linking sites?

40
script_fu
Re: Great Hacks!!!

Btw thank you McDonald for the link...

Login

Who's Online

227 user(s) are online (141 user(s) are browsing Support Forums)


Members: 0


Guests: 227


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits