-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.sh
More file actions
40 lines (29 loc) · 842 Bytes
/
Copy pathinit.sh
File metadata and controls
40 lines (29 loc) · 842 Bytes
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
#!/bin/bash
echo "Starting initialization..."
# Create virtual environment
echo "Creating Python virtual environment..."
python3 -m venv venv
# Activate virtual environment
echo "Activating virtual environment..."
source venv/bin/activate
pip install --upgrade pip
# Install requirements
echo "Installing dependencies..."
pip install -r requirements.txt
# Create necessary directories
echo "Creating directories..."
mkdir -p img
# Set proper permissions
echo "Setting permissions..."
chmod +x domaingen.py
chmod +x screenshot.py
# Run domain generator
echo "Generating domain combinations..."
python3 domaingen.py
# Run screenshot generator
echo "Taking screenshots of domains..."
python3 screenshot.py
echo "Initialization complete!"
echo "Screenshots are saved in the 'img' directory"
# Deactivate virtual environment
deactivate