You can take the GRE for CS without being a student, as proof of your knowledge. I have heard of very rare cases where people have been admitted to a professional master's program (different from the regular master's program in that it's meant for working professionals) without having a degree.