This seems to be Euphorbia pentagona. Scientifically it does not belong to the 'cacti'-family.
Greets