42_Py_Mock_Moulinette
I heard you like codes so I put C into BashScript into Python.
Inspired by MockMoulinette https://github.com/kristofk/MockMoulinette
Why?
- Because I got rekt by C00
- Because why do things manually when you can: Try to automate 5 min tasks and spectacularly fail after 10 hours.
- I’ve always wanted to learn Popen. It’s the pathway to the dark side.
- I skipped Shell01
Why Python?
“I ran out of time. ” - said this guy https://stackoverflow.com/questions/2651874/embed-bash-in-python
How it works:
Py_Mock_Moulinette will “try” to KAPUT your code by compiling and running it against expected values.
Pure python standard lib. No venv no pip shenanigans.
Usage:
*check if files names collide before you proceed. cp overwrites by default
git clone https://github.com/Lodimup/42_Py_Mock_Moulinette.git
cp -r 42_Py_Mock_Moulinette/
/
cd
python3 PMM.py
After you’re done to send PMM to the afterworld ( delete )
bash goodbye_PMM.sh
Pull requests welcome
Pro tips. Yell “MOULINETTEEEEEEEE” while testing to increase your chance of Moulinette not rekting you by exactly 0%.
todo:
Parse Norminette stdout
Finish Shell01