|
|
|
| Hurry! Enter The Daily WTF's OMGWTF2 Contest by June 28th! - Prizes! Fame! Trophies! Do your worst: http://omg2.thedailywtf.com/ |
| « How Did No One Think of this Before? | You Can't Please All 580% 100% of the Time » |
Telly B. sent in a representative line that returns database connection information... from the database.
SELECT 'driver={SQL Server};user id=<removed>;pwd=<removed>;' +
'Network=dbms;server=127.0.0.1;database=<removed>;'
AS dbconn
FROM users
It's like keeping your spare set of car keys inside your car. Brilliant!
| « How Did No One Think of this Before? | You Can't Please All 580% 100% of the Time » |