Finding the Offset
Metasploit
provides a tool to do this already, found at/usr/share/metasploit-framework/tools/exploit/pattern_create.rb
in kaliUsing the number found during our fuzzing, pass that value to this tool:
/usr/share/metasploit_framework/tools/exploit/pattern_create.rb -l NUMBER
You will get back a random string of characters which then you can add back to the fuzzing script, so now it will look something like this:
Last updated