Code injection

Unisecure

Member
Registered
Joined
Sep 14, 2017
Messages
54
Points
8
What is code injection? one of the websites it gets hacked by someone because when I open my website it gets redirected to another website. I have removed that code injection script from the website and also removed his database files from my server database but its temporary solution I guess because again I am getting spam links on my website.

How I can solve this problem. please help me with permanent solutions for the same.
 

Mujkanovic

Well-known member
Collaborate
Registered
Joined
Apr 24, 2016
Messages
424
Points
18

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
809
Points
43
What is code injection? one of the websites it gets hacked by someone because when I open my website it gets redirected to another website. I have removed that code injection script from the website and also removed his database files from my server database but its temporary solution I guess because again I am getting spam links on my website.

How I can solve this problem. please help me with permanent solutions for the same.
If you are using whm cpanel, consider of installing Mod Security and configure it, it should help well. Oh and never ever use cracked themes/template, because that's why they are cracked/nulled.
 

ForwardWeb - Branden

Well-known member
Hosting Provider
Registered
Joined
Aug 31, 2018
Messages
198
Points
28
@Unisecure
I would consider a professional clean up service or contact host if possible run a scan using https://sitecheck.sucuri.net as well as https://www.virustotal.com/#/home/url considerr https://www.malcare.com/pricing/ for clean up look under hack clean
Remember however that even though I have total confidence in this service that I’m recommending to you

The only real solution for malware clean-up is having an experienced developer to review and not just clean up the website, but to fix and patch the vulnerabilities. Plugins like the one you mentioned always end up just being band-aid solutions at best. Standard protocol for any hack is always a complete delete of files on server, clean back-up reloaded and then proceeding to patch the vulnerabilities.

also please let me know if i was able to help you today?
 
Last edited:

ridgeword

New member
Registered
Joined
Nov 9, 2018
Messages
9
Points
3
I remember this happening to me on my blog. I didn't know what to do really. There are lots of unknown posts inserted on my DB that links to weird DVD sites. Well since I'm the only one managing the website, all I did was upgrade my wordpress (since there was a security update). Manually deleted those weirdly inserted data on my DB and added security measures when adding comments and on my login page (adding captcha). It worked fine after that.
 
Last edited:

mobin

Well-known member
Registered
Joined
Jun 22, 2017
Messages
234
Points
28
No malware find or removal tool can help you here to stop the attack...what you need is to identify how the hacker could exploit your application and inject code and patch that security hole...at the same time a good WAF can help you as well to protect from generic and modern attacks....of course a good scanner can enhance the protection level.
 
Newer Threads
Replies
8
Views
3,897
Replies
2
Views
2,479
Replies
16
Views
4,373
Replies
6
Views
2,656
Latest Threads
Replies
0
Views
48
Replies
0
Views
192
Replies
0
Views
85
Replies
0
Views
82

Latest Hosting OffersNew Reviews

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top