Follow us on Twitter!
It is the path of least resistance that makes rivers and men crooked. - Bj Palmer
Monday, April 21, 2014
Navigation
Home
HellBoundHackers Main:
HellBoundHackers Find:
HellBoundHackers Information:
Learn
Communicate
Submit
Shop
Challenges
HellBoundHackers Exploit:
HellBoundHackers Programming:
HellBoundHackers Think:
HellBoundHackers Track:
HellBoundHackers Patch:
HellBoundHackers Other:
HellBoundHackers Need Help?
Other
Members Online
Total Online: 26
Guests Online: 25
Members Online: 1

Registered Members: 82852
Newest Member: sockpuppets
Latest Articles
View Thread

HellBound Hackers | Computer General | Webmasters Lounge

Page 1 of 2 1 2 >
Author

404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-04-11 17:54
I'm setting up my own website to play around with (nothing fancy I've always just been curious).

Anyhow, I've was experimenting with other sites for ideas and I ran across a site that gives a 404 error if I go to the directory, but there are files in the directory so it has to exist right?

I was wondering if anyone had ideas how how to recreate this. Is it a .htaccess configure or something more interesting? Smile

Thanks!
Rat

EDIT: On a side note, I'm also curious how to run shell commands from the html file. I know they do it in the basic challenges and I found that interesting.

Edited by on 07-04-11 17:56
Author

RE: 404 with a directory that exists?

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 07-04-11 18:32
Either it's set in the httpd (apache) configuration, or set in .htaccess, or it's just an imposter index. I bet if you would search for this shit on the internet, you would've answered your own question by now.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-04-11 18:43
Yeah.... don't you think I tried that?

Unfortunately trying to find anything DETAILED on .htaccess or httpd on google is a bit harder then a first glance gives. Including searching 404, hiding directories, configured 404, etc most of the results are complete crap or not what I need. And considering most websites guard their config files like gold, thanks to the default apache configuration, which it makes it hard to find examples. Angry
(unless you have methods to sneaking a glance at a actual sites .htaccess file which I would love to know)

So, thats why I was asking a human (not a search engine) for more exact solutions to my question. Trust me, if I can find the answer online I wouldn't bother bugging you guys would I? Wink
Author

RE: 404 with a directory that exists?

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 07-04-11 18:56
Sounds like you need to learn how to search, not how to force return a 404 page.

Also, I'm sure that this subject is covered in, for example, the apache manual.



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-04-11 20:46
Alright then, well it sounds like you need to learn how to use constructive criticism, not being an ass.

So with that, unless someone else has anything to say that is related to my posted question, that does not involve why I am asking it, I am outa here!

Cheers Wink
Author

RE: 404 with a directory that exists?

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 07-04-11 21:32
How about you go fuck yourself?



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 07-04-11 22:17
You do realize that I am not making you reply to my post. You are winding your self up for no real reason.

If you really have a problem with me asking a simple and related question on a public forum for web construction then why not just say that? To which I would not understand seeing as my question was simple and straight to the point. In fact, I even used semi-proper grammar (compared to that of other posters).

I was under the understanding that this was the "Webmaster's Lounge"; not "The Room of Noob Haters"

Again, if anybody has anything that could poke me in the right direction I would be grateful.
Author

RE: 404 with a directory that exists?

spyware
Member



Posts: 4192
Location: The Netherlands
Joined: 14.04.07
Rank:
God
Warn Level: 90
Posted on 07-04-11 22:20
No, seriously, did you miss the myriad of pointers I gave you a few posts back?



img507.imageshack.us/img507/3580/spynewsig3il1.png
"The chowner of property." - Zeph
[small]
Widespread intellectual and moral docility may be convenient for leaders in the short term,
but it is suicidal for nations in the long term.
- Carl Sagan
“Since the grid is inescapable, what were the earlier lasers about? Does the corridor have a sense of humor?” - Ebert
[/s
http://bitsofspy.net
Author

RE: 404 with a directory that exists?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Moderate
Posted on 08-04-11 01:55
spyware gave you what you needed. Now, all you need to do is read until you find the answer.


www.userbars.com/74460/665255/337-7865-ubda3219.gif
kbcarte.wordpress.com
Author

RE: 404 with a directory that exists?

Mtutnid
Member

Your avatar

Posts: 102
Location: HELL
Joined: 22.09.10
Rank:
Newbie
Posted on 08-04-11 12:12
Spyware did help you in a very nice way. You should learn to read before learning to search.


Carve me up, slice me apart
Suck my guts and lick my heart
Chop me up, I like to be hurt
Drink my marrow and blood for dessert

My one desire, my only wish is to be-
EATEN...
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-04-11 12:27
what a chain.... learn to read > search > return a 404 error. :angry:

not that I'm criticizing you BlackRat79, just summarizing what was said here.
Author

RE: 404 with a directory that exists?

techb
Member



Posts: 384
Location:
Joined: 15.02.09
Rank:
Moderate
Posted on 08-04-11 12:33
Oh, I forgot to mention; google, bing, yahoo, lmgtfy then read your results. Then you should have your answer.

RECAP:
search, read, apply.
Grin




www.userbars.com/74460/665255/337-7865-ubda3219.gif
kbcarte.wordpress.com
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-04-11 12:42
Also... here's a link that might help (maybe?)
http://www.webmas. . .731396.htm

don't flame me if that's not the right thing. I don't know Apache or .htaccess at all. haven't started to work on it myself yet.
Author

RE: 404 with a directory that exists?

starofale
Member



Posts: 218
Location: England
Joined: 05.12.07
Rank:
Moderate
Posted on 08-04-11 13:46
techb wrote:
Oh, I forgot to mention; google, bing, yahoo, lmgtfy

Dont forget DuckDuckGo and lmddgtfy


Try a new search engine
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-04-11 15:05
starofale wrote:
Dont forget DuckDuckGo and lmddgtfy


dude! why haven't I heard about this! thanks! Smile






Edited by on 08-04-11 15:06
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-04-11 15:22
Thank you HacKid for being the only one to actually post something relevant instead of mimicking spyware because if he does it, it's safe to pile on, have a community point.


Author

RE: 404 with a directory that exists?

starofale
Member



Posts: 218
Location: England
Joined: 05.12.07
Rank:
Moderate
Posted on 08-04-11 23:18
@COM
Are you talking about DuckDuckGo?

If you are, I'm not using it becuase spyware is using it. I'm using it becuase I think it's a good search engine and it doesn't store loads of data about me.

I posted those links because not many people have heard of DuckDuckGo (as nack's post shows) and I think people would be interested in a good alternative to Google.


Try a new search engine
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 08-04-11 23:25
@starofale
And you are absolutely adorable Grin It's so cute when you project due to something I never said <3


Author

RE: 404 with a directory that exists?

starofale
Member



Posts: 218
Location: England
Joined: 05.12.07
Rank:
Moderate
Posted on 08-04-11 23:34
COM wrote:
@starofale
And you are absolutely adorable Grin

Thank you COM :happy:
Did I not understand your post correctly then?


Try a new search engine
Author

RE: 404 with a directory that exists?


Member

Your avatar

Posts:
Location:
Joined: 01.01.70
Rank:
Guest
Posted on 09-04-11 00:04
starofale wrote:
Did I not understand your post correctly then?

Pretty much.

Anyhow, OP, this one's for you:
If the site you're on allows for PHP or similar and you do not want to fuck about with .htaccess, then an alternative solution would be to put an index.php file in there that sends back a custom 404 header. Or whatever header you want, honestly.


Page 1 of 2 1 2 >