Bin Fetcher
Fest he's bin files from host url.user_8806294
actionscript
3 years ago
418 B
4
Indexable
import requests
from bs4 import BeautifulSoup
def sniff_bin_files(url):
response = requests.get(url)
soup = BeautifulSoup(response.text, 'html.parser')
bin_file_links = []
for link in soup.find_all('a'):
href = link.get('href')
if href.endswith('.bin'):
bin_file_links.append(href)
return bin_file_links
url = input("Enter a website URL: ")
print(sniff_bin_files(url))Editor is loading...