Hello...
I have a univ - project to do a Denial of Service attack to a WLAN.
The way i should do this is by setting up a 'fake Acces Point', get the same MAC address of the real Acces Point and broadcast to all logged in users that they cannot connect to the network anymore.
Firtst problem: changing MAC address: i found a program written in C++ to spoof a MAC, but I have to write the hack-program in java... so anybody has a clue? i can't find it in java...
in c++ it looks like this
#include <sys/ioctl.h>
mc_net_info_set_mac (net_info_t *net, const mac_t *mac)
{
int i;
for (i=0; i<6; i++) {
net->dev.ifr_hwaddr.sa_data[i] = mac->byte[i];
}
if (ioctl(net->sock, SIOCSIFHWADDR, &net->dev) < 0) {
perror ("ERROR: Can't change MAC: interface up or not permission");
return -1;
}
return 0;
}
full source available at http://www.alobbs.com/modules.php?op...acc&file=index
Second problem: i don't know what and how to broadcast ( of course i'm still searching myself :) )
Third problem: In our university city we all have direct acces to a university network and i know some students are able to break in into my Pc via that network. So do u know any GOOD sites where i can get information how they do that/how i can prevent it.
