Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • main
  • renovate/configure
2 results

Target

Select target project
  • pocs/scaleway_terraform_lab
1 result
Select Git revision
  • main
  • renovate/configure
2 results
Show changes
Commits on Source (2)
......@@ -96,20 +96,27 @@ resource "null_resource" "provisioner" {
]
}
// Install kali packages
provisioner "remote-exec" {
inline = [
"docker exec -it webtop bash -c 'apt update -y'",
"docker exec -it webtop bash -c 'apt install openvpn git -y'",
"docker exec -it webtop bash -c 'apt install nmap john sqlmap kpartx sleuthkit qemu-utils gcc openvpn wfuzz smbclient mysql-client netcat gobuster -y'",
"docker exec -it webtop bash -c 'curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod +x msfinstall && ./msfinstall'",
"docker exec -it webtop bash -c 'git clone https://github.com/offensive-security/exploitdb.git /opt/exploitdb && ln -sf /opt/exploitdb/searchsploit /usr/local/bin/searchsploit'",
"docker exec -it webtop bash -c 'git clone https://github.com/danielmiessler/SecLists.git'",
"docker exec -it webtop bash -c 'apt install ruby-full -y && gem install wpscan'",
"docker exec -it webtop bash -c 'git clone https://github.com/rezasp/joomscan.git && apt install libwww-perl -y'"
]
}
// Install code-server
provisioner "remote-exec" {
inline = [
"curl -fsSL https://code-server.dev/install.sh | sh",
"mkdir -p /root/.config/code-server/",
"echo 'bind-addr: 0.0.0.0:8080\nauth: password\npassword: yfB4W23G\ncert: false\n' > /root/.config/code-server/config.yaml",
"systemctl enable --now code-server@$USER",
"apt install nmap john sqlmap kpartx sleuthkit qemu-utils gcc openvpn wfuzz smbclient mysql-client netcat gobuster -y",
"curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall && chmod +x msfinstall && ./msfinstall",
"git clone https://github.com/offensive-security/exploitdb.git /opt/exploitdb && ln -sf /opt/exploitdb/searchsploit /usr/local/bin/searchsploit",
"git clone https://github.com/danielmiessler/SecLists.git",
"apt install ruby-full && gem install wpscan -y",
"git clone https://github.com/rezasp/joomscan.git && install libwww-perl",
"apt install openvpn -y"
"systemctl enable --now code-server@$USER"
]
}
}