Best of joomla gives you news, joomla templates, tutorials and websites about Joomla , FireBoard and FireMessage official page.
| No account yet?   |
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC:
#37136
New announcement -> Hacking attempt 6 Months, 2 Weeks ago  
I'm testing on latest SVN of Joomla 1.5 and FireBoard 1.0.4 Stable and when i try to add new announcement as administrator
Code:

index.php?option=com_fireboard&func=announcement&Itemid=55&do=add

i get this error:
Hacking attempt


Here is the problem - announcement.php
Code:

if ($do == "add"«») {
if (!$editor) {
die ("Hacking attempt"«»);
}



if i add this line, it works OK !
Code:


$editor =& JFactory::getEditor();

websitemaker (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
 
Last Edit: 2008/01/03 20:26 By websitemaker.
 
The administrator has disabled public write access.  
#43987
Re:New announcement -> Hacking attempt 5 Months, 1 Week ago  
This hack worked for me as well. Thanks for posting it. I've read all of the posts about the evils of WYSIWYG editors and have concluded that this should be an admin's decision. My users are 'trusted' but not 'techie' and no matter how you slice it, bb code is just too difficult for them. They are familiar with MS-Word and nice editors like FCKeditor have been very well received by them. Hope we'll see hooks in Fireboard for these in the future.

All told though, Fireboard rocks.
pastvne (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#49106
Re:New announcement -> Hacking attempt 2 Months, 4 Weeks ago  
I tried both ways by changing code. It is not working. I am new to coding business. I mace changes in notepad, saved as the same name & extension & uploaded the php file by ftp. But it is not working.
santosh_karkhanis (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
 
The administrator has disabled public write access.  
#49956
Re:New announcement -> Hacking attempt 2 Months, 2 Weeks ago  
Try change the code block to this:

Code:


if ($do == "add") {
$editor =& JFactory::getEditor();
if (!$editor) {
die ("Hacking attempt");
}

TBK (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
 
Last Edit: 2008/05/04 00:09 By TBK.
 
The administrator has disabled public write access.  
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop