Giter Site home page Giter Site logo

Comments (5)

Ekultek avatar Ekultek commented on June 15, 2024

Before you create an issue please make sure that there are no issues that relate to your issue. if there is an issue that relates to one, please add a comment to that issue and describe your specific problem. If your issue has to do with any sort of installation or syntax errors, please read the self_help under the docs directory. If none of those answer your question, make an issue

Issue/Enhancement/Question (be specific)

Getting error: undefined method `q=' for nil:NilClass

Exact error message/Enhancement information

undefined method `q=' for nil:NilClass

Steps to reproduce if applicable or steps on what should be done

Run with {:default=>true, :agent=>true}

Search query if applicable (please use exact search query)

intitle:"marketing".php?id= title:join

User agent (if applicable)

N/A

Whitewidow version number (must have the actual version run ruby whitewidow.rb --version)

2.0

Ruby version number (run ruby --version)

2.4.0

Error log information

2017-05-03

["/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:43:in get_urls'", "whitewidow.rb:64:in '"]
["/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:43:in get_urls'", "whitewidow.rb:64:in '"]

2017-05-03
[]

2017-05-03
["/home/baal/.rvm/gems/ruby-2.4.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:323:in fetch'", "/home/baal/.rvm/gems/ruby-2.4.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:993:in response_redirect'", "/home/baal/.rvm/gems/ruby-2.4.0/gems/mechanize-2.7.5/lib/mechanize/http/agent.rb:315:in fetch'", "/home/baal/.rvm/gems/ruby-2.4.0/gems/mechanize-2.7.5/lib/mechanize.rb:464:in get'", "/home/baal/.rvm/gems/ruby-2.4.0/gems/mechanize-2.7.5/lib/mechanize.rb:586:in submit'", "/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:44:in get_urls'", "whitewidow.rb:64:in `'"]

2017-05-03

["/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:43:in get_urls'", "whitewidow.rb:64:in '"]
["/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:43:in get_urls'", "whitewidow.rb:64:in '"]

from whitewidow.

Ekultek avatar Ekultek commented on June 15, 2024

Before you create an issue please make sure that there are no issues that relate to your issue. if there is an issue that relates to one, please add a comment to that issue and describe your specific problem. If your issue has to do with any sort of installation or syntax errors, please read the self_help under the docs directory. If none of those answer your question, make an issue

Issue/Enhancement/Question (be specific)

Getting error: undefined method `q=' for nil:NilClass

Exact error message/Enhancement information

undefined method `q=' for nil:NilClass

Steps to reproduce if applicable or steps on what should be done

Run with {:default=>true, :agent=>true, :proxy=>"61.5.207.102:80"}

Search query if applicable (please use exact search query)

print.php?base_dir=

User agent (if applicable)

N/A

Whitewidow version number (must have the actual version run ruby whitewidow.rb --version)

2.0

Ruby version number (run ruby --version)

2.4.0

Error log information

2017-05-03

["/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:43:in get_urls'", "whitewidow.rb:64:in '"]
["/home/baal/bin/ruby/whitewidow/lib/whitewidow/scanner.rb:43:in get_urls'", "whitewidow.rb:64:in '"]

from whitewidow.

Ekultek avatar Ekultek commented on June 15, 2024

No idea, working on it. Probably has something to do with the search query not being accepted by mechanize.

from whitewidow.

Ekultek avatar Ekultek commented on June 15, 2024

IDEA:

  • Create a test to see if the search query fails or not, if it doesn't continue, if it does then grab another one and log the one that's causing the error

from whitewidow.

Ekultek avatar Ekultek commented on June 15, 2024

Fixed via a1dc7ed

from whitewidow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.