First download the following python script which we’ll use to convert the Kismet NetXML file.
You should now be able to run the script with.
Help output for NetXML to CSV
bob@localhost:~$ python main.py
Usage: main.py <NetXML File> <oUTPUT File Name> <Filter> (Filter is optional)
python main.py Kismet-file-input.netxml Kismet-csv-output.csv
Example of converting file.
bob@localhost:~$ python main.py Kismet-20191023-12-50-42.netxml Kismet-20191023-12-50-42.csv
You can now import the csv into Google Earth.
Install netcat with
sudo apt install netcat
or on RedHat based systems
yum install netcat
The below command will scan all the ports up to 1000. Change if needed.
nc -v -z 192.168.1.20 1-1000
After installing OpenVAS you may need to setup a user. Running the following command will create the user admin and will print the password for the user below.
openvasmd --create-user admin
User created with password 'b4539967-c521-fe41-d255-aeb53e735h9a'.
If needed you can delete a user with the following command
The following commands are dangerous! Proceed with caution!
Change /dev/sdX to your drive. Make sure you get the correct drive, or you could wipe you main system.
dd if=/dev/zero of=/dev/sdX bs=1M status=progress
The status=progress part shows how much dd has writen. Helpful to gauge how far along it is.
If you want a more secure way to erase the drive, change zero to random. Makes it slower, but should be more secure.
dd if=/dev/random of=/dev/sdX bs=1M status=progres
Side note, these commands should work in macOS, but you may need to drop the status=progress option.