Navigation

web

url2image - convert web page to picture

Install programs:

 apt-get install cutycapt xvfb

Run script:

xvfb-run --server-args="-screen 0, 1280x1024x24" cutycapt --url=www.duckd.cz --out=duckd.jpg

...

RC Car controlled by web interface (Alix 2d2, Arduino)

This is my RC car controlled by Alix 2d2 and Arduino
-web interface

Alix 2D2 - Web server + MySql
2x wifi Atheros CM9 - Intranet + WAN
Sony Ericsson X10 mini - Camera + Internet connection
CMPS10 - Compass
Arduino Mega
GPS - SKM53 - logged on google map
CMPS10

LAMP server

If you alter your httpd.conf file to include the following two lines the presence, and version, of the PHP module will be hidden - as will the version of Apache you're using:
ServerSignature Off
ServerTokens production

/etc/init.d/apache2 reload

PHP is a fantastic language and is perfect for you dynamic mySQL driven site, but the flexibility of it at the same time makes it vulnerable for external expoits. Here are a few tips of how to secure your php.ini !

Edit our php.ini by logging into shell with root :
vim /usr/lib/php.ini

Kód a CSS

function URLEncode(plaintext){
// The Javascript escape and unescape functions do not correspond
// with what browsers actually do...
var SAFECHARS = "0123456789" + // Numeric
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" + // Alphabetic
"abcdefghijklmnopqrstuvwxyz" +
"-_.!~*'()"; // RFC2396 Mark characters
var HEX = "0123456789ABCDEF";

var encoded = "";
for (var i = 0; i < plaintext.length; i++ ) {
var ch = plaintext.charAt(i);
if (ch == " ") {
encoded += "+"; // x-www-urlencoded, rather than %20
} else if (SAFECHARS.indexOf(ch) != -1) {
encoded += ch;
} else {
Tags: 
Subscribe to web