Command Prompt: HIDE YOUR PASSWORDS!

6 minutes
Share the link to this page
Copied
  Completed

Transcript

In this section of the course, we're going to cover a very, very cool way that you can hide information using the command prompt. We're going to simulate basically hiding passwords in plain sight. So what I have here on the desktop is a pitcher named Harvey. Want to double click on it. As you can see, it opens, I believe in heartbeat. It should sound familiar to a few of you.

I'm going to close out of it. Now, let's open command prompt. I'm going to click Start. And in the search programs and files box, I'm going to type cmd and right click and run as administrator. Now let's change the color as usual to make things more readable. In here, we're going to type we need to navigate to our desktop.

So let's go ahead and change directory. We can go up one, the two dots will bring you up a level, hit enter, change directory again, two dots. And now we see we're at the root of the C drive. So we want to reach the desktop of the user that we're currently logged into. Let's find out who we're logged into. And we are logged in as the local administrator.

Okay, so now we know where we need to navigate. So I'm going to hit users in tab, slash going to do administrator, you can also just type one letter in hit tab. Also, if that's the only file within a certain directory with that letter, or it will go down various files that start with that letter and hit tab. Let's go ahead and change the directory while I'm at it. administrator and desktop and hidden. Okay, now we're at the root of the desktop on the administrator.

So let's see all the files that we have in a certain directory, we're going to type dir to see the files that's listed under the desktop and hit enter. Now we see we have energy report HTML, g info and Harvey. So now let's cover the command that actually will combined our text file into our picture and hide our passwords in plain sight. I'm going to type copy forward slash b. And I want to type the name of the pitcher which is Harvey dot jpg. So I'm going to type h A and dash, the plus sign and we're going to type the name of our text file and hit tab.

There we go. Now we're going to hit a space. Now here's where we want to name, the new pitcher that's going to contain our passwords. Sometimes I like to start naming pitches based on the word password. So something like pressure wash or pre wash something like that. Let's type pre washed, p er e wash. That way we know that this is where our passwords will be saved.

I'm going to hit jpg, and Enter. Now we see a new file on our desktop that looks exactly like our Harvey file appeared. Let's double click and see if it opens like the Harvey file. And it does opens like a regular picture. But now our information from my G info folder is inside this picture. Let's see how we can access it.

Let's exit out of this, I'm going to go to our file explorer and go navigate to the desktop. And let's go ahead and change the file extensions being accessed because we basically we need to convert this file into a txt file, so that we can actually view the information in text format, because that's the file that it was created in. So let's go ahead and click organize and go all the way down to folder and search options. We're going to click on View and go down to hide extensions for known file types. We want to uncheck this because we need the file types to show so we can edit them. I'm going to hit apply and Okay.

Now we see dot jpg. So let's go ahead and change that extension. And right click and rename in type T x Because we know that the extension for text files, we're going to hit Enter. And they're just making sure Hey, are you sure you want to change this, something may go wrong, but we do want to change it. So we want to click Yes. and double click the file.

And as you can see, our information here has been added to this text file. So imagine if this was passwords, you want it somewhere you can hide your passwords in plain sight. This would be a very helpful way to basically do that. Now let's close out of this and change this pre wash file back to a pitcher. Want to right click and hit rename or change the extension back to JPG and hit enter. Yes, now let's see if our pitcher opens successfully.

And it does, I believe in Harvey did. So this is a very very helpful way that I've learned, and also incorporated in different companies that we can kind of hide very simple information, let's just say you're troubleshooting an issue between two PCs. And you actually do need to provide the user with administrative password, but you don't want to send it in an email in plain text, your phone battery's dead, you can't text it to them. So this is a very handy way that you can actually incorporate that password into the picture and then email the picture to the individual and let them do the conversion to a text file. I hope you guys found this course very interesting. I hope you get a chance to implement this.

I've seen it helped myself and a lot of different situations. I will see you again in the next course.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.