Skip to content

Instantly share code, notes, and snippets.

Avatar
💭
🌃 💾

x0 xero

💭
🌃 💾
View GitHub Profile
@xero
xero / python-nameserver.py
Created Jun 7, 2019 — forked from dustyfresh/python-nameserver.py
DNS nameserver implemented in python
View python-nameserver.py
#!/usr/bin/env python3
import sys
from datetime import datetime
import time
from time import sleep
from dnslib import DNSLabel, QTYPE, RD, RR, RCODE
from dnslib import A, AAAA, CNAME, MX, NS, SOA, TXT
from dnslib.server import DNSServer
View disapprove.php
<?php
class ಠ_ಠ extends Exception {
public function __construct($msg, $code=0, Exception $prev=null) {
parent::__construct("ಠ_ಠ", $code, $prev);
}
public function __toString() {
return "ಠ_ಠ";
}
}
?>
You can’t perform that action at this time.