Skip to content

th3happybit/protostar-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Protostar-docker

this is a docker version for protostar image: Protostar

About

Protostar introduces the following in a friendly way:

Network programming
Byte order
Handling sockets
Stack overflows
Format strings
Heap overflows

The above is introduced in a simple way, starting with simple memory corruption and modification, function redirection, and finally executing custom shellcode.

In order to make this as easy as possible to introduce Address Space Layout Randomisation and Non-Executable memory has been disabled.

Getting started

requirements:

How to use it:

if you have no experience with docker, use the protostar.sh script to manage the building, running ect.

  1. sudo chmod u+x protostar.sh
  2. show help: ./protostar.sh
  3. build the image (you just need to build it at first): ./protostart.sh build
  4. run the protostar container: ./protostar.sh run

as a result of the previous command now you can connect to the container using ssh ex: SSH server:port: 0.0.0.0:32796

  1. connect using ssh as root: ssh root@0.0.0.0 -p 32796 with password protostar or user: ssh proto@0.0.0.0 -p 32796 with password proto

  2. you can connect also using ./protostart.sh connect as root

  3. Enjoy!

Feedback

All bugs, feature requests, pull requests, feedback, etc., are welcome. Create an issue.

Note: tools installation scripts are from ctf-tools