From 701dc53143882c466913310edab6fcf2e3c873c0 Mon Sep 17 00:00:00 2001 From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com> Date: Thu, 6 Apr 2023 12:50:18 +0200 Subject: [PATCH 1/2] revert: might be related to scans not working ref: fd61c6b --- web/api/serializers.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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: From 6b383be2f4505a65288c68ba51061d304737f39b Mon Sep 17 00:00:00 2001 From: AnonymousWP <50231698+AnonymousWP@users.noreply.github.com> Date: Tue, 11 Apr 2023 09:25:45 +0200 Subject: [PATCH 2/2] docs(readme): fix numbered list --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 62908dc2..5a562c29 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 -``` + ```bash + sudo ./install.sh + ``` -If `./install.sh` does not have install permission, please change it, `chmod +x 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 **