diff --git a/lib/msf/core/exploit/http/server.rb b/lib/msf/core/exploit/http/server.rb index 444173c731..b69acde1f3 100644 --- a/lib/msf/core/exploit/http/server.rb +++ b/lib/msf/core/exploit/http/server.rb @@ -873,7 +873,7 @@ protected break; case 'generic': - obj.title = data.substring(0, heapBlockSize-0x58); + obj.title = data.substring(0, (heapBlockSize-2)/2); div_container.appendChild(obj); break;