I discovered a bug which i had some times before..
The time before it was with the README-File of the httpd. It was in /www and I pointed my webbrowser to http://ipofmywrtg/README
and got a 404. But this file definateivly existed!
The same situation now.. Look what it did:
- Code: Select all
root@ap:/www# mkdir cgi-bin
root@ap:/www# cd cgi-bin/
root@ap:/www/cgi-bin# echo "ps -x" > foobar.cgi
root@ap:/www/cgi-bin# chmod +x foobar.cgi
When i try to open http://ipofmywrtg/cgi-bin/foobar.cgi
, i get a 404.
Anyway, i hope i don't need cgi anymore.
I'm working with asp, now.
This works fine, till one point..
I'm using ASP, to get basical system infos. Getting the uptime etc. is a easy thing, because the output contains only one line.
But when I try to catch the output of "ifconfig", there's a problem. The output seems to be to big, so that i can't get the whole output.
It only grabs the half part of the output or so.
Do you have an idea what I can do, to get the *whole* output?
And yet another question
How did you disable this htaccess-like password/username authentication?