elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Sigue las noticias más importantes de seguridad informática en el Twitter! de elhacker.NET


  Mostrar Temas
Páginas: [1]
1  Programación / Scripting / Python kill thread en: 9 Mayo 2012, 15:44 pm
Hola gente , no soy uno de los que preguntan en los foros, soy mas de buscar en google y los libros, pero estoy desesperado, nececito a algun maestro en python que me de un ostia y enceña que es lo que pasa con los modulos thread, y threading

Mi problema principal, es que intendi bien como crear varios procesos, pero mi problemas existen cuando quiero matarlos, 
durante semanas buscava una manera decente pero no encuentro.

La cuestion es que se como matar un proceso desde dentro, por ejemplo tenemos un bucle while y dentro de ell una condicion que si se cumple mata el proceso mediante exit.

Esto lo tengo pillado, pero si el procesos, es un bucle que no puedo modificar por ejemlo una ventana grafica de Tkinter, funcion mainloop() que tiene su propio bucle, como llamar la function thread.exit() desde tkinter.mainloop() sin agregar un boton con esta funcion a la GUI?

Etoy desarollando un bot para juego, en una apuesta con amigo El = Java yo Python y queien llega primero se lleva el reino.
P.S: Tener cuidado al jugar con threads no por nada Les pusieron una variable Deamon, colge por minimo 10 veces el linux, y win7 unos 40 mientras buscava respuestas >:D.
2  Foros Generales / Dudas Generales / Tunnel Adapter Local Area Connections en: 28 Diciembre 2011, 18:06 pm
Hola gente tengo un problemiya me aparecen este tipo de conections constantemente, y al eliminar los vuelven a aparecer, lo que me gustaria es quitarlos y que no volvieran aparecer,
Los elimino mediante Device Manager , pero con el tiempo me vuelven a aparecer y es lo que me gustaria cambiar si alguien tiene alguna idea porque aparecen y como prevenir esto ?d:)

pongo lo que sale con ipconfig/all
Código:

Windows IP Configuration

   Host Name . . . . . . . . . . . . : MyName
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Wireless LAN adapter Wireless Network Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : My Wifi network adapter(cambiado)
   Physical Address. . . . . . . . . : XX-XX-XX-XX-XX-XX
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   Link-local IPv6 Address . . . . . : fe80::2df3:fe23:c31d:2ce7%12(Preferred)
   IPv4 Address. . . . . . . . . . . : 192.168.1.000(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : martes, 27 de diciembre de 2011 18:51:49
   Lease Expires . . . . . . . . . . : s bado, 31 de diciembre de 2011 17:22:53
   Default Gateway . . . . . . . . . : 192.168.1.000
   DHCP Server . . . . . . . . . . . : 192.168.1.000
   DHCPv6 IAID . . . . . . . . . . . : XXXXXXXXX
   DHCPv6 Client DUID. . . . . . . . : XX-XX-XX-XX-XX-XX-XX-XX-XX-XX--X.....
   DNS Servers . . . . . . . . . . . : 192.168.1.0000
   NetBIOS over Tcpip. . . . . . . . : Enabled

Ethernet adapter Local Area Connection:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . : localdomain
   Description . . . . . . . . . . . : My Network adapter
   Physical Address. . . . . . . . . : xx-xx-xx-xx-xx-xx
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
[color=red]//desde aqui lo quisiera ellimi todos pero solo concigo elminar algunos , en Win Xp solo me aparecen los de ariva asi que supongo esto no sera peligroso[/color]
Tunnel adapter 6TO4 Adapter:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Teredo Tunneling Pseudo-Interface:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes
   IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fd:2c47:1087:3f57:fe7e(Preferred)
   Link-local IPv6 Address . . . . . : fe80::2c47:1087:3f57:fe7e%16(Preferred)
   Default Gateway . . . . . . . . . : ::
   NetBIOS over Tcpip. . . . . . . . : Disabled

Tunnel adapter isatap.{99AF3867-A499-4EB6-B7F0-358C079AABEE}:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Reusable Microsoft 6To4 Adapter:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 9:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter #3
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 11:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter #4
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 12:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter #5
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter Local Area Connection* 13:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft 6to4 Adapter #6
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Tunnel adapter isatap.localdomain:

   Media State . . . . . . . . . . . : Media disconnected
   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Microsoft ISATAP Adapter #2
   Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
   DHCP Enabled. . . . . . . . . . . : No
   Autoconfiguration Enabled . . . . : Yes

Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines