Post: (Csharp/C#) How To Grab String's ( Line's ) From Pastebin
01-10-2017, 09:34 PM #1
HMXOnDex
Do a barrel roll!
(adsbygoogle = window.adsbygoogle || []).push({});
Hi NGU Niggaz!!

Today I'm Gonna Show You Guy's How To Grab String's (Line's) From Pastebin

Current Target Is Account's ( Displayed As UserName : Password )

It Will Grab The String's And Split Them Into 2 Text Box's

Split Into : UserName And Password And Get's Putted Into The TextBox's



1.)
Add In An Button And 2 Textbox's

You must login or register to view this content.

2.)
Add In Using System.Net

You must login or register to view this content.

3.)
Add
    private List<string> a = new List<string>();
private List<string> user = new List<string>();
private List<string> pass = new List<string>();
private string NGUTest = webclient.DownloadString("https://pastebin.com/raw.php?i=Tav7yMVC");
public static WebClient webclient = new WebClient();

Under Form1 Like This
You must login or register to view this content.

4.)
Add
                 this.a.Add(this.NGUTest);
string str1 = this.NGUTest;
string[] separator = new string[1]
{
Environment.NewLine
};
int num = 1;
foreach (string str2 in str1.Split(separator, (StringSplitOptions)num))
{
this.a.Clear();
this.a.Add(str2);
Random random = new Random();
string str3 = this.a[random.Next(this.a.Count)];
string str4 = str3.Split(':'Winky Winky[1];
string str5 = str3.Split(':'Winky Winky[0];
this.pass.Add(str4);
this.user.Add(str5);
int index = random.Next(this.pass.Count);
this.textBox2.Text = this.pass[index];
this.textBox1.Text = this.user[index];
}

In The Button Like This

You must login or register to view this content.

5.)
ReName The Textbox1 And TextBox2 In The Button To What Ever Ur TextBox's Are Called

6.)
Remember To Change The Code After raw.phpi= To Ur Pastebin Link Code

This Code

You must login or register to view this content.

7.)
If U Still Dident Understand This Simple Tutorial , Then Download The Project Source And Look For Your Self Winky Winky


You must login or register to view this content.

Project Source :
You must login or register to view this content.

Virustotal Of Exe : (1/55)
You must login or register to view this content.

Qihoo-360 HEUR/QVM03.0.0000.Malware.Gen 20161129

Qihoo Pick's Up All Type's Of Shit Soo I Dont Know Why

I Have This Feeling That This Post Is Gonna Get A Lot Of Hate For Some Reason :troll: , Like All My Other Post's Sal

The following 2 users say thank you to HMXOnDex for this useful post:

Algebra, Dro
02-04-2017, 01:21 AM #11
jagex
Gym leader
Instead of having multiple lists, you can just construct it as one simple list with a custom data type like so:

Create new class or could probably just make a struct since its really small.

    
class Data
{
public string username { get; set; }
public SecureString password { get; set; }
public string a { get; set; }
}


    
private string NGUTest = webclient.DownloadString("https://pastebin.com/raw.php?i=Tav7yMVC");
public static WebClient webclient = new WebClient();
private List<Awesome faceata> myData = new List<Awesome faceata>();

private void button2_Click(object sender, EventArgs e)
{
Clipboard.Clear();
Clipboard.SetText(textBox1.Text + " : " + textBox2.Text);
}

private void button1_Click(object sender, EventArgs e)
{
this.a.Add(this.NGUTest);
string str1 = this.NGUTest;
string[] separator = new string[1]
{
Environment.NewLine
};
int num = 1;
Data data = null;
foreach (string str2 in str1.Split(separator, (StringSplitOptions)num))
{
data = new Data();
data.a = (str2);
Random random = new Random();
string str3 = this.a[random.Next(this.a.Count)];
string str4 = str3.Split(':'Winky Winky[1];
string str5 = str3.Split(':'Winky Winky[0];
data.password = str4;
data.username = str5;
myData.Add(data);


Though not sure what the code is really doing.

The following user thanked jagex for this useful post:

HMXOnDex

Copyright © 2024, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo