Skip to content

Commit

Permalink
README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
harshdhamaniya authored Sep 9, 2023
1 parent 2ce83b0 commit a81fdda
Showing 1 changed file with 124 additions and 1 deletion.
125 changes: 124 additions & 1 deletion README.md
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.

0 comments on commit a81fdda

Please sign in to comment.