General Proxy using .def:
Example using #pragma:
Microsoft Docs:
| import re | |
| import requests | |
| # Do check for: ex) "integer or string" | |
| files = ["Application.md", "Audit_Log.md", "Channel.md", "Emoji.md", "Guild.md", "Guild_Scheduled_Event.md", "Guild_Template.md", "Invite.md", "Stage_Instance.md", "Sticker.md", "User.md", "Voice.md", "Webhook.md"] | |
| known_types = { | |
| # Type: [funcname, casting] | |
| "boolean": ["boolean", None], |
| import re | |
| import sys | |
| import requests | |
| import threading | |
| import subprocess | |
| from subprocess import DEVNULL | |
| from urllib.parse import unquote, urljoin | |
| def download_file(url, semaphore): |
| import os | |
| import re | |
| import sys | |
| import requests | |
| from hashlib import md5 | |
| from xml.etree.ElementTree import fromstring | |
| if len(sys.argv) < 2: | |
| print(f"Usage: {sys.executable} {sys.argv[0]} xml_url") |
| apk add openrc \ | |
| xorg-server xf86-video-dummy x11vnc \ | |
| xfce4 xfce4-terminal \ | |
| rc-update add dbus | |
| cat <<EOF > /etc/profile.d/ish.sh | |
| export DISPLAY=:0 | |
| export NO_AT_BRIDGE=1 | |
| cat /dev/location > /dev/null & |
| #!/usr/bin/env python3 | |
| from tkinter import * | |
| from tkinter import ttk | |
| from tkinter import filedialog | |
| from tkinter import messagebox | |
| import os | |
| import sys | |
| import subprocess |
| import os | |
| import re | |
| import sys | |
| import time | |
| import threading | |
| import requests | |
| from collections import deque | |
| from bs4 import BeautifulSoup as bs | |
General Proxy using .def:
Example using #pragma:
Microsoft Docs:
| ## Copyright (C) 2022 파이썬 (KokoseiJ) | |
| # | |
| # mungalparser is free software: you can redistribute it and/or modify | |
| # it under the terms of the GNU General Public License as published by | |
| # the Free Software Foundation, either version 3 of the License, or | |
| # (at your option) any later version. | |
| # | |
| # This program is distributed in the hope that it will be useful, | |
| # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <assert.h> | |
| #include <stdint.h> | |
| #include <string.h> | |
| #include <time.h> | |
| int countchr(char *str, char chr) { | |
| int i; | |
| for (i=0; *str != '\0'; *str++ == chr ? i++ : 0); |
| // System.Management.WmiNetUtilsHelper | |
| using System; | |
| using System.Management; | |
| using System.Runtime.InteropServices; | |
| using System.Security; | |
| internal static class WmiNetUtilsHelper | |
| { | |
| internal delegate int ResetSecurity(IntPtr hToken); |