From a04d224c7933908d645b71f7c77c48eaa6e46261 Mon Sep 17 00:00:00 2001 From: felalex Date: Tue, 22 Jun 2021 18:39:14 +0200 Subject: [PATCH] new: trying toget proxy field from /capture --- website/web/__init__.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/website/web/__init__.py b/website/web/__init__.py index 28312264..cbde70f5 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -757,6 +757,9 @@ def capture_web(): if request.form.get('referer'): capture_query['referer'] = request.form['referer'] + if request.form.get('proxy'): + capture_query['proxy'] = request.form['proxy'] + perma_uuid = lookyloo.enqueue_capture(capture_query, source='web', user=user, authenticated=flask_login.current_user.is_authenticated) time.sleep(30) return redirect(url_for('tree', tree_uuid=perma_uuid))