zdgtl 11 months ago
zdgtl #coding

Reverse Domain

Reverse IP to domain using python

import os
import re
import threading
import time

try:
    print('\nChecking Requirements.....')
    time.sleep(0.5)
    import requests #call module
    print('\nAll Available, Go Main Tools.....')
    time.sleep(0.5)
except:
    os.system('pip install requests') #install module
    print('\nAll Available, Go Main Tools.....')
    time.sleep(0.5)

import requests

os.system('cls' if os.name == 'nt' else 'clear') #clear terminal

s = requests.Session()

ua = {
        'User-Agent':'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36' #user gent
    }

names = []

banner = """
  .oooO  / ) ( \  Oooo.
  (   ) / (  )  \ (   )
   \ ( (   ) (   ) ) /
----\_).oooO-Oooo.(_/----
"""

def reverse():
    try:
        print(banner)
        site = input('[?] List > ')
        line = open(site,'r').read().splitlines()
        print("")
        for site in line:
            if site.startswith("http://"):
                site = site.replace("http://", "")
            if site.startswith("https://"):
                site = site.replace("https://", "")
            response = s.get("https://rapiddns.io/sameip/" + site + "?full=1#result", headers=ua).content.decode("utf-8")
            pattern = r"</th>\n<td>(.*?)</td>"
            results = re.findall(pattern, response)
            print("reverse:~$ " + site + " - [ " + str(len(results)) + " ]")

            for line in results:
                line = line.strip()
                if line.startswith(("www.", "cpanel.", "webmail.", "mail.", "dns.", "autodiscover.", "cpcalendars.", "webdisk.", "cpcontacts.")):
                    line = ""  # mengatur baris menjadi string kosong
                if line not in names:
                    names.append(line)
                    with open('reversed.txt', 'a+') as f:
                        f.write(line + "\n")  # menulis output

    except:
        pass

t = threading.Thread(target=reverse)
t.start()
0
270
Bulk Remove line containing

Bulk Remove line containing

1743468932.jpg
zdgtl
11 months ago
Time Ago to Date Format Converter

Time Ago to Date Format Converter

1743468932.jpg
zdgtl
11 months ago

Sql Injection Siakad

1743468932.jpg
zdgtl
5 months ago
Reverse Complex String Using Regex

Reverse Complex String Using Regex

1743468932.jpg
zdgtl
11 months ago
Domain WHOIS by Python3

Domain WHOIS by Python3

1743468932.jpg
zdgtl
11 months ago