--> Start Kali Linux with new hostname on every boot | My Hack Stuff

Start Kali Linux with new hostname on every boot

In this article we will discuss how to start kali linux with new hostname on every boot? I did not need to revive an previous / useless thread, however this was such a fantastic thought it simply wanted a little bit updating. Learn also how to setup TOR in Kali Linux? Here is the review of Kali Linux 2017.2 this method 100% working on Kali Linux 2017.2

This article is written for the purpose of How to secure communication while Pentesting. reboot (or change) (start kali linux with new hostname) your hostname on each boot or by operating a service command with a view to keep away from the detection of getting a bunch named "kali-laptop" or "my_super_hacking_box"

I up to date your script a little bit bit so that (start kali linux with new hostname) it'll work with the newest Kali Rolling 2016.2 which makes use of systemd - I referred to as mine changehost.sh (understand railgun scripting here)

cp -n /etc/hosts,.old

newhn=$(cat /dev/urandom | tr -dc 'A-Za-z' | head -c8)
hostnamectl set-hostname $newhn

echo " localhost" > /etc/hosts
echo " $newhn" >> /etc/hosts


Then create a file referred to as


In that file:

Description=Hostname Randomizer




Lastly you need to allow the service:

systemctl enable changehost.service

Now on boot your hostname ought to change as a part of the companies beginning. You too can invoke it anytime with

service changehost start

That's it you should also read what are the best ways to learn Kali Linux

Here is the list of top 8 stealth scanning strategies of Kali Linux



AC Milan,14,Arsenal,15,Atalanta,15,Atletico Madrid,15,Barcelona,25,Bayern München,17,Bundesliga,63,Business,1,Chelsea,22,Coronavirus,2,Cristiano Ronaldo,20,Dortmund,11,Ethical Hacking,46,Exploitation,35,FA Cup,2,Featured,559,Football,572,Footprinting,29,Google Adsense,2,Inter Milan,19,Juventus,23,Kali Linux,39,Kali NetHunter,3,LaLiga,102,Lazio,13,Leicester City,12,Ligue 1,68,Live Streams,12,Liverpool,21,Lyon,8,Make Money,3,Manchester City,29,Manchester United,23,Messi,9,Metasploit,1,Napoli,12,Offensive Security,17,Penetration Testing,15,Politics,2,Post Exploitation,19,Premier League,119,PSG,13,Real Madrid,27,Roma,8,Search Engine Optimization,4,Serie A,88,Sevilla,9,Sports,543,Technology,36,Tips,16,Tottenham Hotspur,15,Trending,787,UEFA Champions League,74,UEFA Europa League,14,UEFA Nations League,3,United States,1,Windows,7,World News,7,
My Hack Stuff: Start Kali Linux with new hostname on every boot
Start Kali Linux with new hostname on every boot
My Hack Stuff
Loaded All Posts Not found any posts VIEW ALL Readmore Reply Cancel reply Delete By Home PAGES POSTS View All RECOMMENDED FOR YOU LABEL ARCHIVE SEARCH ALL POSTS Not found any post match with your request Back Home Sunday Monday Tuesday Wednesday Thursday Friday Saturday Sun Mon Tue Wed Thu Fri Sat January February March April May June July August September October November December Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec just now 1 minute ago $$1$$ minutes ago 1 hour ago $$1$$ hours ago Yesterday $$1$$ days ago $$1$$ weeks ago more than 5 weeks ago Followers Follow THIS PREMIUM CONTENT IS LOCKED STEP 1: Share to a social network STEP 2: Click the link on your social network Copy All Code Select All Code All codes were copied to your clipboard Can not copy the codes / texts, please press [CTRL]+[C] (or CMD+C with Mac) to copy Table of Content