CAMBIAR MAC A MI TARJETA INALAMBRICA

Post Reply
Message
Author
EUSKOGUDARI
Posts: 7
Joined: Sun 15 Jun 2014, 03:01

CAMBIAR MAC A MI TARJETA INALAMBRICA

#1 Post by EUSKOGUDARI »

Buenas me gustaría cambiar mi mac inalambrica por un asuntillo, sería posible?

En windows lo he hecho varias veces.

Un saludo

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

macchanger

#2 Post by nilsonmorales »

Compilado en Fixerdog compatible con Puppy Precise, funciona desde la terminal.

http://savannah.gnu.org/projects/macchanger

Code: Select all

[root@Fixerdog ~] $ macchanger --help
GNU MAC Changer
Usage: macchanger [options] device

  -h,  --help                   Print this help
  -V,  --version                Print version and exit
  -s,  --show                   Print the MAC address and exit
  -e,  --endding                Don't change the vendor bytes
  -a,  --another                Set random vendor MAC of the same kind
  -A                            Set random vendor MAC of any kind
  -p,  --permanent              Reset to original, permanent hardware MAC
  -r,  --random                 Set fully random MAC
  -l,  --list[=keyword]         Print known vendors
  -b,  --bia                    Pretend to be a burned-in-address
  -m,  --mac=XX:XX:XX:XX:XX:XX  Set the MAC XX:XX:XX:XX:XX:XX

Report bugs to https://github.com/alobbs/macchanger/issues
Antes de usar lee bien la documentación, y busca tutoriales.
Saludos.
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

Spoofmac

#3 Post by nilsonmorales »

Escrita en python

https://github.com/feross/SpoofMAC

Code: Select all

[root@Fixerdog ~] $ spoof-mac --help
SpoofMAC

Usage:
    spoof-mac list [--wifi]
    spoof-mac randomize [--local] <devices>...
    spoof-mac set <mac> <devices>...
    spoof-mac reset <devices>...
    spoof-mac normalize <mac>
    spoof-mac -h | --help
    spoof-mac --version

Options:

    -h --help       Shows this message.
    --version       Show package version.
    --wifi          Try to only show wireless interfaces.
    --local         Set the locally administered flag on randomized MACs.
Necesité python-pkg-resources_0.6.16-1_all.deb, descarga de aquí.
http://launchpadlibrarian.net/72075903/ ... -1_all.deb
Attachments
spoofmac-1.2.1.pet
Easily spoof your MAC address (OS X, Windows, Linux)
(29.58 KiB) Downloaded 207 times
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

Script usando macchanger

#4 Post by nilsonmorales »

Encontre y modifique un poco este escript para correr macchanger en Puppy facilmente.

Code: Select all

#!/bin/bash
#MACchanger script writen by em3rgency
#This script will automate the boring task of constantly changing your mac address of you NIC
#It is very important you change your MAC address of you NIC if you are doing any kind of wireless pentesting.
#DEFINED COLOR SETTINGS
RED=$(tput setaf 1 && tput bold)
GREEN=$(tput setaf 2 && tput bold)
STAND=$(tput sgr0)
BLUE=$(tput setaf 6 && tput bold)

echo ""
echo ""
echo ""
echo $RED" +############################################+"
echo $RED" + em3rgency’s MACchanger Script +"
echo $RED" + +"
echo $RED" + Version 1.0 +"
echo $RED" + +"
echo $RED" + www.em3rgency.com +"
echo $RED" +############################################+"
echo ""
echo $BLUE" Visit http://www.em3rgency.com for updates to this script. Thanks" $BLUE
echo ""
echo ""
echo ""
echo -n " Buscando tus Interfaces de Red… "$GREEN
sleep 2
echo ""
echo ""
ifconfig -a | sed 's/[ \t].*//;/^$/d'
echo ""
echo $BLUE" Por favor ingrese la interface de la MAC que desea cambiar por ej: mon0, wlan0, etc. "
echo ""
read NIC
sleep 2
clear
echo $RED" +############################################+"
echo $RED" + em3rgency’s MACchanger Script +"
echo $RED" + +"
echo $RED" + Version 1.0 +"
echo $RED" + +"
echo $RED" + www.em3rgency.com +"
echo $RED" +############################################+"
echo ""
echo $BLUE" Visit http://www.em3rgency.com for updates to this script. Thanks" $BLUE
echo ""
sleep 2
echo ""
echo " Apagando su interface… "
ifconfig $NIC down
sleep 2
echo ""
echo " Cambiando su dirección su MAC… "
macchanger -r $NIC
sleep 2
echo ""
echo ""
echo " Encendiendo su Interface… "
ifconfig $NIC up
echo ""
echo ""
echo "Su dirección Mac ahora es aleatorea.Gracias por usar el MAC changer script! "
echo ""
read -p "Vuelva a configurar la red. Presione ENTER para salir."
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

EUSKOGUDARI
Posts: 7
Joined: Sun 15 Jun 2014, 03:01

#5 Post by EUSKOGUDARI »

Perfecto con macchanger , Me dió un problema al principio por que no conseguía hacer down en el wlan , pero ahora como la seda ,gracias nilson .

Cada día me gusta mas puppy , me consume muy pocos recursos en una notebook y puedo hacer de todo practicamente

User avatar
nilsonmorales
Posts: 972
Joined: Fri 15 Apr 2011, 14:39
Location: El Salvador

Marcalo como resuelta

#6 Post by nilsonmorales »

Sería de mucha utilidad si editas tu primer post y escribes algo en el tema como Cambiar mac a mi tarjeta inalambrica (Resuelto).
[b][url=http://nilsonmorales.blogspot.com/]My blog |[/url][/b][b][url=https://github.com/woofshahenzup]| Github[/url][/b]
[img]https://i.postimg.cc/5tz5vrrX/imag018la6.gif[/img]
[img]http://s5.postimg.org/7h2fid8pz/botones_logos3.png[/img]

EUSKOGUDARI
Posts: 7
Joined: Sun 15 Jun 2014, 03:01

#7 Post by EUSKOGUDARI »

Para el que le interese,estos serían los pasos:


# ip link set wlan0 down

# macchanger -m 00:01:02:03:04 (Ila mac con la que quieras renombrar a tu tarjeta

# ip link set wlan0 up

al reiniciar volverás a tener tu mac default

Post Reply