You are not logged in.
- Topics: Active | Unanswered
#26 Re: Modifications (1.4) » Subforum mod » 2011-06-25 14:02:33
- Smartys
I don't think that word means what you think it means ![]()
What you're talking about is known as "conversation threading": that is, replies are displayed in a hierarchical format where each post is replying to one above it (http://en.wikipedia.org/wiki/Conversation_threading).
Sub-forums are something completely different.
#27 Re: General support (1.4) » Post disappeared » 2011-06-23 01:54:45
- Smartys
I'm glad you gave people a whole four hours to respond ![]()
"The post shows up in the posts db with a valid topic_id and the topic is valid in the topics DB"
I'm not quite sure what this means.
"Only the first 2 of 3, the missing post being #3."
Is the user ID for #3 valid?
#28 Re: General support (1.4) » Post disappeared » 2011-06-13 21:26:15
- Smartys
Insert a topic with an ID corresponding to the ID of the missing posts and a forum ID corresponding to an existing forum.
#29 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-13 01:06:29
- Smartys
I'm honestly not sure, but the errors seem to indicate something going wrong with that script.
#30 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-12 21:35:20
- Smartys
Well, that script is vulnerable to SQL injection via a forged X_FORWARDED_FOR or CLIENT_IP header.
#31 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-12 20:55:05
- Smartys
Can you paste the contents of /home/myfolder/public_html/visits/count.php here?
#32 Re: FluxBB discussion » fluxxbb as part of ecommerce app ??? » 2011-06-12 17:14:57
- Smartys
You can modify the PUN_ROOT defines in the admin files, so that's not a big deal.
#33 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-12 13:44:09
- Smartys
Could you paste the code for your viewtopic.php here?
Edit: Actually, forget that. Based on the size of the responses, that doesn't appear to be a successful attack. That's just someone running a tool to scan for SQL injection.
#34 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-11 21:35:34
- Smartys
If the compromise came from FluxBB, there must be more to the logs. The first requests the "hacker" makes according to these logs are to the index page, then to the login page, at which point they have admin access (which means they logged in to an account that has admin access).
#35 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-11 21:14:38
- Smartys
Just paste any log entries containing the hacker's IP.
#36 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-11 20:17:52
- Smartys
The 200 responses make sense: a request is being made to FluxBB's viewtopic.php file with a query string, so the page returns a 200 response.
That being said, none of the logs you've posted indicate a compromise of any kind. Given the nature of the breach and your environment, is it possible that another site on your host was compromised, which gave the attacker the ability to access your files/database?
#37 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-11 15:13:51
- Smartys
A couple questions:
1. Is this shared hosting, or a dedicated server?
2. What exactly did the attacker do?
#38 Re: General support (1.4) » Fluxbb 1.4.5 compromized, need to understand how » 2011-06-11 02:27:10
- Smartys
There has to be more to the log than that. Those pages all return 404 and there's nothing exploitable there.
#39 Re: Modifications (1.4) » Simple mark as solved » 2011-05-29 03:54:01
- Smartys
M1 wrote:So, is this code still prone to sql injection or not?
Go to the second replies :
Franz wrote:Is it just me or is this code very prone to SQL injection?
(Sorry for my bad English
)
That doesn't answer the question.
Yes, the code is still seriously vulnerable to SQL injection.
#40 Re: General support (1.4) » Sender e-mail address is wrong » 2011-05-16 12:30:08
- Smartys
Reines: The name should be a quoted string but it currently isn't. For non UTF-8 emails, if the name has a comma, things are going to be odd.
#41 Re: General support (1.4) » Add Privacy Policy that meets FluxBB standards. » 2011-05-08 20:42:40
- Smartys
$lang_register['Privacy statement']should be
$lang_misc['Privacy statement']#42 Re: General support (1.2) » anyway to recreate topic table in corrupt database » 2011-04-27 13:00:51
- Smartys
UPDATE topics SET forum_id=[SOME NUMBER] WHERE forum_id=0Replace forum_id with the ID of a valid forum
#43 Re: General support (1.2) » anyway to recreate topic table in corrupt database » 2011-04-25 23:53:57
- Smartys
Yes
INSERT INTO topics (id) SELECT topic_id FROM posts LEFT JOIN topics ON posts.topic_id=topics.id WHERE topics.id IS NULL GROUP BY topic_idSomething like that should do the trick.
#44 Re: Core development » A simple plugin system design » 2011-04-18 02:36:28
- Smartys
Not having any notion of order is a big problem: dependencies between plugins are very important.
And I'd be interested to see benchmarks showing a significant performance difference between object oriented and procedural PHP in this specific instance.
#45 Re: General support (1.4) » Fedora 14 - no SQLite choice? » 2011-04-17 04:52:18
- Smartys
You need to install the SQLite extension for PHP, then restart Apache (I assume that's what you're using). I'm not sure what package that would be in Fedora: probably something like php-sqlite.
#46 Re: General support (1.4) » How to make a server-relative IP link? » 2011-04-14 12:06:37
- Smartys
Just use a relative URL?
#47 Re: Feature requests » We should never use _GET and _POST! use php filter » 2011-04-11 13:12:42
- Smartys
Input filtering and output escaping are two very different things. The code you're suggesting confuses the two and does it in the most naive way possible.
#48 Re: Feature requests » Easy emaill all users ? » 2011-04-06 10:42:30
- Smartys
You said
Can you check whether this plugin works? If not, I'll have a look at it later this week:
https://github.com/fluxbb/plugins/blob/ … _Email.php
And I said the call to pun_mail needs to be updated.
I made the same change as jejeje on PunBB-Hosting many years ago, since I was running into issues as well.
#49 Re: Feature requests » Easy emaill all users ? » 2011-04-06 00:10:22
- Smartys
Franz: I think the call to pun_mail needs to be updated.
#50 Re: Core development » File modified dates all the same » 2011-04-06 00:09:14
- Smartys
What are the practical implications of it though? If you're using the last modified timestamps to tell you when to update a file, you're probably better off using Git and letting it take care of updates and merges for you.
