Araeynn commited on
Commit
170294c
·
verified ·
1 Parent(s): 51ed759

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -17
app.py CHANGED
@@ -1,6 +1,7 @@
1
  import os
2
  import gradio as gr
3
  from multiprocessing import Process
 
4
 
5
  def reverse(e):
6
  return ""
@@ -9,20 +10,4 @@ demo = gr.Interface(reverse, "text", "text")
9
  Process(target=demo.launch, kwargs={"auth":("araeyn", "araeyn")}).start()
10
 
11
  for i in range(250):
12
- os.system("""curl 'https://www.tfaforms.com/api_v2/workflow/processor' \
13
- -H 'accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7' \
14
- -H 'accept-language: en-US,en;q=0.9' \
15
- -H 'cache-control: max-age=0' \
16
- -H 'content-type: application/x-www-form-urlencoded' \
17
- -H 'origin: https://tfaforms.com' \
18
- -H 'referer: https://tfaforms.com/5120976' \
19
- -H 'sec-ch-ua: "Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"' \
20
- -H 'sec-ch-ua-mobile: ?0' \
21
- -H 'sec-ch-ua-platform: "macOS"' \
22
- -H 'sec-fetch-dest: document' \
23
- -H 'sec-fetch-mode: navigate' \
24
- -H 'sec-fetch-site: same-site' \
25
- -H 'sec-fetch-user: ?1' \
26
- -H 'upgrade-insecure-requests: 1' \
27
- -H 'user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36' \
28
- --data-raw 'tfa_4=tfa_108&tfa_8=tfa_119&tfa_12=tfa_138&tfa_dbCounters=794-c2a6e7ce09152feadc006f02d13f0ad1&tfa_dbFormId=5120976&tfa_dbResponseId=&tfa_dbControl=912d15826c5b76683dd80633017d2567&tfa_dbWorkflowSessionUuid=&tfa_noOverWriteFields=&tfa_dbTimeStarted=1713035189&tfa_dbVersionId=1&tfa_switchedoff='""")
 
1
  import os
2
  import gradio as gr
3
  from multiprocessing import Process
4
+ import secrets
5
 
6
  def reverse(e):
7
  return ""
 
10
  Process(target=demo.launch, kwargs={"auth":("araeyn", "araeyn")}).start()
11
 
12
  for i in range(250):
13
+ os.system(f"""curl 'https://api.stellarlearning.app/api/auth/signup' -X POST -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:133.0) Gecko/20100101 Firefox/133.0' -H 'Accept: */*' -H 'Accept-Language: en-US,en;q=0.5' -H 'Accept-Encoding: gzip, deflate, br, zstd' -H 'Content-Type: application/json' -H 'Authorization: ' -H 'Origin: https://stellarlearning.app' -H 'Sec-GPC: 1' -H 'Alt-Used: api.stellarlearning.app' -H 'Connection: keep-alive' -H 'Sec-Fetch-Dest: empty' -H 'Sec-Fetch-Mode: cors' -H 'Sec-Fetch-Site: same-site' -H 'Priority: u=0' -H 'TE: trailers' --data-raw '{"username":"{token_urlsafe(16)}","email":"{token_urlsafe(16)}@gmail.com","password":"{token_urlsafe(16)}","image":"https://upload.wikimedia.org/wikipedia/commons/a/ac/Default_pfp.jpg","real_name":""}' --output -""")