mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-08-17 19:35:42 +02:00
revert back unnecessary changes
This commit is contained in:
+2
-2
@@ -37,7 +37,7 @@ services:
|
||||
- tool_config:/root/.config
|
||||
- static_volume:/usr/src/app/staticfiles/
|
||||
environment:
|
||||
- DEBUG=1
|
||||
- DEBUG=0
|
||||
- CELERY_BROKER=redis://redis:6379/0
|
||||
- CELERY_BACKEND=redis://redis:6379/0
|
||||
- DOMAIN_NAME=${DOMAIN_NAME}
|
||||
@@ -86,7 +86,7 @@ services:
|
||||
restart: always
|
||||
image: docker.pkg.github.com/yogeshojha/rengine/rengine:latest
|
||||
environment:
|
||||
- DEBUG=1
|
||||
- DEBUG=0
|
||||
- CELERY_BROKER=redis://redis:6379/0
|
||||
- CELERY_BACKEND=redis://redis:6379/0
|
||||
- DOMAIN_NAME=${DOMAIN_NAME}
|
||||
|
||||
@@ -188,7 +188,6 @@ watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/re
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=10 --loglevel=$loglevel -Q query_ip_history_queue -n query_ip_history_worker &
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=30 --loglevel=$loglevel -Q llm_queue -n llm_worker &
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=30 --loglevel=$loglevel -Q gpt_queue -n gpt_worker &
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=10 --loglevel=$loglevel -Q h1_sync_queue -n h1_sync_worker &
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=10 --loglevel=$loglevel -Q dorking_queue -n dorking_worker &
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=10 --loglevel=$loglevel -Q osint_discovery_queue -n osint_discovery_worker &
|
||||
watchmedo auto-restart --recursive --pattern="*.py" --directory="/usr/src/app/reNgine/" -- celery -A reNgine.tasks worker --pool=gevent --concurrency=10 --loglevel=$loglevel -Q h8mail_queue -n h8mail_worker &
|
||||
|
||||
@@ -24,16 +24,16 @@ HackerOne Settings
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<img src="https://www.hackerone.com/themes/hacker_one/images/logo-hackerone.svg" alt="" height="30px">
|
||||
<p class="mt-3">
|
||||
HackerOne API Setting can be used for the following:
|
||||
<ul>
|
||||
<li>Synchroinze HackerOne bookmarks with reEngine organizations</li>
|
||||
<li>Automatically Reports vulnerabilities</li>
|
||||
</ul>
|
||||
</p>
|
||||
<h4 class="header-title">Hackerone API Settings</h4>
|
||||
<h4 class="header-title">Hackerone Automatic Vulnerability Report Settings</h4>
|
||||
<img src="https://www.hackerone.com/assets/images/logo.png" alt="" height="30px">
|
||||
<div class="alert alert-danger border-0 mb-3 mt-3" role="alert">
|
||||
Use this feature with caution! Please do not spam triagers!
|
||||
<br>We do not allow sending vulnerability report for low severity and informational vulnerabilities to avoid spamming triagers!
|
||||
You can send them manually from Vulnerability Section inside reNgine.
|
||||
</div>
|
||||
<p class="mt-3">
|
||||
reNgine Automatically Reports vulnerabilities to your bug bounty programs on Hackerone, if any vulnerabilities are identified.
|
||||
<br>
|
||||
<span class="text-danger">A valid Hackerone API token and username is required.</span>
|
||||
<br>
|
||||
More details on how to generate your hackerone api token is provided by <a href="https://api.hackerone.com/getting-started-hacker-api/#getting-started-hacker-api" class="text-primary" target="_blank">Hackerone Documentation <i class="fe-external-link"></i></a>
|
||||
@@ -58,15 +58,6 @@ HackerOne Settings
|
||||
<a class="btn btn-primary float-end mt-3" href="javascript:test_hackerone()" role="button">
|
||||
Test my hackerone api key
|
||||
</a>
|
||||
<h4 class="header-title">Hackerone Automatic Vulnerability Report Settings</h4>
|
||||
<p class="mt-3">
|
||||
reNgine Automatically Reports vulnerabilities to your bug bounty programs on Hackerone, if any vulnerabilities are identified.
|
||||
</p>
|
||||
<div class="alert alert-danger border-0 mb-3 mt-3" role="alert">
|
||||
Use this feature with caution! Please do not spam triagers!
|
||||
<br>We do not allow sending vulnerability report for low severity and informational vulnerabilities to avoid spamming triagers!
|
||||
You can send them manually from Vulnerability Section inside reNgine.
|
||||
</div>
|
||||
<h4 class="header-title text-danger mt-3">Report Vulnerability to hackerone when</h4>
|
||||
<table>
|
||||
<tr>
|
||||
@@ -104,6 +95,7 @@ HackerOne Settings
|
||||
</div>
|
||||
{% endblock main_content %}
|
||||
|
||||
|
||||
{% block page_level_script %}
|
||||
<script src="{% static 'plugins/markdown/simplemde.min.js' %}"></script>
|
||||
<script src="{% static 'custom/custom.js' %}"></script>
|
||||
|
||||
@@ -3,10 +3,8 @@ import io
|
||||
import ipaddress
|
||||
import logging
|
||||
import validators
|
||||
import pytz
|
||||
|
||||
from datetime import timedelta
|
||||
from django.utils import timezone
|
||||
from urllib.parse import urlparse
|
||||
from django import http
|
||||
from django.conf import settings
|
||||
@@ -17,7 +15,6 @@ from django.urls import reverse
|
||||
from django.utils import timezone
|
||||
from django.utils.safestring import mark_safe
|
||||
from rolepermissions.decorators import has_permission_decorator
|
||||
from django_celery_beat.models import (PeriodicTask, ClockedSchedule)
|
||||
|
||||
from reNgine.common_func import *
|
||||
from reNgine.tasks import run_command, sanitize_url, sync_h1_bookmarked
|
||||
|
||||
Reference in New Issue
Block a user