[Ajuda]Qual é a linguagem utilizada?

Started by music', May 23, 2007, 01:47:06 PM

Previous topic - Next topic

music'

using System;

using System.Collections;

using System.ComponentModel;

using System.Diagnostics;

using System.IO;

using System.Net;

using System.Threading;

using System.Windows.Forms;



namespace Ziro_C_Sharp

{



public class Form1 : Form

{



private int Blocks;

private Button button1;

private Button button10;

private Button button11;

private Button button12;

private Button button13;

private Button button14;

private Button button15;

private Button button16;

private Button button17;

private Button button18;

private Button button19;

private Button button2;

private Button button20;

private Button button21;

private Button button22;

private Button button23;

private Button button3;

private Button button4;

private Button button5;

private Button button6;

private Button button7;

private Button button8;

private Button button9;

private CheckBox checkBox1;

private ComboBox comboBox1;

private IContainer components;

private ContextMenuStrip contextMenuStrip1;

private int Count;

private int CountRetry;

private bool DoneRS;

private bool DownloadRSStringBool;

private ToolStripMenuItem exitContextToolStripMenuItem;

private ToolStripMenuItem exitZiroCToolStripMenuItem;

private GroupBox groupBox1;

private GroupBox groupBox2;

private GroupBox groupBox3;

private GroupBox groupBox4;

private GroupBox groupBox5;

private GroupBox groupBox6;

private GroupBox groupBox7;

private GroupBox groupBox8;

private ToolStripMenuItem hideToolStripMenuItem;

private string Host;

private Label label1;

private Label label10;

private Label label11;

private Label label12;

private Label label13;

private Label label14;

private Label label15;

private Label label16;

private Label label17;

private Label label18;

private Label label2;

private Label label3;

private Label label4;

private Label label5;

private Label label6;

private Label label7;

private Label label8;

private Label label9;

private LinkLabel linkLabel1;

private ArrayList List;

private ListBox listBox1;

private ListBox listBox2;

private ListBox listBox3;

private ListBox listBox4;

private ListBox listBox5;

private ListBox listBox6;

private ListBox listBox7;

private NotifyIcon notifyIcon1;

private string Password;

private int PBTries;

private int Port;

private ProgressBar progressBar1;

private bool ProxyBool;

private string RSString;

private string RSText;

private ToolStripMenuItem showToolStripMenuItem;

private bool StatusBool;

private bool Stopped;

private TabControl tabControl1;

private TabPage tabPage1;

private TabPage tabPage2;

private TabPage tabPage3;

private TabPage tabPage4;

private TabPage tabPage5;

private bool TestBool;

private string TestString;

private TextBox textBox1;

private TextBox textBox2;

private TextBox textBox3;

private TextBox textBox4;

private TextBox textBox5;

private Timer timer1;

private Timer timer2;

private ToolStripSeparator toolStripSeparator1;

private int TotalCount;

private int TotalTries;

private int Tries;

private string Username;

private bool VersionBool;

private WebClient WC;



public Form1()

{

WC = new WebClient();

Username = "";

Password = "";

Host = "";

RSString = "";

TestString = "";

Stopped = true;

RSText = "";

List = new ArrayList();

InitializeComponent();

}



private void button1_Click(object sender, EventArgs e)

{

Form1.Add(listBox1, textBox1.Text);

textBox1.Text = "";

}



private void button11_Click(object sender, EventArgs e)

{

Form1.ImportO(listBox3);

}



private void button12_Click(object sender, EventArgs e)

{

// trial

}



private void button13_Click(object sender, EventArgs e)

{

Form1.Add(listBox3, textBox3.Text);

textBox3.Text = "";

}



private void button14_Click(object sender, EventArgs e)

{

button14.Enabled = false;

if (listBox4.Items.Count == 0)

{

MessageBox.Show("No cracked users.", "Sorry!", MessageBoxButtons.OK,



MessageBoxIcon.Hand);

button14.Enabled = true;

return;

}

Thread Th = new Thread(new ThreadStart(DownloadRSStringCheck));

Th.Start();

while (!DoneRS)

{

Application.DoEvents();

}

button14.Enabled = true;

MessageBox.Show("Done! Click \\'OK\\' to view results.", "Done!",



MessageBoxButtons.OK, MessageBoxIcon.Asterisk);

for (int I = 0; I < List.Count; I++)

{

listBox6.Items.Add(List[i]);

}

if (List.Count == 0)

MessageBox.Show("No working users.", "Sorry!", MessageBoxButtons.OK,



MessageBoxIcon.Hand);

}



private void button15_Click(object sender, EventArgs e)

{

// trial

}



private void button16_Click(object sender, EventArgs e)

{

// trial

}



private void button17_Click(object sender, EventArgs e)

{

Form1.SaveS(listBox4);

}



private void button18_Click(object sender, EventArgs e)

{

// trial

}



private void button19_Click(object sender, EventArgs e)

{

Form1.Clear(listBox5);

}



private void button2_Click(object sender, EventArgs e)

{

// trial

}



private void button20_Click(object sender, EventArgs e)

{

Form1.SaveS(listBox7);

}



private void button21_Click(object sender, EventArgs e)

{

// trial

}



private void button22_Click(object sender, EventArgs e)

{

Form1.ImportO(listBox7);

}



private void button23_Click(object sender, EventArgs e)

{

if (listBox7.Items.Count == 0)

{

MessageBox.Show("List Box not filled.", "Error", MessageBoxButtons.OK,



MessageBoxIcon.Hand);

return;

}

button23.Enabled = false;

for (int X = 0; X < listBox7.Items.Count; X++)

{

for (int Y = 1; Y < listBox7.Items.Count; Y++)

{

if (listBox7.Items[X].ToString() == listBox7.Items[Y].ToString() & (Y



!= X))

listBox7.Items.RemoveAt(Y);

Application.DoEvents();

}

}

button23.Enabled = true;

MessageBox.Show("Complete! Click \\'Ok\\' to save results.", "Complete",



MessageBoxButtons.OK, MessageBoxIcon.Asterisk);

}



private void button3_Click(object sender, EventArgs e)

{

Form1.Clear(listBox1);

}



private void button4_Click(object sender, EventArgs e)

{

Form1.ImportO(listBox1);

}



private void button5_Click(object sender, EventArgs e)

{

// trial

}



private void button6_Click(object sender, EventArgs e)

{

// trial

}



private void button7_Click(object sender, EventArgs e)

{

for (int I = 0; I < 10000; I++)

{

listBox3.Items.Add("200.2.167.7:1080");

Application.DoEvents();

}

}



private void button8_Click(object sender, EventArgs e)

{

// trial

}



private void button9_Click(object sender, EventArgs e)

{

Stopped = true;

}



private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)

{

// trial

}



public void CrackMain()

{

if ((listBox1.Items.Count == 0) || (listBox2.Items.Count == 0) ||



(listBox3.Items.Count == 0))

{

MessageBox.Show("One of your listbox\\'s is empty.", "Error",



MessageBoxButtons.OK, MessageBoxIcon.Hand);

return;

}

if (!Form1.IsNumeric(Convert.ToString(textBox4.Text)))

{

MessageBox.Show("The textbox that is labeled \\'Retry\\' has a unknown numeric



value or is null.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);

return;

}

if (!Form1.IsNumeric(Convert.ToString(textBox5.Text)))

{

MessageBox.Show("The textbox that is labeled \\'Timeout\\' has a unknown



numeric value or is null.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Hand);

return;

}

button8.Visible = false;

listBox1.SelectedIndex = 0;

listBox2.SelectedIndex = 0;

listBox3.SelectedIndex = -1;

Username = "";

Password = "";

RSString = "";

TestString = "";

DownloadRSStringBool = false;

ProxyBool = false;

TestBool = false;

Stopped = false;

Port = 0;

TotalCount = Convert.ToInt32(textBox4.Text);

Count = 0;

Host = "";

WC.Proxy = null;

WC.Credentials = CredentialCache.DefaultCredentials;

WC.Headers.Add("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;



rv:1.8) Gecko/20051111 Firefox/1.5");

Blocks = 0;

Tries = 0;

PBTries = 0;

TotalTries = 0;

CountRetry = 0;

listBox3.Enabled = false;

listBox2.Enabled = false;

listBox1.Enabled = false;

listBox5.Items.Add("Ziro C# has been started by the user at: " +



Convert.ToString(DateTime.Now));

for (int X = 0; X < listBox1.Items.Count; X++)

{

listBox1.SelectedIndex = X;

for (int Y = 0; Y = 0)

{

Lst.Items.Add(Convert.ToString(Open.ReadLine()));

}

}

catch (Exception e)

{

MessageBox.Show(Convert.ToString(e.Message));

}

}



public static void ImportO(ListBox Lst)

{

Lst.Items.Clear();

OpenFileDialog Open = new OpenFileDialog();

Open.Filter = "Text Document|*.txt|All Files|*.*";

try

{

Open.ShowDialog();

Form1.Import(Lst, Open.FileName);

}

catch (Exception e)

{

MessageBox.Show(Convert.ToString(e.Message));

}

}



public static bool InStr(string String1, string String2)

{

// trial

return false;

}



public static bool IsNumeric(string ValidString)

{

bool flag;



try

{

Int32.Parse(ValidString);

}

catch

{

return false;

}

return true;

}



public static void Remove(ListBox Lst)

{

// trial

}



public static string Remove(string StringToRemove, string RemoveStringIndex)

{

// trial

return null;

}



public static string RSpace(string StringToRemove)

{

// trial

return null;

}



public static void SaveIt(ListBox Lst, string FileName)

{

try

{

StreamWriter Write = new StreamWriter(FileName);

for (int I = 0; I < Lst.Items.Count; I++)

{

Write.WriteLine(Convert.ToString(Lst.Items[i]));

}

Write.Close();

}

catch (Exception e)

{

MessageBox.Show(Convert.ToString(e.Message));

}

}



public static void SaveS(ListBox Lst)

{

// trial

}



public static string Split(string StringToSplit, string Splitter)

{

int Index = StringToSplit.IndexOf(Splitter);

int LastIndex = Splitter.Length + Index;

return StringToSplit.Remove(0, LastIndex);

}



} // class Form1

Qual é a linguagem utilizada aí? É que gostava de saber mas não sei. Além disso alguém me pode a ensinar a compilar de forma a transformar isto num programa? O código já está feito só falta compilar pelo que me disseram. Isso é um brute force para um jogo que eu jogo. Deram-me a source e eu gostava de saber qual é a linguagem utilizada para poder modificar (eu aprendo facilmente mas se alguém me puder ensinar a tal programação era uma grande ajuda XD).


Não liguem 'a falta de acentos e a acentos colocados com o '. Não e' Leetspeak e' so' que o teclado não e' PT e não tem acentos.

masterhard

Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture

KTachyon

Eu ia para dizer Java, mas não, é mesmo C# (C sharp). Mais própriamente Visual C#.
My Q4 estimate: Macs: 5.89M; iPods: 4.19M; iPhones: 30.0M; iPads: 18.05M; Revenue: 37.00B; EPS: 9.50
AAPL Q3 result: Macs: 4.02M; iPods: 6.80M; iPhones: 26.0M; iPads: 17.04M; Revenue: 35.02B; EPS: 9.32

masterhard

Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture

KTachyon

O \\'using\\' \\'namespace\\' é do C++. Os \\'private\\', \\'public\\', \\'try\\', \\'catch\\' são tudo coisas do Java. As definições de objectos do interface são coisas do Visual Studio. Se tem aspectos de C++ e de Java, só pode ser C#. Mas eu detesto C#, lol. Objective-C rula.
My Q4 estimate: Macs: 5.89M; iPods: 4.19M; iPhones: 30.0M; iPads: 18.05M; Revenue: 37.00B; EPS: 9.50
AAPL Q3 result: Macs: 4.02M; iPods: 6.80M; iPhones: 26.0M; iPads: 17.04M; Revenue: 35.02B; EPS: 9.32

masterhard

Hummm... e que como vi \\'private\\' \\'public\\'  \\'button\\' \\'messagebox\\' e 30 por uma _________ associei a .net
java nunca vi como sera por dentro  :wink:

bom, brigada por me alumiares as ideias lol
Se o mundo te virar costas, nao vires costas ao mundo, vai-lhe ao cu!
Se a Muralha da China pegasse fogo, seria a maior firewall do Mundo!
blacksheep-----fake hosting services since 1$ only for fake businessman----sponsored by ASAE
Oferecemos Cursos de Coveiro WebTuga --> O primeiro em Portugal com MBA da Independente incorporado
"Well, I guess it would be nice if I could touch your body" --George Michael\'s \'Faith\'
Sing these words in a recording studio, and you win Album of the Year. Say them in a public bathroom, and you get busted.
The basic difference is this: hackers build things, crackers break them.
O novo Windows será o Se7en. Será uma sequela do famoso filme de terror Se7en?
MADNESS?? THIS Is SPARTTTAAAAAAAAAAAAAAAAAAAAA!!!!!!!!!!
Sponsored by InTeRnEt SeRiOuS BuSiNeSs and MiCrOsOfT SeRiOuS BuSiNeSs!
MCSE -> Minesweeper Consultant and Solitaire Expert
VISTA -> Virus Infection and Spyware Transmission Architecture

meias

QuoteO \\'using\\' \\'namespace\\' é do C++. Os \\'private\\', \\'public\\', \\'try\\', \\'catch\\' são tudo coisas do Java. As definições de objectos do interface são coisas do Visual Studio. Se tem aspectos de C++ e de Java, só pode ser C#. Mas eu detesto C#, lol. Objective-C rula.

Exactamente C#. Desde d k vi C# n kero outra coisa. Qual java qual que!!

scotty

Quote
QuoteO \\'using\\' \\'namespace\\' é do C++. Os \\'private\\', \\'public\\', \\'try\\', \\'catch\\' são tudo coisas do Java. As definições de objectos do interface são coisas do Visual Studio. Se tem aspectos de C++ e de Java, só pode ser C#. Mas eu detesto C#, lol. Objective-C rula.

Exactamente C#. Desde d k vi C# n kero outra coisa. Qual java qual que!!  

Tu queres é umas brocas lol lol lol...

Pascalllllllllllllllll lol.

meias

Quote
Quote
QuoteO \\'using\\' \\'namespace\\' é do C++. Os \\'private\\', \\'public\\', \\'try\\', \\'catch\\' são tudo coisas do Java. As definições de objectos do interface são coisas do Visual Studio. Se tem aspectos de C++ e de Java, só pode ser C#. Mas eu detesto C#, lol. Objective-C rula.

Exactamente C#. Desde d k vi C# n kero outra coisa. Qual java qual que!!  

Tu queres é umas brocas lol lol lol...

 

Pascalllllllllllllllll lol.

:wink:

KTachyon

Eu continuo a achar que Objective-C é mais giro:

//

//  ServerTest.m

//  ServerTest

//

//  Created by KhAoTiK TaChYoN on 12/21/05.

//  Copyright 2005. All rights reserved.

//



#import

#import "Server.h"



int main (int argc, const char * argv[]) {

NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];



Server *test = [[Server alloc] init];



[test startServer];



[[NSRunLoop currentRunLoop] run];



[pool release];

return 0;

}

//

//  Server.h

//  ServerTest

//

//  Created by KhAoTiK TaChYoN on 12/21/05.

//  Copyright 2005. All rights reserved.

//



#import





@interface Server : NSObject {



}



- (void)startServer;

- (void)spawnChildConnection:(NSNotification *)note;

- (void)processClientData:(NSNotification *)note;



@end

//

//  Server.m

//  ServerTest

//

//  Created by KhAoTiK TaChYoN on 12/21/05.

//  Copyright 2005. All rights reserved.

//



#import "Server.h"





@implementation Server



- (void)startServer

{

NSSocketPort *sockPort = [[NSSocketPort alloc] initWithTCPPort:7777];

[sockPort autorelease];



int socketFD = [sockPort socket];



NSFileHandle *listeningSocket = [[NSFileHandle alloc] initWithFileDescriptor:socketFD];

[listeningSocket autorelease];



NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];



[nc addObserver:self

  selector:@selector(spawnChildConnection:)

  name:NSFileHandleConnectionAcceptedNotification

object:listeningSocket];



[listeningSocket acceptConnectionInBackgroundAndNotify];

}



/*

 * This method is invoked in response to

 * NSFileHandleConnectionAcceptedNotification

 */



- (void)spawnChildConnection:(NSNotification *)note

{

NSFileHandle *connectedSocket = [[note userInfo] objectForKey:NSFileHandleNotificationFileHandleItem];



NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];



[nc addObserver:self

  selector:@selector(processClientData:)

  name:NSFileHandleReadCompletionNotification

object:connectedSocket];



// Send a message to the client, acknowledging that the connection was accepted



NSString *serverWelcomeMessage = @"200 KTachyon\\'s UselessServer v0.0.3a Readyn";

char *chr = (char*) calloc([serverWelcomeMessage length] + 1, sizeof(char));



[serverWelcomeMessage getCString:chr];



NSData *ackData = [NSData dataWithBytes:chr  length:[serverWelcomeMessage length]];



[connectedSocket writeData:ackData];

[connectedSocket readInBackgroundAndNotify];

}



/*

 * This method is invoked in response to

 * NSFileHandleReadCompletionNotification

 */



- (void)processClientData:(NSNotification *)note

{

NSData *data = [[note userInfo] objectForKey:NSFileHandleNotificationDataItem];

NSFileHandle *socket = [note object];



NSString *str = [[NSString alloc] initWithCString:[data bytes] length:[data length]];



NSLog(str);



if ([str hasPrefix:@"terminate"])

{

NSNotificationCenter *nc = [NSNotificationCenter defaultCenter];



NSString *serverTerminationMessage = @"400 KTachyon\\'s UselessServer v0.0.3a Terminates connectionn";

char *chr = (char*) calloc([serverTerminationMessage length] + 1, sizeof(char));



[serverTerminationMessage getCString:chr];



NSData *terminationMessage = [NSData dataWithBytes:chr length:[serverTerminationMessage length]];



[socket writeData:terminationMessage];

[socket closeFile];



[nc removeObserver:self

 name:NSFileHandleReadCompletionNotification

object:socket];

}

else

[socket readInBackgroundAndNotify];



[str release];

}





@end
My Q4 estimate: Macs: 5.89M; iPods: 4.19M; iPhones: 30.0M; iPads: 18.05M; Revenue: 37.00B; EPS: 9.50
AAPL Q3 result: Macs: 4.02M; iPods: 6.80M; iPhones: 26.0M; iPads: 17.04M; Revenue: 35.02B; EPS: 9.32