|
dandy72 wrote: ...but I am old-school
Genuine LOL!
Me too.
|
|
|
|
|
Classic Shell[^]
In Classic Shell with the Start Menu set to Windows 7 you get a Control Panel menu item with all the CP widgets below it.
|
|
|
|
|
It's because they wanted a unified operating system for everything, so everything needs to work with your fingers.
So allow me to introduce the Apple Pencil - Apple[^]
|
|
|
|
|
|
Had to kill them off so they could invent them!
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
S Douglas wrote: Had to kill them off so they could invent them
So true!!
|
|
|
|
|
*A friend or whoever comes to a visit*
- Hey, what's a pass to WI-FI?
- Give me a second, I will check in the settings... uhm, oh... uhuh.... aaah...
Navigating new-old Win 10 UI reminds me this comic:
xkcd: Troubleshooting[^]
|
|
|
|
|
Yep, that's a great xkcd to explain win10 User Experience.
|
|
|
|
|
Jacek Gajek wrote: A friend or whoever comes to a visit
- Hey, what's a pass to WI-FI?
- Give me a second, I will check in the settings... uhm, oh... uhuh.... aaah...
I've solved that problem with a PowerShell script. Sorry about the formatting - it insists on pasting it that way.
$output = netsh wlan show profiles
$profiles = @()
foreach ( $line in $output )
{
$index = $line.LastIndexOf( ": " )
if ( $index -eq -1 ) { continue }
$afterColon = $line.Substring( $index + 2 )
if ( $afterColon.Trim() -ne "" ) { $profiles += $afterColon }
}
$profilesWithPasswords = @()
foreach ( $profile in $profiles | Sort-Object )
{
$output = netsh wlan show profiles "$profile" key=clear
$pwd = ""
$authentication = ""
<pre>
foreach ( $line in $output )
{
$index = $line.LastIndexOf( "Authentication" )
if ( $index -ne -1 )
{
$index = $line.LastIndexOf( ": " )
if ( $index -eq -1 ) { $authentication = "<unknown>" }
else { $authentication = $line.Substring( $index + 2 ) }
continue
}
$index = $line.LastIndexOf( "Key Content" )
if ( $index -ne -1 )
{
$index = $line.LastIndexOf( ": " )
if ( $index -eq -1 ) { continue }
$pwd = $line.Substring( $index + 2 ).Trim()
continue
}
}
if ( $pwd -eq "" )
{
if ( $authentication -ne "Open" ) { $pwd = "<unknown>" }
#else { $pwd = "<unknown>" }
}
$profilesWithPasswords += New-Object -TypeName PSObject -Prop ( @{ 'Profile'=$profile; 'Password'=$pwd } )
}
Write-Host "Found $($profilesWithPasswords.Count) wifi profiles:"
$profilesWithPasswords | Format-Table Profile, Password
|
|
|
|
|
...seriously?
Not saying that I know every XKCD comic, but I totally do... and that solution reminds another one:
xkcd: Command Line Fu[^]
|
|
|
|
|
Well, I don't know of any way, with the UI, to show all passwords for all Wi-Fi profiles that the system has ever connected to. So the script has other uses.
|
|
|
|
|
A dialog\App off screen is the one that pisses me off.
Even more so when the {win} + {Arrow} key combo don't work.
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Users like you are why I have to jump through hoops to patch legacy apps rather than modernizing the codebase. Thanks :p
"Never attribute to malice that which can be explained by stupidity."
- Hanlon's Razor
|
|
|
|
|
Nathan Minier wrote: rather than modernizing the codebase.
Really though I don't mind the modernizing if it is done properly. And I don't mind it if it is done completely so I am not stuck halfway in both worlds. As a matter of fact, I think everyone should shift away from Windows Forms. Those old controls just look too...uh...old.
|
|
|
|
|
|
Just wow! I wonder how many of these websites use a template service and just copy database connection code from lets say.. Q&A?
When you are dead, you won't even know that you are dead. It's a pain only felt by others.
Same thing when you are stupid.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
Wow, that's really bad!
|
|
|
|
|
So this is how spammers are getting 'authenticated' email through the ole spam filters.
And don't get me started with exposing your database passwords on the internet.
if (Object.DividedByZero == true) { Universe.Implode(); }
|
|
|
|
|
Looks like something used in Node/React (based on a quick search as I've never heard of a .env file) similar to a web.config. I wonder if this is a problem with the technology or just a misconfigured webserver? Either way, look on the bright side, the developers appear to be using strong passwords!
"Go forth into the source" - Neal Morse
|
|
|
|
|
Well, you *can* use them in a Node project, if you go out of your way to do so. I think that Laravel (a PHP framework) uses them by default also. I suppose you could use them from any language or framework, if you really wanted to.
It mostly looks like people making the mistake of putting their db credentials in a file and then leaving the file in a place that lets the web server send it out to anyone who asks for it.
The whole thing seems a bit dumb since one of the reasons to store your production DB credentials in environment variables is so they won't be sitting in a file somewhere.
|
|
|
|
|
kmoorevs wrote: Either way, look on the bright side, the developers appear to be using strong passwords!
My favourite one is DB_PASSWORD=murder4513 . Quite strong and definitely capital, so to speak, rights?
|
|
|
|
|
Jacek Gajek wrote: My favourite one is DB_PASSWORD=murder4513
Reminds me of a Police tune...'Murder by Numbers'!
"Go forth into the source" - Neal Morse
|
|
|
|
|
I'm somewhat reminded of how you could search for Outlook PSTs on Google and it brought back instances where people were somehow sharing their entire Outlook email file with the rest of the world...
|
|
|
|
|
Wow. Since I am database illiterate, what is wrong here ? That you can see the .env file from external or that the password is stored in there ?
|
|
|
|
|
Rage wrote: That you can see the .env file from external or that the password is stored in there ?
Both of them. In normal situation you have two layers of security - first, the attacker has to access a private network and second -- he needs to login to a database. Here the second layer is gone. And if access to DB is NOT restricted to private network then... it's not good.
|
|
|
|