# Pimp my kali

**#Securing the system**

```
1)  passwd  (type twice)

2)  apt-get update |  apt-get upgrade | apt-get dist-upgrade | 

#Custom script

#!/bin/bash
set -e
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade


```

**#Reconfigure ssh**&#x20;

```
 cd /etc/ssh
 ls
 mkdir old_keys
 mv ssh_host_* /etc/ssh/old_keys
 ls old_keys
 dpkg-reconfigure openssh-server
 md5sum ssh_host_*
 md5sum /etc/ssh/old_keys/ssh_host_*
```

**#Adding a user**&#x20;

```
adduser
usermod -a -G sudo redcliff
adduser redcliff sudo   
```

**#Updating the essentials**

```
sudo apt install seclists curl enum4linux feroxbuster impacket-scripts nbtscan nikto nmap onesixtyone oscanner redis-tools smbclient smbmap snmp sslscan sipvicious tnscmd10g whatweb wkhtmltopdf
sudo apt-get upgrade metasploit-framework
searchsploit -u 
sudo apt install -y docker.io
sudo systemctl enable docker --now
sudo apt install golang
go install github.com/hakluke/hakrawler@latest

```

**#Resizing Screen on VMWare VM**

```
sudo apt update

sudo apt install fuse3

sudo apt -y --reinstall open-vm-tools-desktop fuse3
```

**#issues with Italian keyboard layout in VMWare pro + Kali**

```
sudo setxkbmap it
#not persistent across reboots

sudo yum install xorg-x11-xkb-utils 
#wazuh Centos specific

```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://davidtancredi.gitbook.io/pentesting-notes/r3dcl1ff/sysadmin/pimp-my-kali.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
