WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Have I been hacked? (4 posts)

  1. spstieng
    Member
    Posted 4 years ago #

    I just ran a MySQL query trace to debug a some queries I have created, when I discovered the following query:

    SELECT wp_posts.* FROM wp_posts WHERE 1=1 AND wp_posts.post_name = 'jquery_bll-php' AND wp_posts.post_type = 'post' ORDER BY wp_posts.post_date DESC

    1. why "wp_posts.* FROM wp_posts WHERE 1=1" ???

    2. I have a file called jquery_bll.php. This is my Busines layer for jQuery requests. Why is this file name in the query?

  2. spstieng
    Member
    Posted 4 years ago #

    *bumb*

    I'm gonna bump this until someone can answer my question.

  3. ClaytonJames
    Member
    Posted 4 years ago #

    It's bump. Bum "p". As in most people hate it when you do it. Probably why you never got a response.

    #6 "Bumps". Do not bump posts on this forum. Putting posts at the top doesn't help them get noticed here. The volunteers who try to answer questions look for those without replies first. If you bump a post, then it disappears from the "no replies" view. DO NOT BUMP.

    Does anyone know why "wp_posts.* FROM wp_posts WHERE 1=1" ?

    It's also search-able.

    And then there is always Google.

    Bumb away. :-)

  4. spstieng
    Member
    Posted 4 years ago #

    Argh - my P is too close the to B.... ;o)

    This forum has nothing that answers my question regarding WHERE 1=1, but I did find a general answer at Stackoverflow.

    I always search this forum / google, before I ask. But often one don't use good enough key words in search.

    And 3 bumBs in almost two months isn't too many :)

Topic Closed

This topic has been closed to new replies.

About this Topic