|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 134
Members: 0
Total: 134
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Hi.Please someone help decode right((( |
|
Posted: Tue Nov 20, 2012 11:14 am |
|
|
sarik1986 |
Regular user |
|
|
Joined: Jul 02, 2012 |
Posts: 10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Posted: Sat Dec 01, 2012 3:09 pm |
|
|
Sinfuls |
Regular user |
|
|
Joined: Nov 29, 2012 |
Posts: 22 |
|
|
|
|
|
|
|
Decode 1.
Code: | <?php
function shiping_charge( $comp_id, $subcat_id, $country_id, $qty )
{
if ( !( $select_price = mysql_query( "select * from fixed_shipping_price FP, ship_con_com SC where FP.f_sp_subcat2='{$subcat_id}' and SC.f_spid=FP.f_sp_id and SC.shcc_conid='{$country_id}' and SC.shcc_comid='{$comp_id}'" ) ) )
{
exit( mysql_error( ) );
}
$seelct_num = mysql_num_rows( $select_price );
if ( $seelct_num == 0 )
{
$select_defalut = mysql_fetch_array( mysql_query( "select * from fixed_shipping_price where f_sp_subcat2='{$subcat_id}'" ) );
$shipping_price = $select_defalut['f_sp_default_value'] * $qty;
}
else
{
$select_ship = mysql_fetch_array( $select_price );
$shipping_price = $select_ship['shcc_price'] * $qty;
}
return $shipping_price;
}
function main( )
{
include( "language.php" );
$amt = mysql_real_escape_string( $_SESSION['amt'] );
$amt = $_SESSION['total_amount'];
$amtpaypal = mysql_real_escape_string( $_SESSION['amtpaypal'] );
if ( isset( $_SESSION['memid'] ) )
{
$memid = mysql_real_escape_string( $_SESSION['memid'] );
}
else
{
$memid = mysql_real_escape_string( $_SESSION['normal_memid'] );
}
$price = mysql_real_escape_string( $_SESSION['total_amount'] );
$rs0 = mysql_fetch_array( mysql_query( "select * from zw_websetting" ) );
$weburl = $rs0['weburl'];
$date = date( "Y-m-d" );
$sessionid = session_id( );
$productid = mysql_real_escape_string( $_SESSION['cartproid123'] );
$cartvalue = mysql_real_escape_string( $_REQUEST['cartvalue'] );
$product_fetch = mysql_fetch_array( mysql_query( "select * from products where id='{$productid}' and user_id!='{$memid}'" ) );
$name = $product_fetch['product_name'];
$retail_price = $product_fetch['retail_price'];
$buynow = $product_fetch['buynow_price'];
$shipping_price = $product_fetch['shipping_charge'];
$mrchnt_id = mysql_real_escape_string( $_SESSION['merchantid'] );
$empid = mysql_real_escape_string( $_SESSION['memid'] );
$shipping_cost = mysql_real_escape_string( $_SESSION['ship_ment'] );
$upgrade = mysql_real_escape_string( $_REQUEST['upgrade'] );
$rs0 = mysql_fetch_array( mysql_query( "select * from zw_websetting" ) );
$paypal_currency = $rs0['paypalcurrency'];
$plan_query = mysql_query( "select * from plans where id='{$upgrade}'" );
$plan_fetch = mysql_fetch_array( $plan_query );
$emp_select = mysql_fetch_array( mysql_query( "select * from job_seeker where id='{$empid}'" ) );
$emp_grade1 = $emp_select['memid'];
$plan_select = mysql_fetch_array( mysql_query( "select * from plans where id='{$emp_grade1}'" ) );
$emp_grade = $plan_select['planname'];
$payment_modes = $plan_select['payment_modes'];
$exp_payments = explode( "|", $payment_modes );
if ( isset( $_REQUEST['contine_order'] ) )
{
$ship_country = mysql_real_escape_string( $_REQUEST['ship_country'] );
$ship_company = mysql_real_escape_string( $_REQUEST['ship_company'] );
$cargo_id = mysql_real_escape_string( $_REQUEST['hidden_val'] );
$company_id = mysql_real_escape_string( $_REQUEST['hidden_val1'] );
$value = mysql_real_escape_string( $_REQUEST['hidden_val2'] );
if ( !( $select_cart = mysql_query( "select * from products PR, cart CR, cart_insert CI where CI.session_id='{$sessionid}' and CR.product_id=CI.product_id and PR.id=CR.product_id" ) ) )
{
exit( mysql_error( ) );
}
while ( $fetch_array = mysql_fetch_array( $select_cart ) )
{
$selet_cargo_price = mysql_fetch_array( mysql_query( "select * from cargo_shipping_cost where cargo_ship_cost_id='{$cargo_id}'" ) );
$subcat_id = $fetch_array['sub_subcat'];
$toatl_qty = $fetch_array['qty'];
$shipping_price = shiping_charge( $company_id, $subcat_id, $ship_country, $toatl_qty );
$total_ship = $shipping_price + $fetch_array['shipping_charge'];
$cart_sele_pro_id = $fetch_array['product_id'];
if ( !( $update_cart = mysql_query( "update cart set \r\n\t\t\t\t\t\t\t\t\t\t shipping_country='{$selet_cargo_price['cargo_cost_con_id']}',\r\n\t\t\t\t\t\t\t\t\t\t shipping_company='{$company_id}',\r\n\t\t\t\t\t\t\t\t\t\t shipping_qty='{$total_ship}'\r\n\t\t\t\t\t\t\t\t\t\t where product_id='{$cart_sele_pro_id}'" ) ) )
{
exit( mysql_error( ) );
}
}
echo "<script>window.location='order_details.php'</script>";
exit( );
}
echo "<s";
echo "cript src=\"change_country.js\" type=\"text/javascript\" ></script>\r\n";
echo "<s";
echo "cript type=\"text/javascript\">\r\nfunction change_ajax(div_id,values) {\r\nif(values.indexOf(' ')>0) { alert(\"White Spaces Restricted\"); values=values.replace(/ /g,''); }\r\n$(document).ready(function() {\r\n$.ajaxSetup({ cache: false });\r\n$('#'+div_id).load('";
echo $weburl;
echo "/ajax.php?'+values); \r\n}); }\r\n\r\nfunction value_cargo(val_id,com_id,total,hidden_id) {\r\nvar hidden=document.getElementById(hidden_id);\r\ndocument.getElementById(\"hidden_val1\").value=com_id;\r\ndocument.getElementById(\"hidden_val2\").value=total;\r\nhidden.value=val_id; }\r\n</script>\r\n<center>\r\n<!-- main body-->\r\n<div class=\"div\">\r\n";
include( "shopping_header.php" );
echo "<div class=\"clr\"></div>\r\n<br />\r\n<form action=\"#\" name=\"ship_count_form\" id=\"ship_count_form\" method=\"post\">\r\n<input type=\"hidden\" name=\"hidden_val\" id=\"hidden_val\" value=\"\" />\r\n<input type=\"hidden\" name=\"hidden_val1\" id=\"hidden_val1\" value=\"\" />\r\n<input type=\"hidden\" name=\"hidden_val2\" id=\"hidden_val2\" value=\"\" />\r\n<fieldset class=\"shopping_cart\" ><legend >Select Your Shipping Country</legend>\r\n<br />\r\n";
echo "<s";
echo "elect name=\"ship_country\" id=\"ship_country\" style=\"color:#666666;\" ";
echo " onchange=\"change_country(this.value)\">\r\n";
display_country( );
echo "</select>\r\n<!--<input type=\"text\" value=\"$99.00\" disabled=\"disabled\" style=\"width:65px; margin-right:5px; height:22px; font-weight:bold; color:#666;\" /> -->\r\n<br /><br />\r\n<div id=\"ship_companies\"></div>\r\n<br />\r\n<!--<a href=\"order_details.php\"> --><button name=\"contine_order\" class=\"button2\">Continue To Order</button><!--</a> -->\r\n<br />\r\n<br />\r\n</fieldset>\r\n</form>\r\n</div>\r\n\r\n<br />\r\n\r\n</center>\r\n";
}
session_start( );
include_once( "conn.php" );
include( "template_shop.php" );
?>
|
Decode 2.
Code: | <?php
function main( )
{
include( "language.php" );
include_once( "conn.php" );
$self = basename( $_SERVER['PHP_SELF'] );
$amt = mysql_real_escape_string( $_SESSION['total_amount'] );
$amtpaypal = mysql_real_escape_string( $_SESSION['amtpaypal'] );
if ( isset( $_SESSION['memid'] ) )
{
$memid = mysql_real_escape_string( $_SESSION['memid'] );
}
else
{
$memid = mysql_real_escape_string( $_SESSION['normal_memid'] );
}
$select_jobseeker = mysql_fetch_array( mysql_query( "select * from job_seeker where id='{$memid}'" ) );
$select_state = mysql_query( "select * from state" );
$price = mysql_real_escape_string( $_SESSION['total_amount'] );
$rs0 = mysql_fetch_array( mysql_query( "select * from zw_websetting" ) );
$weburl = $rs0['weburl'];
$date = date( "Y-m-d" );
$sessionid = session_id( );
if ( isset( $_REQUEST['shipping_add'] ) )
{
$shiping_add = mysql_real_escape_string( $_REQUEST['shiping_add'] );
switch ( $shiping_add )
{
case "send_gift" :
$shiping_add = mysql_real_escape_string( $_REQUEST['shiping_add'] );
$friend_name = mysql_real_escape_string( $_REQUEST['friend_name'] );
$friend_address = mysql_real_escape_string( $_REQUEST['friend_address'] );
$friend_pincode = mysql_real_escape_string( $_REQUEST['friend_pincode'] );
$friend_city = mysql_real_escape_string( $_REQUEST['friend_city'] );
$friend_state = mysql_real_escape_string( $_REQUEST['friend_state'] );
$friend_mobile = mysql_real_escape_string( $_REQUEST['friend_mobile'] );
if ( !( $insert_gift_shipping = mysql_query( "insert into cart_shipping_address set \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t shipping_method='gift',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_name='{$friend_name}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsession_id='{$sessionid}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_address='{$friend_address}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_pincode='{$friend_pincode}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_city='{$friend_city}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_state='{$friend_state}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_mobile='{$friend_mobile}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuyer_id='{$memid}'" ) ) )
{
exit( mysql_error( ) );
}
break;
case "send_new_add" :
$shiping_add = mysql_real_escape_string( $_REQUEST['shiping_add'] );
$recipent_name = mysql_real_escape_string( $_REQUEST['recipent_name'] );
$recipent_new_address = mysql_real_escape_string( $_REQUEST['recipent_new_address'] );
$recipent_pincode = mysql_real_escape_string( $_REQUEST['recipent_pincode'] );
$recipent_city = mysql_real_escape_string( $_REQUEST['recipent_city'] );
$recipent_state = mysql_real_escape_string( $_REQUEST['recipent_state'] );
$recipent_mobile = mysql_real_escape_string( $_REQUEST['recipent_mobile'] );
if ( !( $insert_gift_shipping = mysql_query( "insert into cart_shipping_address set \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t shipping_method='send_new_add',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_name='{$recipent_name}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsession_id='{$sessionid}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_address='{$recipent_new_address}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_pincode='{$recipent_pincode}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_city='{$recipent_city}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_state='{$recipent_state}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_mobile='{$recipent_mobile}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuyer_id='{$memid}'" ) ) )
{
exit( mysql_error( ) );
}
break;
case "send_default_add" :
$shiping_add = mysql_real_escape_string( $_REQUEST['shiping_add'] );
$recipent_old_name = mysql_real_escape_string( $_REQUEST['recipent_old_name'] );
$recipent_old_address = mysql_real_escape_string( $_REQUEST['recipent_old_address'] );
$recipent_old_pincode = mysql_real_escape_string( $_REQUEST['recipent_old_pincode'] );
$recipent_old_city = mysql_real_escape_string( $_REQUEST['recipent_old_city'] );
$recipent_old_state = mysql_real_escape_string( $_REQUEST['recipent_old_state'] );
$recipent_old_mobile = mysql_real_escape_string( $_REQUEST['recipent_old_mobile'] );
if ( !( $insert_gift_shipping = mysql_query( "insert into cart_shipping_address set \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t shipping_method='send_default_add',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_name='{$recipent_old_name}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tsession_id='{$sessionid}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_address='{$recipent_old_address}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_pincode='{$recipent_old_pincode}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_city='{$recipent_old_city}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_state='{$recipent_old_state}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\trecevier_mobile='{$recipent_old_mobile}',\r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\tbuyer_id='{$memid}'" ) ) )
{
exit( mysql_error( ) );
}
}
echo "<script>window.location='review_order.php'</script>";
exit( );
}
echo "<s";
echo "cript type=\"text/javascript\" src=\"js/jquery.min.js\" ></script>\r\n";
echo "<s";
echo "cript> \r\n$(document).ready(function(){\r\n $(\"#shiping_add_flip\").click(function(){\r\n \t$(\".close_div\").slideUp(\"slow\");\r\n $(\"#pane5\").slideDown(\"slow\"); });\r\n\t\r\n\t $(\"#shiping_add_new\").click(function(){\r\n\t $(\".close_div\").slideUp(\"slow\");\r\n $(\"#panel2\").slideDown(\"slow\"); });\r\n\t\r\n\t$(\"#shiping_add_default\").click(function(){\r\n\t$(\".close_div\").slideUp(\"slow\");\r\n $(\"#panel3\").slideDown(\"slow\"";
echo "); }); \r\n});\r\n\r\n</script>\r\n<center>\r\n<!-- main body-->\r\n<div class=\"div\">\r\n";
include( "shopping_header.php" );
echo "<div class=\"clr\"></div><br />\r\n<form action=\"#\" name=\"shipping_form\" id=\"shipping_form\" method=\"post\">\r\n<fieldset class=\"shopping_cart\" ><legend >Select Shipping Address</legend>\r\n<div align=\"left\" class=\"lgn_box\">\r\n<h2 id=\"flip\" style=\" font-weight:normal; font-size:15px; color:#666666; cursor:pointer; \"><input type=\"radio\" name=\"shiping_add\" id=\"shiping_add_flip\" value=\"send_gift\" /> ;;Send As A Gift T";
echo "o My Freind Address</h2>\r\n<div id=\"pane5\" class=\"close_div\" style=\"display:none;\">\r\n<input type=\"text\" style=\"color:#666666;\" name=\"friend_name\" id=\"friend_name\" placeholder=\"Friend Name\" />\r\n<textarea placeholder=\"Shipping Address\" name=\"friend_address\" id=\"friend_address\" style=\"color:#666666;\"></textarea><br />\r\n<input type=\"text\" placeholder=\"Pincode\" name=\"friend_pincode\" id=\"friend_pincode\" style=\"";
echo "width:87px; float:left; margin-right:5px; color:#666666;\" />\r\n<input type=\"text\" placeholder=\"City\" name=\"friend_city\" id=\"friend_city\" style=\"width:87px; float:left;margin-right:5px; color:#666666;\"/>\r\n";
echo "<s";
echo "elect name=\"friend_state\" id=\"friend_state\" style=\"width:87px; color:#666666;\">";
get_states( );
echo "</select>\r\n<input name=\"friend_mobile\" id=\"friend_mobile\" type=\"text\" style=\"color:#666666;\" placeholder=\"Enter 10 Digit Mobile Number\" /></div></div>\r\n\r\n<!--<div class=\"spr_ver\"></div>-->\r\n<div align=\"left\" class=\"lgn_box\" >\r\n<h2 id=\"flip2\" style=\"font-weight:normal; font-size:16px; color:#666666; cursor:pointer; \"><input type=\"radio\" name=\"shiping_add\" id=\"shiping_add_new\" value=\"send_new_add\" /> ;;S";
echo "end This New Shipping Address</h2>\r\n<div id=\"panel2\" class=\"close_div\" style=\"display:none;\">\r\n<input type=\"text\" placeholder=\"Recipent Name\" name=\"recipent_name\" id=\"recipent_name\" style=\"color:#666666;\" />\r\n<textarea placeholder=\"Shipping Address\" name=\"recipent_new_address\" id=\"recipent_new_address\" style=\"color:#666666;\"></textarea><br />\r\n<input type=\"text\" placeholder=\"Pincode\" name=\"recipent_pinco";
echo "de\" id=\"recipent_pincode\" style=\"width:87px; float:left; margin-right:5px; color:#666666; \" />\r\n<input type=\"text\" placeholder=\"City\" name=\"recipent_city\" id=\"recipent_city\" style=\"width:87px; float:left;margin-right:5px; color:#666666;\"/>\r\n";
echo "<s";
echo "elect name=\"recipent_state\" id=\"recipent_state\" style=\"width:87px; color:#666666;\">";
get_states( );
echo "</select>\r\n<input type=\"text\" name=\"recipent_mobile\" id=\"recipent_mobile\" style=\"color:#666666;\" placeholder=\"Enter 10 Digit Mobile Number\" /></div>\r\n</div>\r\n<!--<div class=\"spr_ver\"></div>-->\r\n<div align=\"left\" class=\"lgn_box\" >\r\n<h2 id=\"flip3\" style=\"font-weight:normal; font-size:16px; color:#666666; cursor:pointer; \"><input type=\"radio\" name=\"shiping_add\" id=\"shiping_add_default\" value=\"send_default_add";
echo "\"checked=\"checked\" /> ;;Send My Default Shipping Address</h2>\r\n<div id=\"panel3\" class=\"close_div\" style=\"display:none;\">\r\n<input type=\"text\" name=\"recipent_old_name\" id=\"recipent_old_name\" value=\"";
echo $select_jobseeker['uname'];
echo "\" style=\"color:#666666;\"/>\r\n<textarea name=\"recipent_old_address\" id=\"recipent_old_address\" style=\"color:#666666;\" >";
echo $select_jobseeker['address'];
echo "</textarea><br />\r\n<input type=\"text\" name=\"recipent_old_pincode\" id=\"recipent_old_pincode\" value=\"";
echo $select_jobseeker['zipcode'];
echo "\" style=\"width:87px; float:left; margin-right:5px; color:#666666; \" />\r\n<input type=\"text\" name=\"recipent_old_city\" id=\"recipent_old_city\" value=\"\" style=\"width:87px; float:left;margin-right:5px; color:#666666;\"/>\r\n";
echo "<s";
echo "elect name=\"recipent_old_state\" id=\"recipent_old_state\" style=\"width:87px;color:#666666;\">\r\n";
get_all_states( $select_jobseeker['state'] );
echo "</select>\r\n<input type=\"text\" name=\"recipent_old_mobile\" id=\"recipent_old_mobile\" value=\"";
echo $select_jobseeker['phone2'];
echo "\" style=\"color:#666666;\" /></div>\r\n</div>\r\n<div class=\"clr\"></div>\r\n<div class=\"spr_hor\"></div>\r\n<div align=\"right\" style=\"margin-top:10px; \"><!--<a href=\"review_order.php\"> --><button name=\"shipping_add\" class=\"button2\">Select And Continue</button><!--</a> --></div>\r\n<div class=\"clr\"></div>\r\n</fieldset>\r\n</form>\r\n</div>\r\n<br />\r\n<div class=\"clear\"></div>\r\n</center>";
}
session_start( );
include( "template_shop.php" );
?>
|
|
|
|
|
|
|
www.waraxe.us Forum Index -> PHP script decode requests
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|