This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| **EU Server scripts** | |
| apt-get update -y && apt-get upgrade -y | |
| apt install curl -y | |
| bash <(curl -Ls https://raw.githubusercontent.com/vaxilu/x-ui/master/install.sh) | |
| -------------------------------------------------------------- | |
| **Iran Server scripts** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests as rq | |
| import random | |
| video_id = "[YOUR_VIDEO_ID]" | |
| token = "[YOUR_TOKEN]" | |
| url = "https://www.googleapis.com/youtube/v3/commentThreads" | |
| response = rq.get(url, params={ | |
| 'part' : 'replies,snippet', | |
| 'maxResults' : '100', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import uuid | |
| size = 10000000 #number of uniqe strings | |
| length = 5 #length of generated strings | |
| filename = "result.txt" #name of result file | |
| temp = [] | |
| print("START...") | |
| with open(filename, 'w') as f: | |
| while size > 0: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function base64url_encode($plainText) | |
| { | |
| $base64 = base64_encode($plainText); | |
| $base64 = trim($base64, "="); | |
| $base64url = strtr($base64, '+/', '-_'); | |
| return ($base64url); | |
| } | |
| $random = bin2hex(openssl_random_pseudo_bytes(32)); | |
| $verifier = base64url_encode(pack('H*', $random)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --request POST \ | |
| --url 'https://oauth.payping.io/connect/token' \ | |
| --header 'content-type: application/json' \ | |
| --data '{"grant_type":"authorization_code","client_id": "YOUR_CLIENT_ID","client_secret" : "YOUR_CLIENT_SECRET" "code_verifier": "YOUR_GENERATED_CODE_VERIFIER","code": "YOUR_AUTHORIZATION_CODE","redirect_uri": "YOUR_REDIRECT_URL", }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| curl --request POST \ | |
| --url 'https://YOUR_AUTH0_DOMAIN/oauth/token' \ | |
| --header 'content-type: application/json' \ | |
| --data '{"grant_type":"authorization_code","client_id": "YOUR_CLIENT_ID","code_verifier": "YOUR_GENERATED_CODE_VERIFIER","code": "YOUR_AUTHORIZATION_CODE","redirect_uri": "com.myclientapp://myclientapp.com/callback", }' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function sha256(buffer) { | |
| return crypto.createHash('sha256').update(buffer).digest(); | |
| } | |
| var challenge = base64URLEncode(sha256(verifier)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function base64URLEncode(str) { | |
| return str.toString('base64') | |
| .replace(/\+/g, '-') | |
| .replace(/\//g, '_') | |
| .replace(/=/g, ''); | |
| } | |
| var verifier = base64URLEncode(crypto.randomBytes(32)); |
NewerOlder