techjunkie.tv

powershell tips, ccna tips, tech videos, learn tech

My WordPress got Hacked!! —

My WordPress got hacked today. This is a personal site that I use to post tips and fixes for various systems and programming languages. I found these log entries in my webhost log :

146.251.214.22 – - [14/Dec/2011:03:46:35 -0500] “GET /page/7 HTTP/1.1″ 200 27695 “http://www.bing.com/search?q=ip%3a67.23.239.244+wordpress&go=&filt=all&first=11&FORM=PERE” “Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0″
146.251.214.22 – - [14/Dec/2011:03:46:36 -0500] “GET /wp-content/themes/christmas-is-near/snow.js HTTP/1.1″ 200 3678 “http://techjunkie.tv/page/7″ “Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0″
146.251.214.22 – - [14/Dec/2011:03:46:36 -0500] “GET /wp-content/themes/christmas-is-near/style.css HTTP/1.1″ 200 17347 “http://techjunkie.tv/page/7″ “Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0″

I am following certain steps from http://codex.wordpress.org/Hardening_WordPress in hope that my wordpress blog becomes more secure to help mitigate this problem.

I am posting all the steps I am taking in hopes that I am doing the correct thing and to make it easier available to help other WordPress Bloggers that might be new to WordPress as well not have this situation happen to them.

1. Rename the default account to something else. For ex: Admin or Administrator account renamed to “onlyIknow-name”

2. a password with atleast 20 characters

3. set the permissions on the wp-config file to “400″

4. got new secret keys from WordPress key generator

to be continued…

If you have any tips for me to help secure this site please submit a comment.

 

 


a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request —

I got this error on my WordPress Blog:

404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

 

These are the steps for fixing it, go to your permalink settings on the Dashboard of your WordPress Blog.

Next copy the custom string that you already have set.

Then set it to Default.

Visit your website and the page should be there now.

I hope this is helpful.


How to disappear a Batch Script after running your Program —

Was up my techs, did you ever wonder how to make those old .bat files disappear by themselves so that the user would not have to close it themselve and maybe making a mistake and clicking on the shut down button!! Oh no yes that would be a disaster!! So yes the easiest thing just setup the script to clse the terminal window when it loads but after it opens the program. Here is what i have in my calculator.bat file:

start /b calc

Thats all just put that

start /b for start in background you got yourself the disappearing prompt :)

Let me know if this was helpful, the link to where I found this fix can be found here:

http://www.2brightsparks.com/bb/viewtopic.php?t=1717

 

 

SCOTT

http://twitter.com/scottalvarino

 


Youtube.com Causes Computer to Crash —

I had such a weird problem with Adobe Flash Player. Everytime the user would visit youtube.com and start up a flash video the computer would just crash, or shutdown and reboot. What a weird issue I thought pc had a virus. But boy was I wrong, the problem was the Adobe player itself. It was trying to use hardware acceleration and crashing the pc right when it tried running the Flash video from youttube.com.

Here is the fix to this problem:

1. go to http://www.adobe.com/software/flash/about/

2. right click anywhere on the flash animation moving

3. click on settings

4. Uncheck use ardware acceleration

That’s it you can forget pc crashing when playing flash video.

Let me know if this helps you out

Thanks for stopping by

SCOTT