pry0cc / axiom

The dynamic infrastructure framework for everybody! Distribute the workload of many different scanning tools with ease, including nmap, ffuf, masscan, nuclei, meg and many more!
MIT License
4.06k stars 645 forks source link

axiom-vpn attempts to copy wrong filename when connecting to a Wireguard deploy. #560

Open di-org opened 2 years ago

di-org commented 2 years ago

Using the following axiom-init, it installs the Wireguard server and generates the client conf and moves it to /home/op/vpn, but when it attempts to retrieve it, it calls the wrong filename:

$ axiom-init wg-tor1-1 --region tor1 --deploy wireguard .......... $ axiom-vpn wg-tor1-1 .......... rsync: link_stat "/home/op/vpn/client.ovpn" failed: No such file or directory (2)

However, when running axiom-ssh and looking at /home/op/vpn, the following config file is present: root@wg-tor1-1:/home/op/vpn# ls -l total 8 drwxrwxr-x 5 op op 4096 Jun 10 20:04 awh -rw------- 1 op op 228 Jun 10 20:04 client.conf

Thanks, Andy