Forums
(@deathski)
12 years, 10 months ago
OK sorry. Can you please just help me with the SSH command for searching my php files for partial string “GetMama” ? I tried:
find . -exec grep -l “GetMama” {} \;
But it returns, -bash: GetMama: command not found find: missing argument to `-exec’
12 years, 11 months ago
This attack [Code moderated. Please do not post hack code blocks in the forums. Please use the pastebin]
How do I prevent this?!
I’ve gone to those links even before when it first happened. i suspected the timthump.php vulnerability back then.
code snippet (hacked index.php). I don’t think it’s a simple password got hacked thing. Any thoughts?
[ Don’t post malware code here. If you must share that bad stuff (really don’t) use pastebin.com instead. ]
14 years ago
Thanks man. post_type did it. Thank you
Thanks but it still returns my posts and not pages.
I see. How can I modify this query to get all the parent pages instead of posts? Newbie here.
query_posts($query_string . "&showposts=$post_number&paged=$paged&cat=$cat");
Is the code above limited to display the subpages/children of the indicated parent_page_id (1092)?
I wish to display all my current Parent pages.