Sptula is to navigate web pages using the headless Chromium browser through the PuppeteerSharp library. The script extracts email addresses from the visited pages and provides the option to save these addresses to a file. Additionally, it allows the use of proxies for anonymized browsing.
-
User Interface:
- Prompts the user if they want to use a proxy for browsing
- Asks the user to enter a starting URL and a limit on the number of pages to visit.
- Optionally asks if they want to save the extracted email addresses to a file.
-
Proxy Management:
- Allows the user to specify a proxy in the format type://host:port (e.g., socks5://127.0.0.1:1080).
- Validates the operational status of the proxy via a test HTTP request.
Note❗ If you're not install dotnet yet.
Debian ==> Linux-debian
If needed: Change the path string chromePath = @"./../../../../../usr/bin/chromium";
to a google executable .exe or other
Install chromium:
sudo apt install chromium
Creates .NET project
dotnet new console --framework net8.0 --use-program-main -n <Project_Name>
After
cd <Project_Name> ; dotnet build
Finally
dotnet run Program.cs
Install package PuppeteerSharp
dotnet add package PuppeteerSharp --version 18.0.2
At this point, clone the repository git clone https://github.com/4D7220426C7565/Sptula.git
or copy the raw code, but first create the file classes.cs
ASCIINEMA
Demo: