-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf901a4
commit 6b7d4cf
Showing
3 changed files
with
28 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Mafazaa dns ip confirm | ||
|
||
A repo containing the logic to confirm ip for opendns by getting the opendns email, extracting the confirmation url from it, then automaticly confirm using a web scraper | ||
|
||
## Usage | ||
|
||
after cloning the repo run the install command to install chromium-browser, nodejs, npm and python3 on your server | ||
|
||
```shell | ||
./install.sh | ||
``` | ||
|
||
then simply run the script | ||
|
||
```shell | ||
./run.sh | ||
``` | ||
|
||
finally: if you want to clean the installed resources, run the following command for removing nodejs, npm and the chromium-browser. but it will leave python since the dns server use it | ||
|
||
```shell | ||
./clean.sh | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
sudo apt update | ||
|
||
sudo apt install chromium-browser nodejs npm python3 -y | ||
|
||
npm install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1 @@ | ||
sudo apt update | ||
|
||
sudo apt install chromium-browser nodejs npm -y | ||
|
||
cd ip && npm install && cd .. | ||
|
||
python3 src/get_link.py |