Jump to content

Finding all the links from a domain?


USBHacker

Recommended Posts

LOL

BTW: Still haven't gotten it to work

Might I direct you to my picture... paulsonfail.jpg

Link to comment
Share on other sites

I had to tab out the originally posted code to get it to work:

import urllib2
subs = ["www","wi","wik","wiki","forum","forum"]
for sub in subs:
        site ="http://"+sub+".hak5.org"
        try:
                urllib2.urlopen(site).readlines()
                print site
        except:
                pass

But after that it worked like a champ.

Link to comment
Share on other sites

^Thanks!

I had to tab out the originally posted code to get it to work:

import urllib2
subs = ["www","wi","wik","wiki","forum","forum"]
for sub in subs:
        site ="http://"+sub+".hak5.org"
        try:
                urllib2.urlopen(site).readlines()
                print site
        except:
                pass

But after that it worked like a champ.

Thanks, I'll give it a go!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...