Webserveris 8080
Įvykdžius komandą terminale tam tikroje kategorijoje bus pasiekiema per naršyklę 8080 portu pvz localhost:8080 .
Komanda:
:;while [ $? -eq 0 ];do nc -vlp 8080 -c’(r=read;e=echo;$r a b c;z=$r;while [ ${#z} -gt 2 ];do $r z;done;f=`$e $b|sed ‘s/[^a-z0-9_.-]//gi’`;h=”HTTP/1.0″;o=”$h 200 OK\r\n”;c=”Content”;if [ -z $f ];then($e $o;ls|(while $r n;do if [ -f "$n" ]; then $e “<a href=\”/$n\”>`ls -gh $n`
“;fi;done););elif [ -f $f ];then $e “$o$c-Type: `file -ib $f`\n$c-Length: `stat -c%s $f`”;$e;cat $f;else $e -e “$h 404 Not Found\n\n404\n”;fi)’;done
Surask visus ssh Hostus
Komanda suranda tinkle visus atvirus ssh hostus.
Komanda:
nmap -p22 -oG – $(ip addr | awk ‘/inet .*global/ {print $2}’ | tr ‘\n’ ‘ ‘) | awk ‘/22\/open/ {print $2}’ | uniq
.nrg formato keitimas į .iso
Komanda kuri leis lengvai pakeis .nrg (nero format) į .iso
Komanda:
dd bs=1k if=NRG_FILE of=ISO_FILE skip=300
Atsitiktinės Furuamos citatos
Komanda pateikia atsitiktines filmuko “Futurama”: Citatas
Komanda:
curl -Is slashdot.org | egrep '^X-(F|B)' | cut -d \- -f 2
Darom ISO faila iš CD
Komanda padės lengvai pagaminti ISO faila iš CD
Komanda:
dd if=/dev/cdrom of=cd.iso
Slaptažodžiu Generatorius
Lengvai sugeneruoja slaptažodžius
Komanda:
< /dev/urandom tr -dc A-Za-z0-9_ | head -c8





