Standard escape codes are prefixed with Escape:
- Ctrl-Key:
^[ - Octal:
\033 - Unicode:
\u001b - Hexadecimal:
\x1B - Decimal:
27
| import email | |
| import asyncio | |
| import requests | |
| import quopri | |
| from aiosmtpd.controller import Controller | |
| from email.policy import default as default_policy | |
| # Closest thing to auth it supports, just use a random long string as the recipient | |
| KEY = '<snip>@foobar.com' | |
| WEBHOOK_URL = 'https://discord.com/api/webhooks/<snip>' |
| //go:build windows | |
| // Used in https://github.com/SCP002/terminator. | |
| // For POSIX, see: https://gist.github.com/SCP002/c7c3bf4aafd3e32e0dc0aa65dda2bf14. | |
| package main | |
| import ( | |
| "errors" | |
| "os" |
| package main | |
| // Windows pty example | |
| // https://devblogs.microsoft.com/commandline/windows-command-line-introducing-the-windows-pseudo-console-conpty/ | |
| import ( | |
| "io" | |
| "os" | |
| "fmt" | |
| "log" |
| <?xml version="1.0" encoding="utf-8"?> | |
| <unattend xmlns="urn:schemas-microsoft-com:unattend"> | |
| <settings pass="windowsPE"> | |
| <component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | |
| <SetupUILanguage> | |
| <UILanguage>en-US</UILanguage> | |
| </SetupUILanguage> | |
| <SystemLocale>en-US</SystemLocale> |
| package main | |
| import ( | |
| "os/exec" | |
| "unsafe" | |
| "golang.org/x/sys/windows" | |
| ) | |
| // We use this struct to retreive process handle(which is unexported) |
| This is free and unencumbered software released into the public domain. | |
| Anyone is free to copy, modify, publish, use, compile, sell, or | |
| distribute this software, either in source code form or as a compiled | |
| binary, for any purpose, commercial or non-commercial, and by any | |
| means. | |
| In jurisdictions that recognize copyright laws, the author or authors | |
| of this software dedicate any and all copyright interest in the | |
| software to the public domain. We make this dedication for the benefit |
| package main | |
| //#include "dllmain.h" | |
| import "C" |
| #!/usr/bin/env bash | |
| # | |
| # Author: Markus (MawKKe) [email protected] | |
| # Date: 2018-03-19 | |
| # | |
| # | |
| # What? | |
| # | |
| # Linux dm-crypt + dm-integrity + dm-raid (RAID1) | |
| # |
| package main | |
| import ( | |
| "database/sql" | |
| "fmt" | |
| "net/url" | |
| "os" | |
| "reflect" | |
| "regexp" | |
| "strconv" |