PHP Web Host - Quality Web Hosting For All PHP Applications Free RavenNuke(tm) Add Ons
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Thu Mar 06, 2008 7:58 pm Reply with quote Back to top

I would like to use such a module or a similar to write my own "tuts" but I know there was a problem with sql injections with this module long time ago.

Is there still a security problem with version Tutoriaux_1.3 or is this fixed ?
And how about short urls for this module ?
View user's profile Send private message Visit poster's website
kguske
Site Admin


Joined: Jun 04, 2004
Posts: 6044

PostPosted: Thu Mar 06, 2008 8:49 pm Reply with quote Back to top

Please PM any info you have on this problem, and I will investigate.

Not sure about short urls, but it's integrated into nukeSEO (sitemap), nukeFEED, and mSearch.
View user's profile Send private message
999
Regular
Regular


Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA

PostPosted: Fri Mar 07, 2008 4:31 am Reply with quote Back to top

I would also like to know if there's an issue or risk with this. I have shortened urls for most everything except having users create tutorials on their own (as I don't really need that function).
.htaccess
Code:
RewriteRule ^tutorial-section-([0-9]*).html modules.php?name=Tutoriaux&rop=souscat&cid=$1 [L]
RewriteRule ^tutorial-([0-9]*).html modules.php?name=Tutoriaux&rop=tutoriaux&did=$1 [L]
RewriteRule ^tutorial-print-([0-9]*).html modules.php?name=Tutoriaux&file=print&did=$1 [L]
RewriteRule ^tutorial-([0-9]*)-comment.html modules.php?name=Tutoriaux&file=comment&did=$1 [L]
RewriteRule ^tutorial-([0-9]*)-viewcomments.html modules.php?name=Tutoriaux&file=viewcomment&did=$1 [L]
RewriteRule ^tutorials-inprogress.html modules.php?name=Tutoriaux&rop=enprepa [L]
RewriteRule ^tutorials-top10.html modules.php?name=Tutoriaux&rop=informations [L]
RewriteRule ^tutorial-create-([0-9]*).html modules.php?name=Tutoriaux&file=submitut&;cid=$1 [L]
RewriteRule ^tutorials.html modules.php?name=Tutoriaux [L]

GT-Tutoriaux.php
Code:
$urlin = array(
'"(?<!/)modules.php\?name=Tutoriaux&amp;rop=souscat&amp;cid=([0-9]*)"',
'"(?<!/)modules.php\?name=Tutoriaux&amp;rop=tutoriaux&amp;did=([0-9]*)"',
'"(?<!/)modules.php\?name=Tutoriaux&amp;file=print&amp;did=([0-9]*)"',
'"(?<!/)modules.php\?name=Tutoriaux&amp;file=comment&amp;did=([0-9]*)"',
'"(?<!/)modules.php\?name=Tutoriaux&amp;file=viewcomment&amp;did=([0-9]*)"',
'"(?<!/)modules.php\?name=Tutoriaux&amp;rop=enprepa"',
'"(?<!/)modules.php\?name=Tutoriaux&amp;rop=informations"',
'"(?<!/)modules.php\?name=Tutoriaux"'
);

$urlout = array(
'tutorial-section-\\1.html',
'tutorial-\\1.html',
'tutorial-print-\\1.html',
'tutorial-\\1-comment.html',
'tutorial-\\1-viewcomments.html',
'tutorials-inprogress.html',
'tutorials-top10.html',
'tutorials.html'
);


Last edited by 999 on Mon Mar 17, 2008 7:53 pm; edited 3 times in total
View user's profile Send private message Visit poster's website MSN Messenger
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Fri Mar 07, 2008 5:22 pm Reply with quote Back to top

999 thanks. I ´ll try it out.
I gave Kguse already all information I have about this and because he is using the same version of the Tutoriaux module I´m sure he will look into this. May take some time.
Btw: At secunia I found no entires for this module.
View user's profile Send private message Visit poster's website
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 6373
Location: Vsetin, Czech Republic

PostPosted: Sat Mar 08, 2008 2:14 am Reply with quote Back to top

Susann, I have been using it on my site for maybe a year or more with no problems and although that doesn't mean it is secure, I do get quite a lot of daily attacks.
View user's profile Send private message Send e-mail Visit poster's website
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Sat Mar 08, 2008 10:16 am Reply with quote Back to top

Well, I don´t know if everything is filtered correctly but I quess the important things are fixed otherwise it wouldn´t be available to download anymore.
There is just no versions history or change log.txt within the packet.
View user's profile Send private message Visit poster's website
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Mar 17, 2008 4:53 pm Reply with quote Back to top

The rewrites rules in .htaccess doesn´t work for me.
The requested URL /indexmodules.php was not found on this server. So something isn´t correct with tutorial-section-.html
and shouldn´t this be:
Code:
'"(?<!/)modules.php\?name=Tutoriaux(?!&)"',
View user's profile Send private message Visit poster's website
999
Regular
Regular


Joined: Sep 12, 2006
Posts: 58
Location: Dsm, IA

PostPosted: Mon Mar 17, 2008 7:52 pm Reply with quote Back to top

Sorry there was a couple typos in it when I pasted that, was late, other then that it works perfectly for me. I just based it off of the the taps for other files.
View user's profile Send private message Visit poster's website MSN Messenger
Susann
Moderator


Joined: Dec 19, 2004
Posts: 3143
Location: Germany:Moderator German NukeSentinel Support

PostPosted: Mon Mar 17, 2008 8:01 pm Reply with quote Back to top

No problem. Thought I better warn others before they also spend hours to find out where the 404 came from.
View user's profile Send private message Visit poster's website
montego
Site Admin


Joined: Aug 29, 2004
Posts: 9136
Location: Arizona

PostPosted: Mon Mar 17, 2008 8:06 pm Reply with quote Back to top

BTW, the "tap" has been in my forums for quite awhile now:
Only registered users can see links on this board!
Get registered or login to the forums!


Courteously of ANTH and then Delectable. Wink
View user's profile Send private message Visit poster's website
Display posts from previous:       
Post new topic   Reply to topic

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2011 by Raven

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::
:: fisubice Theme Modified by the RavenNuke™ Team ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum