Post: My Program Made In vb
03-17-2011, 06:04 PM #1
(adsbygoogle = window.adsbygoogle || []).push({}); A program i made in visual basic it coverts text to binary and binary to text plus it has a batch editor and a fake password finder
You must login or register to view this content.
Screen Shots:
You must login or register to view this content.
You must login or register to view this content.
The Username is admin and password is yahya
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.

Virus Scan:
Antivir: Nothing found
ArcaVir: Nothing found
AVG: Nothing found
BitDefender: Nothing found
VirusBlokAda32: Nothing found
VirusBuster: Nothing found

You must login or register to view this content.
Scanned by You must login or register to view this content.
03-17-2011, 06:14 PM #2
so i Could also edit .BIN files?
03-18-2011, 01:26 AM #3
Kombust
At least I can fight
Originally posted by yahya123 View Post
A program i made in visual basic it coverts text to binary and binary to text plus it has a batch editor and a fake password finder
You must login or register to view this content.
Screen Shots:
You must login or register to view this content.
You must login or register to view this content.
The Username is admin and password is yahya
You must login or register to view this content.
You must login or register to view this content.
You must login or register to view this content.

Virus Scan:
Antivir: Nothing found
ArcaVir: Nothing found
AVG: Nothing found
BitDefender: Nothing found
VirusBlokAda32: Nothing found
VirusBuster: Nothing found

You must login or register to view this content.
Scanned by You must login or register to view this content.


Will this allow us to edit binary files?
03-18-2011, 09:11 AM #4
Originally posted by Troll View Post
Will this allow us to edit binary files?

.bat files only
03-19-2011, 06:49 AM #5
XDev
Banned
nice man, im just starting out to
03-19-2011, 06:58 AM #6
Xanadu
Banned
.bat files only?
03-19-2011, 05:41 PM #7
<Jimbo>
</Jimbo>
Source code?! =D
03-21-2011, 11:42 AM #8
Originally posted by MOTOFREAK18 View Post
.bat files only?

yes only .bat files

---------- Post added at 06:42 AM ---------- Previous post was at 06:41 AM ----------

Originally posted by 123tonka View Post
Source code?! =D

private msg me for that
03-21-2011, 09:39 PM #9
kiwimoosical
Bounty hunter
Originally posted by 123tonka View Post
Source code?! =D

    private void Button1_Click(object sender, EventArgs e)
{
string str = null;
StringBuilder builder = new StringBuilder();
foreach (byte num in Encoding.ASCII.GetBytes(this.TextBox1.Text))
{
builder.Append(Convert.ToString(num, 2).PadLeft(8, '0'Winky Winky);
builder.Append(" ");
}
str = builder.ToString().Substring(0, builder.ToString().Length - 1);
this.TextBox2.Text = str;
}

private void Button2_Click(object sender, EventArgs e)
{
string str2 = null;
string str = Regex.Replace(this.TextBox1.Text, "[^01]", "");
byte[] bytes = new byte[((int) Math.Round((double) ((((double) str.Length) / 8.0) - 1.0))) + 1];
int num2 = bytes.Length - 1;
for (int i = 0; i <= num2; i++)
{
bytes[i] = Convert.ToByte(str.Substring(i * 8, Cool Man (aka Tustin), 2);
}
str2 = Encoding.ASCII.GetString(bytes);
this.TextBox2.Text = str2;
}

private void Button3_Click(object sender, EventArgs e)
{
SaveFileDialog dialog = new SaveFileDialog {
FileName = "Binary Code",
Filter = "Binary Code (*ycodes)|*.ycodes",
Title = "Save"
};
dialog.ShowDialog();
try
{
StreamWriter writer = new StreamWriter(dialog.FileName);
writer.Write(this.TextBox2.Text);
writer.Close();
}
catch (Exception exception1)
{
ProjectData.SetProjectError(exception1);
Exception exception = exception1;
ProjectData.ClearProjectError();
}
}

private void Button4_Click(object sender, EventArgs e)
{
Interaction.MsgBox("Why Are You Quiting?", MsgBoxStyle.OkOnly, null);
this.Close();
MyProject.Forms.Form2.Show();
}

private void Button5_Click(object sender, EventArgs e)
{
OpenFileDialog dialog = new OpenFileDialog {
FileName = "",
Filter = "Binary Codes (*.ycodes)|*.ycodes",
Title = "Open"
};
dialog.ShowDialog();
try
{
StreamReader reader = new StreamReader(dialog.FileName);
this.TextBox1.Text = reader.ReadToEnd();
reader.Close();
}
catch (Exception exception1)
{
ProjectData.SetProjectError(exception1);
Exception exception = exception1;
ProjectData.ClearProjectError();
}
}

That's his code.

Also, you really should check the binary to see if it is valid:
    String binary = "00110"; //malformed, check with modulus division.

So:
    String binary = "00110";
if(binary.Length % 8 == 0)
{ /* do shit */ }
else
{ MessageBox.Show("**** you malformed binary >_<"); }

The following user thanked kiwimoosical for this useful post:

<Jimbo>
03-22-2011, 06:43 AM #10
Originally posted by kiwimoosical View Post
    private void Button1_Click(object sender, EventArgs e)
{
string str = null;
StringBuilder builder = new StringBuilder();
foreach (byte num in Encoding.ASCII.GetBytes(this.TextBox1.Text))
{
builder.Append(Convert.ToString(num, 2).PadLeft(8, '0'Winky Winky);
builder.Append(" ");
}
str = builder.ToString().Substring(0, builder.ToString().Length - 1);
this.TextBox2.Text = str;
}

private void Button2_Click(object sender, EventArgs e)
{
string str2 = null;
string str = Regex.Replace(this.TextBox1.Text, "[^01]", "");
byte[] bytes = new byte[((int) Math.Round((double) ((((double) str.Length) / 8.0) - 1.0))) + 1];
int num2 = bytes.Length - 1;
for (int i = 0; i <= num2; i++)
{
bytes[i] = Convert.ToByte(str.Substring(i * 8, Cool Man (aka Tustin), 2);
}
str2 = Encoding.ASCII.GetString(bytes);
this.TextBox2.Text = str2;
}

private void Button3_Click(object sender, EventArgs e)
{
SaveFileDialog dialog = new SaveFileDialog {
FileName = "Binary Code",
Filter = "Binary Code (*ycodes)|*.ycodes",
Title = "Save"
};
dialog.ShowDialog();
try
{
StreamWriter writer = new StreamWriter(dialog.FileName);
writer.Write(this.TextBox2.Text);
writer.Close();
}
catch (Exception exception1)
{
ProjectData.SetProjectError(exception1);
Exception exception = exception1;
ProjectData.ClearProjectError();
}
}

private void Button4_Click(object sender, EventArgs e)
{
Interaction.MsgBox("Why Are You Quiting?", MsgBoxStyle.OkOnly, null);
this.Close();
MyProject.Forms.Form2.Show();
}

private void Button5_Click(object sender, EventArgs e)
{
OpenFileDialog dialog = new OpenFileDialog {
FileName = "",
Filter = "Binary Codes (*.ycodes)|*.ycodes",
Title = "Open"
};
dialog.ShowDialog();
try
{
StreamReader reader = new StreamReader(dialog.FileName);
this.TextBox1.Text = reader.ReadToEnd();
reader.Close();
}
catch (Exception exception1)
{
ProjectData.SetProjectError(exception1);
Exception exception = exception1;
ProjectData.ClearProjectError();
}
}

That's his code.

Also, you really should check the binary to see if it is valid:
    String binary = "00110"; //malformed, check with modulus division.

So:
    String binary = "00110";
if(binary.Length % 8 == 0)
{ /* do shit */ }
else
{ MessageBox.Show("**** you malformed binary >_<"); }


how did u get my code??

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo