Skip to content

andrei-zgirvaci/hide-me

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Mac and hostname random changer (hide-me)

Every time I was trying to do an Network Penetration Testing, I needed to do some steps to make sure I was hidden, put my interface down, change my mac address, change my hostname, putting interface back up, and restarting network-manager service, and when done, changing my mac address and hostname to original one. This took me a while and sometimes I even forgot to do something from those steps. Then I came to an idea to make a script that does all that for me. Basicly this script will change the mac address to a random one and will pick a random hostname from specified file.

WRITTEN BY: Andrei Zgirvaci

DISCLAIMER: This is only for testing purposes and can only be used where strict consent has been given. Do not use this for illegal purposes, period.

CONTRIBUTE: Contributions are always welcome!

If you can, please take a minute to star this repo and follow me, It will be much appreciated!!!

Demo

Installation

To install this script, type following commands in your shell:

  git clone https://github.com/MD3XTER/hide-me

To execute script from anywhere, add this to ~/.bashrc:

  PATH=/path/to/hide-me:"$PATH"

Restart terminal and now you can type 'hide-me' from anywhere and it will execute!

Requirements

  1. python version > 3.5 installed
  2. Command hostname should be available
  3. macchanger installed

You can install macchanger by typing next line:

apt-get install macchanger

Usage

Usage: hide-me device [file_location]

  -h, --help       Print this help
  [file_location]  Indicate file location with hostnames
  quit             Retrieve changes to original

A default .txt file with random hostnames is located in 'dict' folder

Tested platforms

  • Linux

License

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

See 'LICENSE' for more information.