Per l'autenticazione HTTP:
codice:#!/bin/bash #File contentente user:password in base64 auth=`cat passwd_file` request="GET http://www.sito.it HTTP/1.1\nHost: sito.it\nAuthorization: Basic $auth\n\n" response=`echo -e "$request" | nc -q 1 www.sito.it 80` echo "$response"![]()