Now there are two options:
1. The “I trust JP Hellemons”-way and download the attached WPF project and run it. (Less fun, but takes less time)
2. The “I don’t trust him”-way and build your own tiny app with the code provided below:
2a. Launch Visual Studio and create a new WPF project
2b. Build your user interface with XAML in MainWindow.xaml
<Window x:Class="WpfApplication1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="MainWindow" Height="350" Width="600" WindowStyle="ToolWindow"> <Grid Margin="0,0,-95.6,0.4"> <TextBox Name="tb" HorizontalAlignment="Left" Height="23" Margin="10,10,0,0" TextWrapping="Wrap" Text="your password" VerticalAlignment="Top" Width="120"/> <Button Content="Go" HorizontalAlignment="Left" Margin="135,11,0,0" VerticalAlignment="Top" Width="50" Click="Button_Click_1"/> <Label Name="lout" Content="" HorizontalAlignment="Left" Margin="190,11,0,0" VerticalAlignment="Top" Width="389" Height="31"> <Label.Effect> <DropShadowEffect BlurRadius="3" Color="#7F000000" Opacity="0.8" ShadowDepth="3"/> </Label.Effect> </Label> </Grid> </Window>2c. Double click the Button to create a click event in the code behind
2d. Put this line at the top of the cs file
using System.Security.Cryptography;
2e. Use this code for the ButtonClick event
private void Button_Click_1(object sender, RoutedEventArgs e) { UTF8Encoding encoding = new UTF8Encoding(); Byte[] data = encoding.GetBytes(tb.Text); byte[] result; SHA1 sha = new SHA1CryptoServiceProvider(); result = sha.ComputeHash(data); StringBuilder returnValue = new StringBuilder(); for (int i = 0; i < result.Length; i++) { returnValue.Append(result[i].ToString()); } lout.Content = returnValue.ToString(); Clipboard.SetData(DataFormats.Text, returnValue.ToString()); }
2f. Start the application and search your password’s hash in the LinkedIn password file
If you have followed the steps, it should look like this:
I am sorry about the drop shadow effect, you can remove it from the XAML by removing the ‘Label.Effect’ node with it’s content.
Don’t forget to change your LinkedIn password! Just to be sure.
good luck coding!