Router1
[admin@MikroTik] > ip address add address=10.101.32.1/24 interface=ether2
[admin@MikroTik] > ip address add address=10.101.33.1/24 interface=ether1
[admin@MikroTik] > ip address add address=10.101.34.1/24 interface=ether3
import requests | |
import csv | |
PUBDNS_URL = 'https://public-dns.info/nameservers.csv' | |
def fetch_valid_resolvers(): | |
r = requests.get(PUBDNS_URL) | |
d = csv.DictReader(r.content.decode().splitlines(),delimiter=',') | |
valid = [row['ip_address'] for row in d if row['reliability'] == '1.00' and ':' not in row['ip_address']] | |
for i in valid: |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
using System.Runtime.InteropServices; | |
using System.Reflection; | |
using System.Diagnostics; | |
using System.Threading; | |
using System.IO; |
#include <windows.h> | |
#include <winternl.h> | |
#include <stdio.h> | |
// POC for resolving library base address via KnownDlls | |
typedef enum _SECTION_INFORMATION_CLASS | |
{ | |
SectionBasicInformation, | |
SectionImageInformation, |
import click | |
import re | |
import string | |
import sre_yield | |
# Usage examples: | |
# {name}\.{lname} | |
# [a-z]{lname} | |
# {lname}\.[a-z]{2} | |
# ... |