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
#!/bin/bash | |
if [[ $# -lt 2 ]]; then | |
echo "usage: $0 <directory_path> <args>" | |
echo "args:" | |
echo " 50%" | |
exit 0 | |
fi | |
full_path=$1 |
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 re | |
import requests | |
OPENLOAD_URL = 'https://openload.co/' | |
OPENLOAD_LOGIN_URL = OPENLOAD_URL + 'login' | |
OPENLOAD_FILE_MANAGER = OPENLOAD_URL + 'account#fileman' | |
OPENLOAD_ACCOUNT = '' | |
OPENLOAD_PASSWORD = '' | |
REGEX = re.compile(r'<input type="hidden" name="_csrf" value="([^"]+)">') |
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 os | |
import re | |
import requests | |
from openload import OpenLoad | |
class MyOpenLoad(OpenLoad): | |
def upload_file(self, file_path, **kwargs): | |
upload_url_response_json = self.upload_link(**kwargs) |
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
# http://orcz.com/Dishonored_2:_Jindosh_Riddle_Solution | |
# https://steamcommunity.com/sharedfiles/filedetails/?id=799586506 | |
# https://www.gamecrate.com/dishonored-2-how-solve-jindosh-riddle-and-lock-and-skip-most-dust-district/14960 | |
# https://kotaku.com/have-you-got-what-it-takes-to-solve-dishonored-2-s-wick-1790056270 | |
import itertools | |
import operator | |
COUNT = 5 | |
OPS = (EQUAL, NEXT, LEFT, RIGHT) = ('=', '<>', '<', '>') |
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 ftplib | |
import sys | |
class NitroFlareFTP: | |
def __init__(self, host): | |
self.ftp = ftplib.FTP(host) | |
def login(self, user, password): | |
self.ftp.login(user, password) |
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 ftplib | |
class NitroFlareFTP: | |
def __init__(self, host): | |
self.ftp = ftplib.FTP(host) | |
def login(self, user, password): | |
self.ftp.login(user, password) |
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
class SshSensorOperator(SSHExecuteOperator, BaseSensorOperator): | |
""" | |
Wait for some ssh command to succeed. | |
""" | |
count = 0 | |
def poke(self, context): | |
""" | |
Function that checks for ssh command. | |
""" |