using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using ShowMessage;
using System.Diagnostics;
using System.Media;
namespace OwOCheat
{
public partial class cheat : Form
{
public cheat()
{
InitializeComponent();
}
#region Variables
int topMostCounter, startStopCounter, lastInterval, messageCounter, floodCount;
#endregion
#region Class object definitions
System.Media.SoundPlayer snd = new SoundPlayer();
Random rnd = new Random();
#endregion
#region DllLibrary
[DllImport("user32.DLL", EntryPoint = "ReleaseCapture")]
private extern static void ReleaseCapture();
[DllImport("user32.DLL", EntryPoint = "SendMessage")]
private extern static void SendMessage(System.IntPtr hWnd, int wMsg, int wParam, int lParam);
[DllImportAttribute("User32.dll")]
private static extern int FindWindow(String ClassName, String WindowName);
[DllImportAttribute("User32.dll")]
private static extern IntPtr SetForegroundWindow(int hWnd);
#endregion
///
/// Uygulamadan Çıkış
///
///
///
private void btnExit_Click(object sender, EventArgs e)
{
Application.Exit();
}
void FloodService()
{
SendKeys.Send(txtMessage.Text);
SendKeys.Send("{ENTER}");
messageCounter = messageCounter + 1;
}
void MessageDeleteEventListener()
{
SendKeys.Send("{UP}");
System.Threading.Thread.Sleep(500);
SendKeys.Send("^A");
System.Threading.Thread.Sleep(500);
SendKeys.Send("{BACKSPACE}");
System.Threading.Thread.Sleep(500);
SendKeys.Send("{ENTER}");
System.Threading.Thread.Sleep(500);
SendKeys.Send("{ENTER}");
}
///
/// Formu Panelle Taşıma
///
///
///
private void formMover_MouseDown(object sender, MouseEventArgs e)
{
ReleaseCapture();
SendMessage(this.Handle, 0x112, 0xf012, 0);
}
///
/// Pencerenin Sürekli Açık Kalıp Kalmayacağını Kontrol Et
///
///
///
private void btnTopMost_Click(object sender, EventArgs e)
{
topMostCounter = topMostCounter + 1;
if (topMostCounter % 2 == 1)
{
this.TopMost = true;
ShowMessage.ShowMessage.MsgShow("Pencere Sabitleyici Başarıyla Etkinleştirildi", "OwO Trainer");
}
else
{
this.TopMost = false;
ShowMessage.ShowMessage.MsgShow("Pencere Sabitleyici Başarıyla Devre Dışı Bırakıldı", "OwO Trainer");
}
}
///
/// Formu Simge Durumuna Küşült
///
///
///
private void btnMinimize_Click(object sender, EventArgs e)
{
this.WindowState = FormWindowState.Minimized;
}
///
/// Spam Atağını Gerçekleştir
///
///
///
private void messageTimer_Tick(object sender, EventArgs e)
{
if (optUnlimitedFlood.Checked == true)
{
FloodService();
MessageDeleteEventListener();
}
if (optUnlimitedFlood.Checked == false)
{
floodCount = floodCount + 1;
FloodService();
if (floodCount == txtFloodCount.Value)
{
messageTimer.Stop();
}
}
}
///
/// Mesaj Aralığını Belirle
///
///
///
private void txtMessageSenderInterval_ValueChanged(object sender, EventArgs e)
{
if (txtMessageSenderInterval.Enabled != false)
lastInterval = Convert.ToInt16(txtMessageSenderInterval.Value);
messageTimer.Interval = Convert.ToInt16(txtMessageSenderInterval.Value) * 1000;
}
///
/// OwO Trainer Atak Hizmetini Başlat / Durdur
///
///
///
private void btnStartService_Click(object sender, EventArgs e)
{
startStopCounter = startStopCounter + 1;
if (startStopCounter % 2 == 1)
{
messageCounter = 0;
snd.SoundLocation = "openSound.wav";
snd.Play();
btnStartService.Text = "Servisi Durdur";
txtMessageSenderInterval.Enabled = false;
txtMessage.Enabled = false;
txtFloodCount.Enabled = false;
optSecureMode.Enabled = false;
txtMessageSenderInterval.Enabled = false;
messageTimer.Start();
messageRefreshTime.Value = 1000;
ShowMessage.ShowMessage.MsgShow("Flood Hizmeti Başarıyla Başlatıldı", "OwO Trainer");
}
else if (startStopCounter % 2 == 0)
{
snd.SoundLocation = "success.wav";
snd.Play();
btnStartService.Text = "Servisi Başlat";
txtMessage.Enabled = true;
optSecureMode.Enabled = true;
txtMessageSenderInterval.Enabled = true;
txtFloodCount.Enabled = true;
messageRefreshTime.Value = 0;
ShowMessage.ShowMessage.MsgShow("Flood Hizmeti Başarıyla Kapatıldı. Yapılan Flood : " + messageCounter, MsgType.Success, MsgLanguage.English);
messageCounter = 0;
startStopCounter = 0;
messageTimer.Stop();
}
}
private void optTxtFileMode_CheckedChanged(object sender, EventArgs e)
{
snd.SoundLocation = "openSound.wav";
snd.Play();
}
private void optStatusCircleBar_CheckedChanged(object sender, EventArgs e)
{
snd.SoundLocation = "openSound.wav";
snd.Play();
}
private void messageRefreshTime_MouseDown(object sender, MouseEventArgs e)
{
tmrVirusTotal.Start();
}
private void tmrVirusTotal_Tick(object sender, EventArgs e)
{
messageRefreshTime.Value += 10;
if (messageRefreshTime.Value == 800)
{
snd.SoundLocation = "openSound.wav";
snd.Play();
}
if (messageRefreshTime.Value == 1000)
{
messageRefreshTime.Value = 0;
tmrVirusTotal.Stop();
Process.Start("https://www.virustotal.com/gui/file/705cecacf1a29216e0f25c57537d42a566618f43b551c4f59b722ae7c8718a5e/detection");
}
}
private void messageRefreshTime_MouseUp(object sender, MouseEventArgs e)
{
tmrVirusTotal.Stop();
messageRefreshTime.Value = 0;
}
private void optUnlimitedFlood_CheckedChanged(object sender, EventArgs e)
{
snd.SoundLocation = "openSound.wav";
snd.Play();
if (optUnlimitedFlood.Checked == false)
{
floodCount = Convert.ToInt16(txtFloodCount.Value);
txtFloodCount.Enabled = true;
}
else
txtFloodCount.Enabled = false;
}
///
/// Güvenli Modu Etkin Hale Getir. Def Val = 3 (3000ms)
///
///
///
private void optSecureMode_CheckedChanged(object sender, EventArgs e)
{
snd.SoundLocation = "openSound.wav";
snd.Play();
if (optSecureMode.Checked == true)
{
txtMessageSenderInterval.Enabled = false;
txtFloodCount.Enabled = false;
txtMessageSenderInterval.Value = txtMessageSenderInterval.Minimum;
ShowMessage.ShowMessage.MsgShow("Güvenli Mod Başarıyla Etkinleştirildi", "OwO Trainer");
}
else if (optSecureMode.Checked == false)
{
txtMessageSenderInterval.Enabled = true;
txtFloodCount.Enabled = true;
txtMessageSenderInterval.Value = lastInterval;
ShowMessage.ShowMessage.MsgShow("Flood Hizmeti Başarıyla Devre Dışı Bırakıldı", "OwO Trainer");
}
}
///
/// Progamın Başlatıldığı Zaman Çalıştırılacak Komutlar
///
///
///
private void cheat_Load(object sender, EventArgs e)
{
}
///
/// Mesajı Belirler
///
///
///
private void txtMessage_TextChanged(object sender, EventArgs e)
{
if (txtMessage.TextLength <= 0)
btnStartService.Enabled = false;
else
btnStartService.Enabled = true;
}
}
}