emilyanncr / inspathx

Automatically exported from code.google.com/p/inspathx
GNU General Public License v3.0
3 stars 0 forks source link

ERROR: undefined method `closed?' for nil:NilClass #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Run with "-f" flag.

./inspathx.rb -d ../../wordpress-3.2.1/ -u 
http://192.168.1.113//wordpress-3.2.1/ -l php -x php -n -f -p 1

What is the expected output? What do you see instead?

:( -> 
http://wpcd/wordpress-3.2.1/wp-login.php?redirect_to=http%3A%2F%2F192.168.1.113%
2Fwordpress-3.2.1%2Fwp-admin%2Flink-manager.php%3F%26feed%5B%5D%3D%26page_id%5B%
5D%3D%26p%5B%5D%3D%26author%5B%5D%3D%26cat%5B%5D%3D%26m%5B%5D%3D%26&reauth=1
ERROR:
undefined method `closed?' for nil:NilClass
-> http://192.168.1.113/wordpress-3.2.1/wp-admin/network.php | 302
(Redirected to : 
http://wpcd/wordpress-3.2.1/wp-login.php?redirect_to=http%3A%2F%2F192.168.1.113%
2Fwordpress-3.2.1%2Fwp-admin%2Fnetwork.php%3F%26feed%5B%5D%3D%26page_id%5B%5D%3D
%26p%5B%5D%3D%26author%5B%5D%3D%26cat%5B%5D%3D%26m%5B%5D%3D%26&reauth=1)

:( -> 
http://wpcd/wordpress-3.2.1/wp-login.php?redirect_to=http%3A%2F%2F192.168.1.113%
2Fwordpress-3.2.1%2Fwp-admin%2Fnetwork.php%3F%26feed%5B%5D%3D%26page_id%5B%5D%3D
%26p%5B%5D%3D%26author%5B%5D%3D%26cat%5B%5D%3D%26m%5B%5D%3D%26&reauth=1
ERROR:
undefined method `closed?' for nil:NilClass
-> http://192.168.1.113/wordpress-3.2.1/wp-admin/plugin-install.php | 302
(Redirected to : 
http://wpcd/wordpress-3.2.1/wp-login.php?redirect_to=http%3A%2F%2F192.168.1.113%
2Fwordpress-3.2.1%2Fwp-admin%2Fplugin-install.php%3F%26feed%5B%5D%3D%26page_id%5
B%5D%3D%26p%5B%5D%3D%26author%5B%5D%3D%26cat%5B%5D%3D%26m%5B%5D%3D%26&reauth=1)

:( -> 
http://wpcd/wordpress-3.2.1/wp-login.php?redirect_to=http%3A%2F%2F192.168.1.113%
2Fwordpress-3.2.1%2Fwp-admin%2Fplugin-install.php%3F%26feed%5B%5D%3D%26page_id%5
B%5D%3D%26p%5B%5D%3D%26author%5B%5D%3D%26cat%5B%5D%3D%26m%5B%5D%3D%26&reauth=1
ERROR:
undefined method `closed?' for nil:NilClass
-> http://192.168.1.113/wordpress-3.2.1/wp-admin/index-extra.php | 302
(Redirected to : 
http://wpcd/wordpress-3.2.1/wp-login.php?redirect_to=http%3A%2F%2F192.168.1.113%
2Fwordpress-3.2.1%2Fwp-admin%2Findex-extra.php%3F%26feed%5B%5D%3D%26page_id%5B%5
D%3D%26p%5B%5D%3D%26author%5B%5D%3D%26cat%5B%5D%3D%26m%5B%5D%3D%26&reauth=1)

What version of the product are you using? On what operating system?

Revision: 89

ruby 1.8.7 (2010-01-10 patchlevel 249) [i486-linux]

Linux lamp 2.6.32-26-generic #48-Ubuntu SMP Wed Nov 24 09:00:03 UTC 2010 i686 
GNU/Linux

Please provide any additional information below.

Error only appears when using the "-f" option.

Original issue reported on code.google.com by ryandewh...@gmail.com on 4 Oct 2011 at 10:26

GoogleCodeExporter commented 9 years ago
am also got error

:~/tools/inspathx$ ruby inspathx.rb -u http://127.0.0.1/wp/

ERROR:
undefined method `length' for nil:NilClass

Original comment by donal....@gmail.com on 16 Jul 2012 at 8:39