forked from harshdhamaniya/nessuskeygen
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2ce83b0
commit a81fdda
Showing
1 changed file
with
124 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,125 @@ | ||
# nessuskeygen | ||
# Nessus Professional Key Generator | ||
|
||
This Python script allows you to generate Nessus Professional Keys directly without having to fill out the registration form. It simplifies the process and makes it more convenient for users to get started with Nessus. | ||
|
||
## Usage | ||
|
||
To generate a Nessus Professional Key using the script, simply run the following command: | ||
|
||
```bash | ||
python nessuskeygen.py | ||
``` | ||
|
||
If you prefer a Windows executable, you can download `nessuskeygen.exe` and click the "Generate Key" button to generate a key. | ||
|
||
## Start or Stop Nessus | ||
|
||
### Windows Command-Line Operation | ||
|
||
Start Nessus: | ||
|
||
``` | ||
C:\Windows\system32>net start "Tenable Nessus" | ||
``` | ||
|
||
Stop Nessus: | ||
|
||
``` | ||
C:\Windows\system32>net stop "Tenable Nessus" | ||
``` | ||
|
||
### Linux Command-Line Operation | ||
|
||
#### RedHat, CentOS, and Oracle Linux | ||
|
||
Start Nessus: | ||
|
||
``` | ||
# systemctl start nessusd | ||
``` | ||
|
||
Stop Nessus: | ||
|
||
``` | ||
# systemctl stop nessusd | ||
``` | ||
|
||
#### SUSE | ||
|
||
Start Nessus: | ||
|
||
``` | ||
# systemctl start nessusd | ||
``` | ||
|
||
Stop Nessus: | ||
|
||
``` | ||
# systemctl stop nessusd | ||
``` | ||
|
||
#### FreeBSD | ||
|
||
Start Nessus: | ||
|
||
``` | ||
# service nessusd start | ||
``` | ||
|
||
Stop Nessus: | ||
|
||
``` | ||
# service nessusd stop | ||
``` | ||
|
||
#### Debian, Kali, and Ubuntu | ||
|
||
Start Nessus: | ||
|
||
``` | ||
# systemctl start nessusd | ||
``` | ||
|
||
Stop Nessus: | ||
|
||
``` | ||
# systemctl stop nessusd | ||
``` | ||
|
||
## Updating the Nessus Key | ||
|
||
To update the Nessus key, you can use the following commands: | ||
|
||
For all operating systems: | ||
|
||
``` | ||
nessuscli fix --reset-all | ||
``` | ||
|
||
### Linux | ||
|
||
``` | ||
# /opt/nessus/sbin/nessuscli fetch --register xxxx-xxxx-xxxx-xxxx | ||
``` | ||
|
||
### FreeBSD | ||
|
||
``` | ||
# /usr/local/nessus/sbin/nessuscli fetch --register xxxx-xxxx-xxxx-xxxx | ||
``` | ||
|
||
### Windows | ||
|
||
``` | ||
C:\Program Files\Tenable\Nessus>nessuscli.exe fetch --register xxxx-xxxx-xxxx-xxxx | ||
``` | ||
|
||
### macOS | ||
|
||
``` | ||
# /Library/Nessus/run/sbin/nessuscli fetch --register xxxx-xxxx-xxxx-xxxx | ||
``` | ||
|
||
Replace `xxxx-xxxx-xxxx-xxxx` with your new Nessus Professional Key. | ||
|
||
Please note that this script is provided for educational purposes only and should be used responsibly and in compliance with the Nessus licensing terms. |