From 23bcfd7546d9aeabfdc5a57122000c20aa5c60d7 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Wed, 1 Mar 2017 21:54:09 +0200 Subject: [PATCH] hastebin uses https now --- pupy/pupylib/PupyDnsCnc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pupy/pupylib/PupyDnsCnc.py b/pupy/pupylib/PupyDnsCnc.py index f33def58..9c1863f8 100644 --- a/pupy/pupylib/PupyDnsCnc.py +++ b/pupy/pupylib/PupyDnsCnc.py @@ -115,10 +115,10 @@ class PupyDnsCnc(object): with open(content_path) as content: payload = self.handler.encode_pastelink_content(content.read()) - response = requests.post('http://hastebin.com/documents', data=payload) + response = requests.post('https://hastebin.com/documents', data=payload) if response.ok: key = response.json()['key'] - url = 'http://hastebin.com/raw/{}'.format(key) + url = 'https://hastebin.com/raw/{}'.format(key) if not url: raise ValueError('couldn\'t create pastelink url')