diff --git a/README.md b/README.md index 31695973..f72f5919 100644 --- a/README.md +++ b/README.md @@ -148,23 +148,23 @@ You can find reNgine documentation at [https://rengine.wiki](https://rengine.wik 1. Clone this repo -```bash -git clone https://github.com/yogeshojha/rengine && cd rengine -``` + ```bash + git clone https://github.com/yogeshojha/rengine && cd rengine + ``` 1. Edit the dotenv file, **please make sure to change the password for postgresql `POSTGRES_PASSWORD`!** -```bash -nano .env -``` + ```bash + nano .env + ``` 1. Run the installation script, Please keep an eye for any prompt, you will also be asked for username and password for reNgine. -```bash -sudo ./install.sh -``` - -If `./install.sh` does not have execution permissions, please change it, `chmod +x install.sh` + ```bash + sudo ./install.sh + ``` + + If `./install.sh` does not have install permission, please change it, `chmod +x install.sh` **reNgine can now be accessed from or if you're on the VPS ** @@ -178,11 +178,11 @@ Installation instructions can be found at [https://reNgine.wiki/install/detailed 1. Updating is as simple as running the following command: -```bash -sudo ./update.sh -``` + ```bash + sudo ./update.sh + ``` -If `./update.sh` does not have execution permissions, please change it, `chmod +x update.sh` + If `./update.sh` does not have execution permissions, please change it, `chmod +x update.sh` ## Changelog diff --git a/web/api/serializers.py b/web/api/serializers.py index abcce306..ea177b48 100644 --- a/web/api/serializers.py +++ b/web/api/serializers.py @@ -429,15 +429,15 @@ class VisualiseSubdomainSerializer(serializers.ModelSerializer): 'description': 'Informational', 'children': info_serializer.data }) - unknown = vulnerability.filter(severity=-1) - if unknown: - unknown_serializer = VisualiseVulnerabilitySerializer( - unknown, + uknown = vulnerability.filter(severity=-1) + if uknown: + uknown_serializer = VisualiseVulnerabilitySerializer( + uknown, many=True ) vulnerability_data.append({ 'description': 'Unknown', - 'children': unknown_serializer.data + 'children': uknown_serializer.data }) if vulnerability_data: