Live data from Hacker News

WordPress base configuration files on GitHub

github.com

41–50 of 90 posts

Re: WordPress base configuration files on GitHub

#41
post #26

Earlier quoted context omitted.

Excluding localhost and some obvious cases where the values are in a local config file still leaves around 111,000: https://github.com/search?p=1&q=filename%3Awp-config.php+DB_...

localhost in the case of Wordpress just means the database is running on the same machine as the web server. Practically every WP instance is set up that way.

> localhost in the case of Wordpress

Uh, the concept of localhost is not unique to Wordpress in the slightest.

Re: WordPress base configuration files on GitHub

#42
post #33
post #25

You do know that you can play the same game with other languages as well? https://github.com/search?utf8=%E2%9C%93&q=filename%3Asettin... I feel like people don't accept the fact that people do stupid stuff in other languages.

I think you're being oversensitive about PHP. Wordpress, and by extension, its predictably-named settings file, is an easy search-target because it's very popular among novice/new developers.

Not to mention that a knock on Wordpress isn't necessarily a knock on PHP, since many non-developers (or companies that do zero dev in PHP) install Wordpress.

Re: WordPress base configuration files on GitHub

#44
"Passwords" in the title is a bit misleading. Most of these are staging files with little or no sensitive information there. However there is the odd bit of interesting data there if you look hard enough.

Github search is an untapped resource just like Algolia Search is on Hackernews. Infact I have largely replaced my Google searches with these ones for more refined and curated results.

Re: WordPress base configuration files on GitHub

#45

At what point do developers get criticized/held responsible for using public repositories for private websites? I get it, people like github but when you can get a private repo on bitbucket for free there's no excuse for this.

or just a bare repo on your server. I personally don't see the appeal of Github for private projects at all.

Re: WordPress base configuration files on GitHub

#46

At what point do developers get criticized/held responsible for using public repositories for private websites? I get it, people like github but when you can get a private repo on bitbucket for free there's no excuse for this.

> people like github but when you can get a private repo on bitbucket for free there's no excuse for this.

Absolutely, Github public repos have always been a blackhat gold mine. But I guess a lot of people have never heard of Bitbucket, since Github is advertised everywhere , on education blogs, books , ... I'm sure some noobs using it don't even realize repositories are public and searchable.

Re: WordPress base configuration files on GitHub

#50

1500 Results on Google: https://www.google.com/search?q=%22define%28+%27DB_PASSWORD%...

Does anyone else get a CAPTCHA on the next search after browsing through those results?

I got it too, I think its flagged because some people crawl google with those search terms looking for vulnerable systems.
Post reply on HN