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!!!
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!
- python version > 3.5 installed
- Command hostname should be available
- macchanger installed
You can install macchanger by typing next line:
apt-get install macchanger
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
- Linux
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.