Comments (5)
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.
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.
No idea, working on it. Probably has something to do with the search query not being accepted by mechanize.
from whitewidow.
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.
Fixed via a1dc7ed
from whitewidow.
Related Issues (20)
- DB cannot be resolved HOT 1
- Fails when swapping search queries HOT 1
- useless to have it run through the same url over and over again
- Need to skip 406 errors, not exit because of them
- Need to skip "creating payloads" and "payloads created" during bulk run HOT 1
- screwed up formatting "cyan for nil class" HOT 1
- need to create a way to verify that the web application is vulnerable before spitting out something
- Cant install restclient HOT 29
- Using dork feature HOT 1
- Note: Kali 4.9 Requirements HOT 4
- Doesn't work. HOT 5
- g9XdKhe undefined method `set_proxy' for #<String:0x005653ec3880d8> HOT 12
- Wq6TBmh 503 => Net::HTTPServiceUnavailable for http://ipv4.google.com/sorry/index?continue=http://www.google.de/search%3Fie%3DISO-8859-1%26hl%3Dde%26source%3Dhp%26biw%3D%26bih%3D%26q%3Dnav.php%253Fpagina%253D%2B%2522nav.php%253Fpagina%253D%2522%250A%26btnG%3DGoogle-Suche%26gbv%3D1&hl=de&q=EgQuZWn1GMGdlMsFIhkA8aeDSzbojjwyOfY7dRdswixyXZoD_rFLMgNyY24 -- unhandled response HOT 1
- 503 HTTPServiceUnavailable
- undefined method `cyan' for nil:NilClass HOT 1
- How many of you think I should keep this going? HOT 8
- Failed with error code U+1EDB from UTF-8 to ISO-8859-1 HOT 1
- unknown escape character HOT 2
- Error while scanning !!
- cannot load such file -- mechanize HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whitewidow.