Check if param is null

Fixes issue #36, POST body without param
pull/46/head
Konstantinos Xynos 2023-03-29 00:21:59 +02:00 committed by GitHub
parent 25a0a1ec69
commit 36ee7d1f9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ class Requester(object):
# Handle FORM data
else:
if param == '': data_injected = value
r = requests.post(
self.protocol + "://" + self.host + self.action,
headers=self.headers,