Oct 122013
 

Sometimes a program or software don’t start for a syntax error, and if you check the files there is nothing wrong..apparently.
There are a lot of characters that usually are not printed if you use a normal text editor, but you can easily check if they are present with your terminal and the command cat.

As first thing let’s create a simple text file with these special characters, open a terminal and run the command:

printf 'testing\012\011\011testing\014\010\012more testing\012\011\000\013\000even more testing\012\011\011\011\012' > /tmp/testing.txt

Now if you open the file with an editor you’ll have different results.
A simple cat will show:

$ cat /tmp/testing.txt 
testing
		testing
 
more testing
 
        even more testing

Continue reading »

Flattr this!

Oct 042013
 

syncHave you finish your cloud space on Dropbox, Google Drive or one of the many cloud storage providers ? Or maybe you don’t trust them and you’d prefer a solution made with your computer/vps/Server ?

Good news, from some time there is a new solution available: BitTorrent Sync

BitTorrent Sync by BitTorrent, Inc is a proprietary peer-to-peer file synchronization tool available for Windows, Mac, Linux, Android, iOS and BSD. It can sync files between devices on a local network, or between remote devices over the Internet via secure, distributed P2P technology, so in short you can setup your own cloud storage and share your files among your devices.

Continue reading »

Flattr this!

Oct 012013
 

steam_os

Some days ago Valve announced it’s new, and not so secret, project SteamOS :

“Thousands of games, millions of users. Everything you love about Steam.
Available soon as a free operating system designed for the TV and the living room.”

In short, soon there will be a new Linux distribution tailored to get the max from Steam and its games,

“SteamOS will be available soon as a free download for users and as a freely licensable operating system for manufacturers. Stay tuned in the coming days for more information”

about manufacturer Valve claims that it’s in contact with different hardware vendors to make “a variety of Steam gaming machines.” All will be running SteamOS and are expected to start hitting retail in 2014.
Continue reading »

Flattr this!

Sep 192013
 

Fool those who try to portscan your system!
The Portspoof program is designed to enhance OS security through emulation of legitimate service signatures on otherwise closed ports. It is meant to be a lightweight, fast, portable and secure addition to the any firewall system or security infrastructure.

The general goal of the program is to make the port scanning software (Nmap/Unicornscan/etc) process slow and output very difficult to interpret, thus making the attack reconnaissance phase a challenging and bothersome task

Continue reading »

Flattr this!

Sep 132013
 

This is an article of mine first published on Wazi.

Apache is still by far the most widely deployed HTTP server, according to the latest Netcraft web server survey, but nginx has been slowly, steadily gaining market share, thanks to its blazing speed. If you want to try a faster web server and move from Apache to nginx, you’ll probably have to change some of your websites’ configurations, starting with rewrite directives. To migrate rewrite rules from Apache to nginx, start with these tips and tricks.

The Apache mod_rewrite module provides powerful and sophisticated tools for nearly all types of URL rewriting. It is, however, somewhat complex, and may be intimidating to beginners. In fact, however, rewrite rules are not magical incantations, though to understand them you need some understanding of regular expressions.

Even if you have never heard of mod_rewrite, you may still be using it. Popular applications such as WordPress, Drupal, and Magento are shipped with .htaccess files that contain standard configurations that make these applications work properly, and these usually include one or more rewrites, so to properly move your website to an nginx web server you have to “translate” the Apache mod_rewrite directives into equivalent rules for nginx’s HttpRewriteModule.

Continue reading »

Flattr this!