Compile With GCC

So one thing that I always forget how to do is compile my C exploits in GCC! I know, getting old and the memory isn’t what it use to be.

So I have created a little python script to make my life easy. It’s nice and simple, run it, enter the file you want to compile and the name of the out put file and done!

============================= CODE =============================

#!/usr/bin/pythin
import os
import string

c_prog = raw_input(“Enter the c file name: “)

c_comp = raw_input(“Enter the complied name: “)

#print c_prog
#print c_comp

os.popen(“gcc -g %s -o %s” %(c_prog, c_comp))

============================= CODE =============================