retrieve a file list knowing the htaccess user and password

176 views Asked by At

There's and IP camera problem here. I know the htaccess username and password. How can I retirieve a filelist from that camera. I'm not sure if this is a hacking question, because I know the username and the password, but if it is, please to be deleted. Thanks in advance!

1

There are 1 answers

2
user1133972 On

Because you are mentioning the .htaccess file, I'm assuming you are using the http protocol, on which you can't get lists of files, only if the webserver serves them (meaning, "Options +Indexes" is set). If the server serves the file lists, you could get the list with something like:

wget http://username:[email protected]/path/to/directory/

You'd have to replace wget with the program of your choice.