Monthly Archives: May 2014

Microsoft stopped supporting Windows XP in April just for some people.

Microsoft stopped supporting Windows XP in April, but a simple registry hack lets users continue to get security updates.

The hack, as reported by ZDNet, fools Microsoft into thinking the system is running Windows Embedded POSReady 2009, a variant of XP that’s used by ATMs and cash registers. Those systems will keep getting security updates until 2019.

All XP users need to do is create a text file with the following contents:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\WPA\PosReady]

“Installed”=dword:00000001

Then, change the file extension from “.txt” to “.reg,” and run the file in Windows Explorer. Opening Windows Update at this point should reveal several new security updates.

On the downside, the hack only works on 32-bit systems.

Read more at http://www.pcworld.com/article/2310301/windows-xp-registry-hack-keeps-the-security-updates-rolling.html

Block Visitors by Country 

A client needs to get a certain country blocked with .htaccess – or redirected -.
I’m gonna let some links of the solutions here…

Blocking an entire country stops most traffic coming from their IP ranges. 
This method isn’t 100% because some countries have slightly overlapping IP ranges.

Incredibill

http://incredibill.me/htaccess-block-country-ips

  • .htaccess

http://www.ip2location.com/blockvisitorsbycountry.aspx 

  • .htaccess
  • Linux IPtable
  • CIDR

http://wordpress.org/plugins/ip2location-country-blocker/

  • Wordpres Plugin

 

SFTP/SSH Write failed: Broken pipe

I was trying to access via SFTP and SSH to a host, and I was getting some strange errors…
yesterday it was okay….

ssh [email protected]
[email protected]'s password:
Write failed: Broken pipe

I’v sshed with other user and changed to a root user.
Had to read the auth.log file to figure out what was going on.

[email protected]:/home/mike# tail -f /var/log/auth.log

So… this is what I got.

May 28 13:45:31 sd-11111 sshd[1676]: Accepted password for mike from 84.91.4.220 port 59004 ssh2
May 28 13:45:31 sd-11111 sshd[1676]: pam_unix(sshd:session): session opened for user mike by (uid=0)
May 28 13:45:31 sd-11111 systemd-logind[447]: Removed session 4.
May 28 13:45:31 sd-11111 systemd-logind[447]: New session 5 of user mike.
May 28 13:45:32 sd-11111 sshd[1694]: fatal: bad ownership or modes for chroot directory "/home/mike"
May 28 13:45:32 sd-11111 sshd[1676]: pam_unix(sshd:session): session closed for user mike

The solution was to do the following…

[email protected]:/home# sudo chown root:root /home/mike/
[email protected]:/home# sudo chmod 755 /home/mike/

 

 

Code-free, pixel perfect, Parallax Scrolling Animator

(…) Webydoa professional platform that lets designers create and manage websites for their clients without code. As its staff are all about putting designers in the driver’s seat, they let a community of more than 85,000 designers vote on new features to make it better. The results are out, and the most voted feature is now a reality—Webydo has invited you to try out its code-free, pixel perfect, Parallax Scrolling Animator that lets you create even more beautiful and immersive websites. 

Read more at: http://designtaxi.com/news/365726/Pixel-Perfect-Parallax-Scrolling-Test-Webydo-s-Code-Free-Animator/