{An approach for reverse engineering of web-based applications}