You might need to wipe off the command history that you’ve executed in your linux system for various reason. Normally when logged into the bash / SSH terminal – if the Up Arrow key is pressed – previously executed commands are shown. To completely delete the history type the following command:
WordPress has made the web designers’ lives easier. It has reduced the web development time & cost drastically. The CMS is so powerful that more and more people are converting/migrating their sites to WordPress. With ease comes the danger of being compromised. If compromised – your site will not function properly. It may leak your confidential information, give access to spammers and use your hosting account for spamming, give access to hackers who may upload files to run phishing attack.
Let us first know why a wordpress website gets hacked – gets infected to malware.
WordPress website becomes vulnerable due to the following reasons:
1. WordPress is not updated 2. Plugins are not updated 3. The administrator username passwords are too easy. 4. The computer used to administer the wordpress site (Admin area & cPanel/FTP) is itself infected to viruses. 5. Use of nulled / pirated templates or Plugins – in which codes are embedded which gives the hacker the access. 6. Presence of other hacked script/website in the same hosting account. 7. Unsecured Web hosting. (Poorly configured server, easy guessable passwords etc).
How to identify your WordPress website is hacked or have malware in it?
The website will start behaving abnormally. The website may go blank, break or become very slow. The hackers may get access of your web hosting account and may upload their own scripts and start spamming or create phishing pages. Your web hosting account will be exhausted and your hosting company may suspend your account for resource over usage and spamming. These are some of the symptoms your WordPress is being hacked. If you dig deeper and want to be sure – you need to check the files of your WordPress system. You may find unknown folders (Directories) and files. That’s not it!! Many of the php files (Mostly theme & Plugin files) may contain malicious code in those.
How to clean the WordPress website:
1. First and most important step is – make your computer / work station secured. This includes – having a very good antivirus / Internet security system. Get one (Kaspersky, Bitdefender, AVG, Norton … bla bla bla) if you do not have it yet. Make a full system scan and get rid of any threats (viruses, Trojans).
2.Download the WordPress website in your computer (using FTP or Control panel File Manager). To reduce the time – you may Zip (compress) the full site if you have a control panel in your hosting and if it allows compressing.
3. Extract the folder – if you’ve downloaded a zip copy. Keep the zip file as backup and do not delete it – so that you can use it if anything goes wrong when you try to fix the site. Take a backup of your database too. Now, go into the extracted WordPress folder.
4. The next part is cleaning the malicious code. This is a bit tricky part. There may be hundreds of hundreds of files which may contain malicious code (hacker embedded code). Mostly the php files in the Themes and plugins get infected. But php files in other directories may get infected to. I will show you a trick which will help you get rid of these codes within few seconds.
a. You’ll need Adobe’s Dreamweaver tool or something with similar features. You can download Adobe Dreamweaver Trial from this link.
b. Now you need to find a file which contains malicious code. Go to the active theme folder under “wp-content” >> “Themes”.. Then open the index.php file using Dreamweaver. The malicious code should be either at top or at the bottom and should look like this:
All the infected files should contain the same code. If you carefully look in the picture above you’ll notice that the malicious code starts and ends with “//###==###”. The code can vary from what you see in the above picture – but it will be something like this. You’ll need to remove this chunk of code from all the files.
Copy Malicious Code
c. You have to use the Find & Replace function in Dreamweaver. Copy the malicious code (starts and ends with “//###==###” in this case). Now press “CTRL + F” and the Find & Replace option should appear.
d. Paste the malicious code in the “Find” box and keep the “Replace:” Box empty. Now you have to choose “Folder..” option from the drop down menu “Find in” and “Source Code” option from the drop down menu “Search:”.
Find and Replace malicious code with empty box
Now you have to choose the search Destination Folder:
Selecting the folder in which it will search for malicious code.
Choose the root directory of wordpress site from your local machine. Now press the “Replace All” as shown in the “Find and Replace malicious code with empty box” image. This will wipe off the malicious code from all the files. Now you need to save all the files from “File”>> “Save All” option. You are done with Malicious code removal!! Congrats…
5. The next step is cleaning all the hacker uploaded folders. Your basic wordpress website should have 3 folders in the root folder. wp-admin, wp-content and wp-inlcude. You might have a look at other folders in the root directory and consider removing those if you are sure those doesn’t belong to your website. You can replace all the files and folders from a fresh copy of WordPress except the wp-content folder and wp-config.php files. Remember, If at any stage the website breaks – you have the zip file (mentioned in step 3) as backup.
6.Now you’ll have to prepare your hosting account for re-uploading the cleaned website. a. The first thing you need to do is – delete all the files of your wordpress site from your hosting account. b. Change the password of your hosting accounts and change the password of any other FTP accounts in that hosting account. c. Upload the cleaned WordPress files.
7. After re-uploading the site if it runs properly do the following: a. Update the wordpress to the latest version. b. Remove any unnecessary plugin. If you are unsure about which ones are unused – you may skip this step. c. Update all the plugins & Templates. d. Change WordPress username and password to a complex one. Do not keep “admin” your username.
8. You need install some third party plugin to harden the site security. For example, you may consider installing ALL IN ONE WP SECURITY & FIREWALL. It will require me to write another similar post to describe the features and performance of this plugin – For now, let me assure you that this is one plugin which will make your website very secure.
It will show you, protect your site and will keep your sites and plugins updated automatically. It can also change the admin directory of your wordpress site changing the admin login link– which will reduce the Admin login attack in your site. There may be other similar plugins with same functionalities. You need to implement this kind of plugins to make and keep your site secured.
9. Take help from professional WordPress malware solution provider: You can take help from professionals who provide WordPress malware removal solutions. WPMalwares is such a provider. These guys are wordpress security specialists and can solve your problem at a very low price. You can save your time for something more important and leave your headache to these guys. They will fix your site and will provide you free support for one year. Moreover, they will add extra layers of security on your website.
You’ve purchased a Cloud server or a Virtual server. The server provider says it comes with an SSD (Solid State Drive). Now you definitely would like to verify whether the storage is indeed SSD or is it simple HDD (Hard Disk Drive). If you’re server is running on any version of Linux OS (kernel version 2.6.29 onwards) – just run the following command:
The result will be Either 1 or 0 . If it is “0” – Congratulations – your storage is indeed an SSD one and if the result is “1” – your storage device is an HDD.
I ran the above command in one of my VPSs. The result is “1” – that is the storage device used here is an HDD.
Microsoft has released its new operating system Windows 10 – which is available free for the existing Windows 7 and Windows 8 users. Windows 7 & 8 users can upgrade to Windows 10 through a tool called “Media Creation Tool” – which is available in this link: https://www.microsoft.com/en-us/software-download/windows10
The software downloads the whole operating system and then updates your Windows 7 or 8 to Windows 10. This is a painstaking process where you need to keep you computer on for a long time for the upgrade to complete. However, there is another method using which you can download the whole ISO – burn it in DVD or make a bootable USB drive and install/upgrade to Windows 10 operating system. Moreover, you can distribute the ISO or keep it with you for future use – saving a lot of Internet bandwidth and time for you.
The “Media Creation Tool” is for the windows users who are planning to upgrade – but there might be Linux or Mac users who might want to shift to windows 10. Windows has direct iso download option for Linux or Mac users. Well – we will use this feature to get the Windows 10 iso even from the windows. There is an extension of Google Chrome browser named “User Agent Switcher Extension“. If you do not have it – you have to install it.
After installation of the extension – right click on a blank space on any webpage – Click on “User-Agent Switcher” >> Safari >> Safari on Mac. Or alternatively other operating system [firefox, Google Chrome, Opera] of MAC or Ubuntu.
Now go to this link: https://www.microsoft.com/en-us/software-download/windows10ISO
You may ask the question – why do you need to use that Google Chrome extension!! Well, if you try to browse the above link from your browser and if you are using windows – you’ll be redirected to: https://www.microsoft.com/en-us/software-download/windows10
This redirected page will only allow you to download “Media Creation Tool” not the direct Windows 10 ISO. I hope this make sense now…
However, You’ll be prompted to choose the Windows 10 Edition. You may select “Windows 10”.
Then you’ll again be prompted to select the language.
After you select your desired language you’ll get the ISO download link:
Remember – the download link is valid for 24 hours. The download size is nearly 4GB (3.8 to be precise). After you download it – you may make a bootable usb disk or burn it in a DVD – distribute it to anyone who wants to upgrade or install fresh windows 10 in their computer. Cheers.
WordPress comments option is often not needed for our website. It is also true that we often forget to disable the commenting option. As a result – spammers fillup your website with garbage/spam comments to create backlinks of their website. You can always disable the commenting option from the wordpress admin dashboard. But assume you are a web hosting provider and you found one of your client’s WordPress site is quickly filling up with spam comments. You may not have wordpress admin password of your client’s website. In this case you can quickly disable comment option by using a small query in phpMyAdmin panel.
You need to follow the following steps:
1. Go to the phpMyAdmin panel from your hosting control panel.
2. Locate the wordpress database in the drop down list in the left panel and click on it.
3. Now click on the “SQL” tab in the navigation panel in the right page.
4. Within the “Run SQL Query” box, paste the following code:
UPDATE wp_posts p SET comment_status = ‘closed’, ping_status = ‘closed’ WHERE comment_status = ‘open’;
(Replace “wp_post” with the appropriate prefix of the wordpress table) If successful, you should have disabled the ability to comment on your posts across your entire blog. To re-enable the commenting run the following SQL query the same way you ran the comment disable query:
UPDATE wp_posts p SET comment_status = ‘open’, ping_status = ‘open’ WHERE comment_status = ‘closed’;
(Replace “wp_post” with the appropriate prefix of the wordpress table)
We do not really need wordpress comments option for websites most of the times. After developing a website in WordPress we often forget to disable comments. And that is what attracts the spammers. Spammers fill out comments option with bots and tries to create backlinks from your website. These garbage comments also increases the database size and creates pressure on the server. The comments option in WordPress doesn’t allow us to delete more than 20 comments at a time. If your website has been bombed with spams – it may have thousands of them before you realize those are there. So it becomes a hectic job deleting 20 such comments from the WordPress dashboard.
In such circumstances – you may delete all of those spam comments from the phpMyAdmin panel or using MySQL queries in database tools. Here is how you may delete such spam comments from the phpMyAdmin:
1. Go to the phpMyAdmin panel (Most of the hosting platforms offer it).
2. Click on the database in the left panel (you may have other databases there)
3. Click on the “wp_comments” table in the left panel or in the main page in right. (Assuming database table prefix is “wp”. replace “wp” to whatever else you have set as database prefix).
4. Now in the right side page – click on the “SQL” tab at the top.
5. Now run the following query:
DELETE FROM wp_comments WHERE comment_approved = 0
(replace “wp” with the table prefix you have in your wordpress database)
The above query will delete any comment which you haven’t approved.
MP3 and Winamp became synonymous since the end of 90’s. I have always used Winamp for listening to music. No doubt it was the most popular media player in the world. When Nullsoft Inc – the creator of Winamp announced it will no longer work on Winamp – was a shocking news for Winamp lovers like me. Although Nullsoft is not releasing new updates for the software – the old one is still good enough. If you were looking for download links of Winamp and its plugins – here you go:
GavickPro is a Poland based template maker. Their templates are clean and look very smart. They are in the industry for a long time now (Since 2008). They have variety of category based on which they design their templates. They design the same template (theme) for wordpress too. Templates are designed based on the Gavern framework – which includes Layout changes, Color Schemes, Advanced typography, Social Media Buttons, Google and Squirrel Fonts. They have some of their own Joomla extensions that they’ve used in their templates.
Single Template/Theme Price: 39€ Club Membership – All Theme Package: 99€ (One time payment unlimited validity) Support: 99€ additional (for 2 months)
IceTheme is a Albania based template maker. Their templates are clean and all of those look lively too. The company was founded back in 2008 and they already have come up with a huge number of templates to cover various categories. They use LESS CSS and Bootstrap framework ready fully responsive design in their templates.
Personal: $45 (1 Month Support, All themes) Standard: $75 (4 Months Support, All themes) Developer : $120 (1 Year Support, All themes, PSDs)
JoomlaXTC is well-known for its unique design and great support. I have gone through some review websites and found that all their clients are very happy with their support. Now this may not seem to you a very attractive feature when choosing a Template provider – but it indeed is a very important thing to consider. Because, if you start working with a Joomla template – you may face problems at various stages and that’s when the support thing can get handy. The templates are a bit different from others and are uniquely matte looking but gorgeous.
One Year Membership: $99 (5 Domains Allowed, All templates) Life Time Membership: $199 (Unlimited domains, All templates) Free Templates: http://www.joomlaxtc.com/resources/free-templates
JoomlaArt is powered by their powerful T3 framework. The framework allows the users to create unique template within a very short time. You can create various module positions, resize them according to your needs. It is the second best framework I have seen while working with Joomla. The bold use of different colors make their template really eye-catchy. Besides Joomla they design Magento Themes. They have developed a lot of their own extensions (Modules, plugins and components).
JATC Standard 3 Months Membership: $59 (Access to Joomla resources + Premium Support) JATC Standard 1 Year Membership: $70 (Access to Joomla resources + Premium Support) JA Developer Membership: $300 (1 Year, Access to Joomla + Magento all resources, VIP Support, Copyright Removal)
RocketTheme is powered by their framework “Gantry”. Gantry is a powerful and flexible framework for creating templates. The Layout Manager allows the users to create a layout with drag-and-drop option. The use of dark color in RocketTheme templates are noticeable. Besides Joomla – RocketTheme produces templates/Themes for Magento, WordPress and phpBB.
Basic: $44 (3 Months Membership, 1 Site License) Standard: $59 (6 Months Membership, 2 Site License) Plus: $74 (12 Months Membership, 3 Site License) Developer: $262 (12 Months Membership, UNLIMITED Site License)
Shape5 is a popular template maker. They build their templates with the help of their Vertex framework. Their templates are clean and they use images to decorate their templates very well. Besides Joomla they design WordPress themes too.
Club Membership Plans: (Joomla + WordPress altogether)
JoomlaBamboo creates unique and clean templates. Their templates are indeed different than others. Their use of Zentools allows the template users to customize website look with Drag-and-drop layout builder.
OmegaTheme has a huge collection of nicely designed Joomla templates. Like other template makers – OmegaTheme has their own framework named Jarvis. The layout builder as well as presets for every template gives the users the flexibility to utilize the template to design their website. They design templates for Magento and Prestashop too.
JoomShaper has taken Joomla to a next level. It makes designing Joomla website so easy that anyone can work with Joomla. Their framework “HELIX” is THE BEST framework I have seen so far. The layout manager and rich template manager options gives the user the power to design a rich website with ease. They have another unique feature which is the “Page Builder”. It gives the users to design each and every page independently and moreover with the flexibility of drag-and-drop layout builder. No doubt in my mind that JoomShaper is the Best template maker of all.
I was having problem finding Windows 7 iso download links. I discovered it can only be downloaded from Microsoft website if you have the Product key with you. However, you might not always have the product key with you or it is possible that the product key you have was supplied by your computer vendor which is not recognized by Microsoft. In that case you’ll not be able to download Windows even if you have a valid product key. If you are in this situation- the following part of the post is for you:
X17-59186.iso: Windows 7 SP1 Professional (x64) http://msft.digitalrivercontent.net/win/X17-59186.iso Mirror: https://googledrive.com/host/0BxJgS33zZl9bZF9LWXJhakZaVGs
X17-59183.iso: Windows 7 SP1 Professional (x86) http://msft.digitalrivercontent.net/win/X17-59183.iso Mirror: https://googledrive.com/host/0BxJgS33zZl9baG9TQVNjeG9xYnc
X17-58997.iso: Windows 7 SP1 Home Premium (x64) http://msft.digitalrivercontent.net/win/X17-58997.iso Mirror: https://googledrive.com/host/0ByXszuHgPs8uaHp2clBzcTBqblE
X17-58996.iso: Windows 7 SP1 Home Premium (x86) http://msft.digitalrivercontent.net/win/X17-58996.iso Mirror: https://googledrive.com/host/0ByXszuHgPs8uWm53NE41ZFVhMlU
X17-59465.iso: Windows 7 SP1 Ultimate (x64) http://msft.digitalrivercontent.net/win/X17-59465.iso Mirror: https://googledrive.com/host/0ByXszuHgPs8ubkpHRFhqY3ZGZnc
X17-59463.iso: Windows 7 SP1 Ultimate (x86) http://msft.digitalrivercontent.net/win/X17-59463.iso Mirror: https://googledrive.com/host/0ByXszuHgPs8ub2pVdmJqOC02Uzg
Similar ISO’s: X17-24208.iso Windows 7 x86 Home Prem SP1 http://msft.digitalrivercontent.net/win/X17-24208.iso Mirror: https://googledrive.com/host/0ByXszuHgPs8ublJXN3pWdGhxbXc
X17-24209.iso Windows 7 x64 Home Prem SP1 http://msft.digitalrivercontent.net/win/X17-24209.iso Mirror: https://googledrive.com/host/0B1fw9o0Ias3Od0NGYkJBUklUclE
X17-24280.iso Windows 7 x86 Professional SP1 http://msft.digitalrivercontent.net/win/X17-24280.iso Mirror: https://googledrive.com/host/0B1fw9o0Ias3OQTBjUWZval91bUE
X17-24281.iso Windows 7 x64 Professional SP1 http://msft.digitalrivercontent.net/win/X17-24281.iso Mirror: https://googledrive.com/host/0B1fw9o0Ias3OOUVtbnpjNnVTZ1k
X17-24394.iso Windows 7 x86 Ultimate SP1 http://msft.digitalrivercontent.net/win/X17-24394.iso Mirror: https://googledrive.com/host/0B1fw9o0Ias3ORmtYWktaYVUyOEE
X17-24395.iso Windows 7 x64 Ultimate SP1 http://msft.digitalrivercontent.net/win/X17-24395.iso Mirror: https://googledrive.com/host/0B1fw9o0Ias3OUkJNUFhiREYyQjQ
Disclaimer: I did not upload or create the mirror. These links are for genuine windows users.