Tag: microsoft

Microsoft Windows, Tools

Microsoft Desktop Player

Microsoft Desktop Player is a great tool to search for relevant information on Microsoft properties all aggregated to single convenient location. The Microsoft Desktop Player delivers contextual content aggregated across Microsoft properties that is mapped to an IT Pro or Developer IT Pro Adoption lifecycle. Users can view it online or download the WPF application to …

Metasploit, Phishing

MSSQL Phishing with metasploit

Metasploit has a mssql capture module, called mssql. This module provides a fake MSSQL service that is designed to capture MSSQL server authentication credentials. The module supports both the weak encoded database logins as well as Windows logins (NTLM).   To select the capture module type: use auxiliary/server/capture/mssqluse auxiliary/server/capture/mssql   Options You can set CAINPWFILE …

Metasploit, MSSQL

Detecting a Microsoft SQL Server

Microsoft SQL Server (MSSQL) is a relational database management system (RDMS) used to store, retrieve and manage information. As with many Microsoft’s products, SQL Server has many security weaknesses. Let’s start by identifying running SQL servers on the network.   Discover open MSSQL ports MSSQL is running by default on port 1433. To discover SQL …

C#

Loading SQL Server data into DataTable

DataTable represents one table of in-memory data. SqlConnection Connection = null; String sql_server_ip_or_hostname ".."; String database_name = ".."; String username = ".."; String password = "..";   try { Connection = new SqlConnection( "Data Source=" + sql_server_ip_or_hostname + ";" + "Initial Catalog=" + database_name + ";" + "User Id=" + username + ";" + "Password=" …

C#, Microsoft Windows

Create pdf report from word template in C#

1. Create a word template from an existent word document or a new one. 2. Add fields in the word template, prefer type keyword. 3. When you have created your templates you can use the class below! Don’t forget to add a reference to the Microsoft Word Object Library from the COM tab. /* * …

Windows 7

Change user password from the command line – Win7

If you would like to quickly change user password without having to enter the control panel: 1. Open command line with administrative rights 2. Issue the following command: net user username password examples: net user akarpouzas 12345678 do not use so simple passwords, this is just an example and, net user “Thanos Karpouzas” 12345678 if …