Random commands

A collection of commands I have found useful

MongoDB setup: ditch all the bullshit tutorials / Official MongoDB walkthrough

Easy way to install is :

sudo apt-get update
sudo apt install mongodb
sudo systemctl status mongodb

#If you cannot reach any network (in NAT mode), try:

sudo dhclient eth0

#Mouse and keyboard dead after booting

PRESS SHIFT AT BOOTING AND ENTER ADVANCED OPTIONS

sudo apt-get install xserver-xorg-input-all

REBOOT AND THIS SHOULD SOLVE THE PROBLEM.

#Reset root privileges in post 2020 kali version

sudo dpkg-reconfigure kali-grant-root

#Setup SMB on Win10

Type Windows Features in the search bar, enable SMB and reboot

#Running as admin type:

DISM /Online /Enable-Feature /All /FeatureName:SMB1Protocol

#VMWare Workstation 16 vmon update | troubleshooting crashes

#Calculate sha256 sum of file in Windows10-11

#Install Go-20 on Kali

Last updated