Martin van de Belt

Enjoying life as geek

Main menu

Skip to primary content
Skip to secondary content
  • Home
  • WordPress Plugins
    • WP Compare Tables
  • About me
  • Contact

Category Archives: Linux

Script to remove eval code from PHP files

Posted on 02-09-2011 by Martin van de Belt
Reply

Execute this command to clean up malware infected files:

find . -name "*.php" -type f | xargs sed -i '/<?php.*eval(gzinflate(base64_decode.*?>/d'

or if running on OS X:

find . -name "*.php" -type f | xargs sed -i "" '/<?php.*eval(gzinflate(base64_decode.*?>/d'

Posted in Codesnippets, Linux, PHP | Leave a reply

Synkronisering af email-konti ved hjælp af “imapsync”

Posted on 10-12-2010 by Martin van de Belt
1

Hvor vi i går kiggede på at flytte en wordpress blog fra host til host, kigger vi i dag på hvordan man egentlig flytter indholdet af en mailkonto uden at tabe en eneste besked.

Continue reading →

Posted in Linux | Tagged imapsync, linux, mail | 1 Reply

About this blog

A Dutchmen living in Denmark.
Blog about my daily life as entrepreneur and web developer. Loves travelling around the world.

Categories

  • Affiliate
  • Blandet
  • Codesnippets
  • Hosting
  • Linux
  • PHP
  • Tips & tricks
  • Udlandet
  • Wordpress

Related

  • Privacy Policy

Twitter

    Donation

    Categories

    Affiliate Blandet Codesnippets Hosting Linux PHP Tips & tricks Udlandet Wordpress
    Proudly powered by WordPress