NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

import os
import tldextract



domain = tldextract.extract(input("Domain: "))
#Kullanıcı domain ile URL arasındaki farkı karıştırabilir bu yüzden URL girse bile biz bu giren URL'i parçalayıp domain ve suffix verisini alıyoruz.



print(domain.domain + "." + domain.suffix)

def subfinder(domain):
print("Subfinder Startednnn")
os.system('echo " " > subfinder.txt ')
os.system("subfinder -nC -nW -o subfinder.txt -d " + (domain.domain + "." + domain.suffix))
#-nC renklendirmeyi kapatıyor, -nW ölü subdomain'leri çıkarıyor.
print("Subfinder finishednnn")


def virusTotal(domain):
print("Pyosint Startednnn")
os.system('echo " " > output/enum/virustotal.txt')

os.system("python3 pyosint.py -m enum -n " + (domain.domain + "." + domain.suffix) + " -o virustotal.txt")

print("Pyosint finishednnn")


def sublist3r(domain):
print("Sublist3r Startednnn")
os.system('echo " " > sublist3r.txt ')
os.system("python3 ../Sublist3r/sublist3r.py -d" + (domain.domain + "." + domain.suffix + " -o sublist3r.txt"))

print("Sublist3r finishednnn")

def gobuster(domain):
print("Gobuster Startednnn")
os.system('echo " " > sublist3r.txt ')
os.system("gobuster vhost -w wordlist.txt -u " + (domain.domain + "." + domain.suffix + " -o gobuster.txt"))

print("Gobuster finishednnn")

def gobuster_list():
dosya = open("gobuster.txt","r+")
gobuster_list = []
for i in dosya:
a = i.split(" ")
gobuster_list.append(a)

dosya.close()

dosya2 = open("gobuster_new.txt","w")

for i in gobuster_list:
dosya2.write(i[1] + "n")



def comparing():
subfinder_file = open("subfinder.txt", "r+")
subfinder_list = []
for subfinder_row in subfinder_file:
subfinder_list.append(subfinder_row)

virustotal_list = []
virustotal_file = open("output/enum/virustotal.txt", "r+")
for virustotal_row in virustotal_file:
virustotal_list.append(virustotal_row)

sublist3r_file = open("sublist3r.txt", "r+")
sublist3r_list = []
for sublist3r_row in sublist3r_file:
sublist3r_list.append(sublist3r_row)

gobuster_file = open("gobuster_new.txt", "r+")
gobuster_list = []
for gobuster_row in gobuster_file:
gobuster_list.append(gobuster_row)

difference = list(set(virustotal_list+subfinder_list))
difference2 = list(set(difference+sublist3r_list))
difference3 = list(set(difference2+gobuster_list))
#amaç şu, virustotal ve subfinder'ı birleştirip, farklı olanları difference listesine atadı
#sonrasında da difference ve sublist3r listesini birleştirip farklı olanları difference.txt'ye y
#yazdırdı.



difference_file = open("new_difference.txt", "w")
os.system('echo " " ')
for i in difference3:
difference_file.write(i)


subfinder(domain)
virusTotal(domain)
sublist3r(domain)
gobuster(domain)
gobuster_list()
comparing()
     
 
what is notes.io
 

Notes.io is a web-based application for taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000 notes created and continuing...

With notes.io;

  • * You can take a note from anywhere and any device with internet connection.
  • * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
  • * You can quickly share your contents without website, blog and e-mail.
  • * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
  • * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.

Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.

Easy: Notes.io doesn’t require installation. Just write and share note!

Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )

Free: Notes.io works for 12 years and has been free since the day it was started.


You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;


Email: [email protected]

Twitter: http://twitter.com/notesio

Instagram: http://instagram.com/notes.io

Facebook: http://facebook.com/notesio



Regards;
Notes.io Team

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.