- Navigate to backend/script side of the project with
cd backend
- Install project dependencies with
pipenv install
- Run python virtual environment with
pipenv shell
- Run the
findNS.py
DNS script withpython findNS.py <input_file> <start_index> <number_of_entries>
, whereinput_file
is hispar's latest 100k list of URLs - Output from the script goes into the
./outputs
directory and the json output for graphing is copied to the visualization side of the project @static-frontend/data
- Run
docker run -it --rm -p 8080:1337 turbobytes/cdnfinder cdnfinderserver --phantomjsbin="/bin/phantomjs"
to start the CDNFinder server - Navigate to backend/script side of the project with
cd backend
- If not done already then install project dependencies with
pipenv install
- Run python virtual environment with
pipenv shell
- Run the
findCDN.py
CDN script withpython findCDN.py <input_file> <start_index> <number_of_entries>
, whereinput_file
is hispar's latest 100k list of URLs
- Make sure you are in the
static-frontend
directory - Start a local server by using the following command
python3 -m http.server
and then browse to the URL printed to see the network graph
- Run this command in a terminal
ssh [email protected]
- To copy latest data from server to local machine
scp [email protected]:web-dependencies/backend/outputs-cdn/graphs/<file_name> /web-dependencies/frontend/src/data/