Bonjour !! voici un simple buffer overflow exploitable en python .
Code HTML:
print (""" _ _ _ /\ | | (_) | | / \ __| |_ __ ___ _ _ __ _ __ __ _ _ __ ___| | / /\ \ / _` | '_ ` _ \| | '_ \ | '_ \ / _` | '_ \ / _ \ | / ____ \ (_| | | | | | | | | | | | |_) | (_| | | | | __/ | /_/ \_\__,_|_| |_| |_|_|_| |_| | .__/ \__,_|_| |_|\___|_| | | |_| """) password = input(" password: ") if len(password) >= 15: print ("Acces granted !! Welcome admin ") elif len(password) < 15 : print ("acces denied ")
Code HTML:
chmod +x buffer_overflow.py
Code HTML:
python3 buffer_overflow.py
Commentaire