cryptolok / ghostinthenet Goto Github PK
View Code? Open in Web Editor NEWUltimate Network Stealther that makes Linux a Ghost In The Net and protects from MITM/DOS/scan
License: MIT License
Ultimate Network Stealther that makes Linux a Ghost In The Net and protects from MITM/DOS/scan
License: MIT License
Using the ranges of <48:> for MAC adress as a reservation in some places reduces the entropy, as network admins can just use regex in a list to easily find the owner, even if the adress was changed multiples times, making his work easier.
Using the script does not make the user invisible on WIFI. Using Airodump-ng with a good wireless adapter, the MAC of the user can be found very quickly.
The script won't work inside a virtual machine, the connection will just hang until i disable the script (using nmcli and the graphical nm is the same result).
Why did you comment hostnamectl, and went back to using hostname ?
Edit: There's also the fact that graphical applications that might require root(such as bleachbit) cannot run after the change of hostname. It seems that one way to fix that is by adding the .Xauthority entry, but doing that will create problems at reboot when trying to log in session, and a way to fix that would be to add a line that remove the .Xauthority file after using OFF on the script(which is really bad), or using chown on the .Xauthority file
I tried to edit this to start on wlan1. no luck.. would you mind writing a copy or editing a copy to use wlan1 function? it would say wlan1 not active
In line 96 you use Bash's $RANDOM for the generation of a random mac address. $RANDOM returns an integer between 0 and 32767 (see RANDOM on the manpage). So the generated mac address has only about 2 bytes entropy.
A mac address has 8 bytes, as you hardcode the first byte you would need 7bytes of entropy for an perfectly random address.
I have no idea of the impact and if it is possible that a scanner could detect usage of this script through the 32768 different mac addresses that all start with 64.
So please use another way to generate a random mac address. How about one of the following:
dd if=/dev/urandom bs=8 count=1 2>/dev/null | od -t x8 | sed -nE 's/0000000 (..)(..)(..)(..)(..)(..)(..)..$/64:\1:\2:\3:\4:\5/p'
cat /proc/sys/kernel/random/uuid
It could also be possible to make networkmanager generate the mac address see: https://blogs.gnome.org/thaller/2016/08/26/mac-address-spoofing-in-networkmanager-1-4-0/
I don't know if it comes from the update you added which change the hostname (thanks for that, it's great), but when using Ghost, i have internet connection and my hostname and MAC adress are different, but when clicking on Network-Manager(Mate DE) i don't see any AP anymore, i have to reboot my computer.
I usually use wicd-curses, but after a recent python update it crashes so i'm avoiding it. Is there a work around ? I don't know which manager works best with GhostIntheNet, but wicd-curses worked very fast and fine with it.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.