This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # -*-coding:utf-8-*- | |
| """ | |
| A DNS Rebinding test DNS server, written in python3 and twisted module | |
| execute "pip install twisted" before you run it | |
| 1. listening to 0.0.0.0:53 (UDP 53 and TCP 53) | |
| 2. set upstream dns server to 8.8.8.8:53 | |
| 3. dns rebinding *.example.com except for ns{1-9}+.example.com and other domains |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/python3 | |
| # -*-coding:utf-8-*- | |
| """ | |
| Find all fork repo that are ahead of original repo | |
| Before running, install requirement first: python3 -m pip install requests | |
| Reference: https://docs.github.com/en/free-pro-team@latest/rest/reference | |
| """ | |
| import sys | |
| import json |