sed

Create file using echo "things" >> to accept limitation.

sudo sed -i 's/\"/\\"/g' centos48privesc.c &&
sudo sed -i 's/^/echo\ \"/g' centos48privesc. &&
sudo sed -i 's/$/\"\ \>\>\ \/tmp\/expl\.c/g' && cat centos48privesc.c

results matching ""

    No results matching ""