Hey everyone, I’ve been stuck on the ‘Shellcoding Tools’ section of Intro to Assembly language for two days.
Here’s the challenge: The above server simulates an exploitable server you can execute shellcodes on. Use one of the tools to generate a shellcode that prints the content of ‘/flag.txt’, then connect to the sever with “nc SERVER_IP PORT” to send the shellcode.
I’ve tried this many different ways. I generated shellcode with msfvenom, from one of the websites provided, and tried an example from the module.
I’ve tried pasting the code into the nc session, piping it from a compiled binary (alone, with cat, and with echo) and have tried redirects.
I’m not sure what I could be missing here. Every attempt results in “Failed to run shellcode!”
Thanks in advance