I hereby claim:
- I am bityob on github.
- I am bityob (https://keybase.io/bityob) on keybase.
- I have a public key ASC261h_yI8o_3dgCe_huTAifu3D2g0ZCgCbQd5gwFUqwgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
from aiosmtpd.controller import Controller | |
import asyncio | |
class ExampleHandler: | |
async def handle_RCPT(self, server, session, envelope, address, rcpt_options): | |
print(f"handle_RCPT: {address}") | |
if address.endswith('@error.com'): | |
user_part = address.split("@")[0] | |
try: |
import socket | |
import ssl | |
SERVER_PORT = 60000 | |
HOST = "127.0.0.1" | |
tls_client_cert = "client.crt" | |
tls_client_key = "client-private-key.key" | |
tls_key_password = None | |
tls_ca_bundle = "ca_bundle.pem" |
def get_longest_substring_of_two_chars(string): | |
max_start = 0 | |
max_end = 0 | |
curr_start = 0 | |
curr_second_char = 0 | |
curr_end = 0 | |
curr_chars = [] | |
for index, ch in enumerate(string): |
$arguments=$args[0] | |
$command="Restart-Computer $arguments" | |
Write-Host "Command: '$command'" | |
iex $command | |
Write-Host "Done" |