Jump to content

reftoken

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

reftoken's Achievements

Newbie

Newbie (1/14)

  1. Until now I only tried with the built-in PHP web server and could access the complete site in the browser. Now I will try to set up a virtual host to see if this works better.
  2. I have got the following error when trying with --debug: /usr/bin/cewl: unrecognized option `--debug' So I tried this and tried to allow it to go offsite: $ cewl -v -o -m 5 -c -w output.txt http://localhost:8080/ ...and almost immediately got: Starting at http://localhost:8080/blog/ Visiting: http://localhost:8080/blog/, got response code 200 Attribute text found: Unable to connect to the site (http://localhost:80/blog/index.html) The following error may help: Failed to open TCP connection to localhost:80 (Connection refused - connect(2) for "localhost" port 80) /usr/lib/ruby/2.3.0/net/http.rb:882:in `rescue in block in connect' /usr/lib/ruby/2.3.0/net/http.rb:879:in `block in connect' /usr/lib/ruby/2.3.0/timeout.rb:91:in `block in timeout' /usr/lib/ruby/2.3.0/timeout.rb:101:in `timeout' /usr/lib/ruby/2.3.0/net/http.rb:878:in `connect' /usr/lib/ruby/2.3.0/net/http.rb:863:in `do_start' /usr/lib/ruby/2.3.0/net/http.rb:852:in `start' /usr/lib/ruby/2.3.0/net/http.rb:1398:in `request' /usr/bin/cewl:281:in `get_page' /usr/bin/cewl:212:in `block (2 levels) in start!' /usr/bin/cewl:210:in `each' /usr/bin/cewl:210:in `block in start!' /usr/bin/cewl:198:in `each' /usr/bin/cewl:198:in `start!' /usr/bin/cewl:165:in `start_at' /usr/bin/cewl:744:in `block in <main>' /usr/bin/cewl:734:in `catch' /usr/bin/cewl:734:in `<main>' Caller /usr/bin/cewl:233:in `get_page' /usr/bin/cewl:212:in `block (2 levels) in start!' /usr/bin/cewl:210:in `each' /usr/bin/cewl:210:in `block in start!' /usr/bin/cewl:198:in `each' /usr/bin/cewl:198:in `start!' /usr/bin/cewl:165:in `start_at' /usr/bin/cewl:744:in `block in <main>' /usr/bin/cewl:734:in `catch' /usr/bin/cewl:734:in `<main>' Writing words to file Any idea what's going on here? Also, it's strange that it tries to access localhost:80 when I specify localhost:8080.
  3. Hi all, I am trying to use CeWL in order to get a wordlist from a website I am developing locally. Since trying with the direct path leads to errors, I tried to start a local development server and did the following: # In the local directory $ php -S localhost:8080 $ cewl -m 5 -w output.txt http://localhost:8080/ However, CeWL aborts almost immediately, leaving me with a list of 30 - 40 words. It basically just spiders the homepage and doesn't go further. Even with -d 5 or -o, it doesn't seem to proceed as expected. Do you know of an alternative way to fetch words from local files?
×
×
  • Create New...