Replies: 10 comments
|
can you please copy&paste the line with the sql query? |
|
@DukePyrolator Yes, here it is:
As soon as I add It seems that even if you remove everything after the WHERE clause and only keep It looks like it expects quotes, like
|
|
Can you pastebin a full version of your |
|
Here it is module.conf: (I replaced all the passwords with "modified".) |
For several years, I have been adding an "@d@" each time I update Anope. It has not been updated for 1 year (Anope 2.1.14). The @d@ allows retrieving the ident; it checks whether it starts with "o-". An "o-" is a secured ident protected by a server-side password using an UnrealIRCd module called authpass. It applies a hash based on the nickname, the ident, and the key on the server side. It's best to test with just this: |
|
I can not replicate this with the provided config. Please provide the config which is not working for you. |
|
@sadiepowell Here is my query parameter (line 675):
On Anope 2.1.14 The problem occurs when adding |
|
If you're not going to provide what I have asked for (the config which is not working, not a working config with instructions on how to make it not work) then I can't help you. I have already tried making the changes and am unable to reproduce your problem. |
|
@sadiepowell I just created a new column called When I added it to Then I renamed it to simply Maybe it doesn't work when column names are too long? I haven't tested yet with There is also an error in the |
|
It might be resolved. I shortened the length of the line after the WHERE clause to have fewer elements, and I tried to minimize repeating duplicate names
With this one, it works. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Description
Hi, today in my SQL table I added a column called "force_password_reset" to prevent users from authenticating due to an SQL injection that occurred yesterday.
This column is configured as a tinyint (0 or 1), but when I add something like
force_password_reset = 0insidequery = "", I get the following error:[05:57:29] -OperServ- Error reloading configuration file: Unexpected quoted string: modules.conf:687
Anope version
2.1.14
All reactions