All Questions
2 questions
0
votes
1
answer
1k
views
"must be a string without null bytes" or "can't concat str to bytes" passing a payload on a command line
I am trying to create an exploit for an exercise but I have a problem with the following code:
#!/usr/bin/python
import os
import struct
address = struct.pack("I",0x201014)
payload = address+...
1
vote
1
answer
703
views
Windows Defender defines completely harmless code as potentially dangerous software
import ctypes
shellcode = bytearray(b"SHELLCODE WAS HERE")
ptr = ctypes.windll.kernel32.VirtualAlloc(ctypes.c_int(0), ctypes.c_int(len(shellcode)), ctypes.c_int(0x3000), ctypes.c_int(0x40))
...