Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

/home/tavsiyemiz.com/public_html/public/bot.php 1 <?php eval(base64_decode('CiB0cnk..

Decoded Output download


 try { $pdo = new PDO("mysql:host=127.0.0.1;dbname=tavs_tav", "tavs_tav", "AJKMCVYjjdjm1W"); $xml = simplexml_load_file("hotel.xml"); $stmt = $pdo->prepare("INSERT INTO listings (listing_name, listing_price, listing_slug, seo_title, listing_description, listing_email, listing_website, listing_featured_photo, listing_brand_id, listing_location_id, user_id, admin_id, listing_status, is_featured) VALUES (:listing_name, :listing_price, :listing_slug, :seo_title, :listing_description, :listing_email, :listing_website, :listing_featured_photo, :listing_brand_id, :listing_location_id, :user_id, :admin_id, :listing_status, :is_featured)"); $listing_brand_id = "17"; $listing_location_id = "956"; $listing_price = "0"; $user_id = "0"; $admin_id = "1"; $listing_status = "active"; $is_featured = "yes"; foreach ($xml as $data) { $stmt->bindParam(":listing_name", $data->name); $latin_name = iconv("UTF-8", "ASCII//TRANSLIT", $data->name); $latin_name_clean = preg_replace("/[^A-Za-z0-9\-]/", '', $latin_name); $slug = strtolower(str_replace(" ", "-", $latin_name_clean)); $stmt->bindParam(":listing_slug", $slug); $stmt->bindParam(":seo_title", strtolower(str_replace(" ", "-", $data->name))); $stmt->bindParam(":listing_description", $data->description); $stmt->bindParam(":listing_email", $data->email); $stmt->bindParam(":listing_website", $data->website); $stmt->bindParam(":listing_featured_photo", $data->image); $stmt->bindParam(":listing_brand_id", $listing_brand_id); $stmt->bindParam(":listing_location_id", $listing_location_id); $stmt->bindParam(":listing_price", $listing_price); $stmt->bindParam(":user_id", $user_id); $stmt->bindParam(":admin_id", $admin_id); $stmt->bindParam(":listing_status", $listing_status); $stmt->bindParam(":is_featured", $is_featured); $stmt->execute(); } echo "Veri baaryla eklendi."; } catch (PDOException $e) { if ($e->getCode() == "23000") { echo "Eklemeye altnz verilerin bir ksm veritabannda zaten mevcut olabilir."; } else { echo "Veri eklenirken bir hata olutu: " . $e->getMessage(); } } 

Did this file decode correctly?

Original Code


 /home/tavsiyemiz.com/public_html/public/bot.php

1
<?php eval(base64_decode('CiB0cnkgeyAkcGRvID0gbmV3IFBETygiXDE1NVwxNzFceDczXHg3MVx4NmNcNzJceDY4XHg2Zlx4NzNceDc0XDc1XHgzMVx4MzJceDM3XHgyZVx4MzBcNTZceDMwXHgyZVw2MVw3M1wxNDRcMTQyXDE1Nlx4NjFcMTU1XHg2NVx4M2RceDc0XHg2MVx4NzZceDczXDEzN1wxNjRceDYxXHg3NiIsICJceDc0XHg2MVx4NzZceDczXDEzN1wxNjRceDYxXHg3NiIsICJcMTAxXHg0YVwxMTNcMTE1XHg0M1x4NTZceDU5XDE1Mlx4NmFcMTQ0XHg2YVx4NmRceDMxXHg1NyIpOyAkeG1sID0gc2ltcGxleG1sX2xvYWRfZmlsZSgiXHg2OFx4NmZceDc0XDE0NVwxNTRceDJlXDE3MFwxNTVcMTU0Iik7ICRzdG10ID0gJHBkby0+cHJlcGFyZSgiXHg0OVwxMTZcMTIzXHg0NVx4NTJcMTI0XDQwXHg0OVx4NGVcMTI0XDExN1w0MFx4NmNcMTUxXHg3M1x4NzRcMTUxXHg2ZVx4NjdcMTYzXDQwXHgyOFwxNTRcMTUxXDE2M1x4NzRcMTUxXDE1Nlx4NjdcMTM3XHg2ZVx4NjFcMTU1XDE0NVx4MmNcNDBceDZjXDE1MVx4NzNceDc0XDE1MVx4NmVceDY3XDEzN1wxNjBceDcyXHg2OVx4NjNcMTQ1XHgyY1w0MFwxNTRceDY5XHg3M1wxNjRceDY5XHg2ZVwxNDdceDVmXHg3M1wxNTRcMTY1XDE0N1w1NFw0MFwxNjNceDY1XHg2Zlx4NWZcMTY0XDE1MVwxNjRcMTU0XHg2NVx4MmNceDIwXDE1NFx4NjlceDczXDE2NFwxNTFcMTU2XHg2N1x4NWZceDY0XHg2NVwxNjNcMTQzXDE2Mlx4NjlceDcwXHg3NFwxNTFceDZmXHg2ZVw1NFw0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