Past 2017 top best forum
Today's Date
Nigeria free 2018 Gallery
9ja NOTICE: You are currently viewing this website as a Guest and are restricted from viewing some vital information. For more permissions on Earlyface.com.ng? Like posting Comments, Topics and Uploading contents without Verification And Moderator's approval. Fast loading and quick accessibility. Registration is required. Please Login or Register now to gain full access. It is fast and free!!

CLICK HERE NOW TO BECOME EARLYFACE MEMBER...


Author Topic: how to remove malicious code from website  (Read 193 times)

0 Members and 2 Guests are viewing this topic.

Offline Ekeday22

  • Young Earlyfacian
  • Posts: 5
  • Vote for me: +0/-0
  • Location: Jericho Ekeh
how to remove malicious code from website
« on: November 24, 2017, 08:09:16 am »
Malicious code is the brother of a hacker it leads website owner to bad ways. If your websites have malicious code you better scan your websites and fix the issue immediately because the malicious code will automatically run and hack your site that is why Myschooltutorial is here to provide you the solution and I will take this step-by-step guide can be used by practically anyone to remove malware from WordPress. However, you must be willing to get your hands a little dirty, and be comfortable with FTP and File Manager. If this is not your cup of tea, you may wish to look at our malicious removal service instead.

OKAY, LET’S BEGIN.

Step one: Scan Your Computer
Malware can infect your WordPress in various ways, one of which is if your computer has a virus that is leaking your FTP password. This is actually quite common. So first things first are to make sure your computer is virus-free. We recommend scanning at least with Malicious Bytes, and to be doubly safe, another anti-virus such as AVG or Kaspersky or virus total.

Step two: Change Your cPanel/FTP Password
Now that your computer is virus free, you should change your cPanel and FTP password. Make sure it is something random, with at least 1 special character like ! # < &, a mix of lower and uppercase letters plus numfriends good example is K^iadm#jopq.

Step three: Download WordPress
Download the latest fresh WordPress package from the official site.

Step four: Extract Files
Extract the files from the zip or tar.gz that you have just downloaded onto your computer. Leave those files there for now. We will come back to them later.

Step five: Removing The Malicious Infection
Login to your FTP or cPanel > File Manager.

Your WordPress installation files on your web host should look like this:

wp-admin
wp-content
wp-includes
index.php
license.txt
readme.html
wp-activate.php
wp-blog-header.php
wp-comments-post.php
wp-config.php
wp-config-sample.php
wp-cron.php
wp-links-opml.php
wp-load.php
wp-login.php
wp-mail.php
wp-settings.php
wp-signup.php
wp-trackback.php
xmlrpc.php

Delete everything you see there except for the wp-content folder, and the wp-config.php file.

Now your installation should look like:

wp-content
wp-config.php

In your cPanel > File Manager, click on and edit the wp-config.php file. Make sure there are no strange codes or anything unusual. If there is malware in this file, it will generally look like a long string of random text. You can compare it to the wp-config-sample.php file to be sure.

Now go into the wp-content folder. It should look like:

plugins
themes
uploads
index.php

Make a list of the plugins you are currently using, then remove the plugins folder and index.php file. You will need to re-install your plugins after the cleaning process.

Go into the themes folder, and remove any theme which you are not using. You will then need to individually check each file in your current theme to make sure there is no malware or strange codes in them. If you have a clean backup of your theme somewhere (like on your computer), then to be safe you should just delete the entire themes folder.

Check every directory inside your uploads folder to make sure there are no PHP files or anything that you may not have uploaded.

Step six: Re-upload WordPress
The fresh WordPress files that you extracted earlier in Step five can now be uploaded via FTP.

If you removed your theme you should also re-upload your clean backup theme files.

Step seven: Change WordPress Admin Password and Re-install Plugins
You should now be able to have access your dashboard and change your admin password. Always use a random hard to guess the password. Don’t be tempted to use something basic like man1234 or my best (actual passwords used by some of our clients). You will get hacked this way.

If you don’t want to use a random password like HkiunGjal, then pick an uncommon phrase with 3 or more words like Koli.fa/+-gas_*n?. A strong password is one with uncommon words, at least 1 number, 1 special character and a mix of upper and lower case characters.

full article:  https://www.myschooltutorial.com/remove-malicious-code/
Mark is the chief founder of myschooltutorial.co m and his blog facus on tech, seo and more.

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
365 Views
Last post November 08, 2012, 10:28:19 am
by Mr.BRAIN
3 Replies
5533 Views
Last post April 28, 2014, 04:07:43 am
by king3
0 Replies
124 Views
Last post January 31, 2013, 07:21:59 am
by HolySin
1 Replies
695 Views
Last post April 11, 2013, 09:52:01 am
by Naphaty
31 Replies
10729 Views
Last post May 25, 2014, 01:55:44 am
by Shaddix
12 Replies
4405 Views
Last post June 18, 2016, 11:04:30 am
by omini
0 Replies
226 Views
Last post November 15, 2014, 03:19:40 am
by JEFFREY96

Updated Topics

CORRECT: 2024/2025 JAMB RUNS SUBSCRIPTION( REFORMED PACKAGES) by MANDINHO
Yesterday at 09:04:51 am

How to Create UNlimited GMAIL Account Without PHONE Number Verification by Wiz.gee
Yesterday at 12:13:23 am

UK FOOTBALL POOLS COUPON | 20TH APRIL 2024 | WEEK 42: X-02-X X-07-X X-15-X X-21- by wedco893
April 14, 2024, 07:27:05 pm

UK FOOTBALL POOLS COUPON | 13TH APRIL 2024 | WEEK 41: X-35-X by wedco893
April 13, 2024, 05:10:53 pm

CORRECT: 2024/2025 WAEC SSCE EXPO/RUNZ SUBSCRIPTION(MIDNIGHT DELIVERY) by MANDINHO
April 12, 2024, 12:04:04 pm

How to Create USA🇺🇲 TikTok Account that Can Earn You Money - Make Money on TikTok by Wiz.gee
April 09, 2024, 04:52:42 pm

Application Guide The Nigeria Immigration Service (NIS) has announced it 2024 Recruitment. Applications are hereby invit by afrocablenews2
April 08, 2024, 01:32:07 am


FBLike US on Facebook.. TWFollow US on Twitter..

Portal
Forum
RSS Feeds
FAQ
Members Intro
Announcements
Privacy Policy
Terms Of Use
Partners
About Us

Problem Solutions
Global News
Sports
Celebs
Politics
Gists In Town
General
Song Lyrics
Dating
Religion

Examination
Post-UTME/Admission
School News
Online Reading
Scholarship
Education
Entertainment
Download Links
Stories
Fashion

MTN NG
9Mobile NG
Airtel NG
Glo NG
World Networks
Pc Tweaks
Mobile Phone
Computer Tips
WebMaster
Programming

Browsing Cheats
Net Tricks
Health n Welfare
Latest Jobs
EarlyFace Group Of Nigeria © 2022