You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just used this package to rename host name of my kali(in vmware) but the problem is when I change the hostname using kali-whoami
then many of my commands do not execute since the original host name is changed. I get message like msf6 > sudo db_nmap -p1-300 10.23.13.10 -A -sV -O -oA db.nscan sudo: unable to resolve host macOS11: Name or service not known
Now how can I restore the original hostname?
The text was updated successfully, but these errors were encountered:
if you perhaps encounter a hostname not configured error,
type the following in your distro's terminal:
cd /etc
sudo nano hosts
within the text file add the following line:
127.0.0.1 <new_hostname>
I just used this package to rename host name of my kali(in vmware) but the problem is when I change the hostname using kali-whoami
then many of my commands do not execute since the original host name is changed. I get message like
msf6 > sudo db_nmap -p1-300 10.23.13.10 -A -sV -O -oA db.nscan
sudo: unable to resolve host macOS11: Name or service not known
Now how can I restore the original hostname?
The text was updated successfully, but these errors were encountered: