Beritau 3 weeks ago
admin #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()
Manfaat Google Discover untuk Bisnis dan Penerbit Konten: Tingkatkan Traffic dan Jangkauan Anda

Manfaat Google Discover untuk Bisnis dan Penerbit Konten: Tingkatkan T...

1711409835.png
Beritau
3 weeks ago
Bagaimana memulai membuat web

Bagaimana memulai membuat web

1711409835.png
Beritau
2 weeks ago
Wordpress adduser PHP script

Wordpress adduser PHP script

1711409835.png
Beritau
3 weeks ago
Emma is perfection

Emma is perfection

1711409835.png
Beritau
2 weeks ago
Apa itu Google Discover

Apa itu Google Discover

1711409835.png
Beritau
3 weeks ago