![MCO_photorealistic_purple_desert_efc6ed5d-8264-44ef-beba-820056489530](https://user-images.githubusercontent.com/22377202/195992162-26a81883-72ea-4a57-b8
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
[ | |
{ | |
"name": "Test Plugin", | |
"authors": "MCOfficer", | |
"homepage": "\"><script>alert('xss')</script><\"", | |
"license": "Public Domain", | |
"version": "0", | |
"shortDescription": "<a href='https://httbin.org'>link</a> \"><SCRIPT>alert('XSS')</SCRIPT><\"", | |
"description": "", | |
"url": "", |
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
# Reads URLs from to_scan.txt, one URL per line. | |
# Outputs the reddit-formatted results to results.txt | |
import subprocess | |
import os | |
with open("to_scan.txt", "r") as f: | |
urls = [line.strip() for line in f.readlines()] | |
print("Scanning %s URLs" % len(urls)) |
See also @shawnli87's fork and their zsh version.
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
#!/bin/bash | |
# arg 0: URL | |
# arg 1: Output | |
url="$1" | |
output="$2" | |
url_key="%u" | |
output_key="%o" | |
order=( |
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
@Echo off | |
setlocal | |
set GIT=mingit\cmd\git.exe | |
set NIGHTLY_URL=https://ci.mcofficer.me/job/endless-sky-win64/lastSuccessfulBuild/artifact/EndlessSky.exe | |
echo Switching working directory | |
cd %~dp0 | |
echo Checking if MinGit is available... |
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
@echo off | |
set origin=%cd% | |
cd %~dp0%1 | |
%2 | |
cd %origin% |
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
from subprocess import run, PIPE, Popen | |
import shutil | |
import string | |
try: | |
import psutil | |
except ModuleNotFoundError: | |
print("psutil not found, please install it.\n$pip install psutil\n$python3 -m pip install psutil") | |
exit(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
from pydrive.auth import GoogleAuth | |
from pydrive.drive import GoogleDrive | |
import os | |
import time | |
import datetime | |
mirror_dir = "PUT SOMETHING HERE" | |
gauth = GoogleAuth() | |
gauth.LoadCredentialsFile("credentials") |
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
from subprocess import check_output, call, DEVNULL | |
from json import loads | |
from os import makedirs | |
from os.path import join, exists, splitext | |
from string import ascii_letters, digits | |
# if your ffmpeg commands are different, change them here | |
FFMPEG = "ffmpeg" | |
FFPROBE = "ffprobe" |
NewerOlder