iluminador123 / pythonlove

none
0 stars 0 forks source link

code #2

Open iluminador123 opened 10 years ago

iluminador123 commented 10 years ago

import re from urllib.request import urlopen

def descargar(): lul = input("Introduce la web a atacar:") a = (lul) b = a.read() c = open ('lol.html','w') b.writeliness(str(c)) print ("se ha descargado el codigo fuente y se ha añadir al archivo html")

def leer(): try:

            a = open('lol.html')
            b = a.read()
            c = b.compile('powered by wordpress')
            for fixed in b:
                    fixed_links= c.sub(r'powered by wordpress',c)
            fixed_links
            print ("si es wordpres")

    except:
            print ("no es wp")

leer()

iluminador123 commented 10 years ago

import re from urllib.request import urlopen

def descargar(): lul = input("Introduce la web a atacar:") a = (lul) b = a.read() c = open ('lol.html','w') b.writeliness(str(c)) print ("se ha descargado el codigo fuente y se ha añadir al archivo html")

def leer(): try:

            a = open('lol.html')
            b = a.read()
            c = b.compile('powered by wordpress')
            for fixed in b:
                    fixed_links= c.sub(r'powered by wordpress',c)
            fixed_links
            print ("si es wordpres")

    except:
            print ("no es wp")

leer()