This file contains 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
<?php | |
function encode2($str) { | |
for ($i = 1;$i <= $_POST['num'];$i++) { | |
$str = 'eval(gzinflate(base64_decode("'.base64_encode(gzdeflate($str)).'")));'; | |
} | |
return $str; | |
} | |
function encode3($str) { | |
$mh_1 = str_replace("gzinflate", "\$_X", $str); | |
$mh_2 = str_replace("base64_decode", "\$_T", $mh_1); |
This file contains 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
#!/usr/bin/python3 | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
cred = credentials.Certificate("stust-game-firebase-adminsdk-z8f9e-565f1cf637.json") | |
firebase_admin.initialize_app(cred) | |
db = firestore.client() |
This file contains 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
#!/usr/bin/python3 | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
cred = credentials.Certificate("stust-game-firebase-adminsdk-z8f9e-565f1cf637.json") | |
firebase_admin.initialize_app(cred) | |
db = firestore.client() |
This file contains 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
#!/usr/bin/python3 | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
cred = credentials.Certificate("stust-game-firebase-adminsdk-z8f9e-565f1cf637.json") | |
firebase_admin.initialize_app(cred) | |
db = firestore.client() |
This file contains 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
#!/usr/bin/python3 | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
cred = credentials.Certificate("stust-game-firebase-adminsdk-z8f9e-565f1cf637.json") | |
firebase_admin.initialize_app(cred) | |
db = firestore.client() | |
#Get Collection |
This file contains 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
#!/usr/bin/python3 | |
import firebase_admin | |
from firebase_admin import credentials | |
from firebase_admin import firestore | |
cred = credentials.Certificate("stust-game-firebase-adminsdk-z8f9e-565f1cf637.json") | |
firebase_admin.initialize_app(cred) | |
db = firestore.client() |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains 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
<VirtualHost *:443> | |
ErrorLog /home/<User_Name>/MyProject/logs/error.log | |
CustomLog /home/<User_Name>/MyProject/logs/access.log combined | |
WSGIScriptAlias / /home/<User_Name>/MyProject/MyProject/wsgi.py | |
Alias /static/ /home/<User_Name>/MyProject/static/ | |
Alias /templates/ /home/<User_Name>/MyProject/templates/ | |
SSLEngine on | |
SSLCertificateFile /etc/apache2/ssl/server.crt | |
SSLCertificateKeyFile /etc/apache2/ssl/server.key |
This file contains 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
""" | |
WSGI config for MyProject project. | |
It exposes the WSGI callable as a module-level variable named ``application``. | |
For more information on this file, see | |
https://docs.djangoproject.com/en/2.0/howto/deployment/wsgi/ | |
""" | |
import os |
This file contains 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
<VirtualHost *:80> | |
ErrorLog /home/<User_Name>/MyProject/logs/error.log | |
CustomLog /home/<User_Name>/MyProject/logs/access.log combined | |
WSGIScriptAlias / /home/<User_Name>/MyProject/MyProject/wsgi.py | |
Alias /static/ /home/<User_Name>/MyProject/static/ | |
Alias /templates/ /home/<User_Name>/MyProject/templates/ | |
<Directory /home/<User_Name>/MyProject> | |
Options FollowSymLinks | |
Order deny,allow |