-
Notifications
You must be signed in to change notification settings - Fork 1
/
AvdSidup.sh
47 lines (35 loc) · 1.2 KB
/
AvdSidup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
# Update package lists
sudo apt update
# Install Python 3 and pip
sudo apt install -y python3 python3-pip
# Install necessary Python packages
pip3 install sublist3r requests beautifulsoup4 pyfiglet prettytable
# Install fortune and cowsay for the intro message
sudo apt install -y fortune cowsay
# Save the code to a Python file with the name AdvSidlister.py
cat <<EOL > AdvSidlister.py
# Import necessary libraries
import sublist3r
import requests
from subprocess import Popen, PIPE
from bs4 import BeautifulSoup
import pyfiglet
import sys
import os
import signal
from prettytable import PrettyTable
# ... (Copy your Python code here)
if __name__ == "__main__":
signal.signal(signal.SIGINT, signal.SIG_IGN) # Ignore Ctrl+C during program execution
main()
EOL
# Make the Python script executable
# sudo chmod +x AdvSidlister.py
# Open the "Manual.html" file in the default web browser
firefox Manual.html
echo "If You Are Running Script As Root You Saw a error ( " Running Firefox as root in a regular user's session is not supported." ) "
echo "Just Ignore the error"
echo "Setup for AdvSidlister complete. You can run the tool using 'python3 AdvSidlister.py'"
clear
python3 AvdSidlister.py