C
cr4kb0y
hello everyone!
I am stdudying the dns spoof,and i got a source code about dns
spoof,but it can't run normaly,
I don't know why.so I come here for help.
the problem is :
PacketInitPacket(lppackets,sendbuf,sizeof(eth)+sizeof(arp));//
if(PacketSendPacket(lpadapter,lppackets,TRUE)==FALSE)
{
printf("PacketSendPacket in arpspoof Error: %d
\n",GetLastError());
return -1;
}
it can't send packets out.
and the error number is 0.
Can anybody here give me some hints!
I am stdudying the dns spoof,and i got a source code about dns
spoof,but it can't run normaly,
I don't know why.so I come here for help.
the problem is :
PacketInitPacket(lppackets,sendbuf,sizeof(eth)+sizeof(arp));//
if(PacketSendPacket(lpadapter,lppackets,TRUE)==FALSE)
{
printf("PacketSendPacket in arpspoof Error: %d
\n",GetLastError());
return -1;
}
it can't send packets out.
and the error number is 0.
Can anybody here give me some hints!