Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vuln-runner should be able to execute vulnerable environment remotely #2

Closed
5 tasks done
giper45 opened this issue Oct 29, 2022 · 1 comment
Closed
5 tasks done
Labels
enhancement New feature or request

Comments

@giper45
Copy link
Contributor

giper45 commented Oct 29, 2022

  • Define a server start command
  • Define a server stop command
  • Define a client discovery command: it returns a list of vulnerable nodes. The servers answers with a reply, the client set an id.
  • Define a client generate env command. The client creates a vulnerable environment with the list of ids obtained by the sever.
  • Define a client set command: the client sends to the nodes the vulnerable enviornment file
@giper45 giper45 added the enhancement New feature or request label Oct 29, 2022
@giper45
Copy link
Contributor Author

giper45 commented Oct 29, 2022

 
				_______
	ping
C --------->  	!  NET
				______


		<----- node1
C
		<----- node2



Requirements: controller and node version must be equal

Completed: 
{
	"ip" : {

	},
	"ip2" : {

	}, 
	"ip3" : {

	}
}

vuln-controller init <subnet>
- prompt for a token 

=>  Create a json configuration with environments and a token 
	Store it in the ~/.vulhub/hosts

vuln-controller generate-vulnenvs (previous JSON)
-> 
Create a json configuration with environments. 
Store it in the ~/.vulhub/hosts

vuln-controller list: 
	returns the list of hosts in ~/.vulhub/hosts


node side: 
vuln-node init 
=> 	prompt for the token
	stores it in the ~/.vulhub/hosts 
	listen on TCP socket                                   

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant