yogeshojha / rengine

reNgine is an automated reconnaissance framework for web applications with a focus on highly configurable streamlined recon process via Engines, recon data correlation and organization, continuous monitoring, backed by a database, and simple yet intuitive User Interface. reNgine makes it easy for penetration testers to gather reconnaissance with minimal configuration and with the help of reNgine's correlation, it just makes recon effortless.
https://yogeshojha.github.io/rengine/
GNU General Public License v3.0
7.45k stars 1.13k forks source link

bug: Updating tools hangs and results 500 error #1152

Closed PekkaJalonen closed 2 months ago

PekkaJalonen commented 9 months ago

Is there an existing issue for this?

Current Behavior

When updating some tools in arsenal, example ctfr will caus web to hang with "Downloading laterst version..." and looking at the container logs, it shows:

django.server | "GET /api/github/tool/get_latest_releases/?tool_id=12 HTTP/1.0" 200 38 run_command | INFO | cd /usr/src/github/ctfr && git pull && cd - run_command | WARNING | None django.server | "GET /api/tool/update/?tool_id=12 HTTP/1.0" 500 133332

Expected Behavior

Update should respond if the update was successfull or not.

Steps To Reproduce

  1. In tool arsenal, select ctfr and click Check Update
  2. Click Force download
  3. Web page hangs in "Downloading laterst version..."

Environment

- reNgine: 2.0.2 (fresh install)
- OS: Ubuntu 22.04
- Python: 3.10.12
- Docker Engine: 24.0.6
- Docker Compose: 2.21.0
- Browser: Microsoft Edge 120.0.2210.61

Anything else?

No response

github-actions[bot] commented 9 months ago

👋 Hi @PekkaJalonen, Issues is only for reporting a bug/feature request. Please read documentation before raising an issue https://rengine.wiki For very limited support, questions, and discussions, please join reNgine Discord channel: https://discord.gg/azv6fzhNCE Please include all the requested and relevant information when opening a bug report. Improper reports will be closed without any response.

AnonymousWP commented 9 months ago

I don't think I had/have this issue. Can you still reproduce it?

psyray commented 9 months ago

I can reproduce image

I will have a look

yogeshojha commented 2 months ago

@PekkaJalonen

Thank you for reporting this.

A PR has been created to fix this, this has been fixed with PR #1335

Thank you