mac spoofing

Programming, for all ages and all languages.
Post Reply
User avatar
suthers
Member
Member
Posts: 672
Joined: Tue Feb 20, 2007 3:00 pm
Location: London UK
Contact:

mac spoofing

Post by suthers »

Could anybody refer me to a tutorial were i could learn to write a program that 'spoofs mac address'?
I know there are plenty of programs that do it out there but mine needs to be has to have certain specifics.
I use c++, my compiler is the gcc cygwin port (dev-c++ IDE) and i use XP.
Thanks in advance,

Jules

EDIT:
Oh and i want to do this on a wireless card (in case that made a difference, i'm not an expert in communications)
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Post by 01000101 »

why not goto start->rightclick my computer->manage->device manager->(network card)->advanced and change your mac address?
User avatar
suthers
Member
Member
Posts: 672
Joined: Tue Feb 20, 2007 3:00 pm
Location: London UK
Contact:

Post by suthers »

Thanks, didn't know you could do that, though i need to be able to modify it from sotware for my app.
Anibody know where i could find out how to do this?
Thanks in advance,

Jules
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

Code: Select all

ifconfig [interface] lladdr [mac-addr]
Rather simple under BSD, permanent changes go in /etc/hostname.[interface]. 8)
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
Post Reply