Jump to content

foz1234

Member
  • Posts

    246
  • Joined

  • Last visited

  • Days Won

    4

foz1234 last won the day on May 23 2018

foz1234 had the most liked content!

Profile Information

  • Gender
    Male
  • Location
    Earth

Recent Profile Visitors

5,895 profile views

foz1234's Achievements

Newbie

Newbie (1/14)

5

Reputation

  1. nothing in hooks looks out of place, only 2 snippets Brian - Makes new query to get latest products ordered by price & sorts the products image gallery by image filename. only php code is: ?php $query = sprintf("SELECT I.* FROM `%1\$sCubeCart_inventory` AS I JOIN `%1\$sCubeCart_category` AS C ON C.cat_id=I.cat_id AND C.`status`=1 AND $where ORDER BY I.price DESC, I.product_id DESC", $GLOBALS['config']->get('config', 'dbprefix')); $latestProducts = $GLOBALS['db']->query($query, (int)$GLOBALS['config']->get('config', 'catalogue_latest_products_count')); email headers are same after opening them up, tested against one i sent from my website myself only difference is time id & reply to i did notice 1 had a different port port=45754 others were port=43418 now to check the site against downloaded one with same version. Added: Just been though and compared both sets of files, only old files left behind from previous upgrades dating back to 2016, all files are exact date and size, even downloaded the plugins and compared just in case. Ini-custom.inc.php edited
  2. No longer receiving those emails Brian since you helped me with the script for false accounts and adding the russian characters part, i honestly don't think this is related, i do believe the [email protected] was compromised and the hosing company are just not helping as i am on a fixed ip and assume this would cost money to move me again, is there any way to test the website for any infection and if its being used for spam? if i can prove its not infected it must have been the test email they left on there and if thats the case i should be moved to a new ip free of charge.
  3. My host fasthive moved my IP because my email was blacklisted with barracuda, then after 3 weeks new ip was blacklisted by UCEPROTECTL3, after closer inspection i found a test email account that the host had left in cpanel from when i had some issue previously, i had already changed my email passwords to the strongest 18 character password possible in cpanel that included upper/lower/special characters but not on this test email account as i assumed this was part of cpanel set up, deleted this account 2 weeks ago, i personally think this was compromised but i may be wrong that is just an assumption. Now i have asked them to sort this out but there reply was:- It doesn't necessarily mean that you are sending out Spam, but it could be a contact form on your website that is infected and being used to send out spam so if this is the case, is there anyway to check for this? i need to go back to them and prove this is not Cubecart that is infected but i have no idea how i can find this out, help required as i don't have a clue how i can check for this. i had issues with russian emails reaching me, sent from my website, but thanks to brian this has since stopped. Thanks in advance
  4. That seems to have done it, it does not send now if it contains Russian, it just goes to a white empty screen super thanks Brian
  5. Thanks Brian, you go above and beyond Thanks mate
  6. Hi Brian LOL re: egg-nog, I may have 1 or 2 myself tonight - Happy New year mate !! i changed the code but it is not working Brian, unless i am not putting it in the correct file/folder? once added i cleared CC cache (not sure if i needed to or not), i then tried sending a contact us (email) through the website, I sent 1 with subject & enquiry in english and the second in russian - скачать фото кубани in both fields but sadly both came through. ini-custom.inc.php (in same place index.php etc) code: <?php if( ( (isset($_GET['seo_path']) && $_GET['seo_path'] == "register") || (isset($_GET['_a']) && $_GET['_a'] == "register") ) && !empty($_POST['first_name']) && !empty($_POST['last_name']) && ( (!empty($_POST['phone']) && $_POST['phone']=="123456") || # //preg_match('/[A-Z]\z/',trim($_POST['first_name']))===preg_match('/[A-Z]\z/',trim($_POST['last_name'])) (ctype_upper(substr(trim($_POST['first_name']),-2)) && ctype_upper(substr(trim($_POST['last_name']),-2))) || !empty($_GET['agreed']) ) ) exit; // Kills PHP leaving browser with white screen if (preg_match('#.*[\x{0400}-\x{04ff}\x{0500}-\x{052f}\x{2de0}-\x{2dff}\x{a640}-\x{a69f}\x{1d2b}-\x{1d78}].*#', $_POST['contact']['enquiry'])) exit;
  7. Hi Brian Thanks again, so to confirm, to test this i place the above line in "ini-custom.inc.php" as below? <?php if( ( (isset($_GET['seo_path']) && $_GET['seo_path'] == "register") || (isset($_GET['_a']) && $_GET['_a'] == "register") ) && !empty($_POST['first_name']) && !empty($_POST['last_name']) && ( (!empty($_POST['phone']) && $_POST['phone']=="123456") || # //preg_match('/[A-Z]\z/',trim($_POST['first_name']))===preg_match('/[A-Z]\z/',trim($_POST['last_name'])) (ctype_upper(substr(trim($_POST['first_name']),-2)) && ctype_upper(substr(trim($_POST['last_name']),-2))) || !empty($_GET['agreed']) ) ) exit; // Kills PHP leaving browser with white screen if ('#.*[\x{0400}-\x{04ff}\x{0500}-\x{052f}\x{2de0}-\x{2dff}\x{a640}-\x{a69f}\x{1d2b}-\x{1d78}].*#', $_POST['contact']['enquiry']) exit;
  8. I am assuming there is no way to drop email if it contains Russian characters by the lack of replies? Its very annoying as I tend to get 2-10 per day even over the Christmas period, the script seems to have stopped the bot from creating false accounts but obviously not stopped the contact us from spamming. Not sure why this is happening to my site, the messages are not related.
  9. Hi Brian, Yes that's correct and another today and 3 or 4 yesterday JamesLox <[email protected]> wrote to Sales: --------------- Во «Автомаляр+» вам сможете отыскать наиболее обширный перечень продуктов с основных европейских также наилучших российских изготовителей, что заключается с тыс. названий. Максимальный подбор автомобиля окраски во Украине показан непосредственно во нашем торговом центре. купить краску для авто ваз --------------- This email is sent from the store's master email address but it is possible to reply directly to the sender using the reply button on your email software. -------------------------- Only common denominator is they all have Russian language in them. I can only read English, so if there is anyway to drop the email from sending if it contain Russian characters?
  10. Sorta spoken to soon, but this must me from contact us form no account made. Illona <[email protected]> wrote to Sales: --------------- заговор на удачу и деньги читать ---------------
  11. Hi Brian, Two-three days and so far zero russian spam since adding your script. Thanks mate Happy Holidays & stay safe to all
  12. Thanks for your reply Brian. Happy holidays to all.
  13. Thank you Brian, Which script is best to try first? It seems we are all struggling with this same issue/bot. I went through our customer db and removed all customers in bold that have 0 purchases and with duplicate first and last names, but moving forward I will try adding one of the scripts in this thread. Wouldn't a plugin/addon or even hardcoded into cc asking a single question or even better say 6-10 rotating questions that we could set relevant to our site not be a simpler/better option this would surly stop all? Or am I missing something? I've never learned php most a pitty. Thanks
  14. Silly question.. but does the cubecart forum link need to work for the script to work? Thought I would ask before I added it.
  15. Hi Brian Do you have a link to this thread please? Thanks
×
×
  • Create New...