repl.it
@Tricksyz/

GhostSX.

Python

fork
loading
Files
  • main.py
  • static
  • templates
  • Packager files
  • poetry.lock
  • pyproject.toml
  • requirements.txt
main.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
# GhostSX by Tricksyz#9182 #
# Edit url to your proxy link of choice, preferrably CensorDodge because I haven't got node to let me iframe it #
import os, requests, base64, logging
from flask import Flask, render_template, request

logging.getLogger('werkzeug').setLevel(logging.ERROR) 

# Please note that the default node unblocker instance does not modify X-Frame-Options and some websites may fail to show in GhostSX. Use https://github.com/AeroKingdom/nodeunblocker.com if you would like to use your own node instance for GhostSX. This makes node unblocker 100% HTTPS and overrides X-Frame-Options to work with GhostSX. #
nub = "https://easymathstudy.ga/cdnID/"

app = Flask('')

@app.route('/', methods=['GET', 'POST'])

def login():
  msg = ""
  if request.method == 'POST':
    if request.form['url'] == "":
      msg = "Please put in a URL."
    else:
      return '<head><link href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII=" rel="icon" type="image/x-icon" /><title>&lrm;</title></head><body style="margin: 0px"><iframe src="' + nub + request.form['url'] + '"style="width: 100%; height: 100%; border: 0;" allowfullscreen></iframe></body>'
  return render_template('index.html', msg=msg)

app.run(host="0.0.0.0", port=8080)
Fetching token
?