-
Notifications
You must be signed in to change notification settings - Fork 7
/
captcha ting.py
44 lines (34 loc) · 1.21 KB
/
captcha ting.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# captchaTing.py
from datetime import datetime
import webbrowser
from flask import Flask, render_template, request
import _thread
import logging
tokens = []
def stamp():
timestamp = str("["+datetime.utcnow().strftime("%H:%M:%S")+"]")
return timestamp
app = Flask(__name__)
log = logging.getLogger('werkzeug')
log.setLevel(logging.ERROR)
@app.route('/', methods=['GET', 'POST'])
@app.route('/solve', methods=['GET', 'POST'])
def solve():
sitekey = "6LeWwRkUAAAAAOBsau7KpuC9AV-6J8mhw4AjC3Xz" # SITEKEY GOES HERE FAM
if request.method == "POST":
token = request.form.get('g-recaptcha-response', '')
tokens.append(token)
count = len(tokens)
print("{} stored token | {} total stored".format(stamp(), count))
return render_template('index.html', sitekey=sitekey)
def harvestTokens():
_thread.start_new_thread(app.run, ())
webbrowser.open("http://supremenewyork.com:5000/solve") # WEB ADDRESS FOR SOLVING CAPTCHA GOES HERE FAM
return
def main():
print("captcha ting we out here")
print("this shit was made by the real chef, cos he the real chef\n\n")
harvestTokens()
input("")
if __name__ == '__main__':
main()