How to check Plesk version and update the admin password

You can type:

rpm -q psa


cat /usr/local/psa/version

The password is located under:


Serve files with no extension as PHP

So I recently wget mirrored a whole website and uploaded them to my web server. The PHP files from the original server had no extension and when trying to load them, Apache did not serve them as PHP, loading a bunch of jibberish.

To solve this problem, I had to edit .htaccess :

< FilesMatch '^[^.]+$' >
ForceType application/x-httpd-php
< /FilesMatch >


#AddHandler server-parsed .php

#SetHandler application/x-httpd-php

#AddHandler application/x-httpd-php .php


#RewriteEngine On
#RewriteRule ^[^.]+$ – [T=application/x-httpd-php,L]

Offline Browsing in Linux: wget and some tricks

Ever since I joined, I’ve been learning a lot of Linux in the hopes that I switch my career into Linux. Hopefully Forensics related.

So this new dilemma I had was to download a website for offline browsing. I went on the hunt for an offline file browser for Linux…. I found that I could use wget to mirror a whole website.

For example, I want to make a copy of, Here’s how:

wget -m

Here the -m option is telling wget to mirror the website. This is the basic command. But say I need some advanced options. What do I do?

I was trying to get all the script files off of a website to save for later learning and all it was downloading was the index.html and robots.txt
The robots.txt file was blocking user agent wget. To confirm this I used the debug option in wget:

wget -m -d

You’ll get something like:

Not following because robots.txt forbids it.


Rejecting path sh/eg/ because of rule `sh’


no-follow in index.html

I tried using the option –user-agent “Mozilla” ….. no luck

I tried adding the following in .wgetrc :

## Local settings (for a user to set in his $HOME/.wgetrc). It is
## *highly* undesirable to put these settings in the global file, since
## they are potentially dangerous to “normal” users.
## Even when setting up your own ~/.wgetrc, you should know what you
## are doing before doing so.

header = Accept-Language: en-us,en;q=0.5
header = Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
header = Accept-Encoding: gzip,deflate
header = Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
header = Keep-Alive: 300
user_agent = Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20070725 Firefox/
referer =

…Still no luck.

The trick is to use option -e robots=off

So my new command became:

wget -m -k -e robots=off -w 2 --random-wait -U "Mozilla" -np

Heres what the options do:

-m mirrors website
-k fix links so you don’t get directed to instead of /sh/eg (relative vs absolute)
-e executes command robots=off
-w 2 sets wait time as 2 seconds so you don’t overload server and get ip blocked
–random-wait can be random in 2 secon increments
-U sets user agent
-np no parent, so if the current subdirectory/page links to parent pages, it might crawl whole website

Spiderman Live Wallpaper for Android

Spiderman Live wallpaper for Android

Islamic Videos

WordPress Hosting Review

Free WordPress Hosting for 3 months with Code: FREE3

They provide 1GB space and 10GB Bandwidth. Reliable Shared Hosting with an easy 1-click wordpress install setup with Softaculous. They are a linux based hosting provider, most probably CentOs.The customer support is 24/7 and excellent. Check them out.

I was wondering, does an Android OS based webhosting exist? I haven’t seen one yet but it would be interesting if someone starts that. So that would be like running an AAMP server, right?

keywords: Free WordPress Host, Reliable Linux Webhosting, Shared Hosting Plan, WordPress Hosting Review, WordPress with Fantastico

Switched WebHost Providers

Cirtexhosting Sucks! Cirtexhosting was just horrible!! I got really crappy uptime. The service was pretty pathetic and I never got a refund for the 99% uptime guarantee. I was losing valuable adsense revenue. I couldnt take it anymore. The prices might have been good, especially since I needed FFMPEG hosting, but I had to call it quits.

I switched to a much better host, HawkHost. Prices are reasonable, Support is great… so far. The CEO himself helped me with a troubleshooting ticket.