Bachelor Thesis
#1310
Replies: 1 comment 1 reply
-
Okay, I got it. I had a wrong path but was able to solve the problem. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
first of all I would like to say thank you for that awesome project you are running here.
I am currently writing my bachelor thesis and I am kind of starting to panic a bit because I got stuck trying to set up my own website
using snare's clone function. Unfortunately, time is running out on me so I hope you can help me out here.
I created a wordpress website via docker on a cloud server. Docker is running two containers. One runs wordpress and the other one a mysql database. I also registered a domain that leads to the ip address. So far so good. The site looks great.
My next step is cloning the website.
#clone --target ##########.net/
/ Logs will be stored in /opt/snare/clone.log| ------------------------------------>SUMMARY<------------------------------------ Total number of URLs cloned: 7 Time elapsed: 0:00:11.290358 Cloned directory: /opt/snare/pages/###########.net ----------------------------------------------------------------------------------
So, after that is done, I scp the directory with the files cloner extracted in it onto another server where the tpot is running.
> scp -P 64295 -r .\########.net\ ########@#######:/home/#########
From here I change the /opt/tpot/etc/tpot.yml file:
## Snare Service
snare:
container_name: snare
restart: always
tty: true
command: snare --tanner tanner --debug true --no-dorks true --auto-update false --host-ip 0.0.0.0 --port 80 --page-dir /opt/snare/pages
networks:
- tanner_local
ports:
- "80:80"
image: "dtagdevsec/snare:2204"
depends_on:
- tanner
volumes:
- /home/#######/######.net:/opt/snare/pages
The last step for me is to change the Dockerfile:
I commented out the line that says:
rm -rf /opt/snare && \
because if I got it right, thats where the directory snare gets deleted. But in my understanding I already put my cloned page in there.
I hope somebody has another idea. I am working on this for nights now trying out many different ideas I am having but without success.
Best regards and thank you very much!
Beta Was this translation helpful? Give feedback.
All reactions