Skip to content

Commit

Permalink
added docs, improved scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-elbehairy7 committed Aug 18, 2024
1 parent cf901a4 commit 6b7d4cf
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
23 changes: 23 additions & 0 deletions README.md
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
```
5 changes: 5 additions & 0 deletions install.sh
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
6 changes: 0 additions & 6 deletions run.sh
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

0 comments on commit 6b7d4cf

Please sign in to comment.