Tutorial - Find anonfiles using dorks | python

XMAN

Active member
Joined
Jul 12, 2021
Messages
19,648
Reaction score
44
Points
38

Hello world. :ninja:

I hope u like this easy trick :751:

1 ] https://cdn-10.anonfile.com filetype:txt

2 ] https://anonfile.com filetype:txt

3 ] play with ur keyboard

you can write a script to scrap from cdn-00 to cdn 30
something like that
_______________________________________________________________


import urllib
from bs4 import BeautifulSoup
import requests

arrlist = ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23', '24', '25', '26', '27', '28', '29']

for i in arrlist:
url = "https://google.com/search?q=filteype:txt site:https://cdn-" + str(i) + ".anonfile.com&num=1000"
response = requests.get(url)
soup = BeautifulSoup(response.text, "lxml")
for g in soup.find_all("a"):
try:
response = requests.get(g.get('href')[7:])
soup = BeautifulSoup(response.text, "lxml")
link = soup.find("a", {"id": "download-url"}).get('href')
name = link.split("/")[-1]
file_name, headers = urllib.request.urlretrieve(link, "data/"+name)
except:
pass
 
 
Top