Skip to content

simorgh-project/haifa_simulation

Repository files navigation

haifa_simulation

for Orange project ( web browser agents collecting pcaps and ssl)

sudo python3 ./randomvisit.py --driver "./chrome_version_73/linux/chromedriver" --file "urls.txt"

if chrome 74

sudo python3 ./randomvisit.py --driver "./chromedriver" --file "urls.txt"

and for parts rather than urls

sudo bash start_benign.sh 1 2 3

for RBC project Benign host ( collects QOS data - visits 8.8.8.8)

sudo sh QOS/main.sh & 

Malicious Host ( collects attack stats - attacks 9.9.9.9)

sh botnet/run.sh 9.9.9.9 &

for ssh behind gateway

ssh -i '~/.ssh/gw' 210.0.0.101

install chrome

wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update 
sudo apt-get install google-chrome-stable

new machine runs web agent

sudo -s
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
echo 'deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list
sudo apt-get update 
sudo apt-get install google-chrome-stable git python3-pip 
Y
pip3 install --upgrade pip
pip3 install selenium 
pip3 install scapy 
pip3 install --upgrade --ignore-installed urllib3
mkdir NEW_HAIFA
cd NEW_HAIFA
git clone https://github.com/haifa-foundation/haifa_simulation.git
cd haifa_simulation/chromelenium/

#test run 
python3 ./randomvisit.py --driver "./chromedriver" --file "urls.txt"
ctrl-C 
rm logs/* | rm pcaps/* | rm ssl/*

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •