Sunday, March 02, 2014

My Apache experience

Enable SSL

a2ensite default-ssl
a2enmod ssl


tftp daemon

There are some tftp daemon options listed below.

tftpd

>sudo apt-get install tftpd
>sudo apt-get install inetutils-inetd

in /etc/inetd.conf
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot

>sudo kill -HUP inetd

tftpd-hpa

>sudo apt-get install tftpd-hpa
==== /etc/default/tftpd-hpa ======
# /etc/default/tftpd-hpa

TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/var/lib/tftpboot"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"
==================================
>sudo sudo service tftpd-hpa restart
>sudo ln -sf /var/lib/tftpboot/ /tftpboot

atftpd

???

Self test

>tftp localhost
tftp>get some_local_file

Saturday, March 01, 2014

Installing Kali into the USB Driver

My experience about installing Kali into the USB driver.

Mount option: noatime

one inode per 4KB block

Enable Bootable flag

No swap partition

Disable check for updates and I prefer to do it myself, like apt-get update and apt-get dist-upgrade