Datalux / Osintgram

Osintgram is a OSINT tool on Instagram. It offers an interactive shell to perform analysis on Instagram account of any users by its nickname
GNU General Public License v3.0
9.52k stars 2.09k forks source link

Error response in html that cannot be decoded #67

Closed thedude35 closed 3 years ago

thedude35 commented 3 years ago

After executing the tool on one of my account it failed with a traceback:

Traceback (most recent call last): File "main.py", line 107, in <module> api = Osintgram(args.id, args.file, args.json) File "/home/devlinux/Osintgram/src/Osintgram.py", line 36, in __init__ self.setTarget(target) File "/home/devlinux/Osintgram/src/Osintgram.py", line 42, in setTarget user = self.get_user(target) File "/home/devlinux/Osintgram/src/Osintgram.py", line 956, in get_user data = content.json() File "/usr/local/lib/python3.8/dist-packages/requests/models.py", line 898, in json return complexjson.loads(self.text, **kwargs) File "/usr/lib/python3/dist-packages/simplejson/__init__.py", line 525, in loads return _default_decoder.decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 370, in decode obj, end = self.raw_decode(s) File "/usr/lib/python3/dist-packages/simplejson/decoder.py", line 400, in raw_decode return self.scan_once(s, idx=_w(s, idx).end()) simplejson.errors.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

The response was actually html and looked like an error it's very long but here is a snippet from the very bottom when I outputted the content.text to my terminal:

window.addEventListener('load', function(){ if (window.__bufferedErrors && window.__bufferedErrors.length) { if (window.caches && window.caches.keys && window.caches.delete) { window.caches.keys().then(function(keys) { keys.forEach(function(key) { window.caches.delete(key) }) }) } window.__bufferedErrors.map(function(error) { return normalizeError(error) }).forEach(function(normalizedError) { var request = new XMLHttpRequest(); request.open('POST', '/client_error/', true); request.setRequestHeader('Content-Type', 'application/json; charset=utf-8'); request.send(JSON.stringify(normalizedError)); }) } }) }()); </script> </body> </html>

I am running Python3.8 on Kali-Linux let me know if you need any more details

thedude35 commented 3 years ago

Problem with my VPN