mozfreddyb / webapplicationfingerprinter

Automatically exported from code.google.com/p/webapplicationfingerprinter
GNU General Public License v2.0
0 stars 1 forks source link

NoMethodError #6

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. ./wafp.rb http://www.hackforums.net/

What is the expected output? What do you see instead?
I was waiting for some phpBB-version details.

This is what I got:
fgeek@example:~/wafp$ ./wafp.rb http://www.hackforums.net/
Collecting and fetching the files we need to identify the product ...
...........................................................................
...........................................................................
...........................................................................
...........................................................................
...........................................................................
...........................................................................
...........................................................................
..................................................
WARNING: request for "/README" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = /README!
.
WARNING: request for "/extlib/Apache2.0.txt" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/extlib/Apache2.0.txt!
.
WARNING: request for "/extlib/OAuth_LICENSE.txt" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/extlib/OAuth_LICENSE.txt!
.
WARNING: request for "/extlib/PHP_License_2_02.txt" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/extlib/PHP_License_2_02.txt!
.
WARNING: request for "/js/jquery.form.js" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/js/jquery.form.js!
.
WARNING: request for "/extlib/gpl-2.0.txt" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/extlib/gpl-2.0.txt!

WARNING: request for "/extlib/PHP_License_3.01.txt" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/extlib/PHP_License_3.01.txt!
..
WARNING: request for "/js/jquery.js" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/js/jquery.js!
.
WARNING: request for "/js/jquery.min.js" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/js/jquery.min.js!
.
WARNING: request for "/js/util.js" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/js/util.js!
../wafp.rb:561:in `check': undefined method `[]' for nil:NilClass 
(NoMethodError)
    from ./wafp.rb:560:in `each_index'
    from ./wafp.rb:560:in `check'
    from ./wafp.rb:333:in `identify_product'
    from ./wafp.rb:330:in `each'
    from ./wafp.rb:330:in `identify_product'
    from ./wafp.rb:814:in `main'
    from ./wafp.rb:865

I am using the latest SVN-version.

Original issue reported on code.google.com by he...@nerv.fi on 8 Mar 2010 at 6:35

GoogleCodeExporter commented 8 years ago
Well, I think this issue is caused by the fact, that the checksum array is empty
because of: 
http://code.google.com/p/webapplicationfingerprinter/issues/detail?id=7

I will investigate on this one after I fixed Issue#7.

Greetings,
Richard

Original comment by richard....@gmail.com on 15 Mar 2010 at 3:17

GoogleCodeExporter commented 8 years ago
fgeek@example:~/wafp$ ./wafp.rb -p wordpress http://scifibloggers.com
Collecting the files we need to fetch ...
Fetching needed files (#833), calculating checksums and storing the results to 
the 
database:
.......................
WARNING: request for "/b2-img/smilies/icon_rolleyes.gif" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = /b2-
img/smilies/icon_rolleyes.gif!

WARNING: request for "/b2-img/smilies/icon_surprised.gif" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = /b2-
img/smilies/icon_surprised.gif!

WARNING: request for "/b2-img/smilies/icon_twisted.gif" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = /b2-
img/smilies/icon_twisted.gif!

WARNING: request for "/b2-img/smilies/icon_wink.gif" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = /b2-
img/smilies/icon_wink.gif!

WARNING: request for "/b2-img/url.gif" timed out for 3 times!
WARNING: an error occoured while generating the md5sum of path = 
/b2-img/url.gif!
................................................................................
.....
................................................................................
.....
................................................................................
.....
................................................................................
.....
................................................................................
.....
................................................................................
.....
................................................................................
.....
................................................................................
.....
................................................................................
.....
....................................../wafp.rb:512:in `fetch': undefined method 
`code' for nil:NilClass (NoMethodError)
    from ./wafp.rb:532:in `join'
    from ./wafp.rb:532:in `fetch'
    from ./wafp.rb:532:in `each'
    from ./wafp.rb:532:in `fetch'
    from ./wafp.rb:830:in `main'
    from ./wafp.rb:865

This also leaves PID-file so it is bigger issue than I considered.

Original comment by he...@nerv.fi on 27 Apr 2010 at 2:22

GoogleCodeExporter commented 8 years ago
You're trying ./wafp.rb <insert_url_here> on a MyBB forum and expecting to get 
phpBB version info.

Try it on a phpBB forum as such: ./wafp.rb http://www.styxnet.pw/ or ./wafp.rb 
http://forum.ysfhq.com

Original comment by paradoxa...@gmail.com on 21 Nov 2013 at 4:41