Skip to content

Instantly share code, notes, and snippets.

@GorosVi
Created March 31, 2017 10:20
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GorosVi/cd65bd955e3d1eab8f300ea0c9e39b90 to your computer and use it in GitHub Desktop.
Save GorosVi/cd65bd955e3d1eab8f300ea0c9e39b90 to your computer and use it in GitHub Desktop.
Kali setup
swapoff -a
dpkg --add-architecture i386
apt-get update
apt-get dist-upgrade
apt-get install virtualbox-guest-x11
reboot
Background > =)
Date & Time > change and timezone locale to russian
Power > Disable screensaver
privacy > Disable autonatic screen lock
Autologin
leafpad /etc/gdm3/daemon.conf
In the daemon section uncomment the 2 lines for automatic login. It should finally look like this
[daemon]
# Enabling automatic login
AutomaticLoginEnable = true
AutomaticLogin = root
// default System-Preferences-Hardware-Keyboard Shortcuts -> Maximize window = Winkey+Up, Restore window = Winkey+Down
Terminal -> Edit-Profile Preferences Font = Monospace 11, [v] Copy into clipboard, [v] Use custom size = 120x36, Colors-Text color = #e2e2e2, Scrolling [v] Unlimited
// default Natural scroll !!!
gnome-tweak-tool > extensions > [v] alternate tab
top bar > [v] show date
Appearance > [v] global dark theme
apt-get install build-essential linux-headers-amd64 linux-headers-686-pae pv netcat-traditional socat htop mc screen vim strace ltrace edb-debugger aptitude apt-file automake cmake bison dc libtool lzop mtr php-gmp
apt-get install gcc-multilib
apt-get install libncurses5:i386 libstdc++6:i386
// default apt-get install zerofree
.bashrc
// default /usr/share/vim/vim80/defaults.vim -> "set incsearch and "set mouse=a
/etc/php/7.0/cli/php.ini -> date.timezone = Europe/Moscow
/etc/default/grub -> GRUB_TIMEOUT=2
update-grub
apt-get autoremove --purge
clear .bash-history
from other kali
zerofree -v /dev/sda1
swapon -a
poweroff
modiftvm compactvdi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment