мяу
-
Автор темы
- #1
У меня есть код лоадера, кто сможет помочь дописать туда инжект?
Код:
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Diagnostics;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace prikolbas
{
public partial class Form1 : Form
{
Point LastPoint;
public bool ShowHideToggle;
public int thheight;
public int thwidth;
public int loadint;
public string log;
public string pwd;
[DllImport("Gdi32.dll", EntryPoint = "CreateRoundRectRgn")]
private static extern IntPtr CreateRoundRectRgn
(
int nLeftRect,
int nTopRect,
int nRightRect,
int nBottomRect,
int nWidthEllipse,
int nHeightEllipse
);
public Form1()
{
InitializeComponent();
this.FormBorderStyle = FormBorderStyle.None;
}
private void Form1_Load(object sender, EventArgs e)
{
this.Height = 170;
Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));
}
private void Form1_MouseMove(object sender, MouseEventArgs e)
{
if (e.Button == MouseButtons.Left)
{
this.Left += e.X - LastPoint.X;
this.Top += e.Y - LastPoint.Y;
}
}
private void Form1_MouseDown(object sender, MouseEventArgs e)
{
LastPoint = new Point(e.X, e.Y);
}
private void hider_Tick(object sender, EventArgs e)
{
// if (this.Width > 0) // Set Form.MinimumSize to this otherwise the Timer will keep going, so it will permanently try to decrease the size.
// this.Width -= 120;
// else
// hider.Stop();
if (this.Height > 0) // Set Form.MinimumSize to this otherwise the Timer will keep going, so it will permanently try to decrease the size.
this.Height -= 50;
else
hider.Stop();
this.Opacity -= .2;
if (this.Opacity == 0)
{
hider.Stop();
WindowState = FormWindowState.Minimized;
this.Opacity = 100;
this.Height = thheight;
this.Width = thwidth;
}
}
private void hidebtn_Click(object sender, EventArgs e)
{
thheight = this.Height;
thwidth = this.Width;
ShowHideToggle = true;
hider.Start();
}
private void closebtn_Click(object sender, EventArgs e)
{
closer.Start();
}
private void closer_Tick(object sender, EventArgs e)
{
this.Opacity -= .2;
if (this.Opacity == 0)
{
closer.Stop();
Application.Exit();
}
}
private void progtime_Tick(object sender, EventArgs e)
{
prBAR.Value++;
loadint+=1;
prtxt.Text = loadint.ToString() + "%";
if (prBAR.Value == 100)
{
progtime.Stop();
prtxt.Text = "Готово";
Thread.Sleep(500);
prtxt.Text = "100% | " + "Приветствуем," + log + ", добро пожаловать в Jaguar.";
strtbtn.Enabled = true;
}
}
private void guna2Button1_Click(object sender, EventArgs e)
{
Process.Start(@"C:\cmd.txt"); //сюда типо скачку инжектора с длл с сервака и запуск но мне лень это писать
}
private void signin_Click(object sender, EventArgs e)
{
log = logintxtbox.Text;
pwd = pwdtxtbox.Text;
if (log == "" | pwd == "")
{
MessageBox.Show("Заполните данные.");
}
else
{
//тут вместо if(){} которое идет дальше поставить проверку с бд (что внутри if если что оставить, я прям как для додиков обьясняю :D)
if (log == "admin" | pwd == "admin")
{
Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 0, 0));
prBAR.Visible = true;
this.Height = 250;
Region = System.Drawing.Region.FromHrgn(CreateRoundRectRgn(0, 0, Width, Height, 25, 25));
lgbtns.Visible = false;
infpanel.Visible = true;
progtime.Start();
}
else
{
MessageBox.Show("Неправильный логин или пароль, либо у вас нет подписки на чит");
}
}
}
private void exitbtn_Click(object sender, EventArgs e)
{
Application.Exit();
}
private void Register_Click(object sender, EventArgs e)
{
Process.Start("https://rt.pornhub.com/pornstar/eva-elfie"); // линк на регистер
}
private void guna2Button1_Click_1(object sender, EventArgs e)
{
}
private void logintxtbox_TextChanged(object sender, EventArgs e)
{
}
private void guna2Chip2_Click(object sender, EventArgs e)
{
}
private void guna2Button1_Click_2(object sender, EventArgs e)
{
Process.Start("https://vk.com/morral_fsb"); // линк на vk
}
}
}