/usr/lib/python2.7/dist-packages/catcher/uploaders/pastehtml.py is in python-catcher 0.1.7+git20140530-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 | import requests
class PasteHTMLUploader:
def upload(self, data):
return requests.post(
'http://pastehtml.com/upload/create?input_type=html&result=address',
data={'txt': data}
).text
|