Skip to content

IOError: [Errno http error] no host given #182

@cevans3505

Description

@cevans3505

Using: Linux kali 4.13.0-kali1-amd64 #1 SMP Debian 4.13.4-2kali1 (2017-10-16) x86_64 GNU/Linux

While running usernameOsint.py it errors out during the [+]Getting Profile Pics block.

Example command: python datasploit.py -i sample_username

Output:

`User Input: sample_username
Nothing Matched assuming username, running usernameOsint...

[+] Getting information from YouTube

[!] Error: No Google API key found. Skipping

[+] Username found on

http://www.etsy.com/people/sample_username
http://ask.fm/sample_username
http://twitter.com/sample_username
http://www.sample_username.tumblr.com
http://videobam.com/users/sample_username


[+] Checking git user details

Git account do not exist on this username.

[+] Checking Gitlab user details

[+] Getting information from Twitter

[-] Twitter API Keys not configured. Skipping Twitter search.
Please refer to http://datasploit.readthedocs.io/en/latest/apiGeneration/.

[+] Scraping Git for Repos and Commits
[!] This is BETA code, might not provide correct results

[-] Github Access Token not configured. Skipping Gi Search.
Please refer to http://datasploit.readthedocs.io/en/latest/apiGeneration/.

---> Searching User info @ Keybase

[+] Checking Travis-CI user (author and associated committer) details

[+] Getting Profile Pics

Traceback (most recent call last):
File "datasploit.py", line 87, in
main(sys.argv[1:])
File "datasploit.py", line 80, in main
usernameOsint.run(user_input, output)
File "/etc/datasploit/usernameOsint.py", line 9, in run
osint_runner.run("username", "username", username, output)
File "/etc/datasploit/osint_runner.py", line 29, in run
data = x.main(m_input)
File "/etc/datasploit/username/username_profilepic.py", line 220, in main
imagelinks = profilepic(usernames, username)
File "/etc/datasploit/username/username_profilepic.py", line 182, in profilepic
imagelinks = extracting(imagelinks, username, url, tg, att, val, valx, pro)
File "/etc/datasploit/username/username_profilepic.py", line 29, in extracting
urllib.urlretrieve(img[finattrib], path)
File "/usr/lib/python2.7/urllib.py", line 98, in urlretrieve
return opener.retrieve(url, filename, reporthook, data)
File "/usr/lib/python2.7/urllib.py", line 245, in retrieve
fp = self.open(url, data)
File "/usr/lib/python2.7/urllib.py", line 213, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 326, in open_http
if not host: raise IOError, ('http error', 'no host given')
IOError: [Errno http error] no host given
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions